Update to .NET 8 SDK #57
2294 passed, 184 failed and 82 skipped
✔️ junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.CosmosDb.Tests.xml
21 tests were completed in 28s with 21 passed, 0 failed and 0 skipped.
❌ junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Functions.Tests.xml
8 tests were completed in 237s with 2 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Elastic.Apm.Azure.Functions.Tests.dll | 2✔️ | 6❌ | 237s |
❌ Elastic.Apm.Azure.Functions.Tests.dll
Elastic.Apm.Azure.Functions.Tests.AzureFunctionsInProcessTests
❌ AzureFunctionsInProcessTests.Invoke_Http_NotFound
Expected transaction.Outcome to be Success, but found Failure.
❌ AzureFunctionsInProcessTests.Invoke_Http_Ok
Expected transaction.Outcome to be Success, but found Failure.
Elastic.Apm.Azure.Functions.Tests.AzureFunctionsIsolatedTests
❌ AzureFunctionsIsolatedTests.Invoke_Http_InternalServerError
Expected attempt to be less than 60 because Could not connect to function running on http://localhost:7071/api/HttpTriggerWithInternalServerError, but found 60.
❌ AzureFunctionsIsolatedTests.Invoke_Http_FunctionThrowsException
Expected attempt to be less than 60 because Could not connect to function running on http://localhost:7071/api/HttpTriggerWithException, but found 60.
❌ AzureFunctionsIsolatedTests.Invoke_Http_Ok
Expected attempt to be less than 60 because Could not connect to function running on http://localhost:7071/api/SampleHttpTrigger, but found 60.
❌ AzureFunctionsIsolatedTests.Invoke_Http_NotFound
Expected attempt to be less than 60 because Could not connect to function running on http://localhost:7071/api/HttpTriggerWithNotFound, but found 60.
✔️ junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.ServiceBus.Tests.xml
24 tests were completed in 179s with 24 passed, 0 failed and 0 skipped.
✔️ junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Storage.Tests.xml
29 tests were completed in 8s with 29 passed, 0 failed and 0 skipped.
❌ junit-profiler-linux-NETCoreApp80-Elastic.Apm.Profiler.Managed.Tests.xml
223 tests were completed in 734s with 43 passed, 177 failed and 3 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Elastic.Apm.Profiler.Managed.Tests.dll | 43✔️ | 177❌ | 3✖️ | 734s |
❌ Elastic.Apm.Profiler.Managed.Tests.dll
Elastic.Apm.Profiler.Managed.Tests.Continuations.TaskContinuationGeneratorTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ValueType.ValueTypeFieldTests
❌ ValueTypeFieldTests.StaticReadonlyFields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.StaticReadonlyFields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.StaticReadonlyFields(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.StaticFields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.StaticFields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.StaticFields(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.NullableOfKnown(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.NullableOfKnown(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.NullableOfKnown(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.ReadonlyFields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.ReadonlyFields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.ReadonlyFields(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.StaticReadonlyFieldsSetException(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ ValueTypeFieldTests.StaticReadonlyFieldsSetException(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ ValueTypeFieldTests.StaticReadonlyFieldsSetException(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ ValueTypeFieldTests.Fields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.Fields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.Fields(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypeFieldTests.ReadonlyFieldsSetException(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ ValueTypeFieldTests.ReadonlyFieldsSetException(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ ValueTypeFieldTests.ReadonlyFieldsSetException(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.DuckExplicitInterfaceTests
❌ DuckExplicitInterfaceTests.NormalTest
System.NullReferenceException : Object reference not set to an instance of an object.
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.DuckIgnoreTests
❌ DuckIgnoreTests.NonPublicStructAbstractProxyTest
System.NullReferenceException : Object reference not set to an instance of an object.
❌ DuckIgnoreTests.NonPublicStructVirtualProxyTest
System.NullReferenceException : Object reference not set to an instance of an object.
❌ DuckIgnoreTests.NonPublicStructCopyTest
System.NullReferenceException : Object reference not set to an instance of an object.
❌ DuckIgnoreTests.NonPublicStructInterfaceProxyTest
System.NullReferenceException : Object reference not set to an instance of an object.
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.TypesTupleTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.DuckIncludeTests
❌ DuckIncludeTests.ShouldOverrideToString
System.NullReferenceException : Object reference not set to an instance of an object.
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.StructTests
❌ StructTests.DuckChainingStructInterfaceProxyTest
System.NullReferenceException : Object reference not set to an instance of an object.
❌ StructTests.NonPublicStructCopyTest
System.NullReferenceException : Object reference not set to an instance of an object.
❌ StructTests.NonPublicStructInterfaceProxyTest
System.NullReferenceException : Object reference not set to an instance of an object.
❌ StructTests.NonPublicStructVirtualProxyTest
System.NullReferenceException : Object reference not set to an instance of an object.
❌ StructTests.NonPublicStructAbstractProxyTest
System.NullReferenceException : Object reference not set to an instance of an object.
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.TypeChaining.TypeChainingFieldTests
❌ TypeChainingFieldTests.Fields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingFieldTests.Fields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingFieldTests.Fields(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingFieldTests.ReadonlyFields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingFieldTests.ReadonlyFields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingFieldTests.ReadonlyFields(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingFieldTests.StaticReadonlyFieldsSetException(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ TypeChainingFieldTests.StaticReadonlyFieldsSetException(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ TypeChainingFieldTests.StaticReadonlyFieldsSetException(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ TypeChainingFieldTests.StaticReadonlyFields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingFieldTests.StaticReadonlyFields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingFieldTests.StaticReadonlyFields(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingFieldTests.ReadonlyFieldsSetException(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ TypeChainingFieldTests.ReadonlyFieldsSetException(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ TypeChainingFieldTests.ReadonlyFieldsSetException(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ TypeChainingFieldTests.StaticFields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingFieldTests.StaticFields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingFieldTests.StaticFields(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Properties.TypeChaining.TypeChainingPropertyTests
❌ TypeChainingPropertyTests.Properties(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.Properties(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.Properties(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.GetOnlyProperties(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.GetOnlyProperties(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.GetOnlyProperties(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.GetOnlyPropertyException(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ TypeChainingPropertyTests.GetOnlyPropertyException(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ TypeChainingPropertyTests.GetOnlyPropertyException(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ TypeChainingPropertyTests.StaticGetOnlyProperties(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.StaticGetOnlyProperties(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.StaticGetOnlyProperties(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.StaticGetOnlyPropertyException(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ TypeChainingPropertyTests.StaticGetOnlyPropertyException(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ TypeChainingPropertyTests.StaticGetOnlyPropertyException(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ TypeChainingPropertyTests.StructCopy(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.StructCopy(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.StructCopy(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.StaticProperties(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.StaticProperties(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ TypeChainingPropertyTests.StaticProperties(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Methods.MethodTests
❌ MethodTests.OutParametersMethods(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.OutParametersMethods(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.OutParametersMethods(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.ReturnMethods(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.ReturnMethods(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.ReturnMethods(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.GenericsWithAttributeResolution(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.GenericsWithAttributeResolution(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.GenericsWithAttributeResolution(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.DefaultGenericsMethods(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.DefaultGenericsMethods(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.DefaultGenericsMethods(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.DictionaryDuckTypeExample
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.VoidMethods(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.VoidMethods(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.VoidMethods(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.RefParametersMethods(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.RefParametersMethods(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ MethodTests.RefParametersMethods(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
Elastic.Apm.Profiler.Managed.Tests.ExcludeTests
Elastic.Apm.Profiler.Managed.Tests.BasicTests
Elastic.Apm.Profiler.Managed.Tests.AdoNet.SqliteCommandTests
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Properties.ValueType.ValueTypePropertyTests
❌ ValueTypePropertyTests.StaticProperties(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.StaticProperties(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.StaticProperties(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.Indexer(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.Indexer(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.Indexer(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.GetOnlyPropertyException(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ ValueTypePropertyTests.GetOnlyPropertyException(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ ValueTypePropertyTests.GetOnlyPropertyException(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ ValueTypePropertyTests.NullableOfKnown(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.NullableOfKnown(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.NullableOfKnown(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.StructCopy(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.StructCopy(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.StructCopy(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.Properties(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.Properties(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.Properties(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.StructDuckType
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.StaticGetOnlyPropertyException(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ ValueTypePropertyTests.StaticGetOnlyPropertyException(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ ValueTypePropertyTests.StaticGetOnlyPropertyException(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ ValueTypePropertyTests.GetOnlyProperties(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.GetOnlyProperties(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.GetOnlyProperties(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.KnownEnum(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.KnownEnum(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.KnownEnum(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.StaticGetOnlyProperties(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.StaticGetOnlyProperties(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ValueTypePropertyTests.StaticGetOnlyProperties(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ReferenceType.ReferenceTypeFieldTests
❌ ReferenceTypeFieldTests.StaticReadonlyFields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypeFieldTests.StaticReadonlyFields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypeFieldTests.StaticReadonlyFields(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypeFieldTests.StaticFields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypeFieldTests.StaticFields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypeFieldTests.StaticFields(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypeFieldTests.Fields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypeFieldTests.Fields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypeFieldTests.Fields(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypeFieldTests.StaticReadonlyFieldsSetException(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ ReferenceTypeFieldTests.StaticReadonlyFieldsSetException(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ ReferenceTypeFieldTests.StaticReadonlyFieldsSetException(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ ReferenceTypeFieldTests.ReadonlyFieldsSetException(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ ReferenceTypeFieldTests.ReadonlyFieldsSetException(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ ReferenceTypeFieldTests.ReadonlyFieldsSetException(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
Assert.Throws() Failure
❌ ReferenceTypeFieldTests.ReadonlyFields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypeFieldTests.ReadonlyFields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypeFieldTests.ReadonlyFields(obscureObject: FieldPrivateObject { _publicNullableIntField = null, _publicReadonlyReferenceTypeField = "30", _publicReadonlySelfTypeField = DummyFieldObject { MagicNumber = 42 }, _publicReadonlyValueTypeField = 30, _publicReferenceTypeField = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Properties.ReferenceType.ReferenceTypePropertyTests
❌ ReferenceTypePropertyTests.StructCopy(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.StructCopy(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.StructCopy(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.Properties(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.Properties(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.Properties(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.StaticGetOnlyPropertyException(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ ReferenceTypePropertyTests.StaticGetOnlyPropertyException(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ ReferenceTypePropertyTests.StaticGetOnlyPropertyException(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
Assert.Throws() Failure
❌ ReferenceTypePropertyTests.UnionTest(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.UnionTest(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.UnionTest(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.Indexer(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.Indexer(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.Indexer(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.StaticGetOnlyProperties(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.StaticGetOnlyProperties(obscureObject: PropertyInternalObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.StaticGetOnlyProperties(obscureObject: PropertyPrivateObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
❌ ReferenceTypePropertyTests.StaticProperties(obscureObject: PropertyPublicObject { Item = (throws TargetParameterCountException), Item = (throws TargetParameterCountException), PublicGetReferenceType = "30", PublicGetSelfType = DummyFieldObject { MagicNumber = 42 }, PublicGetSetReferenceType = "40", ... })
System.NullReferenceException : Object reference not set to an instance of an object.
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
Check failure on line 0 in junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Functions.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.Azure.Functions.Tests.dll ► Elastic.Apm.Azure.Functions.Tests.AzureFunctionsInProcessTests ► AzureFunctionsInProcessTests.Invoke_Http_NotFound
Failed test found in:
junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Functions.Tests.xml
Error:
Expected transaction.Outcome to be Success, but found Failure.
Raw output
Expected transaction.Outcome to be Success, but found Failure.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Primitives.ObjectAssertions.Be(Object expected, String because, Object[] becauseArgs)
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionsInProcessTests.Invoke_Http_NotFound() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsInProcessTests.cs:line 57
--- End of stack trace from previous location ---
Standard Output:
=== START SUT Log ===
Starting APM Server on port: 23909
func working directory: /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess
02/26/2024 07:17:16: Starting func tool
[func] MSBuild version 17.9.4+90725d08d for .NET
[func] Determining projects to restore...
[func] /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/azure/Elastic.Apm.Azure.Functions/Elastic.Apm.Azure.Functions.csproj : warning NU1903: Package 'Microsoft.AspNetCore.Http' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hxrm-9w7p-39cc [/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/Elastic.AzureFunctionApp.InProcess.csproj]
[func] All projects are up-to-date for restore.
[func] /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/azure/Elastic.Apm.Azure.Functions/Elastic.Apm.Azure.Functions.csproj : warning NU1903: Package 'Microsoft.AspNetCore.Http' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hxrm-9w7p-39cc
[func] Elastic.Apm.AzureFunctionApp.Core -> /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/Elastic.Apm.AzureFunctionApp.Core.dll
[func] Elastic.Apm -> /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/Elastic.Apm.dll
[func] Elastic.Apm.Azure.Functions -> /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/Elastic.Apm.Azure.Functions.dll
[func] Elastic.Apm -> /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/Elastic.Apm.dll
[func] Elastic.AzureFunctionApp.InProcess -> /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/Elastic.AzureFunctionApp.InProcess.dll
[func]
[func] Build succeeded.
[func]
[func] /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/azure/Elastic.Apm.Azure.Functions/Elastic.Apm.Azure.Functions.csproj : warning NU1903: Package 'Microsoft.AspNetCore.Http' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hxrm-9w7p-39cc [/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/Elastic.AzureFunctionApp.InProcess.csproj]
[func] /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/azure/Elastic.Apm.Azure.Functions/Elastic.Apm.Azure.Functions.csproj : warning NU1903: Package 'Microsoft.AspNetCore.Http' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hxrm-9w7p-39cc
[func] 2 Warning(s)
[func] 0 Error(s)
[func]
[func] Time Elapsed 00:00:09.61
[func]
[func]
[func] Azure Functions Core Tools
[func] Core Tools Version: 4.0.5530 Commit hash: N/A +c8883e7f3c06e2b424fbac033806c19d8d91418c (64-bit)
[func] Function Runtime Version: 4.28.5.21962
[func]
[func] [2024-02-26T07:17:27.864Z] Found /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/Elastic.AzureFunctionApp.InProcess.csproj. Using for user secrets file configuration.
[func] [2024-02-26T07:17:28.391Z] Building host: version spec: 4, startup suppressed: 'False', configuration suppressed: 'False', startup operation id: 'e4df39bd-fa75-4bab-a44a-e5f8e5c8708f'
[func] [2024-02-26T07:17:28.396Z] Reading host configuration file '/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/host.json'
[func] [2024-02-26T07:17:28.397Z] Host configuration file read:
[func] [2024-02-26T07:17:28.398Z] {
[func] [2024-02-26T07:17:28.398Z] "version": "2.0",
[func] [2024-02-26T07:17:28.398Z] "logging": {
[func] [2024-02-26T07:17:28.398Z] "applicationInsights": {
[func] [2024-02-26T07:17:28.398Z] "samplingSettings": {
[func] [2024-02-26T07:17:28.398Z] "isEnabled": true,
[func] [2024-02-26T07:17:28.398Z] "excludedTypes": "Request"
[func] [2024-02-26T07:17:28.398Z] }
[func] [2024-02-26T07:17:28.398Z] }
[func] [2024-02-26T07:17:28.398Z] }
[func] [2024-02-26T07:17:28.398Z] }
[func] [2024-02-26T07:17:28.413Z] Extension Bundle not loaded. Loading extensions from /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/bin. BundleConfigured: False, PrecompiledFunctionApp: False, LegacyBundle: False, DotnetIsolatedApp: False, isLogicApp: False
[func] [2024-02-26T07:17:28.413Z] Script Startup resetting load context with base path: '/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/bin'.
[func] [2024-02-26T07:17:28.418Z] Loading startup extension 'Startup'
[func] [2024-02-26T07:17:28.470Z] Loaded extension 'Startup' (1.0.0.0)
[func] [2024-02-26T07:17:28.484Z] Reading host configuration file '/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/host.json'
[func] [2024-02-26T07:17:28.484Z] Host configuration file read:
[func] [2024-02-26T07:17:28.484Z] {
[func] [2024-02-26T07:17:28.484Z] "version": "2.0",
[func] [2024-02-26T07:17:28.484Z] "logging": {
[func] [2024-02-26T07:17:28.484Z] "applicationInsights": {
[func] [2024-02-26T07:17:28.484Z] "samplingSettings": {
[func] [2024-02-26T07:17:28.484Z] "isEnabled": true,
[func] [2024-02-26T07:17:28.484Z] "excludedTypes": "Request"
[func] [2024-02-26T07:17:28.484Z] }
[func] [2024-02-26T07:17:28.484Z] }
[func] [2024-02-26T07:17:28.484Z] }
[func] [2024-02-26T07:17:28.484Z] }
[func] [2024-02-26T07:17:28.952Z] Initializing Warmup Extension.
[func] [2024-02-26T07:17:29.006Z] Initializing Host. OperationId: 'e4df39bd-fa75-4bab-a44a-e5f8e5c8708f'.
[func] [2024-02-26T07:17:29.015Z] Host initialization: ConsecutiveErrors=0, StartupCount=1, OperationId=e4df39bd-fa75-4bab-a44a-e5f8e5c8708f
[func] [2024-02-26T07:17:29.055Z] LoggerFilterOptions
[func] [2024-02-26T07:17:29.055Z] {
[func] [2024-02-26T07:17:29.055Z] "MinLevel": "None",
[func] [2024-02-26T07:17:29.055Z] "Rules": [
[func] [2024-02-26T07:17:29.055Z] {
[func] [2024-02-26T07:17:29.055Z] "ProviderName": null,
[func] [2024-02-26T07:17:29.055Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.055Z] "LogLevel": null,
[func] [2024-02-26T07:17:29.055Z] "Filter": "<AddFilter>b__0"
[func] [2024-02-26T07:17:29.055Z] },
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": "None",
[func] [2024-02-26T07:17:29.056Z] "Filter": null
[func] [2024-02-26T07:17:29.056Z] },
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": null,
[func] [2024-02-26T07:17:29.056Z] "Filter": "<AddFilter>b__0"
[func] [2024-02-26T07:17:29.056Z] },
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": null,
[func] [2024-02-26T07:17:29.056Z] "Filter": "<AddFilter>b__0"
[func] [2024-02-26T07:17:29.056Z] }
[func] [2024-02-26T07:17:29.056Z] ]
[func] [2024-02-26T07:17:29.056Z] }
[func] [2024-02-26T07:17:29.056Z] LoggerFilterOptions
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "MinLevel": "None",
[func] [2024-02-26T07:17:29.056Z] "Rules": [
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": null,
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": null,
[func] [2024-02-26T07:17:29.056Z] "Filter": "<AddFilter>b__0"
[func] [2024-02-26T07:17:29.056Z] },
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": "None",
[func] [2024-02-26T07:17:29.056Z] "Filter": null
[func] [2024-02-26T07:17:29.056Z] },
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": null,
[func] [2024-02-26T07:17:29.056Z] "Filter": "<AddFilter>b__0"
[func] [2024-02-26T07:17:29.056Z] },
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": null,
[func] [2024-02-26T07:17:29.056Z] "Filter": "<AddFilter>b__0"
[func] [2024-02-26T07:17:29.056Z] }
[func] [2024-02-26T07:17:29.056Z] ]
[func] [2024-02-26T07:17:29.056Z] }
[func] [2024-02-26T07:17:29.056Z] ConcurrencyOptions
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "DynamicConcurrencyEnabled": false,
[func] [2024-02-26T07:17:29.056Z] "MaximumFunctionConcurrency": 500,
[func] [2024-02-26T07:17:29.056Z] "CPUThreshold": 0.8,
[func] [2024-02-26T07:17:29.056Z] "SnapshotPersistenceEnabled": true
[func] [2024-02-26T07:17:29.056Z] }
[func] [2024-02-26T07:17:29.056Z] FunctionResultAggregatorOptions
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "BatchSize": 1000,
[func] [2024-02-26T07:17:29.056Z] "FlushTimeout": "00:00:30",
[func] [2024-02-26T07:17:29.057Z] "IsEnabled": true
[func] [2024-02-26T07:17:29.057Z] }
[func] [2024-02-26T07:17:29.057Z] SingletonOptions
[func] [2024-02-26T07:17:29.057Z] {
[func] [2024-02-26T07:17:29.057Z] "LockPeriod": "00:00:15",
[func] [2024-02-26T07:17:29.057Z] "ListenerLockPeriod": "00:00:15",
[func] [2024-02-26T07:17:29.057Z] "LockAcquisitionTimeout": "10675199.02:48:05.4775807",
[func] [2024-02-26T07:17:29.057Z] "LockAcquisitionPollingInterval": "00:00:05",
[func] [2024-02-26T07:17:29.057Z] "ListenerLockRecoveryPollingInterval": "00:01:00"
[func] [2024-02-26T07:17:29.057Z] }
[func] [2024-02-26T07:17:29.057Z] ScaleOptions
[func] [2024-02-26T07:17:29.057Z] {
[func] [2024-02-26T07:17:29.057Z] "ScaleMetricsMaxAge": "00:02:00",
[func] [2024-02-26T07:17:29.057Z] "ScaleMetricsSampleInterval": "00:00:10",
[func] [2024-02-26T07:17:29.057Z] "MetricsPurgeEnabled": true,
[func] [2024-02-26T07:17:29.057Z] "IsTargetScalingEnabled": true,
[func] [2024-02-26T07:17:29.057Z] "IsRuntimeScalingEnabled": false
[func] [2024-02-26T07:17:29.057Z] }
[func] [2024-02-26T07:17:29.058Z] Starting JobHost
[func] [2024-02-26T07:17:29.060Z] Starting Host (HostId=testfaas, InstanceId=f294dd35-162a-4511-8f58-6e93c40260a1, Version=4.28.5.21962, ProcessId=7860, AppDomainId=1, InDebugMode=False, InDiagnosticMode=False, FunctionsExtensionVersion=4)
[func] [2024-02-26T07:17:29.078Z] Loading functions metadata
[func] [2024-02-26T07:17:29.080Z] Reading functions metadata (Host)
[func] [2024-02-26T07:17:29.087Z] 4 functions found (Host)
[func] [2024-02-26T07:17:29.109Z] Reading functions metadata (Custom)
[func] [2024-02-26T07:17:29.120Z] 1 functions found (Custom)
[func] [2024-02-26T07:17:29.130Z] 4 functions loaded
[func] [2024-02-26T07:17:29.206Z] Generating 4 job function(s)
[func] [2024-02-26T07:17:29.258Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithException'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.265Z] Error indexing method 'HttpTriggerWithException'
[func] [2024-02-26T07:17:29.265Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithException'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.265Z] Function 'HttpTriggerWithException' failed indexing and will be disabled.
[func] [2024-02-26T07:17:29.266Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithInternalServerError'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.266Z] Error indexing method 'HttpTriggerWithInternalServerError'
[func] [2024-02-26T07:17:29.266Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithInternalServerError'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.267Z] Function 'HttpTriggerWithInternalServerError' failed indexing and will be disabled.
[func] [2024-02-26T07:17:29.267Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithNotFound'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.268Z] Error indexing method 'HttpTriggerWithNotFound'
[func] [2024-02-26T07:17:29.268Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithNotFound'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.268Z] Function 'HttpTriggerWithNotFound' failed indexing and will be disabled.
[func] [2024-02-26T07:17:29.268Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'SampleHttpTrigger'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.269Z] Error indexing method 'SampleHttpTrigger'
[func] [2024-02-26T07:17:29.269Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'SampleHttpTrigger'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.269Z] Function 'SampleHttpTrigger' failed indexing and will be disabled.
[func] [2024-02-26T07:17:29.270Z] No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).
[func] [2024-02-26T07:17:29.279Z] HttpOptions
[func] [2024-02-26T07:17:29.279Z] {
[func] [2024-02-26T07:17:29.279Z] "DynamicThrottlesEnabled": false,
[func] [2024-02-26T07:17:29.279Z] "EnableChunkedRequestBinding": false,
[func] [2024-02-26T07:17:29.279Z] "MaxConcurrentRequests": -1,
[func] [2024-02-26T07:17:29.279Z] "MaxOutstandingRequests": -1,
[func] [2024-02-26T07:17:29.279Z] "RoutePrefix": "api"
[func] [2024-02-26T07:17:29.279Z] }
[func] [2024-02-26T07:17:29.280Z] Initializing function HTTP routes
[func] [2024-02-26T07:17:29.281Z] Mapped function route 'api/HttpTriggerWithException' [get] to 'HttpTriggerWithException'
[func] [2024-02-26T07:17:29.281Z] Mapped function route 'api/HttpTriggerWithInternalServerError' [get] to 'HttpTriggerWithInternalServerError'
[func] [2024-02-26T07:17:29.281Z] Mapped function route 'api/HttpTriggerWithNotFound' [get] to 'HttpTriggerWithNotFound'
[func] [2024-02-26T07:17:29.281Z] Mapped function route 'api/SampleHttpTrigger' [get,post] to 'SampleHttpTrigger'
[func] [2024-02-26T07:17:29.281Z]
[func] [2024-02-26T07:17:29.289Z] Host initialized (219ms)
[func] [2024-02-26T07:17:29.292Z] Host started (231ms)
[func] [2024-02-26T07:17:29.292Z] Job host started
[func] [2024-02-26T07:17:29.300Z] The 'HttpTriggerWithException' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithException'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.300Z] The 'HttpTriggerWithInternalServerError' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithInternalServerError'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.300Z] The 'HttpTriggerWithNotFound' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithNotFound'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.300Z] The 'SampleHttpTrigger' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'SampleHttpTrigger'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func]
[func] Functions:
[func]
[func] HttpTriggerWithException: [GET] http://localhost:17073/api/HttpTriggerWithException
[func]
[func] HttpTriggerWithInternalServerError: [GET] http://localhost:17073/api/HttpTriggerWithInternalServerError
[func]
[func] HttpTriggerWithNotFound: [GET] http://localhost:17073/api/HttpTriggerWithNotFound
[func]
[func] SampleHttpTrigger: [GET,POST] http://localhost:17073/api/SampleHttpTrigger
[func]
[func] For detailed output, run func with --verbose flag.
[func] [2024-02-26T07:17:34.056Z] Host lock lease acquired by instance ID '20367ea8-70b9-41b4-a552-b2a826b3'.
02/26/2024 07:17:34: func tool ready!
=== END SUT Log ===
Invoking http://localhost:17073/api/HttpTriggerWithNotFound ...
Check failure on line 0 in junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Functions.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.Azure.Functions.Tests.dll ► Elastic.Apm.Azure.Functions.Tests.AzureFunctionsInProcessTests ► AzureFunctionsInProcessTests.Invoke_Http_Ok
Failed test found in:
junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Functions.Tests.xml
Error:
Expected transaction.Outcome to be Success, but found Failure.
Raw output
Expected transaction.Outcome to be Success, but found Failure.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Primitives.ObjectAssertions.Be(Object expected, String because, Object[] becauseArgs)
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionsInProcessTests.Invoke_Http_Ok() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsInProcessTests.cs:line 26
--- End of stack trace from previous location ---
Standard Output:
=== START SUT Log ===
Starting APM Server on port: 23909
func working directory: /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess
02/26/2024 07:17:16: Starting func tool
[func] MSBuild version 17.9.4+90725d08d for .NET
[func] Determining projects to restore...
[func] /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/azure/Elastic.Apm.Azure.Functions/Elastic.Apm.Azure.Functions.csproj : warning NU1903: Package 'Microsoft.AspNetCore.Http' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hxrm-9w7p-39cc [/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/Elastic.AzureFunctionApp.InProcess.csproj]
[func] All projects are up-to-date for restore.
[func] /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/azure/Elastic.Apm.Azure.Functions/Elastic.Apm.Azure.Functions.csproj : warning NU1903: Package 'Microsoft.AspNetCore.Http' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hxrm-9w7p-39cc
[func] Elastic.Apm.AzureFunctionApp.Core -> /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/Elastic.Apm.AzureFunctionApp.Core.dll
[func] Elastic.Apm -> /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/Elastic.Apm.dll
[func] Elastic.Apm.Azure.Functions -> /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/Elastic.Apm.Azure.Functions.dll
[func] Elastic.Apm -> /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/Elastic.Apm.dll
[func] Elastic.AzureFunctionApp.InProcess -> /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/Elastic.AzureFunctionApp.InProcess.dll
[func]
[func] Build succeeded.
[func]
[func] /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/azure/Elastic.Apm.Azure.Functions/Elastic.Apm.Azure.Functions.csproj : warning NU1903: Package 'Microsoft.AspNetCore.Http' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hxrm-9w7p-39cc [/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/Elastic.AzureFunctionApp.InProcess.csproj]
[func] /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/azure/Elastic.Apm.Azure.Functions/Elastic.Apm.Azure.Functions.csproj : warning NU1903: Package 'Microsoft.AspNetCore.Http' 2.1.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-hxrm-9w7p-39cc
[func] 2 Warning(s)
[func] 0 Error(s)
[func]
[func] Time Elapsed 00:00:09.61
[func]
[func]
[func] Azure Functions Core Tools
[func] Core Tools Version: 4.0.5530 Commit hash: N/A +c8883e7f3c06e2b424fbac033806c19d8d91418c (64-bit)
[func] Function Runtime Version: 4.28.5.21962
[func]
[func] [2024-02-26T07:17:27.864Z] Found /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/Elastic.AzureFunctionApp.InProcess.csproj. Using for user secrets file configuration.
[func] [2024-02-26T07:17:28.391Z] Building host: version spec: 4, startup suppressed: 'False', configuration suppressed: 'False', startup operation id: 'e4df39bd-fa75-4bab-a44a-e5f8e5c8708f'
[func] [2024-02-26T07:17:28.396Z] Reading host configuration file '/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/host.json'
[func] [2024-02-26T07:17:28.397Z] Host configuration file read:
[func] [2024-02-26T07:17:28.398Z] {
[func] [2024-02-26T07:17:28.398Z] "version": "2.0",
[func] [2024-02-26T07:17:28.398Z] "logging": {
[func] [2024-02-26T07:17:28.398Z] "applicationInsights": {
[func] [2024-02-26T07:17:28.398Z] "samplingSettings": {
[func] [2024-02-26T07:17:28.398Z] "isEnabled": true,
[func] [2024-02-26T07:17:28.398Z] "excludedTypes": "Request"
[func] [2024-02-26T07:17:28.398Z] }
[func] [2024-02-26T07:17:28.398Z] }
[func] [2024-02-26T07:17:28.398Z] }
[func] [2024-02-26T07:17:28.398Z] }
[func] [2024-02-26T07:17:28.413Z] Extension Bundle not loaded. Loading extensions from /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/bin. BundleConfigured: False, PrecompiledFunctionApp: False, LegacyBundle: False, DotnetIsolatedApp: False, isLogicApp: False
[func] [2024-02-26T07:17:28.413Z] Script Startup resetting load context with base path: '/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/bin'.
[func] [2024-02-26T07:17:28.418Z] Loading startup extension 'Startup'
[func] [2024-02-26T07:17:28.470Z] Loaded extension 'Startup' (1.0.0.0)
[func] [2024-02-26T07:17:28.484Z] Reading host configuration file '/home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.InProcess/bin/output/host.json'
[func] [2024-02-26T07:17:28.484Z] Host configuration file read:
[func] [2024-02-26T07:17:28.484Z] {
[func] [2024-02-26T07:17:28.484Z] "version": "2.0",
[func] [2024-02-26T07:17:28.484Z] "logging": {
[func] [2024-02-26T07:17:28.484Z] "applicationInsights": {
[func] [2024-02-26T07:17:28.484Z] "samplingSettings": {
[func] [2024-02-26T07:17:28.484Z] "isEnabled": true,
[func] [2024-02-26T07:17:28.484Z] "excludedTypes": "Request"
[func] [2024-02-26T07:17:28.484Z] }
[func] [2024-02-26T07:17:28.484Z] }
[func] [2024-02-26T07:17:28.484Z] }
[func] [2024-02-26T07:17:28.484Z] }
[func] [2024-02-26T07:17:28.952Z] Initializing Warmup Extension.
[func] [2024-02-26T07:17:29.006Z] Initializing Host. OperationId: 'e4df39bd-fa75-4bab-a44a-e5f8e5c8708f'.
[func] [2024-02-26T07:17:29.015Z] Host initialization: ConsecutiveErrors=0, StartupCount=1, OperationId=e4df39bd-fa75-4bab-a44a-e5f8e5c8708f
[func] [2024-02-26T07:17:29.055Z] LoggerFilterOptions
[func] [2024-02-26T07:17:29.055Z] {
[func] [2024-02-26T07:17:29.055Z] "MinLevel": "None",
[func] [2024-02-26T07:17:29.055Z] "Rules": [
[func] [2024-02-26T07:17:29.055Z] {
[func] [2024-02-26T07:17:29.055Z] "ProviderName": null,
[func] [2024-02-26T07:17:29.055Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.055Z] "LogLevel": null,
[func] [2024-02-26T07:17:29.055Z] "Filter": "<AddFilter>b__0"
[func] [2024-02-26T07:17:29.055Z] },
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": "None",
[func] [2024-02-26T07:17:29.056Z] "Filter": null
[func] [2024-02-26T07:17:29.056Z] },
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": null,
[func] [2024-02-26T07:17:29.056Z] "Filter": "<AddFilter>b__0"
[func] [2024-02-26T07:17:29.056Z] },
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": null,
[func] [2024-02-26T07:17:29.056Z] "Filter": "<AddFilter>b__0"
[func] [2024-02-26T07:17:29.056Z] }
[func] [2024-02-26T07:17:29.056Z] ]
[func] [2024-02-26T07:17:29.056Z] }
[func] [2024-02-26T07:17:29.056Z] LoggerFilterOptions
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "MinLevel": "None",
[func] [2024-02-26T07:17:29.056Z] "Rules": [
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": null,
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": null,
[func] [2024-02-26T07:17:29.056Z] "Filter": "<AddFilter>b__0"
[func] [2024-02-26T07:17:29.056Z] },
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": "None",
[func] [2024-02-26T07:17:29.056Z] "Filter": null
[func] [2024-02-26T07:17:29.056Z] },
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": null,
[func] [2024-02-26T07:17:29.056Z] "Filter": "<AddFilter>b__0"
[func] [2024-02-26T07:17:29.056Z] },
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[func] [2024-02-26T07:17:29.056Z] "CategoryName": null,
[func] [2024-02-26T07:17:29.056Z] "LogLevel": null,
[func] [2024-02-26T07:17:29.056Z] "Filter": "<AddFilter>b__0"
[func] [2024-02-26T07:17:29.056Z] }
[func] [2024-02-26T07:17:29.056Z] ]
[func] [2024-02-26T07:17:29.056Z] }
[func] [2024-02-26T07:17:29.056Z] ConcurrencyOptions
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "DynamicConcurrencyEnabled": false,
[func] [2024-02-26T07:17:29.056Z] "MaximumFunctionConcurrency": 500,
[func] [2024-02-26T07:17:29.056Z] "CPUThreshold": 0.8,
[func] [2024-02-26T07:17:29.056Z] "SnapshotPersistenceEnabled": true
[func] [2024-02-26T07:17:29.056Z] }
[func] [2024-02-26T07:17:29.056Z] FunctionResultAggregatorOptions
[func] [2024-02-26T07:17:29.056Z] {
[func] [2024-02-26T07:17:29.056Z] "BatchSize": 1000,
[func] [2024-02-26T07:17:29.056Z] "FlushTimeout": "00:00:30",
[func] [2024-02-26T07:17:29.057Z] "IsEnabled": true
[func] [2024-02-26T07:17:29.057Z] }
[func] [2024-02-26T07:17:29.057Z] SingletonOptions
[func] [2024-02-26T07:17:29.057Z] {
[func] [2024-02-26T07:17:29.057Z] "LockPeriod": "00:00:15",
[func] [2024-02-26T07:17:29.057Z] "ListenerLockPeriod": "00:00:15",
[func] [2024-02-26T07:17:29.057Z] "LockAcquisitionTimeout": "10675199.02:48:05.4775807",
[func] [2024-02-26T07:17:29.057Z] "LockAcquisitionPollingInterval": "00:00:05",
[func] [2024-02-26T07:17:29.057Z] "ListenerLockRecoveryPollingInterval": "00:01:00"
[func] [2024-02-26T07:17:29.057Z] }
[func] [2024-02-26T07:17:29.057Z] ScaleOptions
[func] [2024-02-26T07:17:29.057Z] {
[func] [2024-02-26T07:17:29.057Z] "ScaleMetricsMaxAge": "00:02:00",
[func] [2024-02-26T07:17:29.057Z] "ScaleMetricsSampleInterval": "00:00:10",
[func] [2024-02-26T07:17:29.057Z] "MetricsPurgeEnabled": true,
[func] [2024-02-26T07:17:29.057Z] "IsTargetScalingEnabled": true,
[func] [2024-02-26T07:17:29.057Z] "IsRuntimeScalingEnabled": false
[func] [2024-02-26T07:17:29.057Z] }
[func] [2024-02-26T07:17:29.058Z] Starting JobHost
[func] [2024-02-26T07:17:29.060Z] Starting Host (HostId=testfaas, InstanceId=f294dd35-162a-4511-8f58-6e93c40260a1, Version=4.28.5.21962, ProcessId=7860, AppDomainId=1, InDebugMode=False, InDiagnosticMode=False, FunctionsExtensionVersion=4)
[func] [2024-02-26T07:17:29.078Z] Loading functions metadata
[func] [2024-02-26T07:17:29.080Z] Reading functions metadata (Host)
[func] [2024-02-26T07:17:29.087Z] 4 functions found (Host)
[func] [2024-02-26T07:17:29.109Z] Reading functions metadata (Custom)
[func] [2024-02-26T07:17:29.120Z] 1 functions found (Custom)
[func] [2024-02-26T07:17:29.130Z] 4 functions loaded
[func] [2024-02-26T07:17:29.206Z] Generating 4 job function(s)
[func] [2024-02-26T07:17:29.258Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithException'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.265Z] Error indexing method 'HttpTriggerWithException'
[func] [2024-02-26T07:17:29.265Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithException'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.265Z] Function 'HttpTriggerWithException' failed indexing and will be disabled.
[func] [2024-02-26T07:17:29.266Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithInternalServerError'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.266Z] Error indexing method 'HttpTriggerWithInternalServerError'
[func] [2024-02-26T07:17:29.266Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithInternalServerError'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.267Z] Function 'HttpTriggerWithInternalServerError' failed indexing and will be disabled.
[func] [2024-02-26T07:17:29.267Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithNotFound'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.268Z] Error indexing method 'HttpTriggerWithNotFound'
[func] [2024-02-26T07:17:29.268Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithNotFound'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.268Z] Function 'HttpTriggerWithNotFound' failed indexing and will be disabled.
[func] [2024-02-26T07:17:29.268Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'SampleHttpTrigger'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.269Z] Error indexing method 'SampleHttpTrigger'
[func] [2024-02-26T07:17:29.269Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'SampleHttpTrigger'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.269Z] Function 'SampleHttpTrigger' failed indexing and will be disabled.
[func] [2024-02-26T07:17:29.270Z] No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).
[func] [2024-02-26T07:17:29.279Z] HttpOptions
[func] [2024-02-26T07:17:29.279Z] {
[func] [2024-02-26T07:17:29.279Z] "DynamicThrottlesEnabled": false,
[func] [2024-02-26T07:17:29.279Z] "EnableChunkedRequestBinding": false,
[func] [2024-02-26T07:17:29.279Z] "MaxConcurrentRequests": -1,
[func] [2024-02-26T07:17:29.279Z] "MaxOutstandingRequests": -1,
[func] [2024-02-26T07:17:29.279Z] "RoutePrefix": "api"
[func] [2024-02-26T07:17:29.279Z] }
[func] [2024-02-26T07:17:29.280Z] Initializing function HTTP routes
[func] [2024-02-26T07:17:29.281Z] Mapped function route 'api/HttpTriggerWithException' [get] to 'HttpTriggerWithException'
[func] [2024-02-26T07:17:29.281Z] Mapped function route 'api/HttpTriggerWithInternalServerError' [get] to 'HttpTriggerWithInternalServerError'
[func] [2024-02-26T07:17:29.281Z] Mapped function route 'api/HttpTriggerWithNotFound' [get] to 'HttpTriggerWithNotFound'
[func] [2024-02-26T07:17:29.281Z] Mapped function route 'api/SampleHttpTrigger' [get,post] to 'SampleHttpTrigger'
[func] [2024-02-26T07:17:29.281Z]
[func] [2024-02-26T07:17:29.289Z] Host initialized (219ms)
[func] [2024-02-26T07:17:29.292Z] Host started (231ms)
[func] [2024-02-26T07:17:29.292Z] Job host started
[func] [2024-02-26T07:17:29.300Z] The 'HttpTriggerWithException' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithException'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.300Z] The 'HttpTriggerWithInternalServerError' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithInternalServerError'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.300Z] The 'HttpTriggerWithNotFound' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'HttpTriggerWithNotFound'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func] [2024-02-26T07:17:29.300Z] The 'SampleHttpTrigger' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'SampleHttpTrigger'. System.Private.CoreLib: Could not load type 'System.Runtime.CompilerServices.NullableContextAttribute' from assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
[func]
[func] Functions:
[func]
[func] HttpTriggerWithException: [GET] http://localhost:17073/api/HttpTriggerWithException
[func]
[func] HttpTriggerWithInternalServerError: [GET] http://localhost:17073/api/HttpTriggerWithInternalServerError
[func]
[func] HttpTriggerWithNotFound: [GET] http://localhost:17073/api/HttpTriggerWithNotFound
[func]
[func] SampleHttpTrigger: [GET,POST] http://localhost:17073/api/SampleHttpTrigger
[func]
[func] For detailed output, run func with --verbose flag.
[func] [2024-02-26T07:17:34.056Z] Host lock lease acquired by instance ID '20367ea8-70b9-41b4-a552-b2a826b3'.
02/26/2024 07:17:34: func tool ready!
[func] [2024-02-26T07:17:34.933Z] Executing HTTP request: {
[func] [2024-02-26T07:17:34.933Z] "requestId": "4f587870-bfb9-40d8-9f0b-a0a3c15dd561",
[func] [2024-02-26T07:17:34.934Z] "method": "GET",
[func] [2024-02-26T07:17:34.934Z] "userAgent": "(null)",
[func] [2024-02-26T07:17:34.934Z] "uri": "/api/HttpTriggerWithNotFound"
[func] [2024-02-26T07:17:34.934Z] }
[func] [2024-02-26T07:17:35.068Z] An unhandled host error has occurred.
[func] [2024-02-26T07:17:35.068Z] Microsoft.Azure.WebJobs.Host: 'HttpTriggerWithNotFound' can't be invoked from Azure WebJobs SDK. Is it missing Azure WebJobs SDK attributes?.
[func] [2024-02-26T07:17:35.073Z] Executed HTTP request: {
[func] [2024-02-26T07:17:35.073Z] "requestId": "4f587870-bfb9-40d8-9f0b-a0a3c15dd561",
[func] [2024-02-26T07:17:35.073Z] "identities": "(WebJobsAuthLevel:Admin)",
[func] [2024-02-26T07:17:35.073Z] "status": "500",
[func] [2024-02-26T07:17:35.073Z] "duration": "138"
[func] [2024-02-26T07:17:35.073Z] }
[func] [2024-02-26T07:17:35.640Z] Executing HTTP request: {
[func] [2024-02-26T07:17:35.640Z] "requestId": "640cafb0-2015-428e-af3f-6c391ec94143",
[func] [2024-02-26T07:17:35.640Z] "method": "GET",
[func] [2024-02-26T07:17:35.640Z] "userAgent": "(null)",
[func] [2024-02-26T07:17:35.640Z] "uri": "/api/HttpTriggerWithInternalServerError"
[func] [2024-02-26T07:17:35.640Z] }
[func] [2024-02-26T07:17:35.642Z] An unhandled host error has occurred.
[func] [2024-02-26T07:17:35.642Z] Microsoft.Azure.WebJobs.Host: 'HttpTriggerWithInternalServerError' can't be invoked from Azure WebJobs SDK. Is it missing Azure WebJobs SDK attributes?.
[func] [2024-02-26T07:17:35.643Z] Executed HTTP request: {
[func] [2024-02-26T07:17:35.643Z] "requestId": "640cafb0-2015-428e-af3f-6c391ec94143",
[func] [2024-02-26T07:17:35.643Z] "identities": "(WebJobsAuthLevel:Admin)",
[func] [2024-02-26T07:17:35.643Z] "status": "500",
[func] [2024-02-26T07:17:35.643Z] "duration": "2"
[func] [2024-02-26T07:17:35.643Z] }
=== END SUT Log ===
Invoking http://localhost:17073/api/SampleHttpTrigger ...
Check failure on line 0 in junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Functions.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.Azure.Functions.Tests.dll ► Elastic.Apm.Azure.Functions.Tests.AzureFunctionsIsolatedTests ► AzureFunctionsIsolatedTests.Invoke_Http_InternalServerError
Failed test found in:
junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Functions.Tests.xml
Error:
Expected attempt to be less than 60 because Could not connect to function running on http://localhost:7071/api/HttpTriggerWithInternalServerError, but found 60.
Raw output
Expected attempt to be less than 60 because Could not connect to function running on http://localhost:7071/api/HttpTriggerWithInternalServerError, but found 60.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Numeric.NumericAssertions`1.BeLessThan(T expected, String because, Object[] becauseArgs)
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionTestContextBase.InvokeFunction(ITestOutputHelper output, Uri uri) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsTestFixture.cs:line 145
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionsTestBase.InvokeAndAssertFunction(String functionName) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsTestBase.cs:line 35
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionsIsolatedTests.Invoke_Http_InternalServerError() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsIsolatedTests.cs:line 33
--- End of stack trace from previous location ---
Standard Output:
=== START SUT Log ===
Starting APM Server on port: 23910
func working directory: /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.Isolated
02/26/2024 07:17:35: Starting func tool
=== END SUT Log ===
Invoking http://localhost:7071/api/HttpTriggerWithInternalServerError ...
Check failure on line 0 in junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Functions.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.Azure.Functions.Tests.dll ► Elastic.Apm.Azure.Functions.Tests.AzureFunctionsIsolatedTests ► AzureFunctionsIsolatedTests.Invoke_Http_FunctionThrowsException
Failed test found in:
junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Functions.Tests.xml
Error:
Expected attempt to be less than 60 because Could not connect to function running on http://localhost:7071/api/HttpTriggerWithException, but found 60.
Raw output
Expected attempt to be less than 60 because Could not connect to function running on http://localhost:7071/api/HttpTriggerWithException, but found 60.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Numeric.NumericAssertions`1.BeLessThan(T expected, String because, Object[] becauseArgs)
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionTestContextBase.InvokeFunction(ITestOutputHelper output, Uri uri) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsTestFixture.cs:line 145
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionsTestBase.InvokeAndAssertFunction(String functionName) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsTestBase.cs:line 35
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionsIsolatedTests.Invoke_Http_FunctionThrowsException() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsIsolatedTests.cs:line 43
--- End of stack trace from previous location ---
Standard Output:
=== START SUT Log ===
Starting APM Server on port: 23910
func working directory: /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.Isolated
02/26/2024 07:17:35: Starting func tool
=== END SUT Log ===
Invoking http://localhost:7071/api/HttpTriggerWithException ...
Check failure on line 0 in junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Functions.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.Azure.Functions.Tests.dll ► Elastic.Apm.Azure.Functions.Tests.AzureFunctionsIsolatedTests ► AzureFunctionsIsolatedTests.Invoke_Http_Ok
Failed test found in:
junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Functions.Tests.xml
Error:
Expected attempt to be less than 60 because Could not connect to function running on http://localhost:7071/api/SampleHttpTrigger, but found 60.
Raw output
Expected attempt to be less than 60 because Could not connect to function running on http://localhost:7071/api/SampleHttpTrigger, but found 60.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Numeric.NumericAssertions`1.BeLessThan(T expected, String because, Object[] becauseArgs)
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionTestContextBase.InvokeFunction(ITestOutputHelper output, Uri uri) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsTestFixture.cs:line 145
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionsTestBase.InvokeAndAssertFunction(String functionName) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsTestBase.cs:line 35
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionsIsolatedTests.Invoke_Http_Ok() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsIsolatedTests.cs:line 23
--- End of stack trace from previous location ---
Standard Output:
=== START SUT Log ===
Starting APM Server on port: 23910
func working directory: /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.Isolated
02/26/2024 07:17:35: Starting func tool
=== END SUT Log ===
Invoking http://localhost:7071/api/SampleHttpTrigger ...
Check failure on line 0 in junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Functions.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.Azure.Functions.Tests.dll ► Elastic.Apm.Azure.Functions.Tests.AzureFunctionsIsolatedTests ► AzureFunctionsIsolatedTests.Invoke_Http_NotFound
Failed test found in:
junit-azure-linux-NETCoreApp80-Elastic.Apm.Azure.Functions.Tests.xml
Error:
Expected attempt to be less than 60 because Could not connect to function running on http://localhost:7071/api/HttpTriggerWithNotFound, but found 60.
Raw output
Expected attempt to be less than 60 because Could not connect to function running on http://localhost:7071/api/HttpTriggerWithNotFound, but found 60.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Numeric.NumericAssertions`1.BeLessThan(T expected, String because, Object[] becauseArgs)
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionTestContextBase.InvokeFunction(ITestOutputHelper output, Uri uri) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsTestFixture.cs:line 145
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionsTestBase.InvokeAndAssertFunction(String functionName) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsTestBase.cs:line 35
at Elastic.Apm.Azure.Functions.Tests.AzureFunctionsIsolatedTests.Invoke_Http_NotFound() in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/Elastic.Apm.Azure.Functions.Tests/AzureFunctionsIsolatedTests.cs:line 53
--- End of stack trace from previous location ---
Standard Output:
=== START SUT Log ===
Starting APM Server on port: 23910
func working directory: /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/azure/applications/Elastic.AzureFunctionApp.Isolated
02/26/2024 07:17:35: Starting func tool
=== END SUT Log ===
Invoking http://localhost:7071/api/HttpTriggerWithNotFound ...
Check failure on line 0 in junit-profiler-linux-NETCoreApp80-Elastic.Apm.Profiler.Managed.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.Profiler.Managed.Tests.dll ► Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ValueType.ValueTypeFieldTests ► ValueTypeFieldTests.StaticReadonlyFields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyRef...
Failed test found in:
junit-profiler-linux-NETCoreApp80-Elastic.Apm.Profiler.Managed.Tests.xml
Error:
System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.GetFieldGetMethod(TypeBuilder proxyTypeBuilder, Type targetType, MemberInfo proxyMember, FieldInfo targetField, FieldInfo instanceField) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.Fields.cs:line 106
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.CreateProperties(TypeBuilder proxyTypeBuilder, Type proxyDefinitionType, Type targetType, FieldInfo instanceField) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.cs:line 352
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.CreateProxyType(Type proxyDefinitionType, Type targetType) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.cs:line 190
--- End of stack trace from previous location ---
at Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ValueType.ValueTypeFieldTests.StaticReadonlyFields(Object obscureObject) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/profiler/Elastic.Apm.Profiler.Managed.Tests/DuckTyping/Fields/ValueType/ValueTypeFieldTests.cs:line 47
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Check failure on line 0 in junit-profiler-linux-NETCoreApp80-Elastic.Apm.Profiler.Managed.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.Profiler.Managed.Tests.dll ► Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ValueType.ValueTypeFieldTests ► ValueTypeFieldTests.StaticReadonlyFields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyR...
Failed test found in:
junit-profiler-linux-NETCoreApp80-Elastic.Apm.Profiler.Managed.Tests.xml
junit-profiler-linux-NETCoreApp80-Elastic.Apm.Profiler.Managed.Tests.xml
Error:
System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.GetFieldGetMethod(TypeBuilder proxyTypeBuilder, Type targetType, MemberInfo proxyMember, FieldInfo targetField, FieldInfo instanceField) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.Fields.cs:line 106
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.CreateProperties(TypeBuilder proxyTypeBuilder, Type proxyDefinitionType, Type targetType, FieldInfo instanceField) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.cs:line 352
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.CreateProxyType(Type proxyDefinitionType, Type targetType) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.cs:line 190
--- End of stack trace from previous location ---
at Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ValueType.ValueTypeFieldTests.StaticReadonlyFields(Object obscureObject) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/profiler/Elastic.Apm.Profiler.Managed.Tests/DuckTyping/Fields/ValueType/ValueTypeFieldTests.cs:line 47
at InvokeStub_ValueTypeFieldTests.StaticReadonlyFields(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 0 in junit-profiler-linux-NETCoreApp80-Elastic.Apm.Profiler.Managed.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.Profiler.Managed.Tests.dll ► Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ValueType.ValueTypeFieldTests ► ValueTypeFieldTests.StaticFields(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenceTy...
Failed test found in:
junit-profiler-linux-NETCoreApp80-Elastic.Apm.Profiler.Managed.Tests.xml
Error:
System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.GetFieldGetMethod(TypeBuilder proxyTypeBuilder, Type targetType, MemberInfo proxyMember, FieldInfo targetField, FieldInfo instanceField) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.Fields.cs:line 106
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.CreateProperties(TypeBuilder proxyTypeBuilder, Type proxyDefinitionType, Type targetType, FieldInfo instanceField) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.cs:line 352
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.CreateProxyType(Type proxyDefinitionType, Type targetType) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.cs:line 190
--- End of stack trace from previous location ---
at Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ValueType.ValueTypeFieldTests.StaticFields(Object obscureObject) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/profiler/Elastic.Apm.Profiler.Managed.Tests/DuckTyping/Fields/ValueType/ValueTypeFieldTests.cs:line 76
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Check failure on line 0 in junit-profiler-linux-NETCoreApp80-Elastic.Apm.Profiler.Managed.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.Profiler.Managed.Tests.dll ► Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ValueType.ValueTypeFieldTests ► ValueTypeFieldTests.StaticFields(obscureObject: FieldInternalObject { _publicNullableIntField = null, _publicReadonlyReference...
Failed test found in:
junit-profiler-linux-NETCoreApp80-Elastic.Apm.Profiler.Managed.Tests.xml
junit-profiler-linux-NETCoreApp80-Elastic.Apm.Profiler.Managed.Tests.xml
Error:
System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.GetFieldGetMethod(TypeBuilder proxyTypeBuilder, Type targetType, MemberInfo proxyMember, FieldInfo targetField, FieldInfo instanceField) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.Fields.cs:line 106
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.CreateProperties(TypeBuilder proxyTypeBuilder, Type proxyDefinitionType, Type targetType, FieldInfo instanceField) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.cs:line 352
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.CreateProxyType(Type proxyDefinitionType, Type targetType) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.cs:line 190
--- End of stack trace from previous location ---
at Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ValueType.ValueTypeFieldTests.StaticFields(Object obscureObject) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/profiler/Elastic.Apm.Profiler.Managed.Tests/DuckTyping/Fields/ValueType/ValueTypeFieldTests.cs:line 76
at InvokeStub_ValueTypeFieldTests.StaticFields(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Check failure on line 0 in junit-profiler-linux-NETCoreApp80-Elastic.Apm.Profiler.Managed.Tests.xml
github-actions / Linux Tests Summary
Elastic.Apm.Profiler.Managed.Tests.dll ► Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ValueType.ValueTypeFieldTests ► ValueTypeFieldTests.NullableOfKnown(obscureObject: FieldPublicObject { _publicNullableIntField = null, _publicReadonlyReferenc...
Failed test found in:
junit-profiler-linux-NETCoreApp80-Elastic.Apm.Profiler.Managed.Tests.xml
Error:
System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.GetFieldGetMethod(TypeBuilder proxyTypeBuilder, Type targetType, MemberInfo proxyMember, FieldInfo targetField, FieldInfo instanceField) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.Fields.cs:line 106
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.CreateProperties(TypeBuilder proxyTypeBuilder, Type proxyDefinitionType, Type targetType, FieldInfo instanceField) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.cs:line 352
at Elastic.Apm.Profiler.Managed.DuckTyping.DuckType.CreateProxyType(Type proxyDefinitionType, Type targetType) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.cs:line 190
--- End of stack trace from previous location ---
at Elastic.Apm.Profiler.Managed.Tests.DuckTyping.Fields.ValueType.ValueTypeFieldTests.NullableOfKnown(Object obscureObject) in /home/runner/work/apm-agent-dotnet/apm-agent-dotnet/test/profiler/Elastic.Apm.Profiler.Managed.Tests/DuckTyping/Fields/ValueType/ValueTypeFieldTests.cs:line 287
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)