** Changed in: linux (Ubuntu)
       Status: New => In Progress

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Colin Ian King (colin-king)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1675329

Title:
  ubuntu_blktrace_smoke_test failed with "invalid path" on ARM64 Zesty

Status in linux package in Ubuntu:
  In Progress

Bug description:
  It looks like the sed in the get_dev() function is the cause.

  mount=$(stat -c '%m' $1 | tail -1)
  DEV=$(df $mount | grep dev | head -1 | cut -d' ' -f1 | sed 's/[0-9]//g')

  Note that this issue does not affect other amd64 systems, the sed
  command is for SATA devices there, to change /dev/sda1 to /dev/sda

  On ARM64 nodes, the actual DEV should be:
  /dev/disk/by-uuid/ec71a3bf-d777-4edb-a0ea-5b6d3504748d

  But after the sed command, it will become:
  /dev/disk/by-uuid/ecabf-d-edb-aea-bdd

  This is what I can see from /dev/disk/by-uuid:
  root@ms10-34-mcdivittB0-kernel:/dev/disk/by-uuid# ls
  9c648a56-06ad-4ca7-b23a-caaf7f5810a5  ec71a3bf-d777-4edb-a0ea-5b6d3504748d

  
  Error log:
  PASSED (CONFIG_BLK_DEV_IO_TRACE=y in /boot/config-4.10.0-14-generic)
  Using block device /dev/disk/by-uuid/ecabf-d-edb-aea-bdd for path 
/home/ubuntu/autotest/client/results/default/ubuntu_blktrace_smoke_test.blktrace-smoke-test
  FAILED expecting at least 1024 block traces events from the dd process, got 0
  FAILED expecting at least 1024 block read traces events, got 0
  FAILED expecting at least 1024 block write traces events, got 0
  Summary: 1 passed, 3 failed
  stderr:
  Invalid path /dev/disk/by-uuid/ecabf-d-edb-aea-bdd specified: 2/No such file 
or directory
  
/home/ubuntu/autotest/client/tests/ubuntu_blktrace_smoke_test/ubuntu_blktrace_smoke_test.sh:
 line 105: kill: (15290) - No such process

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-13-generic 4.10.0-13.15
  ProcVersionSignature: Ubuntu 4.10.0-13.15-generic 4.10.1
  Uname: Linux 4.10.0-13-generic aarch64
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Mar 23 04:39 seq
   crw-rw---- 1 root audio 116, 33 Mar 23 04:39 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: arm64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  Date: Thu Mar 23 08:59:50 2017
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  PciMultimedia:
   
  ProcFB:
   
  ProcKernelCmdLine: console=ttyS0,9600n8r ro
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-13-generic N/A
   linux-backports-modules-4.10.0-13-generic  N/A
   linux-firmware                             1.164
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1675329/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to