Gentoo Archives: gentoo-dev

From: Doug Freed <dwfreed@×××.edu>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Fwd: Cron <gmirror@dipper> /usr/local/bin/pidlock -s rsync-gen /bin/bash /usr/local/bin/mastermirror/rsync-gen.sh
Date: Thu, 26 Jan 2017 23:49:32
Message-Id: CAFyXEpLcNqRFVRmKAycr1JEu5hd3=C0vFn=ebHLOxdd2ZdhCNQ@mail.gmail.com
1 This is the email I get when a Manifest is missing DIST entries; it's
2 more verbose than it needs to be, but I'd rather have more than less.
3 In this particular case, the developer that made the bad commit likely
4 had something they were working on in sys-cluster/torque added to the
5 git index (ie, they did git add), and then needed to make an unrelated
6 change, and didn't stash their changes beforehand. You should always
7 check 'git status' output before running repoman commit and/or git
8 commit. It's probably best to check before you start on a change, and
9 then you can 'git stash -u' right away (the -u includes untracked
10 files, which is useful if your in progress change is adding something
11 new), and then after you've committed the change you wanted to get
12 done right away, you can 'git stash pop' to get back to the state you
13 were in before.
14
15 This particular issue has already been fixed, but I'll be forwarding
16 all these emails to the list from now on (I have to do that manually,
17 because there are some that aren't anybody's fault, and I don't need
18 to spam you about those).
19
20 -Doug
21
22
23 ---------- Forwarded message ----------
24 From: (Cron Daemon) <gmirror@g.o>
25 Date: Thu, Jan 26, 2017 at 5:39 PM
26 Subject: Cron <gmirror@dipper> /usr/local/bin/pidlock -s rsync-gen
27 /bin/bash /usr/local/bin/mastermirror/rsync-gen.sh
28 To: infra-gmirror@g.o
29
30
31 [ERROR/ForkPoolWorker-7] sys-cluster/torque is missing DIST entries!
32 Traceback (most recent call last):
33 File "/usr/lib64/python3.4/site-packages/portage/checksum.py", line
34 23, in _open_file
35 encoding=_encodings['fs'], errors='strict'), 'rb')
36 FileNotFoundError: [Errno 2] No such file or directory:
37 b'/var/empty/torque-6.1.0.tar.gz'
38
39 During handling of the above exception, another exception occurred:
40
41 Traceback (most recent call last):
42 File "/usr/local/bin/mastermirror/thicken-manifests.py", line 122,
43 in maybe_thicken_manifest
44 manifest.create(assumeDistHashesAlways=True)
45 File "/usr/lib64/python3.4/site-packages/portage/manifest.py", line
46 506, in create
47 self.fhashdict["DIST"][f] = perform_multiple_checksums(fname, self.hashes)
48 File "/usr/lib64/python3.4/site-packages/portage/checksum.py", line
49 426, in perform_multiple_checksums
50 rVal[x] = perform_checksum(filename, x, calc_prelink)[0]
51 File "/usr/lib64/python3.4/site-packages/portage/checksum.py", line
52 390, in perform_checksum
53 myhash, mysize = hashfunc_map[hashname](myfilename)
54 File "/usr/lib64/python3.4/site-packages/portage/checksum.py", line
55 52, in __call__
56 with _open_file(filename) as f:
57 File "/usr/lib64/python3.4/site-packages/portage/checksum.py", line
58 31, in _open_file
59 raise portage.exception.FileNotFound(filename)
60 portage.exception.FileNotFound: b'/var/empty/torque-6.1.0.tar.gz'
61
62 !!! A file listed in the Manifest could not be found:
63 /var/tmp/gmirror-rsync/gentoo-x86-stage/sys-cluster/torque/torque-6.0.1.ebuild
64 /usr/local/bin/mastermirror/rsync-gen.sh: A Manifest has a failure!
65 /var/tmp/gmirror-rsync/logs/regen/regen-run-20170126-2238.log.validate:
66
67 RepoMan scours the neighborhood...
68 digest.missing [fatal] 1
69 /var/tmp/gmirror-rsync/gentoo-x86-stage/sys-cluster/torque::torque-6.1.0.tar.gz
70 digest.unused 1
71 file.size 69
72 manifest.bad [fatal] 1
73 sys-cluster/torque/Manifest
74 Please fix these important QA issues first.
75 RepoMan sez: "Make your QA payment on time and you'll never see the
76 likes of me."

Replies