Skip to content

Conversation

@user202729
Copy link
Contributor

@user202729 user202729 commented May 25, 2025

Fixes #40120 — I believe.

As explained there, the root cause is that ci-linux.yml no longer build from scratch on ubuntu-noble-standard to generate the base docker image for the incremental builds to base on.

In any case this appears to be harmless enough.

From some testing this works some of the time (the debug statements are harmless)… which is not great, but the current standard runs aren't completely reliable either.

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

⌛ Dependencies

@user202729 user202729 marked this pull request as draft May 25, 2025 03:24
@user202729
Copy link
Contributor Author

user202729 commented May 25, 2025

Issue with one of the runs (as explained above, it works some of the time. Maybe at least half)

2025-05-25T02:53:21.6170001Z [pari_galdata-20080411.p0] installing. Log file: /sage/logs/pkgs/pari_galdata-20080411.p0.log

2025-05-25T02:53:23.7290069Z   [pari_galdata-20080411.p0] error installing, exit status 1. Log file:
2025-05-25T02:53:23.9238792Z   [pari_galdata-20080411.p0]   Attempting to download package pari_galdata-20080411.tar.bz2 from mirrors
2025-05-25T02:53:23.9250530Z   [pari_galdata-20080411.p0]   https://github.com/sagemath/sage/releases/download/10.7/pari_galdata-20080411.tar.bz2
2025-05-25T02:53:23.9251908Z   [pari_galdata-20080411.p0]   [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
2025-05-25T02:53:23.9266672Z   [pari_galdata-20080411.p0]   ERROR [transfer|run:135]: [Errno socket error] [Errno 404] Not Found: '//github.com/sagemath/sage/releases/download/10.7/pari_galdata-20080411.tar.bz2'
2025-05-25T02:53:23.9268271Z   [pari_galdata-20080411.p0]   https://github.com/sagemath/sage/releases/download/10.6/pari_galdata-20080411.tar.bz2
2025-05-25T02:53:23.9269306Z   [pari_galdata-20080411.p0]   [......................................................................]
2025-05-25T02:53:23.9270679Z   [pari_galdata-20080411.p0]   Setting up build directory /sage/local/var/tmp/sage/build/pari_galdata-20080411.p0
2025-05-25T02:53:23.9271640Z   [pari_galdata-20080411.p0]   No patch files found in ../patches
2025-05-25T02:53:23.9272770Z   [pari_galdata-20080411.p0]   Host system: Linux buildkitsandbox 6.11.0-1014-azure #14~24.04.1-Ubuntu SMP Thu Apr 24 17:41:03 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
2025-05-25T02:53:23.9291052Z   [pari_galdata-20080411.p0]   C compiler: gcc, Using built-in specs., COLLECT_GCC=gcc, COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper, OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa, OFFLOAD_TARGET_DEFAULT=1, Target: x86_64-linux-gnu, Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-fG75Ri/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2, Thread model: posix, Supported LTO compression algorithms: zlib zstd, gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
2025-05-25T02:53:23.9314350Z   [pari_galdata-20080411.p0]   No stamp file for package 'pari_galdata' in /sage/local/var/lib/sage/installed
2025-05-25T02:53:23.9315352Z   [pari_galdata-20080411.p0]   No spkg-legacy-uninstall script; nothing to do
2025-05-25T02:53:23.9316048Z   [pari_galdata-20080411.p0]   ::group::.log
2025-05-25T02:53:23.9343735Z   [pari_galdata-20080411.p0]   [spkg-install] src/galdata -> /sage/local/var/tmp/sage/build/pari_galdata-20080411.p0/inst/sage/local/share/pari
2025-05-25T02:53:23.9345103Z   [pari_galdata-20080411.p0]   ::endgroup::
2025-05-25T02:53:23.9346183Z   [pari_galdata-20080411.p0]   Moving package files from temporary location /sage/local/var/tmp/sage/build/pari_galdata-20080411.p0/inst to /sage/local
2025-05-25T02:53:23.9347499Z   [pari_galdata-20080411.p0]   cp: cannot create directory '/sage/local/./share/pari': File exists
2025-05-25T02:53:23.9348375Z   [pari_galdata-20080411.p0]   ************************************************************************
2025-05-25T02:53:23.9349137Z   [pari_galdata-20080411.p0]   Error moving files for pari_galdata-20080411.p0.
2025-05-25T02:53:23.9350103Z   [pari_galdata-20080411.p0]   ************************************************************************
2025-05-25T02:53:23.9350982Z   [pari_galdata-20080411.p0]   Please email sage-devel (http://groups.google.com/group/sage-devel)
2025-05-25T02:53:23.9351909Z   [pari_galdata-20080411.p0]   explaining the problem and including the log files
2025-05-25T02:53:23.9352714Z   [pari_galdata-20080411.p0]     /sage/logs/pkgs/pari_galdata-20080411.p0.log
2025-05-25T02:53:23.9353321Z   [pari_galdata-20080411.p0]   and
2025-05-25T02:53:23.9353750Z   [pari_galdata-20080411.p0]     /sage/config.log
2025-05-25T02:53:23.9354381Z   [pari_galdata-20080411.p0]   Describe your computer, operating system, etc.
2025-05-25T02:53:23.9355128Z   [pari_galdata-20080411.p0]   ************************************************************************
2025-05-25T02:53:23.9355840Z make[2]: *** [Makefile:3405: pari_galdata-SAGE_LOCAL-no-deps] Error 1
2025-05-25T02:53:23.9356651Z make[1]: *** [Makefile:3405: /sage/local/var/lib/sage/installed/pari_galdata-20080411.p0] Error 2

The first error is non-critical since (supposedly) by design it will just retry with 10.6 after 10.7 doesn't exist. See /.upstream.d/20-gitproxy.zycloud.tk-sagemath-sage-releases

@user202729 user202729 marked this pull request as ready for review May 26, 2025 16:28
@user202729
Copy link
Contributor Author

user202729 commented May 26, 2025

@tscrim @vbraun maybe? Not sure who is familiar with these component (the CI).

It's affecting all of us by making build-doc and build-doc-pdf fails. Though #39973 and #40158 works too.

@tscrim tscrim added the p: CI Fix merged before running CI tests label May 27, 2025
Copy link
Collaborator

@tscrim tscrim left a comment

Choose a reason for hiding this comment

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

I'm going to approve this since you're saying that it will likely fix the CI failures that are happening on so many PRs. However, I don't have much knowledge in this area.

I am cc-ing @tobiasdiez and @dimpase in case they have any thoughts/knowledge on this (including if there is someone else who is good to cc).

@tscrim
Copy link
Collaborator

tscrim commented May 27, 2025

Also cc-ing @tornaria and @antonio-rojas too.

@tobiasdiez
Copy link
Contributor

From some testing this works some of the time (the debug statements are harmless)… which is not great, but the current standard runs aren't completely reliable either.

Are all of these runs from the same code? The failing runs seem to be failing for different reasons.

I'm fine with readding this; hopefully it will work and indeed fix the linked issue.

@user202729
Copy link
Contributor Author

Are all of these runs from the same code?

Slightly different, but the code difference appears to be irrelevant to the error difference.

Each run takes > 2 hours (!!!) so I really don't want to look too hard into it.

vbraun pushed a commit to vbraun/sage that referenced this pull request May 28, 2025
sagemathgh-40157: Add back ubuntu-noble-standard to ci-linux
    
Fixes sagemath#40120 — I believe.

As explained there, the root cause is that `ci-linux.yml` no longer
build from scratch on `ubuntu-noble-standard` to generate the base
docker image for the incremental builds to base on.

In any case this appears to be harmless enough.

From some
[testing](https://github.com/user202729/sage/actions/workflows/ci-
linux.yml) this works _some_ of the time (the debug statements are
harmless)… which is not great, but the **current** `standard` runs
aren't completely reliable either.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#40157
Reported by: user202729
Reviewer(s): Travis Scrimshaw
@user202729 user202729 mentioned this pull request May 29, 2025
5 tasks
@vbraun vbraun merged commit 89e16d3 into sagemath:develop Jun 1, 2025
18 of 25 checks passed
@user202729
Copy link
Contributor Author

okay, new release. The build succeeded this time. https://github.com/sagemath/sage/actions/runs/15379005941/job/43267361858#step:15:60 hope it works?

@tobiasdiez
Copy link
Contributor

It seems to work well. Thanks for this fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p: CI Fix merged before running CI tests s: positive review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure in test-long etc. because of singular

4 participants