automation: git clean between builds
PATCH 1/1 automation: git clean between builds
Currently randconfig tests are more likely to fail than to succeed because of a bug in xen's build system: symbols-dummy.o's dependency is wrong, which causes it to not get rebuild between runs, which eventually causes linking to fail. There may also be other corner cases we haven't discovered.
The fix is not straightforward. For now, make sure the tree is cleaned properly between builds so we don't see random failures in Gitlab CI.
--- automation/scripts/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
automation/scripts/build +1 -1
@@ -42,7 +42,7 @@ esac cfg_dir="automation/configs/${arch}" for cfg in `ls ${cfg_dir}`; do echo "Building $cfg" - rm -f xen/.config + git clean -fdxq make -C xen KBUILD_DEFCONFIG=../../../../${cfg_dir}/${cfg} XEN_CONFIG_EXPERT=y defconfig make -j$(nproc) -C xen XEN_CONFIG_EXPERT=y done
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 9 lines · Wei Liu
Currently randconfig tests are more likely to fail than to succeed because of a bug in xen's build system: symbols-dummy.o's dependency is wrong, which causes it to not get rebuild between runs, which eventually causes linking to fail. There may also be other corner cases we haven't discovered.
Quoted 5 lines
The fix is not straightforward. For now, make sure the tree is cleaned properly between builds so we don't see random failures in Gitlab CI.
Signed-off-by Wei Liu <[email protected]>
Sounds good as a fix for now to get us going.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 12 lines · Doug Goldstein
Quoted 12 lines · Wei Liu
Currently randconfig tests are more likely to fail than to succeed because of a bug in xen's build system: symbols-dummy.o's dependency is wrong, which causes it to not get rebuild between runs, which eventually causes linking to fail. There may also be other corner cases we haven't discovered.
The fix is not straightforward. For now, make sure the tree is cleaned properly between builds so we don't see random failures in Gitlab CI.
Quoted 6 lines
Quoted 2 lines
Signed-off-by Wei Liu <[email protected]>Sounds good as a fix for now to get us going.
Acked-by Doug Goldstein <[email protected]>
I think I will need to switch from git clean to make clean to avoid wiping out all the artifacts. Does your ack still stand?
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 19 lines · Wei Liu
Quoted 17 lines · Doug Goldstein
Quoted 14 lines · Wei Liu
Currently randconfig tests are more likely to fail than to succeed because of a bug in xen's build system: symbols-dummy.o's dependency is wrong, which causes it to not get rebuild between runs, which eventually causes linking to fail. There may also be other corner cases we haven't discovered.
The fix is not straightforward. For now, make sure the tree is cleaned properly between builds so we don't see random failures in Gitlab CI.
Signed-off-by Wei Liu <[email protected]>
Quoted 8 lines
Quoted 3 lines
Sounds good as a fix for now to get us going.
Acked-by Doug Goldstein <[email protected]>I think I will need to switch from git clean to make clean to avoid wiping out all the artifacts. Does your ack still stand?
Wei.
Yes.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel