lemon-cpu-34312
02/01/2023, 1:09 AMenough-analyst-54434
02/01/2023, 1:10 AMenough-analyst-54434
02/01/2023, 1:11 AMrapid-exabyte-76685
02/01/2023, 5:57 AMglamorous-accountant-97217
02/01/2023, 8:00 AMTest
in 500ms...` . I’m pretty confident my changes shouldn’t affect the test (And that in this case I’m not even changing any transitive dependencies of the test). is there a flag I can pass to pants test
to ignore filesystem changes during run?narrow-activity-17405
02/02/2023, 8:28 AMcheck
fails for me on GitHub but works locally. The strange thing is that it complains that it can't download some file, but the link works. I trie to rerun the job multiple times... Any idea please? 🙂refined-addition-53644
02/02/2023, 10:45 AMkind-angle-20894
02/02/2023, 1:45 PMexperimental_shell_command
?
I've set up a target and I'm getting
name 'experimental_shell_command' is not defined
I don't see anything here: https://www.pantsbuild.org/docs/run-shell-commands
adding pants.backend.experimental_shell_command
to backend_packages
doesn't work.
Pretty sure this has got to be a silly little configuration thing I haven't grasped yetkind-angle-20894
02/02/2023, 1:47 PMpants.backend.shell
kind-angle-20894
02/02/2023, 1:50 PMexperimental_shell_command(
command="./script.sh",
tools=["echo", "bash"],
dependencies=[":docker"],
)
kind-angle-20894
02/02/2023, 1:50 PMkind-angle-20894
02/02/2023, 1:55 PMcold-vr-15232
02/02/2023, 3:57 PMcalm-ambulance-65371
02/02/2023, 7:59 PMcold-vr-15232
02/02/2023, 10:12 PMflat-baker-18525
02/03/2023, 8:54 AMdocker pull
. But if pants test
(version 2.15.0rc2) tries to do the same, it results in:
Exception: Failed to pull image `***<http://registry.azurecr.io/runner/ubuntu20_***|registry.azurecr.io/runner/ubuntu20_***>`: Failed to pull Docker image `***<http://registry.azurecr.io/runner/ubuntu20_***|registry.azurecr.io/runner/ubuntu20_***>`: DockerResponseServerError { status_code: 500, message: "Get \"[https://***<http://registry.azurecr.io/v2/runner/ubuntu20_***/tags/list\|registry.azurecr.io/v2/runner/ubuntu20_***/tags/list\>](https://***<http://registry.azurecr.io/v2/runner/ubuntu20_***/tags/list/|registry.azurecr.io/v2/runner/ubuntu20_***/tags/list/>)": unauthorized: authentication required, visit <https://aka.ms/acr/authorization> for more information." }
I can see that the ACR login steps yields this:
DOCKER_CONFIG=/home/runner/work/_temp/docker_login_1675410905572
I have tried with:
[docker]
build_args = ["GIT_SHA"]
env_vars = ["DOCKER_CONFIG"]
[test]
extra_env_vars = ["DOCKER_CONFIG"]
as well as without the env_vars
and extra_env_vars
above, but it fails either way.ripe-kitchen-64238
02/03/2023, 9:09 AMflat-zoo-31952
02/03/2023, 1:15 PMpants test
or pants run
) without trying to bundle 3rd party code? I know you can use PEX_INHERIT_PATH=prefer when running the pex but I'm not sure how to tell Pants to not even try to resolve the 3rd party deps to put them in the pex to begin with.enough-analyst-54434
02/03/2023, 1:25 PMenough-analyst-54434
02/03/2023, 1:28 PMflat-zoo-31952
02/03/2023, 2:15 PMflat-zoo-31952
02/03/2023, 2:19 PM--unowned-depdency-behavior=ignore
when running pants test
.flat-zoo-31952
02/03/2023, 2:19 PMenough-analyst-54434
02/03/2023, 2:46 PMancient-france-42909
02/03/2023, 2:56 PMflat-zoo-31952
02/03/2023, 3:00 PMrpm_python_*
targets that could be contributed back as a backendflat-zoo-31952
02/03/2023, 3:01 PMenough-analyst-54434
02/03/2023, 3:14 PM./pants package
.enough-analyst-54434
02/03/2023, 3:25 PMpants_from_sources
to demo in the short term.stocky-helmet-22655
02/03/2023, 4:37 PM[WARN] Pants cannot infer owners for the following imports in the target <TARGET>
which lead to failures further on. As this is a warning though, it doesn’t stop the build until a problem occurs later. I would like to fail the build on issues like this so it doesn’t get hidden in the logs