← Back to issue list

FAIL: test_dump_symlinks (snapcraft.tests.test_plugin_dump.DumpPluginTestCase)

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1614913
Type
issue
State
closed
Author
~manciot-jeanchristophe
Labels
Created
Updated
Closed

Current evaluation

Reported a failing symlink test during snapcraft build. Closed without comments or resolution, likely abandoned or superseded by newer versions.

Suggested action:

No scores available.

Issue body

Ubuntu 16.04 4.4.0-34 snapcraft sources commit 2.15 from https://github.com/ubuntu-core/snapcraft Building with release_number=2.15: echo -------- echo Cleaning echo -------- cd git-snapcraft git reset --hard git clean -fxd :/ git checkout master git pull -v --progress --rebase return_code=$? if [[ $return_code != 0 ]]; then exit $return_code fi git checkout ${release_number} echo -------- echo Building echo -------- dpkg-buildpackage -b -m"Jean-Christophe Manciot <email address hidden>" ... Pulling pull0 ok test_pull_invalid_part (snapcraft.tests.test_commands_pull.PullCommandTestCase) ... The part named 'no-pull' is not defined in 'snapcraft.yaml' ok test_pull_one_part_only_from_3 (snapcraft.tests.test_commands_pull.PullCommandTestCase) ... Preparing to pull pull1 Pulling pull1 ok test_pull_stage_packages_with_geoip (snapcraft.tests.test_commands_pull.PullCommandTestCase) ... Preparing to pull pull1 Pulling pull1 ok test_pull_stage_packages_without_geoip (snapcraft.tests.test_commands_pull.PullCommandTestCase) ... Preparing to pull pull1 Pulling pull1 ok ====================================================================== FAIL: test_dump_symlinks (snapcraft.tests.test_plugin_dump.DumpPluginTestCase) [link: /tmp/tmpu40vm03k/parts/dump/install/subdir/relative2] ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/actionmystique/Program-Files/Ubuntu/Snap/git-snapcraft/snapcraft/tests/test_plugin_dump.py", line 105, in test_dump_symlinks 'Expected {!r} to be a symlink'.format(destination)) AssertionError: False is not true : Expected '/tmp/tmpu40vm03k/parts/dump/install/subdir/relative2' to be a symlink ====================================================================== FAIL: test_dump_symlinks (snapcraft.tests.test_plugin_dump.DumpPluginTestCase) [link: /tmp/tmpu40vm03k/parts/dump/install/subdir/relative3] ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/actionmystique/Program-Files/Ubuntu/Snap/git-snapcraft/snapcraft/tests/test_plugin_dump.py", line 105, in test_dump_symlinks 'Expected {!r} to be a symlink'.format(destination)) AssertionError: False is not true : Expected '/tmp/tmpu40vm03k/parts/dump/install/subdir/relative3' to be a symlink ---------------------------------------------------------------------- Ran 700 tests in 93.942s FAILED (failures=2) E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: python3.5 setup.py test dh_auto_test: pybuild --test -i python{version} -p 3.5 --dir . returned exit code 13 debian/rules:5: recipe for target 'build' failed make: *** [build] Error 25 dpkg-buildpackage: error: debian/rules build gave error exit status 2

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Reported a failing symlink test during snapcraft build. Closed without comments or resolution, likely abandoned or superseded by newer versions.
qwen/qwen3.6-35b-a3b Abandoned. Closed without resolution after reporting two symlink test failures during the snapcraft build process. No follow-up or fix was provided.
qwen/qwen3.6-35b-a3b Abandoned. The issue was closed without resolution due to age and zero comments. The dump plugin symlink test failure was never addressed.
qwen3.6-35b-a3b-mtp-q6 Build failed due to test_dump_symlinks assertion errors. The issue was closed without comments or resolution, indicating it was abandoned. No fix or merge was applied.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1650686 Some symlinks not properly fixed up snapcraft (launchpad) closed Abandoned. Closed without comments or resolution. The snapcraft build failure caused by unpatched absolute symlinks remains unresolved, with no fix implemented.
79%
#1889674 built python snap fails automated review due to external symlinks snapcraft (launchpad) closed Closed without comments. Snapcraft 4.1.1 created external symlinks that triggered automated store review failures. The report was likely abandoned or superseded by upstream Snapcraft fixes that corrected symlink handling in subsequent versions.
74%
#1702661 node plugin fails to capture symlink snapcraft (launchpad) closed Closed without resolution. The snapcraft node plugin failed to resolve symlinks during the prime stage, causing a missing file error. No fix or follow-up was provided.
74%
#1754010 Dump follows symlink and fails snapcraft (launchpad) open Dump plugin in snapcraft 2.39.3 follows relative symlinks during copy, causing IsADirectoryError in _migrate_files during staging. Legacy 2.x code path no longer exists; current craft-parts dump plugin uses cp --no-dereference.
72%
#1590108 Go plugin breaks with snapcraft.yaml in tree snapcraft (launchpad) closed Closed without comments, likely abandoned or superseded. Subsequent plugin updates fixed the infinite recursion by avoiding recursive symlinks and enforcing explicit build targets when snapcraft.yaml is in the project tree.
70%