Skip to content

[Bug]: py_image_layer results in multiple shim copies #567

Open
@arrdem

Description

@arrdem

What happened?

INFO: Analyzed 257 targets (2 packages loaded, 621 targets configured).
FAIL: //py/tests/py_venv_image_layer:my_app_layers_test_test (see /private/var/tmp/_bazel_arrdem/93bfea6cdc1153cc29a75400cd38823a/execroot/aspect_rules_py/bazel-out/darwin_arm64-fastbuild/testlogs/py/tests/py_venv_image_layer/my_app_layers_test_test/test.log)
INFO: From Testing //py/tests/py_venv_image_layer:my_app_layers_test_test:
==================== Test output for //py/tests/py_venv_image_layer:my_app_layers_test_test:
2514,2516c2514,2516
<   - -rwxr-xr-x  0 0      0     5118056 Jan  1  2023 ./py/tests/py_venv_image_layer/my_app_bin.runfiles/aspect_rules_py/py/tests/py_venv_image_layer/.my_app_bin/bin/python
<   - -rwxr-xr-x  0 0      0     5118056 Jan  1  2023 ./py/tests/py_venv_image_layer/my_app_bin.runfiles/aspect_rules_py/py/tests/py_venv_image_layer/.my_app_bin/bin/python3
<   - -rwxr-xr-x  0 0      0     5118056 Jan  1  2023 ./py/tests/py_venv_image_layer/my_app_bin.runfiles/aspect_rules_py/py/tests/py_venv_image_layer/.my_app_bin/bin/python3.9
---
>   - -rwxr-xr-x  0 0      0     5183072 Jan  1  2023 ./py/tests/py_venv_image_layer/my_app_bin.runfiles/aspect_rules_py/py/tests/py_venv_image_layer/.my_app_bin/bin/python
>   - -rwxr-xr-x  0 0      0     5183072 Jan  1  2023 ./py/tests/py_venv_image_layer/my_app_bin.runfiles/aspect_rules_py/py/tests/py_venv_image_layer/.my_app_bin/bin/python3
>   - -rwxr-xr-x  0 0      0     5183072 Jan  1  2023 ./py/tests/py_venv_image_layer/my_app_bin.runfiles/aspect_rules_py/py/tests/py_venv_image_layer/.my_app_bin/bin/python3.9
FAIL: files "py/tests/py_venv_image_layer/_my_app_layers_test.listing" and "py/tests/py_venv_image_layer/my_app_layers_listing.yaml" differ.

Version

Development (host) and target OS/architectures:

Output of bazel --version:

Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:

Language(s) and/or frameworks involved:

How to reproduce

Any other information?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtracking issueThis is a tracking issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions