Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

umockdev: more tests broken #107420

Closed
flokli opened this issue Dec 22, 2020 · 5 comments
Closed

umockdev: more tests broken #107420

flokli opened this issue Dec 22, 2020 · 5 comments
Labels
0.kind: bug Something is broken

Comments

@flokli
Copy link
Contributor

flokli commented Dec 22, 2020

Describe the bug
I built current staging-next, and pulled in umockdev through fwupd.

umockdev fails to build, as some test is failing:

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/08gbngsl3ccrggrdk8hiphyd6da352ma-umockdev-0.13.1.tar.xz
source root is umockdev-0.13.1
setting SOURCE_DATE_EPOCH to timestamp 1563826449 of file umockdev-0.13.1/docs/reference/html/umockdev-umockdev-errors.html
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/shmi6nd45n794mz19nz0gm9qq1zx5jgl-fix-test-paths.patch
patching file tests/test-umockdev.c
applying patch /nix/store/mvbkjvbj2za5zgki42mv7qbgyqm22m64-disable-failed-test.patch
patching file tests/test-umockdev-vala.vala
applying patch /nix/store/r301hamis23wblr40y0fhk43fq8yigpq-ce22f893bf50de0b32760238a3e2cfb194db89e9.patch
patching file src/umockdev.vala
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
fixing libtool script ./build-aux/ltmain.sh
configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/lmdk8iyih3bpfj22hvfvb7fawv2gdmjf-umockdev-0.13.1 --bindir=/nix/store/0bljb7m95hbswxvgpgr8j810ygxmpy90-umockdev-0.13.1-bin/bin --sbindir=/nix/store/0bljb7m95hbswxvgpgr8j810ygxmpy90-umockdev-0.13.1-bin/sbin --includedir=/nix/store/pdz4bkc3sci92qibp528hbjbzygmy87j-umockdev-0.13.1-dev/include --oldincludedir=/nix/store/pdz4bkc3sci92qibp528hbjbzygmy87j-umockdev-0.13.1-dev/include --mandir=/nix/store/0bljb7m95hbswxvgpgr8j810ygxmpy90-umockdev-0.13.1-bin/share/man --infodir=/nix/store/0bljb7m95hbswxvgpgr8j810ygxmpy90-umockdev-0.13.1-bin/share/info --docdir=/nix/store/9r0dj04sgz86s6n6nv6ghyrzfnjcx1vz-umockdev-0.13.1-doc/share/doc/umockdev --libdir=/nix/store/lmdk8iyih3bpfj22hvfvb7fawv2gdmjf-umockdev-0.13.1/lib --libexecdir=/nix/store/lmdk8iyih3bpfj22hvfvb7fawv2gdmjf-umockdev-0.13.1/libexec --localedir=/nix/store/lmdk8iyih3bpfj22hvfvb7fawv2gdmjf-umockdev-0.13.1/share/locale
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking how to create a pax tar archive... gnutar
checking dependency style of gcc... none
checking for gcc option to accept ISO C99... none needed
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /nix/store/q3ppqi1npx3vnsdlk8hk9s4p3adc4ygp-gnused-4.8/bin/sed
checking for grep that handles long lines and -e... /nix/store/134fdr0yrl4wgrrasxn9d3s8vzcm5lxq-gnugrep-3.6/bin/grep
checking for egrep... /nix/store/134fdr0yrl4wgrrasxn9d3s8vzcm5lxq-gnugrep-3.6/bin/grep -E
checking for fgrep... /nix/store/134fdr0yrl4wgrrasxn9d3s8vzcm5lxq-gnugrep-3.6/bin/grep -F
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from gcc object... ok
checking for sysroot... no
checking for a working dd... /nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/dd
checking how to truncate binary pipes... /nix/store/8gsdifv2q3hnq42v7ddk38nmiagmjd6c-coreutils-8.32/bin/dd bs=4096 count=1
./configure: line 7149: /usr/bin/file: No such file or directory
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking ioctl request parameter type... unsigned long
checking pkg-config is at least version 0.9.0... yes
checking for gtk-doc... no
configure: WARNING:
  You will not be able to create source packages with 'make dist'
  because gtk-doc >= 1.14 is not found.
checking for gtkdoc-check... no
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for gobject-introspection... yes
checking for library containing dlsym... -ldl
checking for GLIB... yes
checking for LIBUDEV... yes
checking for GUDEV... yes
checking for python3... python3
checking for valac... valac
checking for valac... /nix/store/92gqx3fqkmzshikyp1mqx4ds23bz729s-vala-0.48.9/bin/valac
checking whether /nix/store/92gqx3fqkmzshikyp1mqx4ds23bz729s-vala-0.48.9/bin/valac is at least version 0.16.1... yes
checking whether to build with code coverage support... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/umockdev-1.0.pc
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/version.xml
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

  umockdev 0.13.1

  CPPFLAGS:				 
  CFLAGS:				-g -O2 
  LDFLAGS:				 

  gobject-introspection support:	yes
  code coverage support:		no
  Python:				python3
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j24 -l24 SHELL=/nix/store/4l7wsi6h6283194r6fqy1731qxlagq62-bash-4.4-p23/bin/bash
  VALAC    libumockdev_la_vala.stamp
  CC       src/libumockdev_la-uevent_sender.lo
�[001msrc/umockdev.vala:924.32-924.54:�[0m �[001;35mwarning:�[0m �[001m`string.to_ulong'�[0m is deprecated. Use ulong.parse
�[001msrc/umockdev.vala:925.32-925.54:�[0m �[001;35mwarning:�[0m �[001m`string.to_ulong'�[0m is deprecated. Use ulong.parse
Compilation succeeded - 2 warning(s)
  CC       src/libumockdev_la-umockdev.lo
  CCLD     libumockdev.la
make  all-recursive
make[1]: Entering directory '/build/umockdev-0.13.1'
Making all in .
make[2]: Entering directory '/build/umockdev-0.13.1'
  CC       src/umockdev_run-umockdev-run.o
  CC       src/umockdev_record-umockdev-record.o
  CC       src/tests_test_ioctl_tree-ioctl_tree.o
  CC       src/tests_test_ioctl_tree-debug.o
  CC       src/libumockdev_preload_la-ioctl_tree.lo
  CC       src/libumockdev_preload_la-debug.lo
  CC       src/libumockdev_preload_la-libumockdev-preload.lo
sed '/name="add_devicev"/ s/icev">$/icev" shadows="add_device">/' UMockdev-1.0.gir > UMockdev-1.0-hacked.gir
  VALAC    tests_test_umockdev_vala_vala.stamp
  CC       tests/chatter-chatter.o
  CC       tests/chatter_socket_stream-chatter-socket-stream.o
  CC       tests/readbyte-readbyte.o
  CC       tests/test_ioctl_tree-test-ioctl-tree.o
g-ir-compiler -l libumockdev.so.0 -o UMockdev-1.0.typelib UMockdev-1.0-hacked.gir
  CC       tests/test_umockdev-test-umockdev.o
  CC       tests/test_umockdev_run-test-umockdev-run.o
  CC       tests/test_umockdev_record-test-umockdev-record.o
  CCLD     tests/readbyte
  CCLD     tests/chatter
  CCLD     tests/chatter-socket-stream
�[001mtests/test-umockdev-vala.vala:153.1-154.18:�[0m �[001;35mwarning:�[0m method �[001m`t_usbfs_ioctl_tree'�[0m never used
Compilation succeeded - 1 warning(s)
  CCLD     src/umockdev-run
  CC       tests/test_umockdev_vala-test-umockdev-vala.o
  CCLD     src/umockdev-record
  CCLD     tests/test-ioctl-tree
  CCLD     tests/test-umockdev-run
  CCLD     libumockdev-preload.la
  CCLD     tests/test-umockdev-record
  CCLD     tests/test-umockdev-vala
  CCLD     tests/test-umockdev
make[2]: Leaving directory '/build/umockdev-0.13.1'
make[1]: Leaving directory '/build/umockdev-0.13.1'
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
patching script interpreter paths in tests/test-static-code
tests/test-static-code: interpreter directive changed from "/bin/bash" to "/nix/store/4l7wsi6h6283194r6fqy1731qxlagq62-bash-4.4-p23/bin/bash"
check flags: -j24 -l24 SHELL=/nix/store/4l7wsi6h6283194r6fqy1731qxlagq62-bash-4.4-p23/bin/bash VERBOSE=y check
make  check-recursive
make[1]: Entering directory '/build/umockdev-0.13.1'
Making check in .
make[2]: Entering directory '/build/umockdev-0.13.1'
make  check-local
make[3]: Entering directory '/build/umockdev-0.13.1'
== Running test-umockdev test against build tree ==
# random seed: R02S7ec70233c58d6cdeac638d81a4861532
1..36
# Start of umockdev-testbed tests
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.OY76V0
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.OY76V0
ok 1 /umockdev-testbed/empty
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.IZ66V0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/extkeyboard1
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.IZ66V0
ok 2 /umockdev-testbed/add_devicev
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.UQE7V0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/extkeyboard1
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.UQE7V0
ok 3 /umockdev-testbed/add_device
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.2GH7V0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/scribble
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.2GH7V0
ok 4 /umockdev-testbed/add_block_device
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.IAG7V0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/usb1
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.IAG7V0
ok 5 /umockdev-testbed/add_device_errors
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.ERG7V0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/usb1
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/usb1/1-1
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/usb1/1-1/kb1
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.ERG7V0
ok 6 /umockdev-testbed/child_device
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.9RB7V0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/extkeyboard1
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.9RB7V0
ok 7 /umockdev-testbed/set_attribute
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.CAE7V0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/extkeyboard1
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.CAE7V0
ok 8 /umockdev-testbed/set_property
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.1NW6V0
# DEBUG: umockdev.vala:967: parsing device description for /devices/dev1
# DEBUG: umockdev.vala:1036: creating device /devices/dev1 (subsystem pci)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/dev1
# DEBUG: umockdev.vala:967: parsing device description for /devices/dev2/subdev1
# DEBUG: umockdev.vala:1036: creating device /devices/dev2/subdev1 (subsystem input)
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/dev2/subdev1
# DEBUG: umockdev.vala:967: parsing device description for /devices/dev2
# DEBUG: umockdev.vala:1036: creating device /devices/dev2 (subsystem hid)
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/dev2
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.1NW6V0
ok 9 /umockdev-testbed/add_from_string
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.UNX6V0
# DEBUG: umockdev.vala:967: parsing device description for /devices/dev1
# DEBUG: umockdev.vala:1158: record_parse_line: >E: SIMPLE_PROP
< does not match anything, failing
# DEBUG: umockdev.vala:967: parsing device description for /devices/dev1
# DEBUG: umockdev.vala:1158: record_parse_line: >X: SIMPLE_PROP=1
< does not match anything, failing
# DEBUG: umockdev.vala:967: parsing device description for /devices/dev1
# DEBUG: umockdev.vala:1036: creating device /devices/dev1 (subsystem usb)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/dev1
# DEBUG: umockdev.vala:967: parsing device description for /devices/dev1
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.UNX6V0
ok 10 /umockdev-testbed/add_from_string_errors
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.WLT6V0
# DEBUG: umockdev.vala:967: parsing device description for /devices/dev1
# DEBUG: umockdev.vala:1158: record_parse_line: >X: Whatever
< does not match anything, failing
# DEBUG: umockdev.vala:967: parsing device description for /devices/dev1
# DEBUG: umockdev.vala:1036: creating device /devices/dev1 (subsystem pci)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/dev1
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.WLT6V0
ok 11 /umockdev-testbed/add_from_file
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.3OS6V0
# DEBUG: umockdev.vala:967: parsing device description for /devices/dev1
# DEBUG: umockdev.vala:1036: creating device /devices/dev1 (subsystem pci)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/dev1
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.3OS6V0
ok 12 /umockdev-testbed/libc
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.E0S6V0
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.E0S6V0
ok 13 /umockdev-testbed/dev_access
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.9PU6V0
# DEBUG: umockdev.vala:967: parsing device description for /devices/empty
# DEBUG: umockdev.vala:1036: creating device /devices/empty (subsystem foo)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/empty
# DEBUG: umockdev.vala:1095: create_node_for_device: creating pty device /build/umockdev.9PU6V0/dev/empty: got pty /dev/pts/0
# DEBUG: umockdev.vala:1116: create_node_for_device: creating ptymap symlink /build/umockdev.9PU6V0/dev/.ptymap/_dev_pts_0
# DEBUG: umockdev.vala:967: parsing device description for /devices/target
# DEBUG: umockdev.vala:1036: creating device /devices/target (subsystem foo)
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/target
# DEBUG: umockdev.vala:1095: create_node_for_device: creating pty device /build/umockdev.9PU6V0/dev/target: got pty /dev/pts/1
# DEBUG: umockdev.vala:1116: create_node_for_device: creating ptymap symlink /build/umockdev.9PU6V0/dev/.ptymap/_dev_pts_1
# DEBUG: umockdev.vala:967: parsing device description for /devices/001
# DEBUG: umockdev.vala:1036: creating device /devices/001 (subsystem foo)
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/001
# DEBUG: umockdev.vala:1095: create_node_for_device: creating pty device /build/umockdev.9PU6V0/dev/bus/usb/001: got pty /dev/pts/2
# DEBUG: umockdev.vala:1116: create_node_for_device: creating ptymap symlink /build/umockdev.9PU6V0/dev/.ptymap/_dev_pts_2
# DEBUG: umockdev.vala:967: parsing device description for /devices/preset
# DEBUG: umockdev.vala:1036: creating device /devices/preset (subsystem foo)
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/preset
# DEBUG: umockdev.vala:1076: create_node_for_device: creating file device /build/umockdev.9PU6V0/dev/bus/usb/preset
# DEBUG: umockdev.vala:90: closing master pty fd 7 for emulated device
# DEBUG: umockdev.vala:90: closing master pty fd 6 for emulated device
# DEBUG: umockdev.vala:90: closing master pty fd 5 for emulated device
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.9PU6V0
ok 14 /umockdev-testbed/add_from_string_dev_char
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.A326V0
# DEBUG: umockdev.vala:967: parsing device description for /devices/empty
# DEBUG: umockdev.vala:1036: creating device /devices/empty (subsystem block)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/empty
# DEBUG: umockdev.vala:1076: create_node_for_device: creating file device /build/umockdev.A326V0/dev/empty
# DEBUG: umockdev.vala:967: parsing device description for /devices/block/filled
# DEBUG: umockdev.vala:1036: creating device /devices/block/filled (subsystem block)
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/block/filled
# DEBUG: umockdev.vala:1076: create_node_for_device: creating file device /build/umockdev.A326V0/dev/sdf
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.A326V0
ok 15 /umockdev-testbed/add_from_string_dev_block
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.YD26V0
# DEBUG: umockdev.vala:967: parsing device description for /devices/stream
# DEBUG: umockdev.vala:1036: creating device /devices/stream (subsystem foo)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/stream
# DEBUG: umockdev.vala:1095: create_node_for_device: creating pty device /build/umockdev.YD26V0/dev/stream: got pty /dev/pts/0
# DEBUG: umockdev.vala:1116: create_node_for_device: creating ptymap symlink /build/umockdev.YD26V0/dev/.ptymap/_dev_pts_0
# DEBUG: umockdev.vala:967: parsing device description for /devices/block/disk
# DEBUG: umockdev.vala:1036: creating device /devices/block/disk (subsystem block)
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/block/disk
# DEBUG: umockdev.vala:1076: create_node_for_device: creating file device /build/umockdev.YD26V0/dev/disk
# DEBUG: umockdev.vala:90: closing master pty fd 5 for emulated device
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.YD26V0
ok 16 /umockdev-testbed/dev_query_gudev
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.RN36V0
# DEBUG: umockdev.vala:967: parsing device description for /devices/greeter
# DEBUG: umockdev.vala:1036: creating device /devices/greeter (subsystem tty)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/greeter
# DEBUG: umockdev.vala:1095: create_node_for_device: creating pty device /build/umockdev.RN36V0/dev/greeter: got pty /dev/pts/0
# DEBUG: umockdev.vala:1116: create_node_for_device: creating ptymap symlink /build/umockdev.RN36V0/dev/.ptymap/_dev_pts_0
# DEBUG: umockdev.vala:1384: ScriptRunner[/dev/greeter]: start
# DEBUG: ScriptRunner[/dev/greeter]: read op; sleeping 200 ms
# DEBUG: umockdev.vala:1394: ScriptRunner[/dev/greeter]: read op after sleep; writing data 'ready'
# DEBUG: umockdev.vala:1402: ScriptRunner[/dev/greeter]: write op, data 'abc'
# DEBUG: ScriptRunner[/dev/greeter]: op_write, got 3 bytes; offset: 3, full block size 3
# DEBUG: umockdev.vala:1402: ScriptRunner[/dev/greeter]: write op, data 'defgh'
# DEBUG: ScriptRunner[/dev/greeter]: op_write, got 5 bytes; offset: 5, full block size 5
# DEBUG: ScriptRunner[/dev/greeter]: read op; sleeping 10 ms
# DEBUG: umockdev.vala:1394: ScriptRunner[/dev/greeter]: read op after sleep; writing data 'response^I1^J'
# DEBUG: ScriptRunner[/dev/greeter]: read op; sleeping 2 ms
# DEBUG: umockdev.vala:1394: ScriptRunner[/dev/greeter]: read op after sleep; writing data 'hello world ?'
# DEBUG: umockdev.vala:1402: ScriptRunner[/dev/greeter]: write op, data 'A'
# DEBUG: ScriptRunner[/dev/greeter]: op_write, got 1 bytes; offset: 1, full block size 1
# DEBUG: umockdev.vala:1402: ScriptRunner[/dev/greeter]: write op, data 'T'
# DEBUG: ScriptRunner[/dev/greeter]: op_write, got 1 bytes; offset: 1, full block size 1
# DEBUG: umockdev.vala:1402: ScriptRunner[/dev/greeter]: write op, data 'I'
# DEBUG: ScriptRunner[/dev/greeter]: op_write, got 1 bytes; offset: 1, full block size 1
# DEBUG: umockdev.vala:1402: ScriptRunner[/dev/greeter]: write op, data '^M'
# DEBUG: ScriptRunner[/dev/greeter]: op_write, got 1 bytes; offset: 1, full block size 1
# DEBUG: ScriptRunner[/dev/greeter]: read op; sleeping 20 ms
# DEBUG: umockdev.vala:1394: ScriptRunner[/dev/greeter]: read op after sleep; writing data 'Bogus Device'
# DEBUG: umockdev.vala:1402: ScriptRunner[/dev/greeter]: write op, data 'split write'
# DEBUG: ScriptRunner[/dev/greeter]: op_write, got 6 bytes; offset: 6, full block size 11
# DEBUG: ScriptRunner[/dev/greeter]: op_write, got 5 bytes; offset: 11, full block size 11
# DEBUG: ScriptRunner[/dev/greeter]: read op; sleeping 10 ms
# DEBUG: umockdev.vala:1394: ScriptRunner[/dev/greeter]: read op after sleep; writing data 'ACK'
# DEBUG: umockdev.vala:1402: ScriptRunner[/dev/greeter]: write op, data '^@^^^`^@a'
# DEBUG: ScriptRunner[/dev/greeter]: op_write, got 5 bytes; offset: 5, full block size 5
# DEBUG: ScriptRunner[/dev/greeter]: read op; sleeping 0 ms
# DEBUG: umockdev.vala:1394: ScriptRunner[/dev/greeter]: read op after sleep; writing data '^@^^^`^@a'
# DEBUG: umockdev.vala:1439: ScriptRunner[/dev/greeter]: end of script /build/test_script_simple.6236V0, closing
# DEBUG: umockdev.vala:1428: ScriptRunner[/dev/greeter]: not running any more, ending thread
# DEBUG: umockdev.vala:90: closing master pty fd 5 for emulated device
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.RN36V0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 17 /umockdev-testbed/script_replay_simple
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.RHGAW0
# DEBUG: umockdev.vala:967: parsing device description for /devices/greeter
# DEBUG: umockdev.vala:1036: creating device /devices/greeter (subsystem tty)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/greeter
# DEBUG: umockdev.vala:1095: create_node_for_device: creating pty device /build/umockdev.RHGAW0/dev/greeter: got pty /dev/pts/0
# DEBUG: umockdev.vala:1116: create_node_for_device: creating ptymap symlink /build/umockdev.RHGAW0/dev/.ptymap/_dev_pts_0
# DEBUG: umockdev.vala:1384: ScriptRunner[/dev/greeter]: start
# DEBUG: ScriptRunner[/dev/greeter]: read op; sleeping 0 ms
# DEBUG: umockdev.vala:1394: ScriptRunner[/dev/greeter]: read op after sleep; writing data 'OK'
# DEBUG: umockdev.vala:1439: ScriptRunner[/dev/greeter]: end of script /build/test_script_simple.5WGAW0, closing
# DEBUG: umockdev.vala:1428: ScriptRunner[/dev/greeter]: not running any more, ending thread
# DEBUG: umockdev.vala:90: closing master pty fd 5 for emulated device
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.RHGAW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 18 /umockdev-testbed/script_replay_default_device
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.IYFAW0
# DEBUG: umockdev.vala:967: parsing device description for /devices/greeter
# DEBUG: umockdev.vala:1036: creating device /devices/greeter (subsystem tty)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/greeter
# DEBUG: umockdev.vala:1095: create_node_for_device: creating pty device /build/umockdev.IYFAW0/dev/greeter: got pty /dev/pts/0
# DEBUG: umockdev.vala:1116: create_node_for_device: creating ptymap symlink /build/umockdev.IYFAW0/dev/.ptymap/_dev_pts_0
# DEBUG: umockdev.vala:1384: ScriptRunner[/dev/greeter]: start
# DEBUG: ScriptRunner[/dev/greeter]: read op; sleeping 0 ms
# DEBUG: umockdev.vala:1394: ScriptRunner[/dev/greeter]: read op after sleep; writing data 'OK'
# DEBUG: umockdev.vala:1439: ScriptRunner[/dev/greeter]: end of script /build/test_script_simple.IQBAW0, closing
# DEBUG: umockdev.vala:1428: ScriptRunner[/dev/greeter]: not running any more, ending thread
# DEBUG: umockdev.vala:90: closing master pty fd 5 for emulated device
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.IYFAW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 19 /umockdev-testbed/script_replay_override_default_device
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.TYBAW0
# DEBUG: umockdev.vala:967: parsing device description for /devices/event1
# DEBUG: umockdev.vala:1036: creating device /devices/event1 (subsystem input)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/event1
# DEBUG: umockdev.vala:1095: create_node_for_device: creating pty device /build/umockdev.TYBAW0/dev/input/event1: got pty /dev/pts/0
# DEBUG: umockdev.vala:1116: create_node_for_device: creating ptymap symlink /build/umockdev.TYBAW0/dev/.ptymap/_dev_pts_0
# DEBUG: umockdev.vala:1384: ScriptRunner[/dev/input/event1]: start
# DEBUG: ScriptRunner[/dev/input/event1]: read op; sleeping 0 ms
[Invalid UTF-8] # DEBUG: umockdev.vala:1394: ScriptRunner[/dev/input/event1]: read op after sleep; writing data '^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^C^@^@^@\xe6^I^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^C^@^@^@\x98^H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@'
# DEBUG: umockdev.vala:1439: ScriptRunner[/dev/input/event1]: end of script /build/test_script_simple.53AAW0, closing
# DEBUG: umockdev.vala:1428: ScriptRunner[/dev/input/event1]: not running any more, ending thread
# DEBUG: umockdev.vala:90: closing master pty fd 5 for emulated device
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.TYBAW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 20 /umockdev-testbed/script_replay_evdev_event_framing
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.C8CAW0
# DEBUG: umockdev.vala:1652: starting SocketServer thread
# DEBUG: umockdev.vala:1641: SocketServer.add: Created socket path /build/umockdev.C8CAW0/dev/socket/chatter, fd 5
# DEBUG: umockdev.vala:1678: socket server thread: woken up by control fd
# DEBUG: umockdev.vala:1684: socket server thread: select() got requests
# DEBUG: umockdev.vala:1696: socket server thread: accepted request on server socket fd 5, path /build/umockdev.C8CAW0/dev/socket/chatter, script /build/test_script_socket.Q6CAW0
# DEBUG: umockdev.vala:1384: ScriptRunner[/build/umockdev.C8CAW0/dev/socket/chatter9]: start
# DEBUG: ScriptRunner[/build/umockdev.C8CAW0/dev/socket/chatter9]: read op; sleeping 200 ms
# DEBUG: umockdev.vala:1394: ScriptRunner[/build/umockdev.C8CAW0/dev/socket/chatter9]: read op after sleep; writing data 'ready'
# DEBUG: umockdev.vala:1402: ScriptRunner[/build/umockdev.C8CAW0/dev/socket/chatter9]: write op, data 'abc'
# DEBUG: ScriptRunner[/build/umockdev.C8CAW0/dev/socket/chatter9]: op_write, got 3 bytes; offset: 3, full block size 3
# DEBUG: umockdev.vala:1402: ScriptRunner[/build/umockdev.C8CAW0/dev/socket/chatter9]: write op, data '^@defgh'
# DEBUG: ScriptRunner[/build/umockdev.C8CAW0/dev/socket/chatter9]: op_write, got 6 bytes; offset: 6, full block size 6
# DEBUG: ScriptRunner[/build/umockdev.C8CAW0/dev/socket/chatter9]: read op; sleeping 10 ms
# DEBUG: umockdev.vala:1394: ScriptRunner[/build/umockdev.C8CAW0/dev/socket/chatter9]: read op after sleep; writing data '^@response'
# DEBUG: umockdev.vala:1439: ScriptRunner[/build/umockdev.C8CAW0/dev/socket/chatter9]: end of script /build/test_script_socket.Q6CAW0, closing
# DEBUG: umockdev.vala:1428: ScriptRunner[/build/umockdev.C8CAW0/dev/socket/chatter9]: not running any more, ending thread
# DEBUG: umockdev.vala:95: shutting down socket server thread
# DEBUG: umockdev.vala:1616: Stopping SocketServer: signalling thread
# DEBUG: umockdev.vala:1625: Stopping SocketServer: joining thread
# DEBUG: umockdev.vala:1678: socket server thread: woken up by control fd
# DEBUG: umockdev.vala:1707: socket server thread: end
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.C8CAW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 21 /umockdev-testbed/script_replay_socket_stream
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.ZK92V0
# DEBUG: umockdev.vala:967: parsing device description for /devices/fuzzy
# DEBUG: umockdev.vala:1036: creating device /devices/fuzzy (subsystem tty)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/fuzzy
# DEBUG: umockdev.vala:1095: create_node_for_device: creating pty device /build/umockdev.ZK92V0/dev/fuzzy: got pty /dev/pts/0
# DEBUG: umockdev.vala:1116: create_node_for_device: creating ptymap symlink /build/umockdev.ZK92V0/dev/.ptymap/_dev_pts_0
# DEBUG: umockdev.vala:1384: ScriptRunner[/dev/fuzzy]: start
# DEBUG: umockdev.vala:1415: ScriptRunner[/dev/fuzzy]: setting fuzz level to 20%
# DEBUG: umockdev.vala:1402: ScriptRunner[/dev/fuzzy]: write op, data 'aaaaaaaaaa'
# DEBUG: ScriptRunner[/dev/fuzzy]: op_write, got 10 bytes; offset: 10, full block size 10
# DEBUG: umockdev.vala:1402: ScriptRunner[/dev/fuzzy]: write op, data 'bbbbbbbbbb'
# DEBUG: ScriptRunner[/dev/fuzzy]: op_write, got 10 bytes; offset: 10, full block size 10
# DEBUG: ScriptRunner[/dev/fuzzy]: read op; sleeping 0 ms
# DEBUG: umockdev.vala:1394: ScriptRunner[/dev/fuzzy]: read op after sleep; writing data 'OK'
# DEBUG: umockdev.vala:1439: ScriptRunner[/dev/fuzzy]: end of script /build/test_script_fuzzy.EF82V0, closing
# DEBUG: umockdev.vala:1428: ScriptRunner[/dev/fuzzy]: not running any more, ending thread
# DEBUG: umockdev.vala:90: closing master pty fd 5 for emulated device
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.ZK92V0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 22 /umockdev-testbed/script_replay_fuzz
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.15K2V0
# DEBUG: umockdev.vala:967: parsing device description for /devices/event1
# DEBUG: umockdev.vala:1036: creating device /devices/event1 (subsystem input)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/event1
# DEBUG: umockdev.vala:1095: create_node_for_device: creating pty device /build/umockdev.15K2V0/dev/input/event1: got pty /dev/pts/0
# DEBUG: umockdev.vala:1384: ScriptRunner[/dev/input/event1]: start
# DEBUG: ScriptRunner[/dev/input/event1]: read op; sleeping 0 ms
[Invalid UTF-8] # DEBUG: umockdev.vala:1394: ScriptRunner[/dev/input/event1]: read op after sleep; writing data '\xd2^D^@^@^@^@^@^@ \xa1^G^@^@^@^@^@^@^@^@^@^@^@^@^@'
# DEBUG: ScriptRunner[/dev/input/event1]: read op; sleeping 150 ms
[Invalid UTF-8] # DEBUG: umockdev.vala:1394: ScriptRunner[/dev/input/event1]: read op after sleep; writing data '\xd2^D^@^@^@^@^@^@^P\xeb^I^@^@^@^@^@^B^@^@^@^E^@^@^@'
# DEBUG: ScriptRunner[/dev/input/event1]: read op; sleeping 0 ms
[Invalid UTF-8] # DEBUG: umockdev.vala:1394: ScriptRunner[/dev/input/event1]: read op after sleep; writing data '\xd2^D^@^@^@^@^@^@(\xe7^I^@^@^@^@^@^B^@^A^@\xf5\xff\xff\xff'
# DEBUG: ScriptRunner[/dev/input/event1]: read op; sleeping 551 ms
[Invalid UTF-8] # DEBUG: umockdev.vala:1394: ScriptRunner[/dev/input/event1]: read op after sleep; writing data '\xd3^D^@^@^@^@^@^@@^M^C^@^@^@^@^@^A^@t^A^A^@^@^@'
# DEBUG: umockdev.vala:1439: ScriptRunner[/dev/input/event1]: end of script /build/evemu.A7M2V0.script, closing
# DEBUG: umockdev.vala:1428: ScriptRunner[/dev/input/event1]: not running any more, ending thread
# DEBUG: umockdev.vala:90: closing master pty fd 5 for emulated device
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.15K2V0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 23 /umockdev-testbed/replay_evemu_events
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.QOIIW0
# DEBUG: umockdev.vala:967: parsing device description for /devices/event1
# DEBUG: umockdev.vala:1036: creating device /devices/event1 (subsystem input)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/event1
# DEBUG: umockdev.vala:1095: create_node_for_device: creating pty device /build/umockdev.QOIIW0/dev/input/event1: got pty /dev/pts/0
# DEBUG: umockdev.vala:1384: ScriptRunner[/dev/input/event1]: start
# DEBUG: ScriptRunner[/dev/input/event1]: read op; sleeping 0 ms
[Invalid UTF-8] # DEBUG: umockdev.vala:1394: ScriptRunner[/dev/input/event1]: read op after sleep; writing data '\xd2^D^@^@^@^@^@^@ \xa1^G^@^@^@^@^@^@^@^@^@^@^@^@^@'
# DEBUG: umockdev.vala:1439: ScriptRunner[/dev/input/event1]: end of script /build/evemu.BCEIW0.script, closing
# DEBUG: umockdev.vala:1428: ScriptRunner[/dev/input/event1]: not running any more, ending thread
# DEBUG: umockdev.vala:90: closing master pty fd 5 for emulated device
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.QOIIW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 24 /umockdev-testbed/replay_evemu_events_default_device
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.2QEIW0
# DEBUG: umockdev.vala:967: parsing device description for /devices/moo
# DEBUG: umockdev.vala:1036: creating device /devices/moo (subsystem foo)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/moo
# DEBUG: umockdev.vala:1076: create_node_for_device: creating file device /build/umockdev.2QEIW0/dev/bus/usb/moo
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.2QEIW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 25 /umockdev-testbed/clear
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.XSDIW0
SKIP: no real /sys on this system. # DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.XSDIW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 26 /umockdev-testbed/disable
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.XRDIW0
# DEBUG: umockdev.vala:967: parsing device description for /devices/moo
# DEBUG: umockdev.vala:1036: creating device /devices/moo (subsystem tty)
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/moo
# DEBUG: umockdev.vala:1095: create_node_for_device: creating pty device /build/umockdev.XRDIW0/dev/bus/usb/moo: got pty /dev/pts/0
# DEBUG: umockdev.vala:1116: create_node_for_device: creating ptymap symlink /build/umockdev.XRDIW0/dev/.ptymap/_dev_pts_0
# DEBUG: umockdev.vala:967: parsing device description for /devices/precious
# DEBUG: umockdev.vala:1036: creating device /devices/precious (subsystem tty)
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/precious
# DEBUG: umockdev.vala:1095: create_node_for_device: creating pty device /build/umockdev.XRDIW0/dev/bus/tty/precious: got pty /dev/pts/1
# DEBUG: umockdev.vala:1116: create_node_for_device: creating ptymap symlink /build/umockdev.XRDIW0/dev/.ptymap/_dev_pts_1
# DEBUG: umockdev.vala:967: parsing device description for /devices/static
# DEBUG: umockdev.vala:1036: creating device /devices/static (subsystem usb)
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/static
# DEBUG: umockdev.vala:1076: create_node_for_device: creating file device /build/umockdev.XRDIW0/dev/static
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/simple
# DEBUG: umockdev.vala:90: closing master pty fd 8 for emulated device
# DEBUG: umockdev.vala:90: closing master pty fd 5 for emulated device
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.XRDIW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 27 /umockdev-testbed/remove
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.SJFIW0
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.SJFIW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 28 /umockdev-testbed/proc
# Start of uevent tests
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.MWNIW0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent remove for device /sys/devices/mydev
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.MWNIW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 29 /umockdev-testbed/uevent/libudev
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.IANIW0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent change for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent change for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent change for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent change for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent change for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent change for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent change for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent change for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent change for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent change for device /sys/devices/mydev
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.IANIW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 30 /umockdev-testbed/uevent/libudev-filter
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.VTOIW0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/mydev
# DEBUG: on_uevent action add device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent change for device /sys/devices/mydev
# DEBUG: on_uevent action change device /sys/devices/mydev
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.VTOIW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 31 /umockdev-testbed/uevent/gudev
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.0DMIW0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/mydev
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/mydev
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.0DMIW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 32 /umockdev-testbed/uevent/no_listener
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.YOMIW0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /devices/unknown
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.YOMIW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 33 /umockdev-testbed/uevent/error
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.USLIW0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/mydev
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.USLIW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 34 /umockdev-testbed/uevent/null_action
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.JB6HW0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/mydev
# DEBUG: umockdev.vala:100: Removing test bed /build/umockdev.JB6HW0
# GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
ok 35 /umockdev-testbed/uevent/action_overflow
# End of uevent tests
# End of umockdev-testbed tests
# Start of umockdev-testbed-usb tests
# GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
# DEBUG: umockdev.vala:79: Created udev test bed /build/umockdev.PM2HW0
# DEBUG: umockdev.vala:700: umockdev_testbed_uevent: lazily initializing uevent_sender
# DEBUG: umockdev.vala:704: umockdev_testbed_uevent: sending uevent add for device /sys/devices/usb1
**
ERROR:tests/test-umockdev.c:1137:t_testbed_usb_lsusb: assertion failed: (g_str_has_prefix(out, "\nBus 001 Device 001: ID 04a9:31c0"))
Bail out! ERROR:tests/test-umockdev.c:1137:t_testbed_usb_lsusb: assertion failed: (g_str_has_prefix(out, "\nBus 001 Device 001: ID 04a9:31c0"))
/nix/store/4l7wsi6h6283194r6fqy1731qxlagq62-bash-4.4-p23/bin/bash: line 1:  3282 Aborted                 TOP_BUILDDIR=. TOP_SRCDIR=. LD_LIBRARY_PATH=./.libs:$LD_LIBRARY_PATH GI_TYPELIB_PATH=. PATH=./src:$PATH G_SLICE=debug-blocks MALLOC_PERTURB_=85 MALLOC_CHECK_=3 ./src/umockdev-wrapper $f
make[3]: *** [Makefile:2208: check-local] Error 134
make[3]: Leaving directory '/build/umockdev-0.13.1'
make[2]: *** [Makefile:1970: check-am] Error 2
make[2]: Leaving directory '/build/umockdev-0.13.1'
make[1]: *** [Makefile:1680: check-recursive] Error 1
make[1]: Leaving directory '/build/umockdev-0.13.1'
make: *** [Makefile:1972: check] Error 2

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: fwupd
# a list of nixos modules affected by the problem
module: fwupd
@flokli flokli added the 0.kind: bug Something is broken label Dec 22, 2020
@eadwu
Copy link
Member

eadwu commented Dec 22, 2020

Uh I'm pretty sure I'm not the maintainer. I don't use fwupd anymore either (no particular reason) either.

@flokli
Copy link
Contributor Author

flokli commented Dec 22, 2020

Sorry, I saw your recent PR. The package currently has no maintainer.

@abbradar might be the more appropriate person to ping ;-)

I bisected this failure to [24342209d4011e4ca2d68c1507403d7f3cdd5607] libusb1: 1.0.23 -> 1.0.24.

@flokli
Copy link
Contributor Author

flokli commented Dec 22, 2020

I opened martinpitt/umockdev#115 upstream

flokli added a commit to flokli/nixpkgs that referenced this issue Dec 23, 2020
@flokli flokli mentioned this issue Dec 23, 2020
10 tasks
@eadwu eadwu removed their assignment Dec 26, 2020
@martinpitt
Copy link

This got fixed in PR #108317 , so presumably this can be closed now?

@jtojnar
Copy link
Member

jtojnar commented Jan 4, 2021

Thanks.

@jtojnar jtojnar closed this as completed Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

4 participants