[Bug 1868665] Re: quotactl04 from ubuntu_ltp_syscalls failed with B

2020-04-02 Thread Sean Feole
** Changed in: linux (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

** Tags removed: kqa-blocker

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868665

Title:
  quotactl04 from ubuntu_ltp_syscalls failed with B

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1868665/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868665] Re: quotactl04 from ubuntu_ltp_syscalls failed with B

2020-03-27 Thread Po-Hsu Lin
Test passed with 4.15.0-94.95

01:10:42 DEBUG| [stdout] startup='Fri Mar 27 00:58:27 2020'
01:10:42 DEBUG| [stdout] tst_kconfig.c:62: INFO: Parsing kernel config 
'/boot/config-4.15.0-94-generic'
01:10:42 DEBUG| [stdout] tst_device.c:244: INFO: Using test device 
LTP_DEV='/dev/loop0'
01:10:42 DEBUG| [stdout] tst_test.c:1229: INFO: Timeout per run is 0h 05m 00s
01:10:42 DEBUG| [stdout] tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ext4 
opts='' extra opts='-O quota,project'
01:10:42 DEBUG| [stdout] mke2fs 1.44.1 (24-Mar-2018)
01:10:42 DEBUG| [stdout] quotactl04.c:127: INFO: Test #0: QCMD(Q_QUOTAON, 
PRJQUOTA)
01:10:42 DEBUG| [stdout] quotactl04.c:142: PASS: quotactl succeeded to turn on 
quota for project
01:10:42 DEBUG| [stdout] quotactl04.c:127: INFO: Test #1: QCMD(Q_SETQUOTA, 
PRJQUOTA)
01:10:42 DEBUG| [stdout] quotactl04.c:142: PASS: quotactl succeeded to set disk 
quota limit for project
01:10:42 DEBUG| [stdout] quotactl04.c:127: INFO: Test #2: QCMD(Q_GETQUOTA, 
PRJQUOTA)
01:10:42 DEBUG| [stdout] quotactl04.c:142: PASS: quotactl succeeded to get disk 
quota limit for project
01:10:42 DEBUG| [stdout] quotactl04.c:127: INFO: Test #3: QCMD(Q_SETINFO, 
PRJQUOTA
01:10:42 DEBUG| [stdout] quotactl04.c:142: PASS: quotactl succeeded to set 
information about quotafile for project
01:10:42 DEBUG| [stdout] quotactl04.c:127: INFO: Test #4: QCMD(Q_GETINFO, 
PRJQUOTA
01:10:42 DEBUG| [stdout] quotactl04.c:142: PASS: quotactl succeeded to get 
information about quotafile for project
01:10:42 DEBUG| [stdout] quotactl04.c:127: INFO: Test #5: QCMD(Q_GETFMT, 
PRJQUOTA)
01:10:42 DEBUG| [stdout] quotactl04.c:142: PASS: quotactl succeeded to get 
quota format for project
01:10:42 DEBUG| [stdout] quotactl04.c:127: INFO: Test #6: QCMD(Q_GETNEXTQUOTA, 
PRJQUOTA)
01:10:42 DEBUG| [stdout] quotactl04.c:142: PASS: quotactl succeeded to get next 
disk quota limit for project
01:10:42 DEBUG| [stdout] quotactl04.c:127: INFO: Test #7: QCMD(Q_QUOTAOFF, 
PRJQUOTA)
01:10:42 DEBUG| [stdout] quotactl04.c:142: PASS: quotactl succeeded to turn off 
quota for project
01:10:42 DEBUG| [stdout] 
01:10:42 DEBUG| [stdout] Summary:
01:10:42 DEBUG| [stdout] passed   8
01:10:42 DEBUG| [stdout] failed   0
01:10:42 DEBUG| [stdout] skipped  0
01:10:42 DEBUG| [stdout] warnings 0

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

** Changed in: ubuntu-kernel-tests
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868665

Title:
  quotactl04 from ubuntu_ltp_syscalls failed with B

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1868665/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868665] Re: quotactl04 from ubuntu_ltp_syscalls failed with B

2020-03-26 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
bionic' to 'verification-done-bionic'. If the problem still exists,
change the tag 'verification-needed-bionic' to 'verification-failed-
bionic'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868665

Title:
  quotactl04 from ubuntu_ltp_syscalls failed with B

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1868665/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868665] Re: quotactl04 from ubuntu_ltp_syscalls failed with B

