? github.com/argoproj/argo-workflows/v3 [no test files] ok github.com/argoproj/argo-workflows/v3/api/openapi-spec (cached) ? github.com/argoproj/argo-workflows/v3/cmd/argo [no test files] ? github.com/argoproj/argo-workflows/v3/cmd/argo/commands/archive [no test files] ? github.com/argoproj/argo-workflows/v3/cmd/argo/commands/auth [no test files] ? github.com/argoproj/argo-workflows/v3/cmd/argo/commands/executorplugin [no test files] ? github.com/argoproj/argo-workflows/v3/cmd/argo/commands/template [no test files] ? github.com/argoproj/argo-workflows/v3/cmd/argo/lint/mocks [no test files] ? github.com/argoproj/argo-workflows/v3/cmd/argoexec [no test files] ? github.com/argoproj/argo-workflows/v3/cmd/argoexec/commands/artifact [no test files] ? github.com/argoproj/argo-workflows/v3/cmd/workflow-controller [no test files] ? github.com/argoproj/argo-workflows/v3/examples/example-golang [no test files] ? github.com/argoproj/argo-workflows/v3/hack [no test files] ? github.com/argoproj/argo-workflows/v3/hack/cli [no test files] ? github.com/argoproj/argo-workflows/v3/hack/diagram [no test files] ? github.com/argoproj/argo-workflows/v3/hack/jsonschema [no test files] ? github.com/argoproj/argo-workflows/v3/hack/swagger [no test files] ? github.com/argoproj/argo-workflows/v3/persist/sqldb/mocks [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/apiclient/clusterworkflowtemplate [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/apiclient/cronworkflow [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/apiclient/event [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/apiclient/eventsource [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/apiclient/info [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/apiclient/sensor [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/apiclient/workflow [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/apiclient/workflow/mocks [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/apiclient/workflowarchive [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/apiclient/workflowtemplate [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/apiclient/workflowtemplate/mocks [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/apis/workflow [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/client/clientset/versioned [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/client/clientset/versioned/fake [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/client/clientset/versioned/scheme [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/client/clientset/versioned/typed/workflow/v1alpha1/fake [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/client/informers/externalversions [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/client/clientset/versioned/typed/workflow/v1alpha1 [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/client/informers/externalversions/internalinterfaces [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/client/informers/externalversions/workflow [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/client/informers/externalversions/workflow/v1alpha1 [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/client/listers/workflow/v1alpha1 [no test files] ? github.com/argoproj/argo-workflows/v3/pkg/plugins/executor [no test files] ? github.com/argoproj/argo-workflows/v3/server/apiserver [no test files] ? github.com/argoproj/argo-workflows/v3/server/apiserver/accesslog [no test files] ? github.com/argoproj/argo-workflows/v3/server/auth/mocks [no test files] ? github.com/argoproj/argo-workflows/v3/server/auth/sso/mocks [no test files] C:\Users\Michael\AppData\Local\Temp\Test_OfflineLint54029603\001\subdir\workflow.yaml: Γ£û in "hello-world-local-arg-" (Workflow): templates.whalesay.steps[0].hello-world couldn't find workflow template "hello-world-template-local-arg" in namespace "test" Γ£û 1 linting errors found! C:\Users\Michael\AppData\Local\Temp\Test_OfflineLint54029603\001\subdir\workflow.yaml: Γ£û in "hello-world-local-arg-" (Workflow): templates.whalesay.steps[0].hello-world couldn't find workflow template "hello-world-template-local-arg" in namespace "test" Γ£û 1 linting errors found! C:\Users\Michael\AppData\Local\Temp\Test_OfflineLint54029603\001\subdir\workflow.yaml: Γ£û in "hello-world-local-arg-" (Workflow): templates.whalesay.steps[0].hello-world-cluster couldn't find cluster workflow template "hello-world-cluster" Γ£û 1 linting errors found! Γ£ö no linting errors found! Γ£ö no linting errors found! Γ£ö no linting errors found! Γ£ö no linting errors found! Γ£ö no linting errors found! --- FAIL: Test_OfflineLint (1.82s) testing.go:1225: TempDir RemoveAll cleanup: remove C:\Users\Michael\AppData\Local\Temp\Test_OfflineLint54029603\001\subdir\cluster-workflow-template.yaml: The process cannot access the file because it is being used by another process. Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: workflow foo stopped (dry-run) workflow bar stopped (dry-run) workflow stopped workflow stopped workflow stopped workflow stopped workflow stopped workflow stopped workflow stopped workflow stopped workflow stopped 2023/10/13 13:13:24 proto: tag has too few fields: "-" Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: Name: Namespace: ServiceAccount: unset (will run with the default ServiceAccount) Status: Unknown Created: Mon Jan 01 00:00:00 +0000 (a long while ago) Progress: FAIL FAIL github.com/argoproj/argo-workflows/v3/cmd/argo/commands 2.022s ok github.com/argoproj/argo-workflows/v3/cmd/argo/commands/client (cached) ok github.com/argoproj/argo-workflows/v3/cmd/argo/commands/clustertemplate (cached) ok github.com/argoproj/argo-workflows/v3/cmd/argo/commands/common (cached) ok github.com/argoproj/argo-workflows/v3/cmd/argo/commands/cron (cached) --- FAIL: TestPrettyFormat (0.00s) --- FAIL: TestPrettyFormat/Multiple (0.00s) formatter_pretty_test.go:40: Error Trace: C:/Users/Michael/code/argo-workflows/cmd/argo/lint/formatter_pretty_test.go:40 Error: Not equal: expected: "\x1b[4mtest1\x1b[0m:\n \x1b[31mΓ£û\x1b[0m some error\n \x1b[31mΓ£û\x1b[0m some error2\n\n" actual : "test1:\n Γ£û some error\n Γ£û some error2\n\n" Diff: --- Expected +++ Actual @@ -1,4 +1,4 @@ -test1: - Γ£û some error - Γ£û some error2 +test1: + Γ£û some error + Γ£û some error2 Test: TestPrettyFormat/Multiple --- FAIL: TestPrettyFormat/One (0.00s) formatter_pretty_test.go:52: Error Trace: C:/Users/Michael/code/argo-workflows/cmd/argo/lint/formatter_pretty_test.go:52 Error: Not equal: expected: "\x1b[4mtest2\x1b[0m:\n \x1b[31mΓ£û\x1b[0m some error\n\n" actual : "test2:\n Γ£û some error\n\n" Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ -test2: - Γ£û some error +test2: + Γ£û some error Test: TestPrettyFormat/One 2023/10/13 13:13:23 proto: tag has too few fields: "-" --- FAIL: TestLintDeviceFile (0.00s) lint_test.go:240: Error Trace: C:/Users/Michael/code/argo-workflows/cmd/argo/lint/lint_test.go:240 Error: Received unexpected error: CreateFile /dev/fd/524: The system cannot find the path specified. Test: TestLintDeviceFile panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x18 pc=0x2388216] goroutine 54 [running]: testing.tRunner.func1.2({0x24fc540, 0x38544f0}) C:/Program Files/Go/src/testing/testing.go:1545 +0x238 testing.tRunner.func1() C:/Program Files/Go/src/testing/testing.go:1548 +0x397 panic({0x24fc540?, 0x38544f0?}) C:/Program Files/Go/src/runtime/panic.go:914 +0x21f github.com/argoproj/argo-workflows/v3/cmd/argo/lint.TestLintDeviceFile(0x0?) C:/Users/Michael/code/argo-workflows/cmd/argo/lint/lint_test.go:241 +0x3f6 testing.tRunner(0xc00007f520, 0x2854210) C:/Program Files/Go/src/testing/testing.go:1595 +0xff created by testing.(*T).Run in goroutine 1 C:/Program Files/Go/src/testing/testing.go:1648 +0x3ad FAIL github.com/argoproj/argo-workflows/v3/cmd/argo/lint 0.185s ok github.com/argoproj/argo-workflows/v3/cmd/argoexec/commands (cached) ok github.com/argoproj/argo-workflows/v3/config (cached) ok github.com/argoproj/argo-workflows/v3/errors (cached) ok github.com/argoproj/argo-workflows/v3/examples (cached) ok github.com/argoproj/argo-workflows/v3/persist/sqldb (cached) ok github.com/argoproj/argo-workflows/v3/pkg/apiclient (cached) ok github.com/argoproj/argo-workflows/v3/pkg/apiclient/http1 (cached) --- FAIL: TestArtifact_ValidatePath (0.00s) --- FAIL: TestArtifact_ValidatePath/directory_traversal_above_safe_base_dir_fails (0.00s) workflow_types_test.go:209: Error Trace: C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:209 C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:223 Error: An error is expected but got nil. Test: TestArtifact_ValidatePath/directory_traversal_above_safe_base_dir_fails workflow_types_test.go:224: Error Trace: C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:224 Error: Not equal: expected: "/tmp/../../etc/passwd" actual : "\\etc\\passwd" Diff: --- Expected +++ Actual @@ -1 +1 @@ -/tmp/../../etc/passwd +\etc\passwd Test: TestArtifact_ValidatePath/directory_traversal_above_safe_base_dir_fails workflow_types_test.go:209: Error Trace: C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:209 C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:227 Error: An error is expected but got nil. Test: TestArtifact_ValidatePath/directory_traversal_above_safe_base_dir_fails workflow_types_test.go:228: Error Trace: C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:228 Error: Not equal: expected: "/tmp/../tmp" actual : "\\tmp" Diff: --- Expected +++ Actual @@ -1 +1 @@ -/tmp/../tmp +\tmp Test: TestArtifact_ValidatePath/directory_traversal_above_safe_base_dir_fails workflow_types_test.go:209: Error Trace: C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:209 C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:231 Error: An error is expected but got nil. Test: TestArtifact_ValidatePath/directory_traversal_above_safe_base_dir_fails workflow_types_test.go:232: Error Trace: C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:232 Error: Not equal: expected: "/tmp/../tmp/" actual : "\\tmp" Diff: --- Expected +++ Actual @@ -1 +1 @@ -/tmp/../tmp/ +\tmp Test: TestArtifact_ValidatePath/directory_traversal_above_safe_base_dir_fails workflow_types_test.go:209: Error Trace: C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:209 C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:235 Error: An error is expected but got nil. Test: TestArtifact_ValidatePath/directory_traversal_above_safe_base_dir_fails workflow_types_test.go:236: Error Trace: C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:236 Error: Not equal: expected: "/tmp/subdir/../../tmp/subdir/" actual : "\\tmp\\subdir" Diff: --- Expected +++ Actual @@ -1 +1 @@ -/tmp/subdir/../../tmp/subdir/ +\tmp\subdir Test: TestArtifact_ValidatePath/directory_traversal_above_safe_base_dir_fails workflow_types_test.go:209: Error Trace: C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:209 C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:239 Error: An error is expected but got nil. Test: TestArtifact_ValidatePath/directory_traversal_above_safe_base_dir_fails workflow_types_test.go:240: Error Trace: C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:240 Error: Not equal: expected: "/tmp/../tmp-imposter" actual : "\\tmp-imposter" Diff: --- Expected +++ Actual @@ -1 +1 @@ -/tmp/../tmp-imposter +\tmp-imposter Test: TestArtifact_ValidatePath/directory_traversal_above_safe_base_dir_fails --- FAIL: TestArtifact_ValidatePath/directory_traversal_with_no_safe_base_dir_succeeds (0.00s) panic: runtime error: slice bounds out of range [:-1] [recovered] panic: runtime error: slice bounds out of range [:-1] goroutine 109 [running]: testing.tRunner.func1.2({0x126e000, 0xc00039ac60}) C:/Program Files/Go/src/testing/testing.go:1545 +0x238 testing.tRunner.func1() C:/Program Files/Go/src/testing/testing.go:1548 +0x397 panic({0x126e000?, 0xc00039ac60?}) C:/Program Files/Go/src/runtime/panic.go:914 +0x21f github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1.(*Artifact).CleanPath(0xc00025fe80) C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types.go:1001 +0x42f github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1.TestArtifact_ValidatePath.func3(0xc0003ba680?) C:/Users/Michael/code/argo-workflows/pkg/apis/workflow/v1alpha1/workflow_types_test.go:245 +0x65 testing.tRunner(0xc0003ba820, 0x1384080) C:/Program Files/Go/src/testing/testing.go:1595 +0xff created by testing.(*T).Run in goroutine 106 C:/Program Files/Go/src/testing/testing.go:1648 +0x3ad FAIL github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1 0.849s ok github.com/argoproj/argo-workflows/v3/pkg/plugins/spec (cached) ok github.com/argoproj/argo-workflows/v3/server/artifacts (cached) ok github.com/argoproj/argo-workflows/v3/server/auth (cached) ok github.com/argoproj/argo-workflows/v3/server/auth/serviceaccount (cached) ok github.com/argoproj/argo-workflows/v3/server/auth/sso (cached) ok github.com/argoproj/argo-workflows/v3/server/auth/types (cached) ok github.com/argoproj/argo-workflows/v3/server/auth/webhook (cached) ok github.com/argoproj/argo-workflows/v3/server/cache (cached) ok github.com/argoproj/argo-workflows/v3/server/clusterworkflowtemplate (cached) ok github.com/argoproj/argo-workflows/v3/server/cronworkflow (cached) ? github.com/argoproj/argo-workflows/v3/server/eventsource [no test files] ok github.com/argoproj/argo-workflows/v3/server/event (cached) ok github.com/argoproj/argo-workflows/v3/server/event/dispatch (cached) ? github.com/argoproj/argo-workflows/v3/server/static [no test files] ? github.com/argoproj/argo-workflows/v3/server/types [no test files] ok github.com/argoproj/argo-workflows/v3/server/info (cached) ? github.com/argoproj/argo-workflows/v3/test/e2e [no test files] ? github.com/argoproj/argo-workflows/v3/test/e2e/fixtures [no test files] ? github.com/argoproj/argo-workflows/v3/test/stress/tool [no test files] ok github.com/argoproj/argo-workflows/v3/server/sensor (cached) ok github.com/argoproj/argo-workflows/v3/server/utils (cached) ok github.com/argoproj/argo-workflows/v3/server/workflow (cached) ok github.com/argoproj/argo-workflows/v3/server/workflowarchive (cached) ok github.com/argoproj/argo-workflows/v3/server/workflowtemplate (cached) ? github.com/argoproj/argo-workflows/v3/test/util [no test files] ok github.com/argoproj/argo-workflows/v3/util (cached) ? github.com/argoproj/argo-workflows/v3/util/diff [no test files] ? github.com/argoproj/argo-workflows/v3/util/expr/env [no test files] ? github.com/argoproj/argo-workflows/v3/util/grpc [no test files] ? github.com/argoproj/argo-workflows/v3/util/help [no test files] ? github.com/argoproj/argo-workflows/v3/util/logs [no test files] ? github.com/argoproj/argo-workflows/v3/util/pprof [no test files] ? github.com/argoproj/argo-workflows/v3/util/retry [no test files] ? github.com/argoproj/argo-workflows/v3/util/runtime [no test files] ? github.com/argoproj/argo-workflows/v3/util/unstructured [no test files] ? github.com/argoproj/argo-workflows/v3/workflow/artifactrepositories/mocks [no test files] ? github.com/argoproj/argo-workflows/v3/workflow/artifacts [no test files] --- FAIL: TestTarDirectory (0.21s) --- FAIL: TestTarDirectory/dir_missing (0.02s) archive_test.go:82: Error Trace: C:/Users/Michael/code/argo-workflows/util/archive/archive_test.go:82 Error: Received unexpected error: remove C:\Users\Michael\AppData\Local\Temp\argo-test\dir-dir_missing-3fcdc9def3f85c14223a9b12f305002f.tgz: The process cannot access the file because it is being used by another process. Test: TestTarDirectory/dir_missing --- FAIL: TestTarDirectory/level_default (0.14s) archive_test.go:82: Error Trace: C:/Users/Michael/code/argo-workflows/util/archive/archive_test.go:82 Error: Received unexpected error: remove C:\Users\Michael\AppData\Local\Temp\argo-test\dir-level_default-b7a32d5ba3d3b499df8c52015b002cd8.tgz: The process cannot access the file because it is being used by another process. Test: TestTarDirectory/level_default --- FAIL: TestTarDirectory/level_none (0.06s) archive_test.go:82: Error Trace: C:/Users/Michael/code/argo-workflows/util/archive/archive_test.go:82 Error: Received unexpected error: remove C:\Users\Michael\AppData\Local\Temp\argo-test\dir-level_none-c15dc2e0cb7d183d6c82663db69747a2.tgz: The process cannot access the file because it is being used by another process. Test: TestTarDirectory/level_none --- FAIL: TestTarDirectory/level_out_of_range (0.00s) archive_test.go:82: Error Trace: C:/Users/Michael/code/argo-workflows/util/archive/archive_test.go:82 Error: Received unexpected error: remove C:\Users\Michael\AppData\Local\Temp\argo-test\dir-level_out_of_range-0aa977512502c1ac627bbaf2eb965f78.tgz: The process cannot access the file because it is being used by another process. Test: TestTarDirectory/level_out_of_range --- FAIL: TestZipDirectory (0.11s) --- FAIL: TestZipDirectory/dir_missing (0.00s) archive_test.go:176: Error Trace: C:/Users/Michael/code/argo-workflows/util/archive/archive_test.go:176 Error: Received unexpected error: remove C:\Users\Michael\AppData\Local\Temp\argo-test\dir-dir_missing-7b7067d34943d4c39aa63513f71746b8.tgz: The process cannot access the file because it is being used by another process. Test: TestZipDirectory/dir_missing --- FAIL: TestZipDirectory/dir_common (0.11s) archive_test.go:176: Error Trace: C:/Users/Michael/code/argo-workflows/util/archive/archive_test.go:176 Error: Received unexpected error: remove C:\Users\Michael\AppData\Local\Temp\argo-test\dir-dir_common-a07e48b0e54e3f0070a0042688d0403a.tgz: The process cannot access the file because it is being used by another process. Test: TestZipDirectory/dir_common time="2023-10-13T13:13:29+02:00" level=info msg="Zipping C:\\Users\\Michael\\AppData\\Local\\Temp\\argo-test\\file-random-f08db5d9373fa6f9fa7b4f9da4cbe0df" FAIL FAIL github.com/argoproj/argo-workflows/v3/util/archive 1.394s ok github.com/argoproj/argo-workflows/v3/util/auth (cached) ok github.com/argoproj/argo-workflows/v3/util/cmd (cached) ok github.com/argoproj/argo-workflows/v3/util/env (cached) ok github.com/argoproj/argo-workflows/v3/util/errors (cached) ok github.com/argoproj/argo-workflows/v3/util/expand (cached) ok github.com/argoproj/argo-workflows/v3/util/expr/argoexpr (cached) ok github.com/argoproj/argo-workflows/v3/util/fields (cached) ok github.com/argoproj/argo-workflows/v3/util/file (cached) ok github.com/argoproj/argo-workflows/v3/util/flatten (cached) ok github.com/argoproj/argo-workflows/v3/util/instanceid (cached) ok github.com/argoproj/argo-workflows/v3/util/intstr (cached) ok github.com/argoproj/argo-workflows/v3/util/json (cached) ok github.com/argoproj/argo-workflows/v3/util/k8s (cached) ok github.com/argoproj/argo-workflows/v3/util/kubeconfig (cached) ok github.com/argoproj/argo-workflows/v3/util/labels (cached) ok github.com/argoproj/argo-workflows/v3/util/printer (cached) ok github.com/argoproj/argo-workflows/v3/util/resource (cached) ok github.com/argoproj/argo-workflows/v3/util/secrets (cached) ok github.com/argoproj/argo-workflows/v3/util/slice (cached) ok github.com/argoproj/argo-workflows/v3/util/sorting (cached) ok github.com/argoproj/argo-workflows/v3/util/template (cached) ok github.com/argoproj/argo-workflows/v3/util/tls (cached) ok github.com/argoproj/argo-workflows/v3/util/unstructured/workflow (cached) ok github.com/argoproj/argo-workflows/v3/util/wait (cached) ok github.com/argoproj/argo-workflows/v3/workflow/artifactrepositories (cached) ok github.com/argoproj/argo-workflows/v3/workflow/artifacts/azure (cached) ? github.com/argoproj/argo-workflows/v3/workflow/artifacts/hdfs [no test files] ? github.com/argoproj/argo-workflows/v3/workflow/artifacts/logging [no test files] ? github.com/argoproj/argo-workflows/v3/workflow/artifacts/resource [no test files] time="2023-10-13T13:13:30+02:00" level=info msg="Efficient artifact streaming is not supported for type *common.fakeArtifactDriver: see https://github.com/argoproj/argo-workflows/issues/8489" time="2023-10-13T13:13:30+02:00" level=info msg="Efficient artifact streaming is not supported for type *common.fakeArtifactDriver: see https://github.com/argoproj/argo-workflows/issues/8489" --- FAIL: TestLoadToStream (0.00s) --- FAIL: TestLoadToStream/Success (0.00s) load_to_stream_test.go:97: Error Trace: C:/Users/Michael/code/argo-workflows/workflow/artifacts/common/load_to_stream_test.go:97 Error: Not equal: expected: 5 actual : 6 Test: TestLoadToStream/Success FAIL FAIL github.com/argoproj/argo-workflows/v3/workflow/artifacts/common 0.809s ok github.com/argoproj/argo-workflows/v3/workflow/artifacts/gcs (cached) ok github.com/argoproj/argo-workflows/v3/workflow/artifacts/git (cached) ok github.com/argoproj/argo-workflows/v3/workflow/artifacts/http (cached) ok github.com/argoproj/argo-workflows/v3/workflow/artifacts/oss (cached) ok github.com/argoproj/argo-workflows/v3/workflow/artifacts/raw (cached) ok github.com/argoproj/argo-workflows/v3/workflow/artifacts/s3 (cached) ok github.com/argoproj/argo-workflows/v3/workflow/common (cached) ? github.com/argoproj/argo-workflows/v3/workflow/controller/cache [no test files] ? github.com/argoproj/argo-workflows/v3/workflow/controller/entrypoint [no test files] ? github.com/argoproj/argo-workflows/v3/workflow/executor/emissary [no test files] ? github.com/argoproj/argo-workflows/v3/workflow/executor/mocks [no test files] ? github.com/argoproj/argo-workflows/v3/workflow/executor/plugins/rpc [no test files] ? github.com/argoproj/argo-workflows/v3/workflow/executor/retry [no test files] ? github.com/argoproj/argo-workflows/v3/workflow/signal [no test files] ? github.com/argoproj/argo-workflows/v3/workflow/sync/mocks [no test files] --- FAIL: TestContainerSetTemplateWithInputArtifacts (0.02s) container_set_template_test.go:122: Error Trace: C:/Users/Michael/code/argo-workflows/workflow/controller/container_set_template_test.go:122 Error: elements differ extra elements in list A: ([]interface {}) (len=1) { (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=20) "/mainctrfs/workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } extra elements in list B: ([]interface {}) (len=1) { (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=20) "\\mainctrfs\\workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } listA: ([]v1.VolumeMount) (len=3) { (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=22) "/argo/inputs/artifacts", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=20) "/mainctrfs/workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=12) "var-run-argo", ReadOnly: (bool) false, MountPath: (string) (len=13) "/var/run/argo", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } listB: ([]v1.VolumeMount) (len=3) { (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=22) "/argo/inputs/artifacts", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=20) "\\mainctrfs\\workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=12) "var-run-argo", ReadOnly: (bool) false, MountPath: (string) (len=13) "/var/run/argo", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } Test: TestContainerSetTemplateWithInputArtifacts container_set_template_test.go:133: Error Trace: C:/Users/Michael/code/argo-workflows/workflow/controller/container_set_template_test.go:133 Error: elements differ extra elements in list A: ([]interface {}) (len=2) { (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=20) "/mainctrfs/workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=18) "/mainctrfs/in/in-0", SubPath: (string) (len=4) "in-0", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } extra elements in list B: ([]interface {}) (len=3) { (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=20) "\\mainctrfs\\workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=18) "\\mainctrfs\\in\\in-0", SubPath: (string) (len=4) "in-0", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=25) "\\mainctrfs\\workspace\\in-1", SubPath: (string) (len=4) "in-1", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } listA: ([]v1.VolumeMount) (len=4) { (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=20) "/mainctrfs/workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=18) "/mainctrfs/in/in-0", SubPath: (string) (len=4) "in-0", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=12) "tmp-dir-argo", ReadOnly: (bool) false, MountPath: (string) (len=4) "/tmp", SubPath: (string) (len=1) "0", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=12) "var-run-argo", ReadOnly: (bool) false, MountPath: (string) (len=13) "/var/run/argo", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } listB: ([]v1.VolumeMount) (len=5) { (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=20) "\\mainctrfs\\workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=18) "\\mainctrfs\\in\\in-0", SubPath: (string) (len=4) "in-0", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=25) "\\mainctrfs\\workspace\\in-1", SubPath: (string) (len=4) "in-1", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=12) "tmp-dir-argo", ReadOnly: (bool) false, MountPath: (string) (len=4) "/tmp", SubPath: (string) (len=1) "0", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=12) "var-run-argo", ReadOnly: (bool) false, MountPath: (string) (len=13) "/var/run/argo", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } Test: TestContainerSetTemplateWithInputArtifacts container_set_template_test.go:140: Error Trace: C:/Users/Michael/code/argo-workflows/workflow/controller/container_set_template_test.go:140 Error: elements differ extra elements in list A: ([]interface {}) (len=1) { (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=8) "/in/in-0", SubPath: (string) (len=4) "in-0", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } extra elements in list B: ([]interface {}) (len=2) { (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=8) "\\in\\in-0", SubPath: (string) (len=4) "in-0", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=15) "\\workspace\\in-1", SubPath: (string) (len=4) "in-1", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } listA: ([]v1.VolumeMount) (len=3) { (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=10) "/workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=8) "/in/in-0", SubPath: (string) (len=4) "in-0", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=12) "var-run-argo", ReadOnly: (bool) false, MountPath: (string) (len=13) "/var/run/argo", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } listB: ([]v1.VolumeMount) (len=4) { (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=10) "/workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=8) "\\in\\in-0", SubPath: (string) (len=4) "in-0", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=15) "input-artifacts", ReadOnly: (bool) false, MountPath: (string) (len=15) "\\workspace\\in-1", SubPath: (string) (len=4) "in-1", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=12) "var-run-argo", ReadOnly: (bool) false, MountPath: (string) (len=13) "/var/run/argo", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } Test: TestContainerSetTemplateWithInputArtifacts --- FAIL: TestContainerSetTemplateWithOutputArtifacts (0.01s) container_set_template_test.go:205: Error Trace: C:/Users/Michael/code/argo-workflows/workflow/controller/container_set_template_test.go:205 Error: elements differ extra elements in list A: ([]interface {}) (len=1) { (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=20) "/mainctrfs/workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } extra elements in list B: ([]interface {}) (len=1) { (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=20) "\\mainctrfs\\workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } listA: ([]v1.VolumeMount) (len=3) { (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=20) "/mainctrfs/workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=12) "tmp-dir-argo", ReadOnly: (bool) false, MountPath: (string) (len=4) "/tmp", SubPath: (string) (len=1) "0", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=12) "var-run-argo", ReadOnly: (bool) false, MountPath: (string) (len=13) "/var/run/argo", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } listB: ([]v1.VolumeMount) (len=3) { (v1.VolumeMount) { Name: (string) (len=9) "workspace", ReadOnly: (bool) false, MountPath: (string) (len=20) "\\mainctrfs\\workspace", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=12) "tmp-dir-argo", ReadOnly: (bool) false, MountPath: (string) (len=4) "/tmp", SubPath: (string) (len=1) "0", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" }, (v1.VolumeMount) { Name: (string) (len=12) "var-run-argo", ReadOnly: (bool) false, MountPath: (string) (len=13) "/var/run/argo", SubPath: (string) "", MountPropagation: (*v1.MountPropagationMode)(), SubPathExpr: (string) "" } } Test: TestContainerSetTemplateWithOutputArtifacts --- FAIL: TestRealtimeWorkflowMetric (0.03s) operator_metrics_test.go:591: Error Trace: C:/Users/Michael/code/argo-workflows/workflow/controller/operator_metrics_test.go:591 Error: "0.0005304" is not greater than "0.0005304" Test: TestRealtimeWorkflowMetric --- FAIL: TestScriptTemplateWithoutVolumeOptionalArtifact (0.03s) workflowpod_test.go:167: Error Trace: C:/Users/Michael/code/argo-workflows/workflow/controller/workflowpod_test.go:167 Error: []v1.VolumeMount{v1.VolumeMount{Name:"input-artifacts", ReadOnly:false, MountPath:"\\manifest", SubPath:"manifest", MountPropagation:(*v1.MountPropagationMode)(nil), SubPathExpr:""}, v1.VolumeMount{Name:"argo-staging", ReadOnly:false, MountPath:"/argo/staging", SubPath:"", MountPropagation:(*v1.MountPropagationMode)(nil), SubPathExpr:""}, v1.VolumeMount{Name:"var-run-argo", ReadOnly:false, MountPath:"/var/run/argo", SubPath:"", MountPropagation:(*v1.MountPropagationMode)(nil), SubPathExpr:""}} does not contain v1.VolumeMount{Name:"input-artifacts", ReadOnly:false, MountPath:"/manifest", SubPath:"manifest", MountPropagation:(*v1.MountPropagationMode)(nil), SubPathExpr:""} Test: TestScriptTemplateWithoutVolumeOptionalArtifact FAIL FAIL github.com/argoproj/argo-workflows/v3/workflow/controller 34.101s ok github.com/argoproj/argo-workflows/v3/workflow/controller/estimation (cached) ok github.com/argoproj/argo-workflows/v3/workflow/controller/indexes (cached) ok github.com/argoproj/argo-workflows/v3/workflow/controller/informer (cached) ok github.com/argoproj/argo-workflows/v3/workflow/controller/pod (cached) ok github.com/argoproj/argo-workflows/v3/workflow/creator (cached) ok github.com/argoproj/argo-workflows/v3/workflow/cron (cached) ok github.com/argoproj/argo-workflows/v3/workflow/data (cached) ok github.com/argoproj/argo-workflows/v3/workflow/events (cached) --- FAIL: TestWorkflowExecutor_LoadArtifacts (0.00s) --- FAIL: TestWorkflowExecutor_LoadArtifacts/ErrDirTraversal (0.00s) executor_test.go:80: Error Trace: C:/Users/Michael/code/argo-workflows/workflow/executor/executor_test.go:80 Error: Error message not equal: expected: "Artifact 'foo' attempted to use a path containing '..'. Directory traversal is not permitted" actual : "artifact foo failed to load: failed to get file: Put \"http://169.254.169.254/latest/api/token\": dial tcp 169.254.169.254:80: connectex: A socket operation was attempted to an unreachable network." Test: TestWorkflowExecutor_LoadArtifacts/ErrDirTraversal time="2023-10-13T13:13:32+02:00" level=info msg="Saving output parameters" time="2023-10-13T13:13:32+02:00" level=info msg="Saving path output parameter: my-out" time="2023-10-13T13:13:32+02:00" level=info msg="Copying /path from base image layer" time="2023-10-13T13:13:32+02:00" level=info msg="Successfully saved output parameter: my-out" time="2023-10-13T13:13:32+02:00" level=info msg="Saving output parameters" time="2023-10-13T13:13:32+02:00" level=info msg="Saving path output parameter: my-out" time="2023-10-13T13:13:32+02:00" level=info msg="Copying /path from base image layer" time="2023-10-13T13:13:32+02:00" level=info msg="Successfully saved output parameter: my-out" time="2023-10-13T13:13:32+02:00" level=info msg="Saving output parameters" time="2023-10-13T13:13:32+02:00" level=info msg="Saving path output parameter: my-out" time="2023-10-13T13:13:32+02:00" level=info msg="Copying /path from base image layer" time="2023-10-13T13:13:32+02:00" level=info msg="Successfully saved output parameter: my-out" time="2023-10-13T13:13:32+02:00" level=info msg="Detecting if testdata/file is a tarball" time="2023-10-13T13:13:32+02:00" level=info msg="Detecting if testdata/file.zip is a tarball" time="2023-10-13T13:13:32+02:00" level=info msg="Detecting if testdata/file.tar is a tarball" time="2023-10-13T13:13:32+02:00" level=info msg="Detecting if testdata/file.gz is a tarball" time="2023-10-13T13:13:32+02:00" level=info msg="Detecting if testdata/file.tar.gz is a tarball" time="2023-10-13T13:13:32+02:00" level=info msg="Detecting if testdata/file.tgz is a tarball" time="2023-10-13T13:13:32+02:00" level=info msg="Detecting if testdata/not-found is a tarball" time="2023-10-13T13:13:32+02:00" level=info msg="Extracting file: file" time="2023-10-13T13:13:32+02:00" level=info msg="Extraction of testdata/file.zip finished!" --- FAIL: TestChmod (1.63s) executor_test.go:361: Error Trace: C:/Users/Michael/code/argo-workflows/workflow/executor/executor_test.go:361 Error: Not equal: expected: "-rw-rw-rw-" actual : "-rw-------" Diff: --- Expected +++ Actual @@ -1 +1 @@ --rw-rw-rw- +-rw------- Test: TestChmod executor_test.go:361: Error Trace: C:/Users/Michael/code/argo-workflows/workflow/executor/executor_test.go:361 Error: Not equal: expected: "-rw-rw-rw-" actual : "-rwxrwxrwx" Diff: --- Expected +++ Actual @@ -1 +1 @@ --rw-rw-rw- +-rwxrwxrwx Test: TestChmod testing.go:1225: TempDir RemoveAll cleanup: remove C:\Users\Michael\AppData\Local\Temp\TestChmod175473194\001\chmod-file-test1314456106: The process cannot access the file because it is being used by another process. time="2023-10-13T13:13:34+02:00" level=info msg="Saving output artifacts" time="2023-10-13T13:13:34+02:00" level=info msg="Staging artifact: samedir" time="2023-10-13T13:13:34+02:00" level=info msg="Copying \\samedir from container base image layer to \\tmp\\argo\\outputs\\artifacts\\samedir.tgz" --- FAIL: TestSaveArtifacts (0.00s) panic: assert: mock: I don't know what to return because the method call was unexpected. Either do Mock.On("CopyFile").Return(...) first, or remove the CopyFile() call. This method was unexpected: CopyFile(string,string,string,int) 0: "main" 1: "\\samedir" 2: "\\tmp\\argo\\outputs\\artifacts\\samedir.tgz" 3: -1 at: [C:/Users/Michael/code/argo-workflows/workflow/executor/mocks/ContainerRuntimeExecutor.go:22 C:/Users/Michael/code/argo-workflows/workflow/executor/executor.go:452 C:/Users/Michael/code/argo-workflows/workflow/executor/executor.go:312 C:/Users/Michael/code/argo-workflows/workflow/executor/executor.go:297 C:/Users/Michael/code/argo-workflows/workflow/executor/executor_test.go:466] [recovered] panic: assert: mock: I don't know what to return because the method call was unexpected. Either do Mock.On("CopyFile").Return(...) first, or remove the CopyFile() call. This method was unexpected: CopyFile(string,string,string,int) 0: "main" 1: "\\samedir" 2: "\\tmp\\argo\\outputs\\artifacts\\samedir.tgz" 3: -1 at: [C:/Users/Michael/code/argo-workflows/workflow/executor/mocks/ContainerRuntimeExecutor.go:22 C:/Users/Michael/code/argo-workflows/workflow/executor/executor.go:452 C:/Users/Michael/code/argo-workflows/workflow/executor/executor.go:312 C:/Users/Michael/code/argo-workflows/workflow/executor/executor.go:297 C:/Users/Michael/code/argo-workflows/workflow/executor/executor_test.go:466] goroutine 51 [running]: testing.tRunner.func1.2({0x2f88cc0, 0xc000710ba0}) C:/Program Files/Go/src/testing/testing.go:1545 +0x238 testing.tRunner.func1() C:/Program Files/Go/src/testing/testing.go:1548 +0x397 panic({0x2f88cc0?, 0xc000710ba0?}) C:/Program Files/Go/src/runtime/panic.go:914 +0x21f github.com/stretchr/testify/mock.(*Mock).fail(0xc000962050, {0x36085b1?, 0x8?}, {0xc0004b2400?, 0x4?, 0x4?}) C:/Users/Michael/go/pkg/mod/github.com/stretchr/testify@v1.8.4/mock/mock.go:332 +0x134 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc000962050, {0x441faaf, 0x8}, {0xc0004b2140, 0x4, 0x4}) C:/Users/Michael/go/pkg/mod/github.com/stretchr/testify@v1.8.4/mock/mock.go:499 +0x705 github.com/stretchr/testify/mock.(*Mock).Called(0xffffffffffffffff?, {0xc0004b2140, 0x4, 0x4}) C:/Users/Michael/go/pkg/mod/github.com/stretchr/testify@v1.8.4/mock/mock.go:464 +0x137 github.com/argoproj/argo-workflows/v3/workflow/executor/mocks.(*ContainerRuntimeExecutor).CopyFile(0xc000962050, {0x350d4e0, 0x4}, {0xc0007066a0, 0x8}, {0xc000752060, 0x27}, 0x87?) C:/Users/Michael/code/argo-workflows/workflow/executor/mocks/ContainerRuntimeExecutor.go:22 +0x16d github.com/argoproj/argo-workflows/v3/workflow/executor.(*WorkflowExecutor).stageArchiveFile(0xc000150000, {0x350d4e0, 0x4}, 0xc000830dd0) C:/Users/Michael/code/argo-workflows/workflow/executor/executor.go:452 +0x328 github.com/argoproj/argo-workflows/v3/workflow/executor.(*WorkflowExecutor).saveArtifact(0x354655b?, {0x3d4b4e8, 0x5412ca0}, {0x350d4e0, 0x4}, 0xc000830dd0) C:/Users/Michael/code/argo-workflows/workflow/executor/executor.go:312 +0x7d github.com/argoproj/argo-workflows/v3/workflow/executor.(*WorkflowExecutor).SaveArtifacts(0xc000150000, {0x3d4b4e8, 0x5412ca0}) C:/Users/Michael/code/argo-workflows/workflow/executor/executor.go:297 +0x17f github.com/argoproj/argo-workflows/v3/workflow/executor.TestSaveArtifacts(0xc000680340?) C:/Users/Michael/code/argo-workflows/workflow/executor/executor_test.go:466 +0x4c6 testing.tRunner(0xc000680340, 0x3820588) C:/Program Files/Go/src/testing/testing.go:1595 +0xff created by testing.(*T).Run in goroutine 1 C:/Program Files/Go/src/testing/testing.go:1648 +0x3ad FAIL github.com/argoproj/argo-workflows/v3/workflow/executor 1.902s ok github.com/argoproj/argo-workflows/v3/workflow/executor/common (cached) --- FAIL: TestSimpleStartCloser (0.03s) command_test.go:24: Error Trace: C:/Users/Michael/code/argo-workflows/workflow/executor/os-specific/command_test.go:24 Error: Received unexpected error: exec: "sh": executable file not found in %PATH% Test: TestSimpleStartCloser panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x1 addr=0x8 pc=0x73db39] goroutine 6 [running]: testing.tRunner.func1.2({0xbee000, 0x10f01a0}) C:/Program Files/Go/src/testing/testing.go:1545 +0x238 testing.tRunner.func1() C:/Program Files/Go/src/testing/testing.go:1548 +0x397 panic({0xbee000?, 0x10f01a0?}) C:/Program Files/Go/src/runtime/panic.go:914 +0x21f os.(*Process).release(0xd545c0?) C:/Program Files/Go/src/os/exec_windows.go:72 +0x19 os.(*Process).Release(...) C:/Program Files/Go/src/os/exec.go:118 github.com/argoproj/argo-workflows/v3/workflow/executor/os-specific.TestSimpleStartCloser(0x0?) C:/Users/Michael/code/argo-workflows/workflow/executor/os-specific/command_test.go:25 +0x125 testing.tRunner(0xc00014c9c0, 0xcc8458) C:/Program Files/Go/src/testing/testing.go:1595 +0xff created by testing.(*T).Run in goroutine 1 C:/Program Files/Go/src/testing/testing.go:1648 +0x3ad FAIL github.com/argoproj/argo-workflows/v3/workflow/executor/os-specific 0.498s ok github.com/argoproj/argo-workflows/v3/workflow/gccontroller (cached) ok github.com/argoproj/argo-workflows/v3/workflow/hydrator (cached) ok github.com/argoproj/argo-workflows/v3/workflow/hydrator/fake (cached) --- FAIL: TestDisableMetricsServer (1.03s) server_test.go:33: Error Trace: C:/Users/Michael/code/argo-workflows/workflow/metrics/server_test.go:33 Error: "Get \"http://localhost:9090/metrics\": dial tcp [::1]:9090: connectex: No connection could be made because the target machine actively refused it." does not contain "connection refused" Test: TestDisableMetricsServer FAIL FAIL github.com/argoproj/argo-workflows/v3/workflow/metrics 4.738s ok github.com/argoproj/argo-workflows/v3/workflow/packer (cached) ok github.com/argoproj/argo-workflows/v3/workflow/progress (cached) ok github.com/argoproj/argo-workflows/v3/workflow/sync (cached) ok github.com/argoproj/argo-workflows/v3/workflow/templateresolution (cached) --- FAIL: TestFormulateRetryWorkflow (0.00s) --- FAIL: TestFormulateRetryWorkflow/Steps (0.00s) util_test.go:1093: Error Trace: C:/Users/Michael/code/argo-workflows/workflow/util/util_test.go:1093 Error: Should be true Test: TestFormulateRetryWorkflow/Steps FAIL FAIL github.com/argoproj/argo-workflows/v3/workflow/util 0.196s ok github.com/argoproj/argo-workflows/v3/workflow/util/plugins (cached) ok github.com/argoproj/argo-workflows/v3/workflow/util/retry (cached) ok github.com/argoproj/argo-workflows/v3/workflow/validate (cached) FAIL