microsoft / ga4gh-tes

C# implementation of the GA4GH TES API; provides distributed batch task execution on Microsoft Azure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recent builds return exit code 10

BMurri opened this issue · comments

Describe the bug
Recent builds return failures without any event blobs or other information needed for troubleshooting or forensics

Steps to Reproduce
Steps to reproduce the behavior:
Run integration tests on recent builds

Expected behavior
Integration tests run to completion.

Additional context
task's stdout.txt contains the following:

2024-04-08 19:46:05.786 fail: NodeTaskUtils[0]
      Failed to deserialize task JSON file.
      System.InvalidOperationException: Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
         at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_JsonSerializerIsReflectionDisabled()
         at System.Text.Json.JsonSerializerOptions.ConfigureForJsonSerializer()
         at System.Text.Json.JsonSerializerOptions.MakeReadOnly(Boolean)
         at System.Text.Json.JsonSerializer.GetTypeInfo(JsonSerializerOptions, Type)
         at System.Text.Json.JsonSerializer.GetTypeInfo[T](JsonSerializerOptions)
         at System.Text.Json.JsonSerializer.Deserialize[TValue](String , JsonSerializerOptions )
         at Tes.RunnerCLI.Commands.NodeTaskUtils.DeserializeNodeTaskAsync(String)
2024-04-08 19:46:06.018 fail: Tes.RunnerCLI.Commands.CommandHandlers[0]
      Failed to execute Node Task: /mnt/batch/tasks/workitems/TES-114955782-A1_v2-xgor2nfoftd2mr3p6a4zgowrhjabsu5x-dbmbc2gz/job-1/test-4/runner-task.json
      Tes.RunnerCLI.Commands.CommandExecutionException: Failed to launch command: exec
       ---> System.InvalidOperationException: Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
         at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_JsonSerializerIsReflectionDisabled()
         at System.Text.Json.JsonSerializerOptions.ConfigureForJsonSerializer()
         at System.Text.Json.JsonSerializerOptions.MakeReadOnly(Boolean)
         at System.Text.Json.JsonSerializer.GetTypeInfo(JsonSerializerOptions, Type)
         at System.Text.Json.JsonSerializer.GetTypeInfo[T](JsonSerializerOptions)
         at System.Text.Json.JsonSerializer.Deserialize[TValue](String , JsonSerializerOptions )
         at Tes.RunnerCLI.Commands.NodeTaskUtils.DeserializeNodeTaskAsync(String)
         at Tes.RunnerCLI.Commands.CommandHandlers.ExecuteRootCommandAsync(FileInfo file, Int32 blockSize, Int32 writers, Int32 readers, Int32 bufferCapacity, String apiVersion, Uri dockerUri)
         --- End of inner exception stack trace ---
         at Tes.RunnerCLI.Commands.CommandLauncher.HandleFatalLauncherError(String, Exception)
         at Tes.RunnerCLI.Commands.CommandHandlers.ExecuteRootCommandAsync(FileInfo file, Int32 blockSize, Int32 writers, Int32 readers, Int32 bufferCapacity, String apiVersion, Uri dockerUri)