KiCAD has a large package containing 3D component models. It takes a long time to compress with the new zstd compressor. So long in fact that the copr build system is throwing a timeout. You can see an example here:
https://download.copr.fedorainfracloud.org/results/@kicad/kicad/fedora-33-x8...
Here is the text at the end of the above log - basically it times out when compressing the 3D models into the RPM file:
... Wrote: /builddir/build/RPMS/kicad-debuginfo-r23934-fc2bdc49.fc33.x86_64.rpm Wrote: /builddir/build/RPMS/kicad-r23934-fc2bdc49.fc33.x86_64.rpm Wrote: /builddir/build/RPMS/kicad-doc-r23934-fc2bdc49.fc33.noarch.rpm Wrote: /builddir/build/RPMS/kicad-debugsource-r23934-fc2bdc49.fc33.x86_64.rpm !! Copr timeout => sending INT Copr build error: Build failed
The package is named kicad-packages3d. Compressed size is around 390 Mbytes and decompressed it is about 5.5 Gbytes. So far, only F33 is throwing the timeout; other targets are successfully building the package. But I have no idea how close to a similar problem those other targets may be.
Is there a way to increase the Copr builder timeout?
Alternatively, I could perhaps tell Copr not to use zstd for the 3D models, but I'd hate to do that, given how large the resulting RPM would be. On my desktop I do use:
--rpmbuild-opts='--define=_binary_payload\ w3.zstdio'
to bypass the compression and expedite my testing.
Steve
On Mon, Nov 30, 2020 at 11:42 AM Steven A. Falco stevenfalco@gmail.com wrote:
KiCAD has a large package containing 3D component models. It takes a long time to compress with the new zstd compressor. So long in fact that the copr build system is throwing a timeout. You can see an example here:
https://download.copr.fedorainfracloud.org/results/@kicad/kicad/fedora-33-x8...
Here is the text at the end of the above log - basically it times out when compressing the 3D models into the RPM file:
... Wrote: /builddir/build/RPMS/kicad-debuginfo-r23934-fc2bdc49.fc33.x86_64.rpm Wrote: /builddir/build/RPMS/kicad-r23934-fc2bdc49.fc33.x86_64.rpm Wrote: /builddir/build/RPMS/kicad-doc-r23934-fc2bdc49.fc33.noarch.rpm Wrote: /builddir/build/RPMS/kicad-debugsource-r23934-fc2bdc49.fc33.x86_64.rpm !! Copr timeout => sending INT Copr build error: Build failed
The package is named kicad-packages3d. Compressed size is around 390 Mbytes and decompressed it is about 5.5 Gbytes. So far, only F33 is throwing the timeout; other targets are successfully building the package. But I have no idea how close to a similar problem those other targets may be.
Is there a way to increase the Copr builder timeout?
I ran into the same problem with vtk. I'm sure there's a way to do it on the front end, but I clicked the rebuild option and there was a box to change the default timeout from 18000 seconds (5 hours). You can set it to a max of 20 hours.
Thanks, Richard
copr-cli has a --timeout option (in seconds). had the same issue with llvm.
- Rudolf Kastl
Am Mo., 30. Nov. 2020 um 19:24 Uhr schrieb Richard Shaw hobbes1069@gmail.com:
On Mon, Nov 30, 2020 at 11:42 AM Steven A. Falco stevenfalco@gmail.com wrote:
KiCAD has a large package containing 3D component models. It takes a long time to compress with the new zstd compressor. So long in fact that the copr build system is throwing a timeout. You can see an example here:
https://download.copr.fedorainfracloud.org/results/@kicad/kicad/fedora-33-x8...
Here is the text at the end of the above log - basically it times out when compressing the 3D models into the RPM file:
... Wrote: /builddir/build/RPMS/kicad-debuginfo-r23934-fc2bdc49.fc33.x86_64.rpm Wrote: /builddir/build/RPMS/kicad-r23934-fc2bdc49.fc33.x86_64.rpm Wrote: /builddir/build/RPMS/kicad-doc-r23934-fc2bdc49.fc33.noarch.rpm Wrote: /builddir/build/RPMS/kicad-debugsource-r23934-fc2bdc49.fc33.x86_64.rpm !! Copr timeout => sending INT Copr build error: Build failed
The package is named kicad-packages3d. Compressed size is around 390 Mbytes and decompressed it is about 5.5 Gbytes. So far, only F33 is throwing the timeout; other targets are successfully building the package. But I have no idea how close to a similar problem those other targets may be.
Is there a way to increase the Copr builder timeout?
I ran into the same problem with vtk. I'm sure there's a way to do it on the front end, but I clicked the rebuild option and there was a box to change the default timeout from 18000 seconds (5 hours). You can set it to a max of 20 hours.
Thanks, Richard _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Thanks for the replies. I'll add the CLI timeout flag to our CI scripts.
Steve
On 11/30/20 1:29 PM, Rudolf Kastl wrote:
copr-cli has a --timeout option (in seconds). had the same issue with llvm.
- Rudolf Kastl
Am Mo., 30. Nov. 2020 um 19:24 Uhr schrieb Richard Shaw hobbes1069@gmail.com:
On Mon, Nov 30, 2020 at 11:42 AM Steven A. Falco stevenfalco@gmail.com wrote:
KiCAD has a large package containing 3D component models. It takes a long time to compress with the new zstd compressor. So long in fact that the copr build system is throwing a timeout. You can see an example here:
https://download.copr.fedorainfracloud.org/results/@kicad/kicad/fedora-33-x8...
Here is the text at the end of the above log - basically it times out when compressing the 3D models into the RPM file:
... Wrote: /builddir/build/RPMS/kicad-debuginfo-r23934-fc2bdc49.fc33.x86_64.rpm Wrote: /builddir/build/RPMS/kicad-r23934-fc2bdc49.fc33.x86_64.rpm Wrote: /builddir/build/RPMS/kicad-doc-r23934-fc2bdc49.fc33.noarch.rpm Wrote: /builddir/build/RPMS/kicad-debugsource-r23934-fc2bdc49.fc33.x86_64.rpm !! Copr timeout => sending INT Copr build error: Build failed
The package is named kicad-packages3d. Compressed size is around 390 Mbytes and decompressed it is about 5.5 Gbytes. So far, only F33 is throwing the timeout; other targets are successfully building the package. But I have no idea how close to a similar problem those other targets may be.
Is there a way to increase the Copr builder timeout?
I ran into the same problem with vtk. I'm sure there's a way to do it on the front end, but I clicked the rebuild option and there was a box to change the default timeout from 18000 seconds (5 hours). You can set it to a max of 20 hours.
Thanks, Richard _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Dne 30. 11. 20 v 19:29 Rudolf Kastl napsal(a):
copr-cli has a --timeout option (in seconds). had the same issue with llvm.
WebUI has the the option as well when you specify new build.
the default timeout from 18000 seconds (5 hours). You can set it to a max of 20 hours.
The default is 18000 second (5 hours) and can be extended to 108000 second (30 hours).