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

Mark PBS & pyenv provider test as "platform-specific behaviour" #21607

Closed
wants to merge 2 commits into from

Conversation

huonw
Copy link
Contributor

@huonw huonw commented Nov 3, 2024

Experiment to see whether our existing tests catch the bug in the PBS provider on macOS (see #21551).

@huonw huonw added the release-notes:not-required PR doesn't require mention in release notes label Nov 3, 2024
@huonw
Copy link
Contributor Author

huonw commented Nov 4, 2024

Yay, this does successfully catch the problem:

E       pants.engine.internals.scheduler.ExecutionError: 1 Exception encountered:
...
E       pants.engine.process.ProcessExecutionFailure: Process 'Install Python 3.9.10' failed with exit code 64.
E       stdout:
E       
E       stderr:
E       /bin/cp: illegal option -- -
E       usage: cp [-R [-H | -L | -P]] [-fi | -n] [-aclpsvXx] source_file target_file
E              cp [-R [-H | -L | -P]] [-fi | -n] [-aclpsvXx] source_file ... target_directory
...
FAILED src/python/pants/backend/python/providers/python_build_standalone/rules_integration_test.py::test_using_pbs[3.9.10]

@huonw
Copy link
Contributor Author

huonw commented Nov 4, 2024

Done more extensively in #21610

@huonw huonw closed this Nov 4, 2024
@huonw huonw deleted the huonw/21551-psb-pyenv-pbs branch November 4, 2024 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:not-required PR doesn't require mention in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant