WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@sue445
Copy link
Member

@sue445 sue445 commented Aug 18, 2025

Currently, this repo's latest master is failing to build due to multiple issues...

https://github.com/itamae-kitchen/itamae/actions/runs/16979568870

This includes #377. This issue is currently being fixed by @unasuke in #378.

So, in this PR, I have only modified the test code and CI settings to pass the build.

For details, please see the following commit.

@unasuke I am temporarily not using Ruby 3.4.3+ for #377. If you resume #378, please revert 3a5a55b 🙏

I think ruby:2.5 uses debian:buster, but buster is already EOL...

https://github.com/itamae-kitchen/itamae/actions/runs/16979568870/job/48136506795

```
Your RubyGems version (2.6.14.4) has a bug that prevents `required_ruby_version` from working for Bundler. Any scripts that use `gem install bundler` will break as soon as Bundler drops support for your Ruby version. Please upgrade RubyGems to avoid future breakage and silence this warning by running `gem update --system 3.2.3`
docker run --privileged -d --name itamae -v /home/runner/work/itamae/itamae:/itamae ruby:2.4 sleep 1d
Unable to find image 'ruby:2.4' locally
2.4: Pulling from library/ruby
f15005b0235f: Pulling fs layer

docker exec --env LANG=en_US.utf8 itamae apt-get update -y
Ign:1 http://security.debian.org/debian-security buster/updates InRelease
Err:2 http://security.debian.org/debian-security buster/updates Release
  404  Not Found [IP: 151.101.202.132 80]
Ign:3 http://deb.debian.org/debian buster InRelease
Ign:4 http://deb.debian.org/debian buster-updates InRelease
Err:5 http://deb.debian.org/debian buster Release
  404  Not Found [IP: 151.101.202.132 80]
Err:6 http://deb.debian.org/debian buster-updates Release
  404  Not Found [IP: 151.101.202.132 80]
Reading package lists...
E: The repository 'http://security.debian.org/debian-security buster/updates Release' does not have a Release file.
E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file.
E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file.
rake aborted!
```
@sue445 sue445 force-pushed the fix_ci branch 2 times, most recently from e91e223 to e25b217 Compare August 18, 2025 15:29
sue445 added 2 commits August 19, 2025 00:34
dstat package have beeb renamed to pcp since Debian trixie
https://packages.debian.org/trixie/ia64/dstat

```
$ docker run --rm -it debian:trixie bash

root@710b81c352a7:/# apt-get update

root@710b81c352a7:/# apt-get install -y dstat
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'pcp' instead of 'dstat'

(snip)

done.

root@710b81c352a7:/# dpkg -l dstat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  dstat          <none>       <none>       (no description available)
root@710b81c352a7:/# dpkg -l pcp
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-==============================================================
ii  pcp            6.3.8-1      arm64        System level performance monitoring and performance management
```

Therefore, I changed package so that it can be installed on both
new and old versions of Debian for compatibility.
@sue445 sue445 force-pushed the fix_ci branch 3 times, most recently from f3ad82a to f401c9f Compare August 19, 2025 13:23
This repository uses matrix to run 50+ builds in a pipeline.
This results in simultaneous requests being sent to httpbin.org,
similar to a DDoS attack, often causing 500 errors and test failures.

e.g. https://github.com/itamae-kitchen/itamae/actions/runs/17045210601/job/48319099479?pr=379

Therefore, I suppressed simultaneous requests to httpbin.org.
@sue445 sue445 force-pushed the fix_ci branch 2 times, most recently from 54ba038 to 77ab178 Compare August 19, 2025 14:37
@sue445 sue445 marked this pull request as ready for review August 24, 2025 02:24
@sue445 sue445 requested a review from unasuke August 24, 2025 02:25
Copy link
Member

@unasuke unasuke 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 sorry for the late response. LGTM!

@sue445 sue445 merged commit 893efdf into master Aug 24, 2025
55 checks passed
@sue445 sue445 deleted the fix_ci branch August 24, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants