openSUSE / doc-o-o

Resources for the doc.opensuse.org website
https://doc.opensuse.org/
GNU General Public License v3.0
3 stars 10 forks source link

Leap 15.4: revisit update_release_notes (worked on 3rd attempt) #15

Open lkocman opened 3 years ago

lkocman commented 3 years ago
relsync@community:~> crontab -l
0 */6 * * * test -x /home/relsync/bin/update_release_notes && /home/relsync/bin/update_release_notes
relsync@community:~> test -x /home/relsync/bin/update_release_notes && /home/relsync/bin/update_release_notes
cp: cannot stat 'RELEASE-NOTES.*.html': No such file or directory
cp: cannot stat 'RELEASE-NOTES.*.html': No such file or directory

In 15.3 the rn updates got stuck in the GM week. Seems like we were not able to get updates in let's say under 18 hours. We should identify what could be the issue and fix it.

ghost commented 3 years ago

The log file in the RN user's home also shows that this does work on the third attempt...

> o ~/var/log/update_release_notes.log

Feb 11 00:23:00 community : /tmp/update_release_notes-r2rVSV/get_releasenotes-9psTqK/Documentation:/Auto/openSUSE_Factory/x86_64/release-notes-openSUSE-TW.rpm is a valid RPM - going forward
Feb 11 00:23:00 community : going for /tmp/update_release_notes-r2rVSV/get_releasenotes-9psTqK/Documentation:/Auto/openSUSE_Factory openSUSE/factory release-notes-openSUSE-TW
Feb 11 00:23:00 community : /tmp/update_release_notes-r2rVSV/get_releasenotes-Uir1GR/Documentation:/Auto/openSUSE_Factory/x86_64/release-notes-openSUSE-TW.rpm is a valid RPM - going forward
Feb 11 00:23:00 community : going for /tmp/update_release_notes-r2rVSV/get_releasenotes-Uir1GR/Documentation:/Auto/openSUSE_Factory openSUSE/Tumbleweed release-notes-openSUSE-TW
Feb 11 00:23:01 community : /tmp/update_release_notes-r2rVSV/get_releasenotes-25SfVX/Documentation:/Auto/openSUSE_Leap_42.3/x86_64/release-notes-openSUSE-L423.rpm is a valid RPM - going forward
Feb 11 00:23:01 community : going for /tmp/update_release_notes-r2rVSV/get_releasenotes-25SfVX/Documentation:/Auto/openSUSE_Leap_42.3 openSUSE/Leap/42.3 release-notes-openSUSE-L423
Feb 11 00:23:01 community : /tmp/update_release_notes-r2rVSV/get_releasenotes-zm54O9/Documentation:/Auto/openSUSE_Leap_15.0/x86_64/release-notes-openSUSE-L150.rpm is a valid RPM - going forward
Feb 11 00:23:01 community : going for /tmp/update_release_notes-r2rVSV/get_releasenotes-zm54O9/Documentation:/Auto/openSUSE_Leap_15.0 openSUSE/Leap/15.0 release-notes-openSUSE-L150
Feb 11 00:23:02 community : /tmp/update_release_notes-r2rVSV/get_releasenotes-CDAi34/Documentation:/Auto/openSUSE_Leap_15.1/x86_64/release-notes-openSUSE-L151.rpm is a valid RPM - going forward
Feb 11 00:23:02 community : going for /tmp/update_release_notes-r2rVSV/get_releasenotes-CDAi34/Documentation:/Auto/openSUSE_Leap_15.1 openSUSE/Leap/15.1 release-notes-openSUSE-L151
Feb 11 00:23:03 community : /tmp/update_release_notes-r2rVSV/get_releasenotes-2cAse6/Documentation:/Auto/openSUSE_Leap_15.2/x86_64/release-notes-openSUSE-L152.rpm is a valid RPM - going forward
Feb 11 00:23:03 community : going for /tmp/update_release_notes-r2rVSV/get_releasenotes-2cAse6/Documentation:/Auto/openSUSE_Leap_15.2 openSUSE/Leap/15.2 release-notes-openSUSE-L152
Feb 11 00:23:03 community : Did not found the wanted RPM at Documentation:Auto/openSUSE_Leap_15.3 - trying different repos now
Feb 11 00:23:03 community : Did not found the wanted RPM at Documentation:Auto/openSUSE_Leap_15.3 - trying different repos now
Feb 11 00:23:03 community : Could not find a valid RPM at https://build.opensuse.org/public/build/Documentation:Auto/openSUSE_Leap_15.3/x86_64/_repository/release-notes-openSUSE-L153 after 3 attempts - g
iving up
Feb 11 00:23:03 community : going for /tmp/update_release_notes-r2rVSV/get_releasenotes-5cgM3y/Documentation:/Auto/openSUSE_Leap_15.3 openSUSE/Leap/15.3 release-notes-openSUSE-L153
lkocman commented 3 years ago

Max was also surprised that https://doc.opensuse.org/release-notes/x86_64/openSUSE/Leap/15.3/release-notes-openSUSE.rpm is not generated any more

lkocman commented 3 years ago

Ah I see it's https://doc.opensuse.org/release-notes/x86_64/openSUSE/Leap/15.3/release-notes.rpm (the destination name is hardcoded in the cp that does the job).

ghost commented 2 years ago

Max was also surprised that https://doc.opensuse.org/release-notes/x86_64/openSUSE/Leap/15.3/release-notes-openSUSE.rpm is not generated any more

For the record, as of be1fea7, we do create release-notes-openSUSE.rpm again.

ghost commented 2 years ago

Related: https://progress.opensuse.org/issues/102981

tacerus commented 5 months ago

I resolved https://progress.opensuse.org/issues/102981 - the job is managed by Salt now and the script by the repository here.

This task can hence be resolved as well.