2020-03-24 Thread Kleber Sacilotto de Souza
** Changed in: linux (Ubuntu Bionic)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868665

Title:
  quotactl04 from ubuntu_ltp_syscalls failed with B

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1868665/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868665] Re: quotactl04 from ubuntu_ltp_syscalls failed with B

2020-03-24 Thread Po-Hsu Lin
** Changed in: linux (Ubuntu)
 Assignee: Po-Hsu Lin (cypressyew) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868665

Title:
  quotactl04 from ubuntu_ltp_syscalls failed with B

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1868665/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868665] Re: quotactl04 from ubuntu_ltp_syscalls failed with B

2020-03-24 Thread Po-Hsu Lin
https://lists.ubuntu.com/archives/kernel-team/2020-March/108449.html

** Description changed:

+ == SRU Justification ==
+ Commit d65d87a07476 ("ext4: improve explanation of a mount failure
+ caused by a misconfigured kernel") applied to our Bionic tree via the
+ stable-update process does not consider the situation when quota support
+ was configured as a module.
+ 
+ This will cause failure to quotactl04 test from ubuntu_ltp_syscalls:
+   <<>>
+   tag=quotactl04 stime=1585032076
+   cmdline="quotactl04"
+   contacts=""
+   analysis=exit
+   <<>>
+   incrementing stop
+   tst_kconfig.c:62: INFO: Parsing kernel config 
'/boot/config-4.15.0-92-generic'
+   tst_device.c:244: INFO: Using test device LTP_DEV='/dev/loop0'
+   tst_test.c:1229: INFO: Timeout per run is 0h 05m 00s
+   tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ext4 opts='' extra opts='-O 
quota,project'
+   mke2fs 1.44.1 (24-Mar-2018)
+   safe_macros.c:769: BROK: quotactl04.c:109: mount(/dev/loop0, mntpoint, 
ext4, 0, 0x55edd2c1ab1d) failed: EINVAL (22)
+ 
+   Summary:
+   passed   0
+   failed   0
+   skipped  0
+   warnings 0
+   <<>>
+   initiation_status="ok"
+   duration=2 termination_type=exited termination_id=2 corefile=no
+   cutime=0 cstime=2
+   <<>>
+ 
+ And from the syslog you will see:
+   LTP: starting quotactl04
+   EXT4-fs (loop0): The kernel was not built with CONFIG_QUOTA and 
CONFIG_QFMT_V2
+ 
+ == Fix ==
+ * 9db176bceb5c ("ext4: fix mount failure with quota configured as module")
+ 
+ This patch can be cherry-picked into Bionic and it's already in Focal.
+ 
+ I didn't see commit d65d87a07476 in Eoan / Disco, so I think they don't
+ need this patch.
+ 
+ == Test ==
+ Test kernel could be found here:
+ https://people.canonical.com/~phlin/kernel/lp-1868665-quota-module/
+ 
+ Tested with the quotactl04 test from ubuntu_ltp_syscalls and it has
+ passed as expected.
+ 
+ == Regression Potential ==
+ Low, this patch is specific to ext4 quota support. And it's just using
+ a more general way to do the check.
+ 
+ 
+ == Original Bug Report ==
  Issue found on Bionic 4.15.0-92-generic
  Manually verified with 4.15.0-91, this issue does not exist.
  
  Result for 4.15.0-92:
  <<>>
  tag=quotactl04 stime=1585032076
  cmdline="quotactl04"
  contacts=""
  analysis=exit
  <<>>
  incrementing stop
  tst_kconfig.c:62: INFO: Parsing kernel config '/boot/config-4.15.0-92-generic'
  tst_device.c:244: INFO: Using test device LTP_DEV='/dev/loop0'
  tst_test.c:1229: INFO: Timeout per run is 0h 05m 00s
  tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ext4 opts='' extra opts='-O 
quota,project'
  mke2fs 1.44.1 (24-Mar-2018)
  safe_macros.c:769: BROK: quotactl04.c:109: mount(/dev/loop0, mntpoint, ext4, 
0, 0x55edd2c1ab1d) failed: EINVAL (22)
  
  Summary:
  passed   0
  failed   0
  skipped  0
  warnings 0
  <<>>
  initiation_status="ok"
  duration=2 termination_type=exited termination_id=2 corefile=no
  cutime=0 cstime=2
  <<>>
  
  Syslog for 4.15.0-92:
  Mar 24 06:40:31 larry kernel: [  135.916625] LTP: starting quotactl04
  Mar 24 06:40:32 larry kernel: [  136.163837] EXT4-fs (loop0): The kernel was 
not built with CONFIG_QUOTA and CONFIG_QFMT_V2
- 
  
  Result for 4.15.0-91:
  <<>>
  tag=quotactl04 stime=1585031743
  cmdline="quotactl04"
  contacts=""
  analysis=exit
  <<>>
  tst_kconfig.c:62: INFO: Parsing kernel config '/boot/config-4.15.0-91-generic'
  tst_device.c:244: INFO: Using test device LTP_DEV='/dev/loop1'
  tst_test.c:1229: INFO: Timeout per run is 0h 05m 00s
  tst_mkfs.c:90: INFO: Formatting /dev/loop1 with ext4 opts='' extra opts='-O 
quota,project'
  mke2fs 1.44.1 (24-Mar-2018)
  quotactl04.c:127: INFO: Test #0: QCMD(Q_QUOTAON, PRJQUOTA)
  quotactl04.c:142: PASS: quotactl succeeded to turn on quota for project
  quotactl04.c:127: INFO: Test #1: QCMD(Q_SETQUOTA, PRJQUOTA)
  quotactl04.c:142: PASS: quotactl succeeded to set disk quota limit for project
  quotactl04.c:127: INFO: Test #2: QCMD(Q_GETQUOTA, PRJQUOTA)
  quotactl04.c:142: PASS: quotactl succeeded to get disk quota limit for project
  quotactl04.c:127: INFO: Test #3: QCMD(Q_SETINFO, PRJQUOTA
  quotactl04.c:142: PASS: quotactl succeeded to set information about quotafile 
for project
  quotactl04.c:127: INFO: Test #4: QCMD(Q_GETINFO, PRJQUOTA
  quotactl04.c:142: PASS: quotactl succeeded to get information about quotafile 
for project
  quotactl04.c:127: INFO: Test #5: QCMD(Q_GETFMT, PRJQUOTA)
  quotactl04.c:142: PASS: quotactl succeeded to get quota format for project
  quotactl04.c:127: INFO: Test #6: QCMD(Q_GETNEXTQUOTA, PRJQUOTA)
  quotactl04.c:142: PASS: quotactl succeeded to get next disk quota limit for 
project
  quotactl04.c:127: INFO: Test #7: QCMD(Q_QUOTAOFF, PRJQUOTA)
  quotactl04.c:142: PASS: quotactl succeeded to turn off quota for project
  
  Summary:
  passed   8
  failed   0
  skipped  0
  warnings 0
  <<>>
  initiation_status="ok"
  duration=0 termination_type=exited termination_id=0 corefile=no
  cutime=0 cstime=2
  <<>>
  
  Syslog for 4.15.0-91:
  

[Bug 1868665] Re: quotactl04 from ubuntu_ltp_syscalls failed with B

2020-03-24 Thread Po-Hsu Lin
** Changed in: linux (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868665

Title:
  quotactl04 from ubuntu_ltp_syscalls failed with B

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1868665/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868665] Re: quotactl04 from ubuntu_ltp_syscalls failed with B

2020-03-24 Thread Po-Hsu Lin
A test kernel built with the fix in comment #3, it works as expected.
https://people.canonical.com/~phlin/kernel/lp-1868665-quota-module/

I will SRU this patch later.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868665

Title:
  quotactl04 from ubuntu_ltp_syscalls failed with B

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1868665/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868665] Re: quotactl04 from ubuntu_ltp_syscalls failed with B

2020-03-24 Thread Po-Hsu Lin
It looks like this is the cause in master-next of ubuntu-bionic:
86cd0ee502bd2f16f331bf26cb434f45ac69b21f
ext4: improve explanation of a mount failure caused by a misconfigured kernel

This issue happens when quota was configured as a module, looks like this is 
the upstream fix:
9db176bceb5c5df4990486709da386edadc6bd1d
ext4: fix mount failure with quota configured as module



** Changed in: ubuntu-kernel-tests
 Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: ubuntu-kernel-tests
   Status: New => In Progress

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

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Bionic)
 Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868665

Title:
  quotactl04 from ubuntu_ltp_syscalls failed with B

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1868665/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs