← Back to issue list

rpath integration test misses build-packages

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1596111
Type
issue
State
closed
Author
~sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

The rpath integration test was fixed by adding missing build-packages in ubuntu-core/snapcraft PR #605, merged as commit da9fea794.

Resolution: closed resolved

Reason: PR #605 added the build-packages required by the rpath test fixture and was merged in commit da9fea794, resolving the missing g++ failure.

Evaluated by: mr-cal-bot

No scores available.

Issue body

====================================================================== ERROR: test_origin_rpath (test_rpath.RpathTestCase) test_rpath.RpathTestCase.test_origin_rpath ---------------------------------------------------------------------- testtools.testresult.real._StringException: output: {{{ Preparing to pull rpath-test Pulling rpath-test Preparing to build rpath-test Building rpath-test make -j1 make: g++: Command not found Makefile:4: recipe for target 'libfoo.so' failed make: *** [libfoo.so] Error 127 Command '['/bin/sh', '/tmp/tmp9f8rwyre', 'make', '-j1']' returned non- zero exit status 2 }}} Traceback (most recent call last):   File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/integration_tests/test_rpath.py", line 32, in test_origin_rpath     self.run_snapcraft('prime', project_dir)   File "/tmp/adt-run.1qGfm6/build.Rmd/real-tree/integration_tests/__init__.py", line 65, in run_snapcraft     stderr=subprocess.STDOUT, universal_newlines=True)   File "/usr/lib/python3.5/subprocess.py", line 626, in check_output     **kwargs).stdout   File "/usr/lib/python3.5/subprocess.py", line 708, in run     output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['snapcraft', 'prime']' returned non-zero exit status 1 [Impact] * For users, none. * A test started failing in master, but wasn't released to the distro. [Test Case] * Run the integration suite. [Regression Potential] * None. If the test doesn't start passing, the release will be blocked by autopkgtests.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved The rpath integration test was fixed by adding missing build-packages in ubuntu-core/snapcraft PR #605, merged as commit da9fea794.
stealth/space-bunny-alpha — closed resolved Integration test test_origin_rpath failed because g++ was missing; fixed by adding the missing build-packages in commit da9fea794 (snapcraft PR #605), closing the Launchpad bug.
stealth/space-bunny-alpha — closed resolved rpath integration test failed with 'g++: Command not found'; fixed by adding the missing build-packages to the rpath test project in merged PR #605 (commit da9fea794).
stealth/space-bunny-alpha — closed resolved Fixed the rpath integration test by adding its missing build package in merged PR #605 (commit da9fea794), preventing the g++-not-found build failure.
qwen/qwen3.6-35b-a3b — — Resolved by adding the missing build package to the test environment, fixing the failing rpath integration test and closing the issue.
qwen/qwen3.6-35b-a3b — — Fixed by adding the missing g++ build package to the test configuration. The integration test failure was resolved by including required build dependencies, allowing the rpath test to pass and unblock releases.
qwen/qwen3.6-35b-a3b — — Fixed by adding missing build-packages to the test environment, resolving the g++ compilation failure in the rpath integration test.
qwen3.6-35b-a3b-mtp-q6 — — The failing integration test was fixed by adding the missing g++ build dependency, resolving the compilation error and closing the issue.

Update history

Date Change
created

Related work

  • Likely Fixed By: ubuntu-core/snapcraft#605 (confidence 99%)

    The maintainer linked PR #605 as the fix; it was merged as commit da9fea794.

Related issues

Issue Project State Summary Similarity
#605 Add missing build-packages for rpath test snapcraft merged Merged PR #605 (commit da9fea794) adding the missing g++ build-package to the core rpath integration test, fixing LP bug #1596114 where the test failed with 'g++: Command not found'.
75%
#1541332 Missing build-packages in integration tests snapcraft (launchpad) closed Fixed by merged PR ubuntu-core/snapcraft#289, adding gcc to integration-test build-packages in commit 6e6fe11d7.
71%