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

workflow started failing this week #1016

Merged
merged 17 commits into from
Sep 18, 2024
Merged

Conversation

prjemian
Copy link
Contributor

@prjemian prjemian commented Sep 6, 2024

Workflows this week have been failing in an unexpected part of the sequence

2024-09-06T04:42:44.7112374Z Download artifact has finished successfully
2024-09-06T04:42:44.7245792Z ##[group]Run set -vxeuo pipefail
2024-09-06T04:42:44.7246437Z �[36;1mset -vxeuo pipefail�[0m
2024-09-06T04:42:44.7247023Z �[36;1mmkdir -p ~/.local/share/intake�[0m
2024-09-06T04:42:44.7247919Z �[36;1mmv ~/databroker_catalogs/.local/share/intake/* ~/.local/share/intake�[0m
2024-09-06T04:42:44.7248888Z �[36;1mmv ~/databroker_catalogs/*_test /tmp/�[0m
2024-09-06T04:42:44.7284223Z shell: /usr/bin/bash -l {0}
2024-09-06T04:42:44.7284753Z env:
2024-09-06T04:42:44.7285206Z   MAMBA_ROOT_PREFIX: /home/runner/micromamba
2024-09-06T04:42:44.7285967Z   MAMBA_EXE: /home/runner/micromamba-bin/micromamba
2024-09-06T04:42:44.7286824Z   CONDARC: /home/runner/work/_temp/setup-micromamba/.condarc
2024-09-06T04:42:44.7287579Z ##[endgroup]
2024-09-06T04:42:44.8479623Z mkdir -p ~/.local/share/intake
2024-09-06T04:42:44.8480414Z + mkdir -p /home/runner/.local/share/intake
2024-09-06T04:42:44.8494640Z mv ~/databroker_catalogs/.local/share/intake/* ~/.local/share/intake
2024-09-06T04:42:44.8496091Z + mv '/home/runner/databroker_catalogs/.local/share/intake/*' /home/runner/.local/share/intake
2024-09-06T04:42:44.8517940Z mv: cannot stat '/home/runner/databroker_catalogs/.local/share/intake/*': No such file or directory
2024-09-06T04:42:44.8534767Z ##[error]Process completed with exit code 1.

@prjemian prjemian added the bug label Sep 6, 2024
@prjemian prjemian self-assigned this Sep 6, 2024
@prjemian prjemian changed the title CI add diagnostics workflow started failing this week Sep 6, 2024
@prjemian prjemian added this to the 1.7.0 milestone Sep 17, 2024
@prjemian
Copy link
Contributor Author

Can't test with Py3.12:

2024-09-17T23:37:10.4748583Z error    libmamba Could not solve for environment specs
2024-09-17T23:37:10.4749493Z     The following packages are incompatible
2024-09-17T23:37:10.4751032Z     ├─ python 3.12**  is installable with the potential options
2024-09-17T23:37:10.4752443Z     │  ├─ python [3.12.0|3.12.1|...|3.12.5], which can be installed;
2024-09-17T23:37:10.4753412Z     │  └─ python 3.12.0rc3 would require
2024-09-17T23:37:10.4754347Z     │     └─ _python_rc, which does not exist (perhaps a missing channel);
2024-09-17T23:37:10.4755897Z     └─ python >=3.8,<=3.11  is not installable because it conflicts with any installable versions previously reported.
2024-09-17T23:37:10.5283722Z critical libmamba Could not solve for environment specs

switch to Py3.11

@prjemian
Copy link
Contributor Author

Seems to have some new controversy about the location of the databroker configuration files. Redevelop a simpler version of the code.yml workflow.

@prjemian
Copy link
Contributor Author

The controversy involves two workflow actions actions/upload-artifact@v4 and actions/download-artifact@v4 and content that is stored in the artifacts. After the download, the content at /home/runner/databroker_catalogs/.local/share/intake/* was not found. This triggered the error.

These steps were added to optimize resource use in the GH workflows. Re-write to skip the preload step.

@prjemian
Copy link
Contributor Author

After removing pins in our environment.yml and pyproject.toml files, here's why we can't test with Python 3.12 yet:

| error    libmamba Could not solve for environment specs
|     The following packages are incompatible
|     ├─ aps-dm-api >=8  is installable with the potential options
|     │  ├─ aps-dm-api 8.0.2 would require
|     │  │  └─ python >=3.11,<3.12.0a0 , which can be installed;
|     │  ├─ aps-dm-api 8.0.2 would require
|     │  │  └─ python >=3.10,<3.11.0a0 , which can be installed;
|     │  ├─ aps-dm-api 8.0.2 would require
|     │  │  └─ python >=3.9,<3.10.0a0 , which can be installed;
|     │  ├─ aps-dm-api 8.0.2 would require
|     │  │  └─ python >=3.8,<3.9.0a0 , which can be installed;
|     │  └─ aps-dm-api 8.0.2 would require
|     │     └─ python >=3.7,<3.8.0a0 , which can be installed;
|     └─ python 3.12**  is not installable because there are no viable options
|        ├─ python [3.12.0|3.12.1|...|3.12.5] conflicts with any installable versions previously reported;
|        └─ python 3.12.0rc3 would require
|           └─ _python_rc, which does not exist (perhaps a missing channel).

@prjemian prjemian merged commit 3bc161f into main Sep 18, 2024
10 checks passed
@prjemian prjemian deleted the CI-diagnose-workflow-failures branch September 18, 2024 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant