Skip to contentSkip to conversation

Problem checking out submodules

Qemu-devel Lucas Meneghel Rodrigues 3 participants 7 messages Oct 1, 2013 – Oct 2, 2013

lore
Share & tools
lore
#0 lore raw

Hello:

In the daily qemu.git autotest run, I started to see the following problem while checking out the qemu.git tree and checking out the submodules:

Quoted 21 lines
$ git submodule update
Submodule path 'dtc': checked out 'bc895d6d09695d05ceb8b52486ffe861d6cfbdde'
Submodule path 'pixman': checked out '97336fad32acf802003855cd8bd6477fa49a12e3'
Submodule path 'roms/SLOF': checked out '8cfdfc43f4c4c8c8dfa4b7cf16f7c19c84eee812'
Submodule path 'roms/ipxe': checked out '09c5109b8585178172c7608de8d52e9d9af0b680'
Submodule path 'roms/openbios': checked out '0f3d51ef22ec9166beb3ed434d253029ed7cfe84'
Submodule path 'roms/qemu-palcode': checked out 'c87a92639b28ac42bc8f6c67443543b405dc479b'
Cloning into 'roms/seabios'...
remote: Counting objects: 9706, done.
remote: Compressing objects: 100% (2392/2392), done.
remote: Total 9706 (delta 7753), reused 9244 (delta 7308)
Receiving objects: 100% (9706/9706), 2.26 MiB | 220.00 KiB/s, done.
Resolving deltas: 100% (7753/7753), done.
fatal: reference is not a tree: ece025f5980bae88fa677bc9c0d24d2e580e205d
Cloning into 'roms/sgabios'...
remote: Counting objects: 24, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 24 (delta 8), reused 0 (delta 0)
Receiving objects: 100% (24/24), 44.33 KiB | 0 bytes/s, done.
Resolving deltas: 100% (8/8), done.
Submodule path 'roms/sgabios': checked out '23d474943dcd55d0550a3d20b3d30e9040a4f15b'
Quoted 8 lines
Cloning into 'roms/vgabios'...
remote: Counting objects: 1281, done.
remote: Compressing objects: 100% (381/381), done.
remote: Total 1281 (delta 898), reused 1281 (delta 898)
Receiving objects: 100% (1281/1281), 762.30 KiB | 172.00 KiB/s, done.
Resolving deltas: 100% (898/898), done.
Submodule path 'roms/vgabios': checked out '19ea12c230ded95928ecaef0db47a82231c2e485'
Unable to checkout 'ece025f5980bae88fa677bc9c0d24d2e580e205d' in submodule path 'roms/seabios'

Top commit:

Quoted 5 lines

commit a684f3cf9b9b9c3cb82be87aafc463de8974610c
Merge: 349cd52 1cf9412
Author: Anthony Liguori <[email protected]>
Date: Mon Sep 30 17:15:27 2013 -0500

Quoted 8 lines

Merge remote-tracking branch 'kraxel/seabios-1.7.3.2' into staging

# By Gerd Hoffmann
# Via Gerd Hoffmann
* kraxel/seabios-1.7.3.2:
update seabios from 1.7.2.2 to 1.7.3.2

Message-id: [email protected]

Can someone please take a look at fixing this? Thanks!

Lucas

#1 lore raw
Quoted 11 lines · [email protected] writes:

Hello:

In the daily qemu.git autotest run, I started to see the following problem while checking out the qemu.git tree and checking out the submodules:

Quoted 5 lines
$ git submodule update
<snip>
fatal: reference is not a tree: ece025f5980bae88fa677bc9c0d24d2e580e205d
<snip>
Unable to checkout 'ece025f5980bae88fa677bc9c0d24d2e580e205d' in submodule path 'roms/seabios'

It looks like a recent commit to update the version of SeaBIOS used broke the build as the qemu mirror hasn't been updated yet. You can work around it for now by patching .gitmodules:

commit 7149af13dd5600b27dac90235e60ff91d0468636

Author: Alex Bennée <[email protected]>
Date:   Tue Oct 1 16:51:38 2013 +0100

.gitmodules: use upstream SeaBIOS repo to fix submodule init

Currently master is broken as the wanted commit doesn't exist in qemu's mirror of SeaBIOS.

.gitmodules +1 -1
index d7e3f3c..d5d5417 100644
@@ -3,7 +3,7 @@
        url = git://git.qemu.org/vgabios.git/
 [submodule "roms/seabios"]
        path = roms/seabios
-       url = git://git.qemu.org/seabios.git/
+       url = git://git.seabios.org/seabios.git
 [submodule "roms/SLOF"]
        path = roms/SLOF
        url = git://git.qemu.org/SLOF.git
Signature · 1 line
Alex Bennée
#2 lore raw
Quoted 15 lines · Alex Bennée
Quoted 11 lines · [email protected] writes:

Hello:

In the daily qemu.git autotest run, I started to see the following problem while checking out the qemu.git tree and checking out the submodules:

Quoted 5 lines
$ git submodule update
<snip>
fatal: reference is not a tree: ece025f5980bae88fa677bc9c0d24d2e580e205d
<snip>
Unable to checkout 'ece025f5980bae88fa677bc9c0d24d2e580e205d' in submodule path 'roms/seabios'
Quoted 3 lines

It looks like a recent commit to update the version of SeaBIOS used broke the build as the qemu mirror hasn't been updated yet. You can work around it for now by patching .gitmodules:

Ok, thanks for the explanation. Local patching is not really a scalable option when performing automated testing though. I'll keep the daily job running, and when the mirror is updated, the failures will stop.

Cheers,

Lucas

#3 lore raw
Quoted 9 lines · [email protected] writes:
Quoted 8 lines · Alex Bennée
Quoted 5 lines · [email protected] writes:

Hello:

In the daily qemu.git autotest run, I started to see the following problem while checking out the qemu.git tree and checking out the submodules:

Oh I just noticed that. Is this Stefan's buildbot stuff or an internal auto-test set-up? I only ask because I noticed this while testing my Travis patches. I'm trying to get a feel for what CI type tasks are running in QEMU world, both public and internal to companies.

Quoted 8 lines
Quoted 4 lines

It looks like a recent commit to update the version of SeaBIOS used broke the build as the qemu mirror hasn't been updated yet. You can work around it for now by patching .gitmodules:

Ok, thanks for the explanation. Local patching is not really a scalable option when performing automated testing though. I'll keep the daily job running, and when the mirror is updated, the failures will stop.

I'll be submitting a patch tomorrow when I post the next version of the Travis patches up to the mailing list.

Signature · 1 line
Alex Bennée
#4 lore raw
Quoted 9 lines · Alex Bennée
Quoted 6 lines · [email protected] writes:
Quoted 5 lines · Alex Bennée
Quoted 2 lines · [email protected] writes:

Hello:

Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

In the daily qemu.git autotest run, I started to see the following problem while checking out the qemu.git tree and checking out the submodules:

Oh I just noticed that. Is this Stefan's buildbot stuff or an internal auto-test set-up? I only ask because I noticed this while testing my Travis patches. I'm trying to get a feel for what CI type tasks are running in QEMU world, both public and internal to companies.

That's an internal autotest test grid. Once a day we check the latest qemu master and run sort of a smoke style test job, although it's not so, 'smoky', since it takes about a couple of hours to run. Tests covered:

1) Installing Fedora 19 on a host
2) git clone the latest master
3) Install a RHEL 6.4 guest from kickstart
4) Basic boot, reboot, single host migration using tcp, unix socket, fd and exec migration
5) Install a Windows 7 guest from an unattended XML, using the latest virtio drivers that our windows drivers team releases.
6) Perform the same tests outlined in 4)

I hope it gives you a better idea of what's going on.

#5 lore raw
In reply to Lucas Meneghel Rodrigues

Should be better now.

Regards,

Anthony Liguori

Quoted 69 lines · Lucas Meneghel Rodrigues

Hello:

In the daily qemu.git autotest run, I started to see the following problem while checking out the qemu.git tree and checking out the submodules:

 $ git submodule update
Quoted 30 lines

Submodule path 'dtc': checked out '**bc895d6d09695d05ceb8b52486ffe8** 61d6cfbdde'
Submodule path 'pixman': checked out '**97336fad32acf802003855cd8bd647** 7fa49a12e3'
Submodule path 'roms/SLOF': checked out '**8cfdfc43f4c4c8c8dfa4b7cf16f7c1 **9c84eee812'
Submodule path 'roms/ipxe': checked out '**09c5109b8585178172c7608de8d52e **9d9af0b680'
Submodule path 'roms/openbios': checked out '** 0f3d51ef22ec9166beb3ed434d2530**29ed7cfe84'
Submodule path 'roms/qemu-palcode': checked out '** c87a92639b28ac42bc8f6c67443543**b405dc479b'
Cloning into 'roms/seabios'...
remote: Counting objects: 9706, done.
remote: Compressing objects: 100% (2392/2392), done.
remote: Total 9706 (delta 7753), reused 9244 (delta 7308) Receiving objects: 100% (9706/9706), 2.26 MiB | 220.00 KiB/s, done. Resolving deltas: 100% (7753/7753), done.
fatal: reference is not a tree: ece025f5980bae88fa677bc9c0d24d** 2e580e205d
Cloning into 'roms/sgabios'...
remote: Counting objects: 24, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 24 (delta 8), reused 0 (delta 0)
Receiving objects: 100% (24/24), 44.33 KiB | 0 bytes/s, done. Resolving deltas: 100% (8/8), done.
Submodule path 'roms/sgabios': checked out '** 23d474943dcd55d0550a3d20b3d30e**9040a4f15b'
Cloning into 'roms/vgabios'...
remote: Counting objects: 1281, done.

Quoted 9 lines

remote: Compressing objects: 100% (381/381), done.
remote: Total 1281 (delta 898), reused 1281 (delta 898) Receiving objects: 100% (1281/1281), 762.30 KiB | 172.00 KiB/s, done. Resolving deltas: 100% (898/898), done.
Submodule path 'roms/vgabios': checked out '** 19ea12c230ded95928ecaef0db47a8**2231c2e485'
Unable to checkout '**ece025f5980bae88fa677bc9c0d24d**2e580e205d' in submodule path 'roms/seabios'

Top commit:

commit a684f3cf9b9b9c3cb82be87aafc463**de8974610c

Quoted 4 lines

Merge: 349cd52 1cf9412
Author: Anthony Liguori <[email protected]>
Date: Mon Sep 30 17:15:27 2013 -0500

Quoted 9 lines

Merge remote-tracking branch 'kraxel/seabios-1.7.3.2' into staging

# By Gerd Hoffmann
# Via Gerd Hoffmann
* kraxel/seabios-1.7.3.2:
update seabios from 1.7.2.2 to 1.7.3.2

Message-id: 1380533055-24960-1-git-send-**[email protected]<[email protected]>

Can someone please take a look at fixing this? Thanks!

Lucas