Saw this failure in a recent build:
2022-09-06 14:15:44.603087 | 2022-09-06 14:15:44.603271 | TASK [repo-install-rpm : Get changes generated packages on zuul-built] 2022-09-06 14:15:44.927738 | cloud-host | egrep: warning: egrep is obsolescent; using grep -E 2022-09-06 14:15:45.357244 | cloud-host | https://fedora.softwarefactory-project.io/logs/34/34/bbcebc482f4ef3f97fd1cc34f697a1169d2ae91c/check/rpm-scratch-build/d0983e5/repo/llvm-test-suite-15.0.0-1.fc38.noarch.rpm 2022-09-06 14:15:45.631287 | cloud-host | ok: Runtime: 0:00:00.434532 2022-09-06 14:15:45.740904 | 2022-09-06 14:15:45.741062 | LOOP [repo-install-rpm : Download packages locally] 2022-09-06 14:15:46.328427 | cloud-host | ERROR: Item: egrep: warning: egrep is obsolescent; using grep -E 2022-09-06 14:15:46.328750 | cloud-host | { 2022-09-06 14:15:46.328789 | cloud-host | "ansible_loop_var": "item", 2022-09-06 14:15:46.328815 | cloud-host | "dest": "/repos/zuul-built", 2022-09-06 14:15:46.328838 | cloud-host | "elapsed": 0, 2022-09-06 14:15:46.328860 | cloud-host | "gid": 0, 2022-09-06 14:15:46.328881 | cloud-host | "group": "root", 2022-09-06 14:15:46.328902 | cloud-host | "item": "egrep: warning: egrep is obsolescent; using grep -E", 2022-09-06 14:15:46.328923 | cloud-host | "mode": "0755", 2022-09-06 14:15:46.328944 | cloud-host | "msg": "Request failed: <urlopen error unknown url type: egrep>", 2022-09-06 14:15:46.328964 | cloud-host | "owner": "root", 2022-09-06 14:15:46.328985 | cloud-host | "secontext": "unconfined_u:object_r:default_t:s0", 2022-09-06 14:15:46.329005 | cloud-host | "size": 0, 2022-09-06 14:15:46.329026 | cloud-host | "state": "directory", 2022-09-06 14:15:46.329047 | cloud-host | "uid": 0, 2022-09-06 14:15:46.329067 | cloud-host | "url": "egrep: warning: egrep is obsolescent; using grep -E" 2022-09-06 14:15:46.329088 | cloud-host | }
Based on https://www.phoronix.com/news/GNU-Grep-3.8-Stop-egrep-fgrep, I assume that this is a recent change that just made it into the buildroot.
Hopefully replacing egrep with grep -E fixes this.
egrep
grep -E
Build succeeded.
Metadata Update from @tdecacqu: - Pull-request tagged with: gateit
Thanks, nice catch!
Build succeeded (gate pipeline).
Pull-Request has been merged by zuul
Saw this failure in a recent build:
Based on https://www.phoronix.com/news/GNU-Grep-3.8-Stop-egrep-fgrep, I assume that this is a recent change that just made it into the buildroot.
Hopefully replacing
egrepwithgrep -Efixes this.