The fix to this is simple - setup.py needs to install the python3-dpkt package, not python-dpkt. Will push a patch now.
-- Nadav Har'El [email protected] On Mon, Feb 24, 2020 at 4:48 AM <[email protected]> wrote: > See < > https://jenkins.scylladb.com/job/osv-build/1569/display/redirect?page=changes > > > > Changes: > > [jwkozaczuk] scripts: upgrade to python 3 - part 3 > > [jwkozaczuk] scripts: enhance run.py to allow running OSv on arm > > > ------------------------------------------ > [...truncated 93.01 KB...] > Adding /tests/ClassPutInRoot.class... > Adding /usr/lib/jvm/java/jre/lib/ext/tests-jre-extension.jar... > Adding /usr/lib/libtest_simple.so... > Adding /usr/lib/libtest_empty.so... > Adding /usr/lib/libtest_dlsym_from_this_grandchild.so... > Adding /usr/lib/libtest_dlsym_from_this_child.so... > Adding /usr/lib/libtest_dlsym_from_this.so... > Adding /usr/lib/libdlext_test.so... > Adding /usr/lib/libtest_with_dependency.so... > Adding /usr/lib/libtest_check_rtld_next_from_library.so... > Adding /tests/libtest_simple.so... > Adding /tests/libtest_empty.so... > Adding /tests/libtest_dlsym_from_this_grandchild.so... > Adding /tests/libtest_dlsym_from_this_child.so... > Adding /tests/libtest_dlsym_from_this.so... > Adding /tests/libdlext_test.so... > Adding /tests/libtest_with_dependency.so... > Adding /tests/libtest_check_rtld_next_from_library.so... > Adding /testrunner.so... > Adding /usr/lib/libboost_chrono.so.1.69.0... > Adding /usr/lib/libboost_filesystem.so.1.69.0... > Adding /usr/lib/libboost_system.so.1.69.0... > Adding /usr/lib/libboost_timer.so.1.69.0... > Adding /usr/lib/libboost_unit_test_framework.so.1.69.0... > Adding /tests/tst-pthread.so... > Adding /tests/misc-ramdisk.so... > Adding /tests/tst-vblk.so... > Adding /tests/tst-bsd-evh.so... > Adding /tests/misc-bsd-callout.so... > Adding /tests/tst-bsd-kthread.so... > Adding /tests/tst-bsd-taskqueue.so... > Adding /tests/tst-fpu.so... > Adding /tests/tst-preempt.so... > Adding /tests/tst-tracepoint.so... > Adding /tests/tst-hub.so... > Adding /tests/misc-console.so... > Adding /tests/misc-leak.so... > Adding /tests/misc-readbench.so... > Adding /tests/misc-mmap-anon-perf.so... > Adding /tests/tst-mmap-file.so... > Adding /tests/misc-mmap-big-file.so... > Adding /tests/tst-mmap.so... > Adding /tests/tst-huge.so... > Adding /tests/tst-elf-permissions.so... > Adding /tests/misc-mutex.so... > Adding /tests/misc-sockets.so... > Adding /tests/tst-condvar.so... > Adding /tests/tst-queue-mpsc.so... > Adding /tests/tst-af-local.so... > Adding /tests/tst-pipe.so... > Adding /tests/tst-yield.so... > Adding /tests/misc-ctxsw.so... > Adding /tests/tst-read.so... > Adding /tests/tst-symlink.so... > Adding /tests/tst-openat.so... > Adding /tests/tst-eventfd.so... > Adding /tests/tst-remove.so... > Adding /tests/misc-wake.so... > Adding /tests/tst-epoll.so... > Adding /tests/misc-lfring.so... > Adding /tests/misc-fsx.so... > Adding /tests/tst-sleep.so... > Adding /tests/tst-resolve.so... > Adding /tests/tst-except.so... > Adding /tests/misc-tcp-sendonly.so... > Adding /tests/tst-tcp-nbwrite.so... > Adding /tests/misc-tcp-hash-srv.so... > Adding /tests/misc-loadbalance.so... > Adding /tests/misc-scheduler.so... > Adding /tests/tst-console.so... > Adding /tests/tst-app.so... > Adding /tests/misc-setpriority.so... > Adding /tests/misc-timeslice.so... > Adding /tests/misc-tls.so... > Adding /tests/misc-gtod.so... > Adding /tests/tst-dns-resolver.so... > Adding /tests/tst-kill.so... > Adding /tests/tst-truncate.so... > Adding /tests/misc-panic.so... > Adding /tests/tst-utimes.so... > Adding /tests/tst-utimensat.so... > Adding /tests/tst-futimesat.so... > Adding /tests/misc-tcp.so... > Adding /tests/tst-strerror_r.so... > Adding /tests/misc-random.so... > Adding /tests/misc-urandom.so... > Adding /tests/tst-commands.so... > Adding /tests/tst-options.so... > Adding /tests/tst-threadcomplete.so... > Adding /tests/tst-timerfd.so... > Adding /tests/tst-nway-merger.so... > Adding /tests/tst-memmove.so... > Adding /tests/tst-pthread-clock.so... > Adding /tests/misc-procfs.so... > Adding /tests/tst-chdir.so... > Adding /tests/tst-chmod.so... > Adding /tests/tst-hello.so... > Adding /tests/misc-concurrent-io.so... > Adding /tests/tst-concurrent-init.so... > Adding /tests/tst-ring-spsc-wraparound.so... > Adding /tests/tst-shm.so... > Adding /tests/tst-align.so... > Adding /tests/tst-cxxlocale.so... > Adding /tests/misc-tcp-close-without-reading.so... > Adding /tests/tst-sigwait.so... > Adding /tests/tst-sampler.so... > Adding /tests/misc-malloc.so... > Adding /tests/misc-memcpy.so... > Adding /tests/misc-free-perf.so... > Adding /tests/misc-printf.so... > Adding /tests/tst-hostname.so... > Adding /tests/tst-sendfile.so... > Adding /tests/misc-lock-perf.so... > Adding /tests/tst-uio.so... > Adding /tests/tst-printf.so... > Adding /tests/tst-pthread-affinity.so... > Adding /tests/tst-pthread-tsd.so... > Adding /tests/tst-thread-local.so... > Adding /tests/tst-zfs-mount.so... > Adding /tests/tst-regex.so... > Adding /tests/tst-tcp-siocoutq.so... > Adding /tests/libtls.so... > Adding /tests/libtls_gold.so... > Adding /tests/tst-tls.so... > Adding /tests/tst-tls-gold.so... > Adding /tests/tst-tls-pie.so... > Adding /tests/tst-select-timeout.so... > Adding /tests/tst-faccessat.so... > Adding /tests/tst-fstatat.so... > Adding /tests/misc-reboot.so... > Adding /tests/tst-fcntl.so... > Adding /tests/payload-namespace.so... > Adding /tests/tst-namespace.so... > Adding /tests/tst-without-namespace.so... > Adding /tests/payload-env.so... > Adding /tests/payload-merge-env.so... > Adding /tests/misc-execve.so... > Adding /tests/misc-execve-payload.so... > Adding /tests/misc-mutex2.so... > Adding /tests/tst-pthread-setcancelstate.so... > Adding /tests/tst-syscall.so... > Adding /tests/tst-pin.so... > Adding /tests/tst-run.so... > Adding /tests/tst-ifaddrs.so... > Adding /tests/tst-pthread-affinity-inherit.so... > Adding /tests/tst-sem-timed-wait.so... > Adding /tests/tst-ttyname.so... > Adding /tests/tst-pthread-barrier.so... > Adding /tests/tst-feexcept.so... > Adding /tests/tst-math.so... > Adding /tests/tst-sigaltstack.so... > Adding /tests/tst-fread.so... > Adding /tests/tst-tcp-cork.so... > Adding /tests/tst-tcp-v6.so... > Adding /tests/tst-calloc.so... > Adding /tests/tst-crypt.so... > Adding /tests/tst-non-fpic.so... > Adding /tests/tst-small-malloc.so... > Adding /tests/tst-mmx-fpu.so... > Adding /tests/tst-getopt.so... > Adding /tests/tst-getopt-pie.so... > Adding /tests/tst-non-pie.so... > Adding /tests/tst-semaphore.so... > Adding /tests/tst-elf-init.so... > Adding /tests/testrunner.so... > Adding /tests/tst-vfs.so... > Adding /tests/tst-libc-locking.so... > Adding /tests/misc-fs-stress.so... > Adding /tests/misc-bdev-write.so... > Adding /tests/misc-bdev-wlatency.so... > Adding /tests/misc-bdev-rw.so... > Adding /tests/tst-promise.so... > Adding /tests/tst-dlfcn.so... > Adding /tests/tst-stat.so... > Adding /tests/tst-wait-for.so... > Adding /tests/tst-bsd-tcp1.so... > Adding /tests/tst-bsd-tcp1-zsnd.so... > Adding /tests/tst-bsd-tcp1-zrcv.so... > Adding /tests/tst-bsd-tcp1-zsndrcv.so... > Adding /tests/tst-async.so... > Adding /tests/tst-rcu-list.so... > Adding /tests/tst-tcp-listen.so... > Adding /tests/tst-poll.so... > Adding /tests/tst-bitset-iter.so... > Adding /tests/tst-timer-set.so... > Adding /tests/tst-clock.so... > Adding /tests/tst-rcu-hashtable.so... > Adding /tests/tst-unordered-ring-mpsc.so... > Adding /tests/tst-seek.so... > Adding /tests/tst-rename.so... > Adding /tests/tst-solaris-taskq.so... > Adding /tests/misc-zfs-io.so... > Adding /tests/tst-readdir.so... > Adding /tests/tst-fallocate.so... > Adding /tests/tst-fs-link.so... > Adding /tests/tst-concurrent-read.so... > Adding /tmp/mmap-file-test1... > Adding /tmp/mmap-file-test2... > cpiod finished > + cd <https://jenkins.scylladb.com/job/osv-build/ws/> > + exec ./scripts/test.py > TEST java-perms OK (1.434 s) > TEST java_isolated OK (1.587 s) > TEST java_no_wrapper OK (1.348 s) > TEST java_non_isolated OK (1.457 s) > TEST tcp_close_without_reading_on_firecracker SKIPPED > TEST tcp_close_without_reading_on_qemu OK (1.286 s) > TEST tracing_smoke_test Traceback (most recent call > last): > File "< > https://jenkins.scylladb.com/job/osv-build/ws/scripts/tests/../../scripts/trace.py",> > line 300, in needs_dpkt > import dpkt > ModuleNotFoundError: No module named 'dpkt' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "< > https://jenkins.scylladb.com/job/osv-build/ws/scripts/tests/../../scripts/trace.py",> > line 804, in <module> > args.func(args) > File "< > https://jenkins.scylladb.com/job/osv-build/ws/scripts/tests/../../scripts/trace.py",> > line 382, in tcpdump > pcap_dump(args, target=proc.stdin) > File "< > https://jenkins.scylladb.com/job/osv-build/ws/scripts/tests/../../scripts/trace.py",> > line 364, in pcap_dump > needs_dpkt() > File "< > https://jenkins.scylladb.com/job/osv-build/ws/scripts/tests/../../scripts/trace.py",> > line 302, in needs_dpkt > raise Exception("""Cannot import dpkt. Please install 'python-dpkt' > system package.""") > Exception: Cannot import dpkt. Please install 'python-dpkt' system package. > Test tracing_smoke_test FAILED > Traceback (most recent call last): > File "<https://jenkins.scylladb.com/job/osv-build/ws/scripts/test.py",> > line 210, in <module> > main() > File "<https://jenkins.scylladb.com/job/osv-build/ws/scripts/test.py",> > line 187, in main > run_tests() > File "<https://jenkins.scylladb.com/job/osv-build/ws/scripts/test.py",> > line 178, in run_tests > run(tests_to_run) > File "<https://jenkins.scylladb.com/job/osv-build/ws/scripts/test.py",> > line 98, in run > run_test(test) > File "<https://jenkins.scylladb.com/job/osv-build/ws/scripts/test.py",> > line 73, in run_test > test.run() > File "< > https://jenkins.scylladb.com/job/osv-build/ws/scripts/tests/testing.py",> > line 52, in run > self.f() > File "< > https://jenkins.scylladb.com/job/osv-build/ws/scripts/tests/test_tracing.py",> > line 47, in tracing_smoke_test > tcpdump = subprocess.check_output([trace_script, 'tcpdump']).decode() > File "/usr/lib64/python3.7/subprocess.py", line 411, in check_output > **kwargs).stdout > File "/usr/lib64/python3.7/subprocess.py", line 512, in run > output=stdout, stderr=stderr) > subprocess.CalledProcessError: Command '['< > https://jenkins.scylladb.com/job/osv-build/ws/scripts/tests/../../scripts/trace.py',> > 'tcpdump']' returned non-zero exit status 1. > make: *** [Makefile:142: check] Error 1 > Build step 'Execute shell' marked build as failure > IRC notifier plugin: Sending notification to: #osv > Not sending mail to user [email protected] with no permission to view > osv-build #1569 > > -- > You received this message because you are subscribed to the Google Groups > "OSv Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/osv-dev/651954148.880.1582512500183.JavaMail.jenkins%40jenkins.cloudius-systems.com > . > -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/CANEVyjuEVxu0uvWq%3DSQYB9eCPtSQf_dYLUvEYbMk-0Ev2kPtng%40mail.gmail.com.
