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 #4960

Closed
tiloKo opened this issue Jun 14, 2024 · 1 comment
Closed

Integration Tests Fail #4960

tiloKo opened this issue Jun 14, 2024 · 1 comment

Comments

@tiloKo
Copy link
Member

tiloKo commented Jun 14, 2024

chmod +x piper
cd ./integration
chmod +x integration_tests
./integration_tests -test.v -test.run "TestGradleIntegration"
shell: /usr/bin/bash -e {0}
env:
PIPER_INTEGRATION_GITHUB_TOKEN: ***
PIPER_INTEGRATION_SONAR_TOKEN: ***
PIPER_tmsServiceKey: ***
=== RUN TestGradleIntegrationExecuteBuildJavaProjectBOMCreationUsingWrapper
=== PAUSE TestGradleIntegrationExecuteBuildJavaProjectBOMCreationUsingWrapper
=== RUN TestGradleIntegrationExecuteBuildJavaProjectWithBomPlugin
=== PAUSE TestGradleIntegrationExecuteBuildJavaProjectWithBomPlugin
=== CONT TestGradleIntegrationExecuteBuildJavaProjectBOMCreationUsingWrapper
=== CONT TestGradleIntegrationExecuteBuildJavaProjectWithBomPlugin
--- FAIL: TestGradleIntegrationExecuteBuildJavaProjectWithBomPlugin (1.33s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0xdca738]

goroutine 23 [running]:
testing.tRunner.func1.2({0xf16440, 0x193ddb0})
/opt/hostedtoolcache/go/1.21.11/x64/src/testing/testing.go:1545 +0x238
testing.tRunner.func1()
/opt/hostedtoolcache/go/1.21.11/x64/src/testing/testing.go:1548 +0x397
panic({0xf16440?, 0x193ddb0?})
/opt/hostedtoolcache/go/1.21.11/x64/src/runtime/panic.go:914 +0x21f
github.com/SAP/jenkins-library/integration.TestGradleIntegrationExecuteBuildJavaProjectWithBomPlugin(0xc0004afba0)
/home/runner/work/jenkins-library/jenkins-library/integration/integration_gradle_test.go:130 +0x538
testing.tRunner(0xc0004afba0, 0x1136930)
/opt/hostedtoolcache/go/1.21.11/x64/src/testing/testing.go:1595 +0xff
created by testing.(*T).Run in goroutine 1
/opt/hostedtoolcache/go/1.21.11/x64/src/testing/testing.go:1648 +0x3ad
Error: Process completed with exit code 2.

Example: https://github.com/SAP/jenkins-library/actions/runs/9516424188/job/26232771021#step:6:36

@Googlom
Copy link
Member

Googlom commented Jun 19, 2024

fixed in #4964

@Googlom Googlom closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants