Message ID | 20200916114731.102080-1-thuth@redhat.com |
---|---|
Headers | show |
Series | qtests, unit tests and Cirrus-CI fixes / improvements | expand |
On Wed, 16 Sep 2020 at 12:47, Thomas Huth <thuth@redhat.com> wrote: > > Hi Peter, > > the following changes since commit de39a045bd8d2b49e4f3d07976622c29d58e0bac: > > Merge remote-tracking branch 'remotes/kraxel/tags/vga-20200915-pull-request' into staging (2020-09-15 14:25:05 +0100) > > are available in the Git repository at: > > https://gitlab.com/huth/qemu.git tags/pull-request-2020-09-16 > > for you to fetch changes up to 114daec31d64600e5a070abcdb8de2cf74d01e94: > > cirrus: Building freebsd in a single shot (2020-09-16 12:15:07 +0200) > > ---------------------------------------------------------------- > * Fix "readlink -f" problem in iotests on macOS (to fix the Cirrus-CI tests) > * Some minor qtest improvements > * Fix the unit tests to work on MSYS2, too > * Enable building and testing on MSYS2 in the Cirrus-CI > * Build FreeBSD with one task again in the Cirrus-CI > ---------------------------------------------------------------- Applied, thanks. Please update the changelog at https://wiki.qemu.org/ChangeLog/5.2 for any user-visible changes. -- PMM
On Thu, Sep 17, 2020 at 9:46 PM Peter Maydell <peter.maydell@linaro.org> wrote: > > On Wed, 16 Sep 2020 at 12:47, Thomas Huth <thuth@redhat.com> wrote: > > > > Hi Peter, > > > > the following changes since commit de39a045bd8d2b49e4f3d07976622c29d58e0bac: > > > > Merge remote-tracking branch 'remotes/kraxel/tags/vga-20200915-pull-request' into staging (2020-09-15 14:25:05 +0100) > > > > are available in the Git repository at: > > > > https://gitlab.com/huth/qemu.git tags/pull-request-2020-09-16 > > > > for you to fetch changes up to 114daec31d64600e5a070abcdb8de2cf74d01e94: > > > > cirrus: Building freebsd in a single shot (2020-09-16 12:15:07 +0200) > > > > ---------------------------------------------------------------- > > * Fix "readlink -f" problem in iotests on macOS (to fix the Cirrus-CI tests) > > * Some minor qtest improvements > > * Fix the unit tests to work on MSYS2, too > > * Enable building and testing on MSYS2 in the Cirrus-CI > > * Build FreeBSD with one task again in the Cirrus-CI > > ---------------------------------------------------------------- > > > Applied, thanks. > > Please update the changelog at https://wiki.qemu.org/ChangeLog/5.2 > for any user-visible changes. > > -- PMM cirrus are too slow: ``` pm215 Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2… … 5e0a8fd2 hours ago Git stats 80,622 commits -- after two hours still not finished. Github have far more hardware resources. except doesn't have freebsd. When I using github with wind32, it's running around 1hour with full build(all target build). That's because when trigger github ci, it's will allocating resouce instantly 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo <div dir="ltr"><br><br>On Thu, Sep 17, 2020 at 9:46 PM Peter Maydell <<a href="mailto:peter.maydell@linaro.org">peter.maydell@linaro.org</a>> wrote:<br>><br>> On Wed, 16 Sep 2020 at 12:47, Thomas Huth <<a href="mailto:thuth@redhat.com">thuth@redhat.com</a>> wrote:<br>> ><br>> > Hi Peter,<br>> ><br>> > the following changes since commit de39a045bd8d2b49e4f3d07976622c29d58e0bac:<br>> ><br>> > Merge remote-tracking branch 'remotes/kraxel/tags/vga-20200915-pull-request' into staging (2020-09-15 14:25:05 +0100)<br>> ><br>> > are available in the Git repository at:<br>> ><br>> > <a href="https://gitlab.com/huth/qemu.git">https://gitlab.com/huth/qemu.git</a> tags/pull-request-2020-09-16<br>> ><br>> > for you to fetch changes up to 114daec31d64600e5a070abcdb8de2cf74d01e94:<br>> ><br>> > cirrus: Building freebsd in a single shot (2020-09-16 12:15:07 +0200)<br>> ><br>> > ----------------------------------------------------------------<br>> > * Fix "readlink -f" problem in iotests on macOS (to fix the Cirrus-CI tests)<br>> > * Some minor qtest improvements<br>> > * Fix the unit tests to work on MSYS2, too<br>> > * Enable building and testing on MSYS2 in the Cirrus-CI<br>> > * Build FreeBSD with one task again in the Cirrus-CI<br>> > ----------------------------------------------------------------<br>><br>><br>> Applied, thanks.<br>><br>> Please update the changelog at <a href="https://wiki.qemu.org/ChangeLog/5.2">https://wiki.qemu.org/ChangeLog/5.2</a><br>> for any user-visible changes.<br>><br>> -- PMM<br><br>cirrus are too slow:<div>```</div><div><br>pm215 Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2…<br>…<br>5e0a8fd2 hours ago<br><br>Git stats<br><br> 80,622 commits<br>--</div><div><br></div><div>after two hours still not finished.</div><div><br></div><div>Github have far more hardware resources. except doesn't have freebsd.</div><div>When I using github with wind32, it's running around 1hour with full build(all target build).</div><div>That's because when trigger github ci, it's will allocating resouce instantly</div><div><br> 此致<br>礼<br>罗勇刚<br>Yours<br> sincerely,<br>Yonggang Luo</div></div>
On 17/09/2020 16.40, 罗勇刚(Yonggang Luo) wrote: > > > On Thu, Sep 17, 2020 at 9:46 PM Peter Maydell <peter.maydell@linaro.org > <mailto:peter.maydell@linaro.org>> wrote: >> >> On Wed, 16 Sep 2020 at 12:47, Thomas Huth <thuth@redhat.com > <mailto:thuth@redhat.com>> wrote: >> > >> > Hi Peter, >> > >> > the following changes since commit > de39a045bd8d2b49e4f3d07976622c29d58e0bac: >> > >> > Merge remote-tracking branch > 'remotes/kraxel/tags/vga-20200915-pull-request' into staging (2020-09-15 > 14:25:05 +0100) >> > >> > are available in the Git repository at: >> > >> > https://gitlab.com/huth/qemu.git tags/pull-request-2020-09-16 >> > >> > for you to fetch changes up to 114daec31d64600e5a070abcdb8de2cf74d01e94: >> > >> > cirrus: Building freebsd in a single shot (2020-09-16 12:15:07 +0200) >> > >> > ---------------------------------------------------------------- >> > * Fix "readlink -f" problem in iotests on macOS (to fix the > Cirrus-CI tests) >> > * Some minor qtest improvements >> > * Fix the unit tests to work on MSYS2, too >> > * Enable building and testing on MSYS2 in the Cirrus-CI >> > * Build FreeBSD with one task again in the Cirrus-CI >> > ---------------------------------------------------------------- >> >> >> Applied, thanks. >> >> Please update the changelog at https://wiki.qemu.org/ChangeLog/5.2 >> for any user-visible changes. >> >> -- PMM > > cirrus are too slow: > ``` > > pm215 Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2… > … > 5e0a8fd2 hours ago > > Git stats > > 80,622 commits > -- > > after two hours still not finished. It now finished successfully: https://cirrus-ci.com/task/6178816496238592 Sometimes you just have to be a little bit patient :-) Thomas
On Wed, 16 Sep 2020 at 12:47, Thomas Huth <thuth@redhat.com> wrote: > ---------------------------------------------------------------- > * Fix "readlink -f" problem in iotests on macOS (to fix the Cirrus-CI tests) > * Some minor qtest improvements > * Fix the unit tests to work on MSYS2, too > * Enable building and testing on MSYS2 in the Cirrus-CI > * Build FreeBSD with one task again in the Cirrus-CI > ---------------------------------------------------------------- After merging this one I tried installing GNU sed on my local box so it could run the iotests, but they fail like this because they assume readarray, which doesn't exist in OSX bash: --- /Users/pm215/src/qemu-for-merges/tests/qemu-iotests/001.out 2015-09-29 16:54:34.000000000 +0100 +++ /Users/pm215/src/qemu-for-merges/build/all/tests/qemu-iotests/001.out.bad 2020-09-17 15:03:22.000000000 +0100 @@ -1,5 +1,6 @@ QA output created by 001 -Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 +./common.filter: line 142: readarray: command not found +, fmt= thanks -- PMM
On 17/09/2020 17.14, Peter Maydell wrote: > On Wed, 16 Sep 2020 at 12:47, Thomas Huth <thuth@redhat.com> wrote: >> ---------------------------------------------------------------- >> * Fix "readlink -f" problem in iotests on macOS (to fix the Cirrus-CI tests) >> * Some minor qtest improvements >> * Fix the unit tests to work on MSYS2, too >> * Enable building and testing on MSYS2 in the Cirrus-CI >> * Build FreeBSD with one task again in the Cirrus-CI >> ---------------------------------------------------------------- > > After merging this one I tried installing GNU sed on my local > box so it could run the iotests, but they fail like this > because they assume readarray, which doesn't exist in > OSX bash Ok, sounds like I should respin my patch here: https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg04476.html ... and could you install a newer version of bash via homebrew on your system? Thomas
On Thu, 17 Sep 2020 at 16:29, Thomas Huth <thuth@redhat.com> wrote: > Ok, sounds like I should respin my patch here: > > https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg04476.html > > ... and could you install a newer version of bash via homebrew on your > system? I could in theory, but I don't really want to replace the system bash, because this machine is not solely there to run the QEMU tests. thanks -- PMM
On Thu, Sep 17, 2020 at 11:29 PM Thomas Huth <thuth@redhat.com> wrote: > > On 17/09/2020 17.14, Peter Maydell wrote: > > On Wed, 16 Sep 2020 at 12:47, Thomas Huth <thuth@redhat.com> wrote: > >> ---------------------------------------------------------------- > >> * Fix "readlink -f" problem in iotests on macOS (to fix the Cirrus-CI tests) > >> * Some minor qtest improvements > >> * Fix the unit tests to work on MSYS2, too > >> * Enable building and testing on MSYS2 in the Cirrus-CI > >> * Build FreeBSD with one task again in the Cirrus-CI > >> ---------------------------------------------------------------- > > > > After merging this one I tried installing GNU sed on my local > > box so it could run the iotests, but they fail like this > > because they assume readarray, which doesn't exist in > > OSX bash > Ok, sounds like I should respin my patch here: > > https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg04476.html > > ... and could you install a newer version of bash via homebrew on your > system? What's the reason to exclude these list on win32? That's didn't optimize the time much, and indeed they can be compiled. --target-list-exclude=i386-softmmu,arm-softmmu,ppc-softmmu,mips-softmmu" > > Thomas > -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo <div dir="ltr"><br><br>On Thu, Sep 17, 2020 at 11:29 PM Thomas Huth <<a href="mailto:thuth@redhat.com">thuth@redhat.com</a>> wrote:<br>><br>> On 17/09/2020 17.14, Peter Maydell wrote:<br>> > On Wed, 16 Sep 2020 at 12:47, Thomas Huth <<a href="mailto:thuth@redhat.com">thuth@redhat.com</a>> wrote:<br>> >> ----------------------------------------------------------------<br>> >> * Fix "readlink -f" problem in iotests on macOS (to fix the Cirrus-CI tests)<br>> >> * Some minor qtest improvements<br>> >> * Fix the unit tests to work on MSYS2, too<br>> >> * Enable building and testing on MSYS2 in the Cirrus-CI<br>> >> * Build FreeBSD with one task again in the Cirrus-CI<br>> >> ----------------------------------------------------------------<br>> ><br>> > After merging this one I tried installing GNU sed on my local<br>> > box so it could run the iotests, but they fail like this<br>> > because they assume readarray, which doesn't exist in<br>> > OSX bash<br>> Ok, sounds like I should respin my patch here:<br>><br>> <a href="https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg04476.html">https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg04476.html</a><br>><br>> ... and could you install a newer version of bash via homebrew on your<br>> system?<div>What's the reason to exclude these list on win32? That's didn't optimize the time much, and indeed they can be <br>compiled.<br>--target-list-exclude=i386-softmmu,arm-softmmu,ppc-softmmu,mips-softmmu"<br><br>></div><div>> Thomas<br>><br><br><br>--<br> 此致<br>礼<br>罗勇刚<br>Yours<br> sincerely,<br>Yonggang Luo</div></div>
On 17/09/2020 18.33, 罗勇刚(Yonggang Luo) wrote: > > > On Thu, Sep 17, 2020 at 11:29 PM Thomas Huth <thuth@redhat.com > <mailto:thuth@redhat.com>> wrote: >> >> On 17/09/2020 17.14, Peter Maydell wrote: >> > On Wed, 16 Sep 2020 at 12:47, Thomas Huth <thuth@redhat.com > <mailto:thuth@redhat.com>> wrote: >> >> ---------------------------------------------------------------- >> >> * Fix "readlink -f" problem in iotests on macOS (to fix the > Cirrus-CI tests) >> >> * Some minor qtest improvements >> >> * Fix the unit tests to work on MSYS2, too >> >> * Enable building and testing on MSYS2 in the Cirrus-CI >> >> * Build FreeBSD with one task again in the Cirrus-CI >> >> ---------------------------------------------------------------- >> > >> > After merging this one I tried installing GNU sed on my local >> > box so it could run the iotests, but they fail like this >> > because they assume readarray, which doesn't exist in >> > OSX bash >> Ok, sounds like I should respin my patch here: >> >> https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg04476.html >> >> ... and could you install a newer version of bash via homebrew on your >> system? > What's the reason to exclude these list on win32? That's didn't optimize > the time much, and indeed they can be > compiled. > --target-list-exclude=i386-softmmu,arm-softmmu,ppc-softmmu,mips-softmmu" The total run time of the job is already 50 minutes, so I was afraid that it would hit the 1h time limit otherwise. The targets that are excluded are just subsets of other targets, e.g. i386-softmmu is a subset of x86_64-softmmu, so we don't lose much test coverage by excluding them. Thomas
On 17/09/2020 17.30, Peter Maydell wrote: > On Thu, 17 Sep 2020 at 16:29, Thomas Huth <thuth@redhat.com> wrote: >> Ok, sounds like I should respin my patch here: >> >> https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg04476.html >> >> ... and could you install a newer version of bash via homebrew on your >> system? > > I could in theory, but I don't really want to replace the system bash, > because this machine is not solely there to run the QEMU tests. Would it maybe be possible to install it in a different location, and only use it for your merge tests? Thomas