Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

fix: `/bin/bash: line 8: go-junit-report: command not found #193

fix: `/bin/bash: line 8: go-junit-report: command not found

fix: `/bin/bash: line 8: go-junit-report: command not found #193

GitHub Actions / Tests failed Oct 9, 2023 in 1s

14 passed, 2 failed and 0 skipped

Tests failed

❌ junit.xml

16 tests were completed in 98s with 14 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
github.com/riotkit-org/br-backup-maker 0ms
github.com/riotkit-org/br-backup-maker/cmd 0ms
github.com/riotkit-org/br-backup-maker/cmd/backupmaker 0ms
github.com/riotkit-org/br-backup-maker/cmd/bmg 0ms
github.com/riotkit-org/br-backup-maker/cmd/encryption 0ms
github.com/riotkit-org/br-backup-maker/internal/version 0ms
github.com/riotkit-org/br-backup-maker/pkg/actions 3✔️ 1❌ 16ms
github.com/riotkit-org/br-backup-maker/pkg/api 0ms
github.com/riotkit-org/br-backup-maker/pkg/context 1✔️ 3ms
github.com/riotkit-org/br-backup-maker/pkg/crypto 3✔️ 15s
github.com/riotkit-org/br-backup-maker/pkg/generate 7✔️ 1❌ 83s
github.com/riotkit-org/br-backup-maker/utils 0ms
github.com/riotkit-org/br-backup-maker/utils/testingutils 0ms

❌ github.com/riotkit-org/br-backup-maker/pkg/actions

✔️ TestDownload
✔️ TestDownload_FailsWhenHTTPCodeIsNotSuccess
✔️ TestDownload_FailsWhenShellCommandFails
❌ TestDownload_SuccessWithValidGPG
	/bin/bash: line 1: ../.build/backup-maker: No such file or directory

✔️ github.com/riotkit-org/br-backup-maker/pkg/context

✔️ TestGPGOperationContext_GetDecryptionCommand_GetEncryptionCommmand_DoesNotReturnCommandWhenGPGDisabled

✔️ github.com/riotkit-org/br-backup-maker/pkg/crypto

✔️ TestWithoutValidKey
✔️ TestWithMissingKey
✔️ TestValidBufferingLeadsToValidHeaderAndFooter

❌ github.com/riotkit-org/br-backup-maker/pkg/generate

✔️ Test_RenderTemplate_FindsDefaultImage
✔️ Test_RenderTemplate_UsesProvidedImage
✔️ TestRenderTemplate_WithDefaultValuesFromJSON
✔️ Test_RenderTemplate_NonWritableDirectory
✔️ Test_RenderTemplate_NonExistingTemplate
✔️ Test_RenderTemplate_Kubectl
✔️ TestComputedConfiguration
❌ TestE2EPassboltPg15
	2023/10/09 15:49:33 github.com/testcontainers/testcontainers-go - Connected to docker:

Annotations

Check failure on line 0 in junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests

github.com/riotkit-org/br-backup-maker/pkg/actions ► TestDownload_SuccessWithValidGPG

Failed test found in:
  junit.xml
Error:
  /bin/bash: line 1: ../.build/backup-maker: No such file or directory
Raw output
/bin/bash: line 1: ../.build/backup-maker: No such file or directory
    download_test.go:102: 
        	Error Trace:	/home/runner/work/br-backup-maker/br-backup-maker/pkg/actions/download_test.go:102
        	Error:      	Expected nil, but got: &exec.ExitError{ProcessState:(*os.ProcessState)(0xc0000a4360), Stderr:[]uint8(nil)}
        	Test:       	TestDownload_SuccessWithValidGPG
    download_test.go:105: 
        	Error Trace:	/home/runner/work/br-backup-maker/br-backup-maker/pkg/actions/download_test.go:105
        	Error:      	"" does not contain "package main"
        	Test:       	TestDownload_SuccessWithValidGPG

Check failure on line 0 in junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests

github.com/riotkit-org/br-backup-maker/pkg/generate ► TestE2EPassboltPg15

Failed test found in:
  junit.xml
Error:
  2023/10/09 15:49:33 github.com/testcontainers/testcontainers-go - Connected to docker: 
Raw output
2023/10/09 15:49:33 github.com/testcontainers/testcontainers-go - Connected to docker: 
  Server Version: 24.0.6
  API Version: 1.42
  Operating System: Ubuntu 22.04.3 LTS
  Total Memory: 6921 MB
2023/10/09 15:49:35 Starting container id: a70d5b763dbe image: docker.io/testcontainers/ryuk:0.3.4
2023/10/09 15:49:35 Waiting for container id a70d5b763dbe image: docker.io/testcontainers/ryuk:0.3.4
2023/10/09 15:49:36 Container is ready id: a70d5b763dbe image: docker.io/testcontainers/ryuk:0.3.4
2023/10/09 15:49:41 Starting container id: df02f2a62b73 image: postgres:14.2-alpine
2023/10/09 15:49:41 Waiting for container id df02f2a62b73 image: postgres:14.2-alpine
2023/10/09 15:49:43 Container is ready id: df02f2a62b73 image: postgres:14.2-alpine
2023/10/09 15:49:47 Starting container id: f1ded115ca4a image: bitnami/minio:2022.4.8-debian-10-r0
2023/10/09 15:49:47 Waiting for container id f1ded115ca4a image: bitnami/minio:2022.4.8-debian-10-r0
2023/10/09 15:49:54 Container is ready id: f1ded115ca4a image: bitnami/minio:2022.4.8-debian-10-r0
2023/10/09 15:49:56 Starting container id: 8aded01c99e5 image: ghcr.io/riotkit-org/backup-repository:v4.0.0
2023/10/09 15:49:56 Waiting for container id 8aded01c99e5 image: ghcr.io/riotkit-org/backup-repository:v4.0.0
time="2023-10-09T15:50:56Z" level=fatal msg="Cannot create container: context deadline exceeded: failed to start container"