================================================================= gphoto2 command line interface 2.5.28: tests/test-suite.log ================================================================= # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: testsuite =============== *** Running "Recursive directory file list" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging -L + EXITCODE=0 + set +x Test test001 PASSED *** Running "Nonrecursive directory file list" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --no-recurse -L + EXITCODE=0 + set +x Test test002 PASSED *** Running "Invalid directory file list" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging -f /does-not-exist -L + EXITCODE=1 + set +x Test test003 PASSED *** Running "Recursive directory list" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging -l + EXITCODE=0 + set +x Test test004 PASSED *** Running "Nonrecursive directory list" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --no-recurse -l + EXITCODE=0 + set +x Test test005 PASSED *** Running "Invalid directory list" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging -f /does-not-exist -l + EXITCODE=1 + set +x Test test006 PASSED *** Running "Make directory" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:/var/tmp/portage/media-gfx/gphoto2-2.5.28/work/gphoto2-2.5.28/tests/log -f / --mkdir=newdir + EXITCODE=0 + set +x Test test007 PASSED *** Running "Remove directory" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:/var/tmp/portage/media-gfx/gphoto2-2.5.28/work/gphoto2-2.5.28/tests/log -f / --rmdir=newdir + EXITCODE=0 + set +x Test test008 PASSED *** Running "File count" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --num-files + EXITCODE=0 + set +x Test test009 PASSED *** Running "Manual text" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port disk:./staging --manual + EXITCODE=0 + set +x Test test010 PASSED *** Running "About text" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --about + EXITCODE=0 + set +x Test test011 PASSED *** Running "Abilities" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --abilities + EXITCODE=0 + set +x Test test012 PASSED *** Running "File download" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --get-file=1 + EXITCODE=0 + set +x Test test013 PASSED *** Running "File download to stdout" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --get-file=1 --stdout + EXITCODE=0 + set +x Test test014 PASSED *** Running "File download with name" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --get-file=1 --filename=testoutfile + EXITCODE=0 + set +x Test test015 PASSED *** Running "File download from subdirectory" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --get-file=5 --stdout + EXITCODE=0 + set +x Test test016 PASSED *** Running "File upload" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:/var/tmp/portage/media-gfx/gphoto2-2.5.28/work/gphoto2-2.5.28/tests/log -f /uploaddir --upload-file=./staging/subdir1/architecture.png + EXITCODE=0 + set +x Test test017 PASSED *** Running "File upload with name" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:/var/tmp/portage/media-gfx/gphoto2-2.5.28/work/gphoto2-2.5.28/tests/log -f /uploaddir --upload-file=./staging/subdir1/architecture.png --filename=uploadedfile + EXITCODE=0 + set +x Test test018 PASSED *** Running "File delete" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:/var/tmp/portage/media-gfx/gphoto2-2.5.28/work/gphoto2-2.5.28/tests/log -f /deletedir --delete-file=1 + EXITCODE=0 + set +x Test test019 PASSED *** Running "Invalid root directory" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:/not/a/valid/directory -L + EXITCODE=1 + set +x Test test020 PASSED *** Running "Missing port option" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' -L + EXITCODE=1 + set +x Test test021 PASSED *** Running "Filename percent operators" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --get-file=4 --filename=testfile%C-%04n-%f.bin + EXITCODE=0 + set +x Test test022 PASSED *** Running "Cameras list" test ++ ../gphoto2/gphoto2 --list-cameras + EXITCODE=0 + set +x Test test023 PASSED *** Running "Delete all files" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:/var/tmp/portage/media-gfx/gphoto2-2.5.28/work/gphoto2-2.5.28/tests/log -f /deletedir --delete-all-files + EXITCODE=0 + set +x Test test024 PASSED *** Running "Nonrecursive delete all files" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:/var/tmp/portage/media-gfx/gphoto2-2.5.28/work/gphoto2-2.5.28/tests/log -f /deletedir --delete-all-files + EXITCODE=0 + set +x Test test025 PASSED *** Running "Recursive delete all files with subdirs" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:/var/tmp/portage/media-gfx/gphoto2-2.5.28/work/gphoto2-2.5.28/tests/log -f /deletedir --delete-all-files --recurse + EXITCODE=0 + set +x Test test026 PASSED *** Running "File download without overwrite" test ++ yes n ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --get-file=1 yes: standard output: Broken pipe + EXITCODE=0 + set +x Test test027 PASSED *** Running "File download with overwrite" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --get-file=1 --force-overwrite + EXITCODE=0 + set +x Test test028 PASSED *** Running "Invalid camera" test ++ ../gphoto2/gphoto2 '--camera=Xyzzy Foo camera' --abilities + EXITCODE=1 + set +x Test test029 PASSED *** Running "Invalid port type" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=badport:bad --abilities + EXITCODE=1 + set +x Test test030 FAILED: unexpected output --- ./data/test030.result 2021-11-29 13:11:34.000000000 +0100 +++ /var/tmp/portage/media-gfx/gphoto2-2.5.28/work/gphoto2-2.5.28/tests/log/test030.out 2023-02-04 01:55:49.532151501 +0100 @@ -1,2 +1,87 @@ +[timestamp] [threadID] facility level [function call] +-------------------------------------------------------------------------------- +[ 0.000007] [00000204] libusb: debug [libusb_init] libusb v1.0.26.11724 +[ 0.000019] [00000204] libusb: debug [usbi_add_event_source] add fd 3 events 1 +[ 0.000023] [00000204] libusb: debug [usbi_io_init] using timer for timeouts +[ 0.000024] [00000204] libusb: debug [usbi_add_event_source] add fd 4 events 1 +[ 0.000027] [00000204] libusb: debug [get_kernel_version] reported kernel version is 5.15.85-gentoo-dist +[ 0.000047] [00000204] libusb: debug [op_init] found usbfs at /dev/bus/usb +[ 0.000048] [00000204] libusb: debug [op_init] max iso packet length is (likely) 98304 bytes +[ 0.000050] [00000204] libusb: debug [op_init] sysfs is available +[ 0.000270] [00000205] libusb: debug [linux_udev_event_thread_main] udev event thread entering +[ 0.010744] [00000204] libusb: debug [linux_get_device_address] getting address for device: usb1 detached: 0 +[ 0.010748] [00000204] libusb: debug [linux_get_device_address] scan usb1 +[ 0.010816] [00000204] libusb: debug [linux_get_device_address] bus=1 dev=1 +[ 0.010817] [00000204] libusb: debug [linux_enumerate_device] busnum 1 devaddr 1 session_id 257 +[ 0.010818] [00000204] libusb: debug [linux_enumerate_device] allocating new device for 1/1 (session 257) +[ 0.011072] [00000204] libusb: debug [linux_get_device_address] getting address for device: 1-1 detached: 0 +[ 0.011074] [00000204] libusb: debug [linux_get_device_address] scan 1-1 +[ 0.011138] [00000204] libusb: debug [linux_get_device_address] bus=1 dev=2 +[ 0.011139] [00000204] libusb: debug [linux_enumerate_device] busnum 1 devaddr 2 session_id 258 +[ 0.011140] [00000204] libusb: debug [linux_enumerate_device] allocating new device for 1/2 (session 258) +[ 0.011206] [00000204] libusb: debug [linux_get_parent_info] dev 0x55b2ffaf5640 (1-1) has parent 0x55b2ffb0f510 (usb1) port 1 +[ 0.011373] [00000204] libusb: debug [linux_get_device_address] getting address for device: usb2 detached: 0 +[ 0.011375] [00000204] libusb: debug [linux_get_device_address] scan usb2 +[ 0.011434] [00000204] libusb: debug [linux_get_device_address] bus=2 dev=1 +[ 0.011435] [00000204] libusb: debug [linux_enumerate_device] busnum 2 devaddr 1 session_id 513 +[ 0.011436] [00000204] libusb: debug [linux_enumerate_device] allocating new device for 2/1 (session 513) +[ 0.011689] [00000204] libusb: debug [linux_get_device_address] getting address for device: 2-1 detached: 0 +[ 0.011691] [00000204] libusb: debug [linux_get_device_address] scan 2-1 +[ 0.011757] [00000204] libusb: debug [linux_get_device_address] bus=2 dev=2 +[ 0.011758] [00000204] libusb: debug [linux_enumerate_device] busnum 2 devaddr 2 session_id 514 +[ 0.011759] [00000204] libusb: debug [linux_enumerate_device] allocating new device for 2/2 (session 514) +[ 0.011821] [00000204] libusb: debug [linux_get_parent_info] dev 0x55b2ffaf6250 (2-1) has parent 0x55b2ffaf5c90 (usb2) port 1 +[ 0.011989] [00000204] libusb: debug [linux_get_device_address] getting address for device: usb3 detached: 0 +[ 0.011991] [00000204] libusb: debug [linux_get_device_address] scan usb3 +[ 0.012052] [00000204] libusb: debug [linux_get_device_address] bus=3 dev=1 +[ 0.012053] [00000204] libusb: debug [linux_enumerate_device] busnum 3 devaddr 1 session_id 769 +[ 0.012054] [00000204] libusb: debug [linux_enumerate_device] allocating new device for 3/1 (session 769) +[ 0.012305] [00000204] libusb: debug [linux_get_device_address] getting address for device: 3-1 detached: 0 +[ 0.012306] [00000204] libusb: debug [linux_get_device_address] scan 3-1 +[ 0.012371] [00000204] libusb: debug [linux_get_device_address] bus=3 dev=2 +[ 0.012372] [00000204] libusb: debug [linux_enumerate_device] busnum 3 devaddr 2 session_id 770 +[ 0.012373] [00000204] libusb: debug [linux_enumerate_device] allocating new device for 3/2 (session 770) +[ 0.012436] [00000204] libusb: debug [linux_get_parent_info] dev 0x55b2ffaf5d60 (3-1) has parent 0x55b2ffaf57a0 (usb3) port 1 +[ 0.012654] [00000204] libusb: debug [linux_get_device_address] getting address for device: 3-1.1 detached: 0 +[ 0.012658] [00000204] libusb: debug [linux_get_device_address] scan 3-1.1 +[ 0.012727] [00000204] libusb: debug [linux_get_device_address] bus=3 dev=3 +[ 0.012728] [00000204] libusb: debug [linux_enumerate_device] busnum 3 devaddr 3 session_id 771 +[ 0.012729] [00000204] libusb: debug [linux_enumerate_device] allocating new device for 3/3 (session 771) +[ 0.012796] [00000204] libusb: debug [linux_get_parent_info] dev 0x55b2ffaf5710 (3-1.1) has parent 0x55b2ffaf5d60 (3-1) port 1 +[ 0.013011] [00000204] libusb: debug [linux_get_device_address] getting address for device: 3-1.4 detached: 0 +[ 0.013012] [00000204] libusb: debug [linux_get_device_address] scan 3-1.4 +[ 0.013080] [00000204] libusb: debug [linux_get_device_address] bus=3 dev=4 +[ 0.013081] [00000204] libusb: debug [linux_enumerate_device] busnum 3 devaddr 4 session_id 772 +[ 0.013082] [00000204] libusb: debug [linux_enumerate_device] allocating new device for 3/4 (session 772) +[ 0.013148] [00000204] libusb: debug [linux_get_parent_info] dev 0x55b2ffaf6fc0 (3-1.4) has parent 0x55b2ffaf5d60 (3-1) port 4 +[ 0.013311] [00000204] libusb: debug [linux_get_device_address] getting address for device: usb4 detached: 0 +[ 0.013313] [00000204] libusb: debug [linux_get_device_address] scan usb4 +[ 0.013372] [00000204] libusb: debug [linux_get_device_address] bus=4 dev=1 +[ 0.013373] [00000204] libusb: debug [linux_enumerate_device] busnum 4 devaddr 1 session_id 1025 +[ 0.013374] [00000204] libusb: debug [linux_enumerate_device] allocating new device for 4/1 (session 1025) +[ 0.013447] [00000204] libusb: warning [libusb_init] installing new context as implicit default +[ 0.013453] [00000204] libusb: debug [libusb_get_device_list] +[ 0.013458] [00000204] libusb: debug [libusb_get_device_descriptor] +[ 0.013459] [00000204] libusb: debug [libusb_get_device_descriptor] +[ 0.013460] [00000204] libusb: debug [libusb_get_device_descriptor] +[ 0.013460] [00000204] libusb: debug [libusb_get_device_descriptor] +[ 0.013461] [00000204] libusb: debug [libusb_get_device_descriptor] +[ 0.013461] [00000204] libusb: debug [libusb_get_device_descriptor] +[ 0.013462] [00000204] libusb: debug [libusb_get_device_descriptor] +[ 0.013463] [00000204] libusb: debug [libusb_get_device_descriptor] +[ 0.013463] [00000204] libusb: debug [libusb_get_device_descriptor] +[ 0.013465] [00000204] libusb: debug [libusb_exit] +[ 0.013474] [00000205] libusb: debug [linux_udev_event_thread_main] udev event thread exiting +[ 0.013502] [00000204] libusb: debug [libusb_unref_device] destroy device 4.1 +[ 0.013504] [00000204] libusb: debug [libusb_unref_device] destroy device 3.4 +[ 0.013505] [00000204] libusb: debug [libusb_unref_device] destroy device 3.3 +[ 0.013506] [00000204] libusb: debug [libusb_unref_device] destroy device 3.2 +[ 0.013507] [00000204] libusb: debug [libusb_unref_device] destroy device 3.1 +[ 0.013507] [00000204] libusb: debug [libusb_unref_device] destroy device 2.2 +[ 0.013508] [00000204] libusb: debug [libusb_unref_device] destroy device 2.1 +[ 0.013509] [00000204] libusb: debug [libusb_unref_device] destroy device 1.2 +[ 0.013510] [00000204] libusb: debug [libusb_unref_device] destroy device 1.1 +[ 0.013511] [00000204] libusb: debug [usbi_remove_event_source] remove fd 4 +[ 0.013513] [00000204] libusb: debug [usbi_remove_event_source] remove fd 3 The port you specified ('badport:bad') can not be found. Please specify one of the ports found by 'gphoto2 --list-ports' and make sure the spelling is correct (i.e. with prefix 'serial:' or 'usb:').*** Error (-5: 'Unknown port') *** *** Running "Get storage info" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --storage-info + EXITCODE=0 + set +x Test test031 PASSED *** Running "Hook script on download" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --hook-script=/usr/bin/env --get-file=1 + EXITCODE=0 + set +x Test test032 PASSED *** Running "Hook script on upload" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:/var/tmp/portage/media-gfx/gphoto2-2.5.28/work/gphoto2-2.5.28/tests/log --hook-script=/usr/bin/env -f /uploaddir --upload-file=./staging/subdir1/architecture.png + EXITCODE=0 + set +x Test test033 PASSED *** Running "Show image info" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --show-info=5 + EXITCODE=0 + set +x Test test034 PASSED *** Running "Thumbnail download" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --get-thumbnail=4 + EXITCODE=0 + set +x Test test035 PASSED *** Running "Thumbnail download for image w/o thumbnail" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --get-thumbnail=1 + EXITCODE=1 + set +x Test test036 PASSED *** Running "EXIF display" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --show-exif=4 + EXITCODE=0 + set +x Test test037 PASSED *** Running "EXIF display on image w/o EXIF" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --show-exif=1 + EXITCODE=1 + set +x Test test038 PASSED *** Running "EXIF display on non-EXIF PNG" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --show-exif=3 + EXITCODE=1 + set +x Test test039 PASSED *** Running "Get all thumbnails" test ++ ../gphoto2/gphoto2 '--camera=Directory Browse' --port=disk:./staging --get-all-thumbnails + EXITCODE=1 + set +x Test test040 PASSED 1 test(s) have FAILED FAIL testsuite (exit status: 1)