ubuntu_stress_smoke_test failed to build on Trusty

Bug #1880091 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stress-ng
Fix Released
Critical
Unassigned
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned

Bug Description

Issue found on node "kili" with Trusty kernel.

Test suite HEAD SHA1: 9cf1c1f
  stderr:
  stress-dentry.c: In function ‘stress_dentry_misc’:
  stress-dentry.c:155:17: error: storage size of ‘utim’ isn’t known
    struct utimbuf utim;
                   ^
  stress-dentry.c:166:2: warning: implicit declaration of function ‘utime’ [-Wimplicit-function-declaration]
    (void)utime(path, NULL);
    ^
  stress-dentry.c:155:17: warning: unused variable ‘utim’ [-Wunused-variable]
    struct utimbuf utim;
                   ^
  stress-dccp.c: In function ‘stress_dccp_client’:
  stress-dccp.c:196:23: error: dereferencing pointer to incomplete type
     (void)unlink(addr_un->sun_path);
                         ^
  stress-dccp.c: In function ‘stress_dccp_server’:
  stress-dccp.c:376:23: error: dereferencing pointer to incomplete type
     (void)unlink(addr_un->sun_path);
                         ^
  make[1]: *** [stress-dccp.o] Error 1
  make[1]: *** Waiting for unfinished jobs....
  stress-efivar.c: In function ‘efi_get_variable’:
  stress-efivar.c:204:18: error: ‘FS_IOC_GETFLAGS’ undeclared (first use in this function)
    ret = ioctl(fd, FS_IOC_GETFLAGS, &flags);
                    ^
  stress-efivar.c:204:18: note: each undeclared identifier is reported only once for each function it appears in
  stress-efivar.c:212:18: error: ‘FS_IOC_SETFLAGS’ undeclared (first use in this function)
    ret = ioctl(fd, FS_IOC_SETFLAGS, &flags);
                    ^
  make[1]: *** [stress-dentry.o] Error 1
  make[1]: *** [stress-efivar.o] Error 1
  make: *** [all] Error 2

Po-Hsu Lin (cypressyew)
tags: added: amd64 sru-20200518 trusty ubuntu-stress-smoke-test
Revision history for this message
Colin Ian King (colin-king) wrote :

That was due to a "fix" from community. I've removed it and it should work now.

Changed in stress-ng:
status: New → Fix Committed
importance: Undecided → Critical
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Test suite HEAD SHA1: 1b4471b

It's working on Trusty again, thanks.

Changed in stress-ng:
status: Fix Committed → Fix Released
Changed in ubuntu-kernel-tests:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.