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

GH-41964: [CI][C++] Clear cache for mamba on AppVeyor #41977

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

kou
Copy link
Member

@kou kou commented Jun 5, 2024

Rationale for this change

It seems that mamba may use invalid download URL when there are invalid caches.

What changes are included in this PR?

Clear caches explicitly.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

@kou kou marked this pull request as draft June 5, 2024 08:14
Copy link

github-actions bot commented Jun 5, 2024

⚠️ GitHub issue #41964 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Jun 5, 2024
@kou kou force-pushed the ci-appveyor-mamba branch 6 times, most recently from 0eca524 to 4a39431 Compare June 6, 2024 03:07
@kou kou changed the title GH-41964: WIP: [CI][C++] Debug mamba error GH-41964: [CI][C++] Clear cache for mamba on AppVeyor Jun 6, 2024
@kou kou marked this pull request as ready for review June 6, 2024 03:09
It seems that mamba may use invalid download URL when there are
invalid caches.
@pitrou
Copy link
Member

pitrou commented Jun 6, 2024

Wow. Is this something that should be reported to the mamba issue tracker?

Copy link
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thanks a lot @kou

@pitrou pitrou merged commit 67c6df1 into apache:main Jun 6, 2024
14 checks passed
@pitrou pitrou removed the awaiting committer review Awaiting committer review label Jun 6, 2024
@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Jun 6, 2024
@kou kou deleted the ci-appveyor-mamba branch June 6, 2024 08:45
@kou
Copy link
Member Author

kou commented Jun 6, 2024

Is this something that should be reported to the mamba issue tracker?

Hmm... Maybe no...?
It seems that this is related to our AppVeyor environment.

This is the last succeeded job before this problem is happen. Note that mamba 1.5.8 was selected:

https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/49866639?fullLog=true#L90

C:\projects\arrow>conda install -q -y -c conda-forge mamba python=3.10   || exit /B 
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
  environment location: C:\Miniconda38-x64
  added / updated specs:
    - mamba
    - python=3.10
The following packages will be downloaded:
    package                    |            build
    ---------------------------|-----------------
...
    libmamba-1.5.8             |       h3f09ed1_0         3.4 MB  conda-forge
    libmambapy-1.5.8           |  py310h04f2035_0         330 KB  conda-forge
    mamba-1.5.8                |  py310hd9d798f_0          67 KB  conda-forge

This is the first failed job by this problem. Note that there are some solving failed messages and mamba 0.24.0 was selected. (mamba is updated to 1.5.8 later):

https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/49867058#L88

C:\projects\arrow>conda install -q -y -c conda-forge mamba python=3.10   || exit /B 
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
  environment location: C:\Miniconda38-x64
  added / updated specs:
    - mamba
    - python=3.10
The following packages will be downloaded:
    package                    |            build
    ---------------------------|-----------------
...
    libmamba-0.24.0            |       h81a967f_1         2.9 MB  conda-forge
    libmambapy-0.24.0          |  py310hd80b381_1         527 KB  conda-forge
...
    mamba-0.24.0               |  py310h9376f3e_1          64 KB  conda-forge

I'm not sure whether this is related to this problem or not but our AppVeyor environment may be related. Because cleaning cache solved this problem.

Copy link

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 67c6df1.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting committer review Awaiting committer review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants