Message ID | 20180807183645.GR2540@plex.lan |
---|---|
State | Not Applicable |
Headers | show |
Series | [ovs-dev] DNS async resolve breaks testsuite if no resolv.conf | expand |
Bleep bloop. Greetings Flavio Leitner, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: ERROR: No signatures found. WARNING: Line is 95 characters long (recommended limit is 79) #90 FILE: builddir/build/BUILD/ovs-7a78d1c1ad73ae6f8f07d91021b71f8d8a4848d6/tests/testsuite.dir/at-groups/1024/stdout:90: 2018-08-07T17:56:33Z|00001|dns_resolve|WARN|Failed to read /etc/resolv.conf: error reading file Lines checked: 94, Warnings: 1, Errors: 1 build: /bin/sh /var/lib/jenkins/jobs/upstream_build_from_pw/workspace/build-aux/missing autom4te --language=autotest -I '.' -o tests/system-dpdk-testsuite.tmp tests/system-dpdk-testsuite.at mv tests/system-dpdk-testsuite.tmp tests/system-dpdk-testsuite \ { sed -n -e '/%AUTHORS%/q' -e p < ./debian/copyright.in; \ sed '34,/^$/d' ./AUTHORS.rst | \ sed -n -e '/^$/q' -e 's/^/ /p'; \ sed -e '34,/%AUTHORS%/d' ./debian/copyright.in; \ } > debian/copyright (printf '\043 Generated automatically -- do not modify! -*- buffer-read-only: t -*-\n' && sed -e 's,[@]VERSION[@],2.10.90,g') < ./rhel/openvswitch-dkms.spec.in > openvswitch-dkms.spec.tmp || exit 1; if cmp -s openvswitch-dkms.spec.tmp rhel/openvswitch-dkms.spec; then touch rhel/openvswitch-dkms.spec; rm openvswitch-dkms.spec.tmp; else mv openvswitch-dkms.spec.tmp rhel/openvswitch-dkms.spec; fi (printf '\043 Generated automatically -- do not modify! -*- buffer-read-only: t -*-\n' && sed -e 's,[@]VERSION[@],2.10.90,g') < ./rhel/kmod-openvswitch-rhel6.spec.in > kmod-openvswitch-rhel6.spec.tmp || exit 1; if cmp -s kmod-openvswitch-rhel6.spec.tmp rhel/kmod-openvswitch-rhel6.spec; then touch rhel/kmod-openvswitch-rhel6.spec; rm kmod-openvswitch-rhel6.spec.tmp; else mv kmod-openvswitch-rhel6.spec.tmp rhel/kmod-openvswitch-rhel6.spec; fi (printf '\043 Generated automatically -- do not modify! -*- buffer-read-only: t -*-\n' && sed -e 's,[@]VERSION[@],2.10.90,g') < ./rhel/openvswitch-kmod-fedora.spec.in > openvswitch-kmod-fedora.spec.tmp || exit 1; if cmp -s openvswitch-kmod-fedora.spec.tmp rhel/openvswitch-kmod-fedora.spec; then touch rhel/openvswitch-kmod-fedora.spec; rm openvswitch-kmod-fedora.spec.tmp; else mv openvswitch-kmod-fedora.spec.tmp rhel/openvswitch-kmod-fedora.spec; fi (printf '\043 Generated automatically -- do not modify! -*- buffer-read-only: t -*-\n' && sed -e 's,[@]VERSION[@],2.10.90,g') < ./rhel/openvswitch.spec.in > openvswitch.spec.tmp || exit 1; if cmp -s openvswitch.spec.tmp rhel/openvswitch.spec; then touch rhel/openvswitch.spec; rm openvswitch.spec.tmp; else mv openvswitch.spec.tmp rhel/openvswitch.spec; fi (printf '\043 Generated automatically -- do not modify! -*- buffer-read-only: t -*-\n' && sed -e 's,[@]VERSION[@],2.10.90,g') < ./rhel/openvswitch-fedora.spec.in > openvswitch-fedora.spec.tmp || exit 1; if cmp -s openvswitch-fedora.spec.tmp rhel/openvswitch-fedora.spec; then touch rhel/openvswitch-fedora.spec; rm openvswitch-fedora.spec.tmp; else mv openvswitch-fedora.spec.tmp rhel/openvswitch-fedora.spec; fi (printf '\043 Generated automatically -- do not modify! -*- buffer-read-only: t -*-\n' && sed -e 's,[@]VERSION[@],2.10.90,g') \ < ./xenserver/openvswitch-xen.spec.in > openvswitch-xen.spec.tmp || exit 1; \ if cmp -s openvswitch-xen.spec.tmp xenserver/openvswitch-xen.spec; then touch xenserver/openvswitch-xen.spec; rm openvswitch-xen.spec.tmp; else mv openvswitch-xen.spec.tmp xenserver/openvswitch-xen.spec; fi make[3]: Entering directory `/var/lib/jenkins/jobs/upstream_build_from_pw/workspace/datapath' make[3]: Leaving directory `/var/lib/jenkins/jobs/upstream_build_from_pw/workspace/datapath' The following files are in git but not the distribution: builddir/build/BUILD/ovs-7a78d1c1ad73ae6f8f07d91021b71f8d8a4848d6/tests/testsuite.dir/at-groups/1024/stdout make[2]: *** [dist-hook-git] Error 1 make[2]: Leaving directory `/var/lib/jenkins/jobs/upstream_build_from_pw/workspace' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/lib/jenkins/jobs/upstream_build_from_pw/workspace' make: *** [all] Error 2 Please check this out. If you feel there has been an error, please email aconole@bytheb.org Thanks, 0-day Robot
On Tue, Aug 07, 2018 at 03:36:45PM -0300, Flavio Leitner wrote: > My test system and build system doesn't have /etc/resolv.conf file > and then a warning is printed which breaks a number of tests in > master and branch-2.10. > > Looks like unbound comes with hardcoded root servers list which could > be the fallback in case of no /etc/resolv.conf, so that message would > be an INFO and could be ignored by the testsuite. > > What do you think? It's easy enough to fix: https://patchwork.ozlabs.org/patch/954665/ Do we need a similar fix for reading /etc/hosts? Thanks, Ben.
On Tue, Aug 07, 2018 at 12:41:03PM -0700, Ben Pfaff wrote: > On Tue, Aug 07, 2018 at 03:36:45PM -0300, Flavio Leitner wrote: > > My test system and build system doesn't have /etc/resolv.conf file > > and then a warning is printed which breaks a number of tests in > > master and branch-2.10. > > > > Looks like unbound comes with hardcoded root servers list which could > > be the fallback in case of no /etc/resolv.conf, so that message would > > be an INFO and could be ignored by the testsuite. > > > > What do you think? > > It's easy enough to fix: > https://patchwork.ozlabs.org/patch/954665/ Thanks will have a look. > Do we need a similar fix for reading /etc/hosts? I think /etc/hosts is always created with at least the localhost info.
On Tue, Aug 07, 2018 at 05:39:31PM -0300, Flavio Leitner wrote: > On Tue, Aug 07, 2018 at 12:41:03PM -0700, Ben Pfaff wrote: > > On Tue, Aug 07, 2018 at 03:36:45PM -0300, Flavio Leitner wrote: > > > My test system and build system doesn't have /etc/resolv.conf file > > > and then a warning is printed which breaks a number of tests in > > > master and branch-2.10. > > > > > > Looks like unbound comes with hardcoded root servers list which could > > > be the fallback in case of no /etc/resolv.conf, so that message would > > > be an INFO and could be ignored by the testsuite. > > > > > > What do you think? > > > > It's easy enough to fix: > > https://patchwork.ozlabs.org/patch/954665/ > > Thanks will have a look. > > > Do we need a similar fix for reading /etc/hosts? > > I think /etc/hosts is always created with at least the localhost info. OK, thanks.
--- /dev/null 2018-08-07 17:51:09.647040889 +0000 +++ /builddir/build/BUILD/ovs-7a78d1c1ad73ae6f8f07d91021b71f8d8a4848d6/tests/testsuite.dir/at-groups/1024/stdout 2018-08-07 17:56:33.547867577 +0000 @@ -0,0 +1 @@ +2018-08-07T17:56:33Z|00001|dns_resolve|WARN|Failed to read /etc/resolv.conf: error reading file