Skip to contentSkip to conversation

ci: Upgrade msys2 release to 20220603

PATCH In review Yonggang Luo 6 participants 10 messages Jul 28, 2022 – Aug 23, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ci: Upgrade msys2 release to 20220603

---
 .cirrus.yml              | 2 +-
 .gitlab-ci.d/windows.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
.cirrus.yml +1 -1
index 20843a420c..4ffef6105b 100644
@@ -12,7 +12,7 @@ windows_msys2_task:
     CIRRUS_SHELL: powershell
     MSYS: winsymlinks:nativestrict
     MSYSTEM: MINGW64
-    MSYS2_URL: https://github.com/msys2/msys2-installer/releases/download/2022-05-03/msys2-base-x86_64-20220503.sfx.exe
+    MSYS2_URL: https://github.com/msys2/msys2-installer/releases/download/2022-06-03/msys2-base-x86_64-20220603.sfx.exe
     MSYS2_FINGERPRINT: 0
     MSYS2_PACKAGES: "
       diffutils git grep make pkg-config sed
.gitlab-ci.d/windows.yml +1 -1
index 1b2ede49e1..da80fabe2c 100644
@@ -17,7 +17,7 @@
     }
   - If ( !(Test-Path -Path msys64\var\cache\msys2.exe ) ) {
       Invoke-WebRequest
-      "https://github.com/msys2/msys2-installer/releases/download/2022-05-03/msys2-base-x86_64-20220503.sfx.exe"
+      "https://github.com/msys2/msys2-installer/releases/download/2022-06-03/msys2-base-x86_64-20220603.sfx.exe"
       -outfile "msys64\var\cache\msys2.exe"
     }
   - msys64\var\cache\msys2.exe -y
Signature · 1 line
2.36.1.windows.1
#1 lore raw

Seems this fixes the gitlab ci
I've running multiple times
https://gitlab.com/lygstate/qemu/-/jobs/2785244516
https://gitlab.com/lygstate/qemu/-/jobs/2785245299
all succeed.

Quoted 12 lines · Yonggang Luo
---
 .cirrus.yml              | 2 +-
 .gitlab-ci.d/windows.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
.cirrus.yml +0 -0
index 20843a420c..4ffef6105b 100644

.cirrus.yml windows_msys2_task: · line 15

Quoted 4 lines
.cirrus.yml +0 -1
@@ -12,7 +12,7 @@ windows_msys2_task:
     CIRRUS_SHELL: powershell
     MSYS: winsymlinks:nativestrict
     MSYSTEM: MINGW64
-    MSYS2_URL:

https://github.com/msys2/msys2-installer/releases/download/2022-05-03/msys2-base-x86_64-20220503.sfx.exe

.cirrus.yml windows_msys2_task: · line 15

Quoted 1 line
.cirrus.yml +1 -0
+    MSYS2_URL:

https://github.com/msys2/msys2-installer/releases/download/2022-06-03/msys2-base-x86_64-20220603.sfx.exe

.gitlab-ci.d/windows.yml line 20

Quoted 12 lines
.cirrus.yml +0 -0
     MSYS2_FINGERPRINT: 0
     MSYS2_PACKAGES: "
       diffutils git grep make pkg-config sed
.gitlab-ci.d/windows.yml +0 -1
index 1b2ede49e1..da80fabe2c 100644
@@ -17,7 +17,7 @@
     }
   - If ( !(Test-Path -Path msys64\var\cache\msys2.exe ) ) {
       Invoke-WebRequest
-      "

https://github.com/msys2/msys2-installer/releases/download/2022-05-03/msys2-base-x86_64-20220503.sfx.exe
"

.gitlab-ci.d/windows.yml line 20

Quoted 1 line
.gitlab-ci.d/windows.yml +1 -0
+      "

https://github.com/msys2/msys2-installer/releases/download/2022-06-03/msys2-base-x86_64-20220603.sfx.exe
"

Quoted 6 lines
.gitlab-ci.d/windows.yml +0 -1
       -outfile "msys64\var\cache\msys2.exe"
     }
   - msys64\var\cache\msys2.exe -y
--

2.36.1.windows.1

--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo

#5 lore raw

I have reason to think that's msys2-64 bit failed because out of memory

I tried to show the memory size of the windows docker, it's result are 6224352KB, that's less than 6GB?
https://gitlab.com/lygstate/qemu/-/jobs/2891399652

Can we increase the memory size to 16GB

Quoted 8 lines · Richard Henderson
Quoted 5 lines · Yonggang Luo
---
  .cirrus.yml              | 2 +-
  .gitlab-ci.d/windows.yml | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 4 lines

Thanks. Applied to master as a hot-fix.

r~

--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo

#6 lore raw
Quoted 6 lines · 罗勇刚(Yonggang Luo)

I have reason to think that's msys2-64 bit failed because out of memory

I tried to show the memory size of the windows docker, it's result are 6224352KB, that's less than 6GB?
https://gitlab.com/lygstate/qemu/-/jobs/2891399652 <https://gitlab.com/lygstate/qemu/-/jobs/2891399652>

Can we increase the memory size to 16GB

I'm not aware of any way to increase the memory size for gitlab jobs ... Daniel, Alex, do you maybe know?

Thomas

#7 lore raw
Quoted 8 lines · Thomas Huth
Quoted 7 lines · 罗勇刚(Yonggang Luo)

I have reason to think that's msys2-64 bit failed because out of memory

I tried to show the memory size of the windows docker, it's result are 6224352KB, that's less than 6GB?
https://gitlab.com/lygstate/qemu/-/jobs/2891399652
<https://gitlab.com/lygstate/qemu/-/jobs/2891399652>

Quoted 4 lines
Quoted 1 line

Can we increase the memory size to 16GB

I'm not aware of any way to increase the memory size for gitlab jobs ... Daniel, Alex, do you maybe know?

I don't bvelieve there's any option

With regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#8 lore raw

After digging, it seems to be a memory issue, cirrus also uses 8gb, that's rather weird...

Quoted 4 lines · Daniel P. Berrangé
Quoted 2 lines · Thomas Huth
Quoted 1 line · 罗勇刚(Yonggang Luo)

I have reason to think that's msys2-64 bit failed because out of

memory

Quoted 11 lines
Quoted 10 lines
Quoted 7 lines

I tried to show the memory size of the windows docker, it's result are 6224352KB, that's less than 6GB?
https://gitlab.com/lygstate/qemu/-/jobs/2891399652
<https://gitlab.com/lygstate/qemu/-/jobs/2891399652>

Can we increase the memory size to 16GB

I'm not aware of any way to increase the memory size for gitlab jobs ... Daniel, Alex, do you maybe know?

Quoted 6 lines

I don't bvelieve there's any option

With regards,
Daniel
--
|: https://berrange.com -o-

https://www.flickr.com/photos/dberrange :|

Quoted 1 line

|: https://libvirt.org -o-

https://fstop138.berrange.com :|

Quoted 1 line

|: https://entangle-photo.org -o-

https://www.instagram.com/dberrange :|

Quoted 1 line

--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo

#9 lore raw
Quoted 1 line · 罗勇刚(Yonggang Luo)

After digging, it seems to be a memory issue, cirrus also uses 8gb, that's rather weird...

If it's a memory issue, it might help to remove the "-j2" from the invocation of "make", so that only one file is compiled at once...?

Thomas