Re: freshness' freshness
On 11.04.2019 13:00, glen wrote: > seems ok now. > > > new commit created as: > > git diff 625690e48..96bb43df4 thanks! ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: freshness' freshness
On 4/11/19 11:59 AM, glen wrote: 11:52:52 [load: 2.40 60.00% nproc: 4] root@1822-cvs repositories/SPECS.git# g gc error: bad ref for ./logs/refs/heads/master error: bad ref for ./logs/HEAD fatal: bad object refs/heads/master fatal: failed to run repack ``` 12:00:39 [load: 1.40 35.00% nproc: 4] root@1822-cvs repositories/SPECS.git# g checkout master fatal: this operation must be run in a work tree 12:00:46 [load: 1.37 34.25% nproc: 4] root@1822-cvs repositories/SPECS.git# g for-each-ref warning: ignoring broken ref refs/heads/master 12:00:52 [load: 1.39 34.75% nproc: 4] root@1822-cvs repositories/SPECS.git# l refs/heads/master -rw-r- 1 git git 0 Mar 22 15:03 refs/heads/master 12:00:56 [load: 1.36 34.00% nproc: 4] root@1822-cvs repositories/SPECS.git# echo 625690e48d93539566399403059b5e9f41d66284> refs/heads/master 12:01:00 [load: 1.36 34.00% nproc: 4] root@1822-cvs repositories/SPECS.git# find -size 0|xargs ls -ld -rw-r- 1 git git 0 Jun 28 2012 ./git-daemon-export-ok -rw-r- 1 git git 0 Mar 22 15:03 ./index -r--r- 1 git git 0 Mar 22 15:03 ./objects/80/3b5f137ddafc1e960c685d6b7cfbe888c793ed -r--r- 1 git git 0 Mar 22 15:03 ./objects/ca/f226252110c2afbb1ee248b489050a2a47b85e 12:02:09 [load: 2.03 50.75% nproc: 4] root@1822-cvs repositories/SPECS.git# g fsck error: object file ./objects/80/3b5f137ddafc1e960c685d6b7cfbe888c793ed is empty error: unable to mmap ./objects/80/3b5f137ddafc1e960c685d6b7cfbe888c793ed: No such file or directory error: 803b5f137ddafc1e960c685d6b7cfbe888c793ed: object corrupt or missing: ./objects/80/3b5f137ddafc1e960c685d6b7cfbe888c793ed error: object file ./objects/ca/f226252110c2afbb1ee248b489050a2a47b85e is empty error: unable to mmap ./objects/ca/f226252110c2afbb1ee248b489050a2a47b85e: No such file or directory error: caf226252110c2afbb1ee248b489050a2a47b85e: object corrupt or missing: ./objects/ca/f226252110c2afbb1ee248b489050a2a47b85e Checking object directories: 100% (256/256), done. Checking objects: 100% (189901/189901), done. fatal: index file smaller than expected 12:11:49 [load: 3.08 77.00% nproc: 4] root@1822-cvs repositories/SPECS.git# find -size 0|xargs ls -ld -rw-r- 1 git git 0 Jun 28 2012 ./git-daemon-export-ok -rw-r- 1 git git 0 Mar 22 15:03 ./index -r--r- 1 git git 0 Mar 22 15:03 ./objects/80/3b5f137ddafc1e960c685d6b7cfbe888c793ed -r--r- 1 git git 0 Mar 22 15:03 ./objects/ca/f226252110c2afbb1ee248b489050a2a47b85e 12:44:13 [load: 1.73 43.25% nproc: 4] root@1822-cvs repositories/SPECS.git# rm index rm: remove regular empty file 'index'? y root@1822-cvs repositories/SPECS.git# g gc Enumerating objects: 198982, done. Counting objects: 100% (198982/198982), done. Delta compression using up to 4 threads Compressing objects: 100% (75454/75454), done. Writing objects: 100% (198982/198982), done. Total 198982 (delta 129381), reused 189004 (delta 123371) Removing duplicate objects: 100% (256/256), done. Checking connectivity: 198982, done. 12:55:11 [load: 2.77 69.25% nproc: 4] root@1822-cvs repositories/SPECS.git# chown -R git: . 12:58:38 [load: 1.46 36.50% nproc: 4] root@1822-cvs repositories/SPECS.git# ``` seems ok now. new commit created as: git diff 625690e48..96bb43df4 -- glen ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: freshness' freshness
On 4/11/19 11:43 AM, glen wrote: 2019-04-11 10:40:01.897377507+02:00 I: Started sudo -Hiu git bin/specscommit.sh 2019-04-11 10:40:01.930615129+02:00 E: fatal: index file smaller than expected 2019-04-11 10:40:01.936209583+02:00 I: Finished with exitcode 0 tried fsck. but harder fix needed ``` root@1822-cvs repositories/SPECS.git# g gc error: bad ref for ./logs/refs/heads/master error: bad ref for ./logs/HEAD fatal: bad object refs/heads/master fatal: failed to run repack 11:43:13 [load: 1.38 34.50% nproc: 4] root@1822-cvs repositories/SPECS.git# git fsck error: object file ./objects/80/3b5f137ddafc1e960c685d6b7cfbe888c793ed is empty error: unable to mmap ./objects/80/3b5f137ddafc1e960c685d6b7cfbe888c793ed: No such file or directory error: 803b5f137ddafc1e960c685d6b7cfbe888c793ed: object corrupt or missing: ./objects/80/3b5f137ddafc1e960c685d6b7cfbe888c793ed error: object file ./objects/ca/f226252110c2afbb1ee248b489050a2a47b85e is empty error: unable to mmap ./objects/ca/f226252110c2afbb1ee248b489050a2a47b85e: No such file or directory error: caf226252110c2afbb1ee248b489050a2a47b85e: object corrupt or missing: ./objects/ca/f226252110c2afbb1ee248b489050a2a47b85e Checking object directories: 100% (256/256), done. Checking objects: 100% (189901/189901), done. error: refs/heads/master: invalid sha1 pointer error: Invalid HEAD error: bad ref for ./logs/refs/heads/master error: bad ref for ./logs/HEAD notice: No default references fatal: index file smaller than expected 11:52:52 [load: 2.40 60.00% nproc: 4] root@1822-cvs repositories/SPECS.git# g gc error: bad ref for ./logs/refs/heads/master error: bad ref for ./logs/HEAD fatal: bad object refs/heads/master fatal: failed to run repack 11:56:03 [load: 1.18 29.50% nproc: 4] root@1822-cvs repositories/SPECS.git# ``` -- glen ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: freshness' freshness
On 4/11/19 10:07 AM, Jan Rękorajski wrote: On Wed, 10 Apr 2019, Jan Palus wrote: For some time now it seems that freshness report does not include new changes, any idea what happened? http://ep09.pld-linux.org/~pldth/qa.php?q=freshness Sample missing packages: libbluray tasksh glib-networking gobject-introspection vala gvfs libinput vte mate-icon-theme It's because the SPECS git repo is empty/not being updated. I'm not sure how it's working, but try to take a look if no one beats me to fixing it. i recall looking how SPECS.git gets updated recently. so, at least one command in chain is this cronjob. and it gives errors. probably disk full or host crash caused corruption? ``` root@1822-cvs /etc/cron.d# cat /etc/cron.d/git SHELL=/bin/sh MAILTO=g...@pld-linux.org * * * * * root cronlogger -i git-specscommit -- sudo -Hiu git bin/specscommit.sh root@1822-cvs /etc/cron.d# tail /var/log/cronlogs/git-specscommit 2019-04-11 10:37:01.832630771+02:00 I: Finished with exitcode 0 2019-04-11 10:38:01.853045828+02:00 I: Started sudo -Hiu git bin/specscommit.sh 2019-04-11 10:38:01.891029069+02:00 E: fatal: index file smaller than expected 2019-04-11 10:38:01.894637929+02:00 I: Finished with exitcode 0 2019-04-11 10:39:01.943847203+02:00 I: Started sudo -Hiu git bin/specscommit.sh 2019-04-11 10:39:01.977375457+02:00 E: fatal: index file smaller than expected 2019-04-11 10:39:01.980198716+02:00 I: Finished with exitcode 0 2019-04-11 10:40:01.897377507+02:00 I: Started sudo -Hiu git bin/specscommit.sh 2019-04-11 10:40:01.930615129+02:00 E: fatal: index file smaller than expected 2019-04-11 10:40:01.936209583+02:00 I: Finished with exitcode 0 root@1822-cvs /etc/cron.d# ``` -- glen ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: freshness' freshness
On Wed, 10 Apr 2019, Jan Palus wrote: > For some time now it seems that freshness report does not include new changes, > any idea what happened? > > http://ep09.pld-linux.org/~pldth/qa.php?q=freshness > > Sample missing packages: libbluray tasksh glib-networking > gobject-introspection > vala gvfs libinput vte mate-icon-theme It's because the SPECS git repo is empty/not being updated. I'm not sure how it's working, but try to take a look if no one beats me to fixing it. -- Jan Rękorajski| PLD/Linux SysAdm | bagginspld-linux.org | http://www.pld-linux.org/ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en