zerocracy / pages-action

GitHub Action that generates HTML report from a Factbase
MIT License
5 stars 0 forks source link

something is wrong with the `zerocracy-vitals` #138

Closed Suban05 closed 1 month ago

Suban05 commented 1 month ago

@yegor256 something is wrong with the zerocracy-vitals, and I don't understand, what.

The last payout was on 26.08.24 2024-09-24 23-34-25

and starting from the 35th week (29.08.24), the system incorrectly counts the total points: 2024-09-24 23-21-30

for example for the pay column: the first position should be equal to 123 points the second position should be 170 the third position should be 28

also I'm not sure about the run column

rultor commented 1 month ago

@rultor release, tag is 0.0.36

@yegor256 OK, I will release it now. Please check the progress here

yegor256 commented 1 month ago

@rultor stop

rultor commented 1 month ago

@rultor stop

@yegor256 OK, I'll try to stop current task.

yegor256 commented 1 month ago

@rultor release, tag is 0.0.36

rultor commented 1 month ago

@rultor stop

@suban05 @yegor256 Sorry, I failed to stop the previous command, however it has the following result: Oops, I failed. You can see the full log here (spent 21min)

55c1f8c9bd45: Pull complete
Digest: sha256:6ab533a12e1dbf652e3df191f158bf2177321eee72dc1e1b0e94cf32fe77b620
Status: Downloaded newer image for yegor256/rultor-image:1.23.1
docker.io/yegor256/rultor-image:1.23.1
+ grep --quiet '\szerocracy_pages-action_138\s*$'
+ docker ps --filter=status=exited
+ ls -al .
total 56
drwx------  3 ubuntu ubuntu 4096 Sep 26 01:55 .
drwxrwxrwt 12 root   root   4096 Sep 26 01:54 ..
-rw-rw-r--  1 ubuntu ubuntu    9 Sep 26 01:51 docker-password
-rwxrwxr-x  1 ubuntu ubuntu  556 Sep 26 02:10 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  490 Sep 26 01:51 entry.sh
-rw-rw-r--  1 ubuntu ubuntu    5 Sep 26 01:51 pid
drwxrwxr-x 10 ubuntu ubuntu 4096 Sep 26 01:51 repo
-rwxrwxr-x  1 ubuntu ubuntu 6829 Sep 26 01:51 run.sh
-rw-rw-r--  1 ubuntu ubuntu  971 Sep 26 01:51 script.sh
-rw-rw-r--  1 ubuntu ubuntu 9087 Sep 26 02:10 stdout
-rwxrwxr-x  1 ubuntu ubuntu  258 Sep 26 02:10 stop.sh
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-5gxH:/main --env=head=git@github.com:zerocracy/pages-action.git --env=tag=0.0.36 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:zerocracy/pages-action.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.36'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo make install clean "--directory=$(pwd)"'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i -e "s/0.0.0/${tag}/" entry.sh'\'' '\'';'\'' '\''sed -i -e "s/0.0.0/${tag}/" Dockerfile'\'' '\'';'\'' '\''sed -i -e "s/:latest/:${tag}/" action.yml'\'' '\'';'\'' '\''git add entry.sh'\'' '\'';'\'' '\''git add Dockerfile'\'' '\'';'\'' '\''git add action.yml'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''sudo make -C "$(pwd)" target/html/simple.html'\'' '\'';'\'' '\''repo=yegor256/pages-action'\'' '\'';'\'' '\''sudo docker build "$(pwd)" --tag "${repo}:${tag}"'\'' '\'';'\'' '\''sudo docker build "$(pwd)" --tag "${repo}:latest"'\'' '\'';'\'' '\''cat ../docker-password | sudo docker login --password-stdin -u yegor256'\'' '\'';'\'' '\''sudo docker push "${repo}:${tag}"'\'' '\'';'\'' '\''sudo docker push "${repo}:latest"'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-5gxH/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=zerocracy_pages-action_138 yegor256/rultor-image:1.23.1 /main/entry.sh
WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded.
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
++ awk -F : '$3 > 100 { print $1 }'
++ cat /etc/group
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G nogroup r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-journal r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-network r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-resolve r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G messagebus r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-timesync r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G _ssh r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G rvm r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G ssl-cert r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G postgres r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G r r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cargo /root/.config /root/.gem /root/.gemrc /root/.launchpadlib /root/.m2 /root/.npm /root/.profile /root/.rustup /root/.rvmrc /root/texmf /home/r
e00a66f003f9f13f55f316ed86eef06aeecf31649e79cc4d5b884a4e61a4f6aa
Error response from daemon: Cannot kill container: e00a66f003f9f13f55f316ed86eef06aeecf31649e79cc4d5b884a4e61a4f6aa: container e00a66f003f9f13f55f316ed86eef06aeecf31649e79cc4d5b884a4e61a4f6aa is not running
container e00a66f003f9f13f55f316ed86eef06aeecf31649e79cc4d5b884a4e61a4f6aa is dead
Thu Sep 26 02:12:03 UTC 2024
rultor commented 1 month ago

@rultor release, tag is 0.0.36

@yegor256 OK, I will release it now. Please check the progress here

yegor256 commented 1 month ago

@rultor status

rultor commented 1 month ago

@rultor status

@yegor256 This is what's going on here:

More information about Rultor commands you can get here.

rultor commented 1 month ago

@rultor release, tag is 0.0.36

@yegor256 Done! FYI, the full log is here (took me 42min)

0crat commented 1 month ago

@Suban05 Hello! Thank you for reporting a new bug. As per our team's policy, you've earned 8 points for this contribution. Your diligence in identifying issues helps improve our project's quality. Your current balance is now +126. Please continue to report any other issues you may find in the repository that don't look up to standard. Your efforts are greatly appreciated!

yegor256 commented 1 month ago

@Suban05 I believe, it's fixed, please check

Suban05 commented 1 month ago

@yegor256 yes, it's fixed, great job! thanks!