Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration Tests fail on linux #3300

Open
dgannon991 opened this issue Dec 24, 2024 · 0 comments · May be fixed by #3306
Open

Integration Tests fail on linux #3300

dgannon991 opened this issue Dec 24, 2024 · 0 comments · May be fixed by #3306
Assignees
Labels
bug Oops, sorry!

Comments

@dgannon991
Copy link
Member

Describe the bug

Attempting to run the integration tests produce many failures.

To Reproduce

Steps to reproduce the behavior:

  1. Run mage TestIntegration
  2. See error

Expected behavior

A clear and concise description of what you expected to happen.

Porter Command and Output

--- FAIL: TestBuildOptions_Validate (0.00s)
    --- FAIL: TestBuildOptions_Validate/no_opts (0.00s)
        build_integration_test.go:249: 
                Error Trace:    ./pkg/porter/build_integration_test.go:249
                Error:          Received unexpected error:
                                could not find porter.yaml in the current directory /, make sure you are in the right directory or specify the porter manifest with --file
                Test:           TestBuildOptions_Validate/no_opts
    --- FAIL: TestBuildOptions_Validate/valid_version_-_v_prefix (0.00s)
        build_integration_test.go:249: 
                Error Trace:    ./pkg/porter/build_integration_test.go:249
                Error:          Received unexpected error:
                                could not find porter.yaml in the current directory /, make sure you are in the right directory or specify the porter manifest with --file
                Test:           TestBuildOptions_Validate/valid_version_-_v_prefix
    --- FAIL: TestBuildOptions_Validate/valid_version_-_with_hash (0.00s)
        build_integration_test.go:249: 
                Error Trace:    ./pkg/porter/build_integration_test.go:249
                Error:          Received unexpected error:
                                could not find porter.yaml in the current directory /, make sure you are in the right directory or specify the porter manifest with --file
                Test:           TestBuildOptions_Validate/valid_version_-_with_hash
    --- FAIL: TestBuildOptions_Validate/valid_name_and_value_set (0.00s)
        build_integration_test.go:249: 
                Error Trace:    ./pkg/porter/build_integration_test.go:249
                Error:          Received unexpected error:
                                could not find porter.yaml in the current directory /, make sure you are in the right directory or specify the porter manifest with --file
                Test:           TestBuildOptions_Validate/valid_name_and_value_set
    --- FAIL: TestBuildOptions_Validate/valid_driver:_buildkit (0.00s)
        build_integration_test.go:249: 
                Error Trace:    ./pkg/porter/build_integration_test.go:249
                Error:          Received unexpected error:
                                could not find porter.yaml in the current directory /, make sure you are in the right directory or specify the porter manifest with --file
                Test:           TestBuildOptions_Validate/valid_driver:_buildkit
--- FAIL: TestBuildOptions_Defaults (0.00s)
    --- FAIL: TestBuildOptions_Defaults/default_driver (0.00s)
        build_integration_test.go:266: 
                Error Trace:    ./pkg/porter/build_integration_test.go:266
                Error:          Received unexpected error:
                                could not find porter.yaml in the current directory /, make sure you are in the right directory or specify the porter manifest with --file
                Test:           TestBuildOptions_Defaults/default_driver
                Messages:       Validate failed
FAIL
--- FAIL: TestArchive_WithNoCompression (238.84s)
    archive_test.go:141: 
                Error Trace:    /home/david/projects/kichristensen-porter/tests/integration/archive_test.go:141
                Error:          Received unexpected error:
                                Publish stopped because localhost:5000/archived-nocompression-whalegap:v0.2.0 already exists in the destination registry. To overwrite it, repeat the command with --force specified.
                Test:           TestArchive_WithNoCompression
                Messages:       publish of bundle from archive failed
--- FAIL: TestArchive_StableDigest (387.14s)
    archive_test.go:78: 
                Error Trace:    /home/david/projects/kichristensen-porter/tests/integration/archive_test.go:78
                Error:          Received unexpected error:
                                Publish stopped because localhost:5000/archived-whalegap:v0.2.0 already exists in the destination registry. To overwrite it, repeat the command with --force specified.
                Test:           TestArchive_StableDigest
                Messages:       publish of bundle from archive failed
FAIL
coverage: [no statements]
FAIL    get.porter.sh/porter/tests/integration  933.751s
FAIL
Error: running "go test -timeout=30m -tags=integration ./... -coverprofile coverage-integration.out" failed with exit code 1

Version

porter v0.1.17-test-101-g759aa728 (759aa72)

@dgannon991 dgannon991 added the bug Oops, sorry! label Dec 24, 2024
@dgannon991 dgannon991 self-assigned this Dec 24, 2024
@dgannon991 dgannon991 linked a pull request Dec 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Oops, sorry!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant