Revised debdiff, test information for 18.04/bionic

Autopkgtest:
autopkgtest [16:25:54]: test exercise: -----------------------]
autopkgtest [16:25:54]: test exercise:  - - - - - - - - - - results - - - - - - 
- - - -
exercise             PASS
autopkgtest [16:25:54]: @@@@@@@@@@@@@@@@@@@@ summary
exercise             PASS

Manual testing:

ubuntu@test-lxcfs-bionic:~$ dpkg -l | grep lxcfs
ii  lxcfs                                 3.0.3-0ubuntu1~18.04.1                
          amd64        FUSE based filesystem for LXC

ubuntu@test-lxcfs-bionic:~$ lxc launch ubuntu:b test1
ubuntu@test-lxcfs-bionic:~$ lxc shell test1 #opened two in separate sessions
Session 1
root@test1:~# watch -n 0.1 "grep Swap /proc/meminfo"

Session 2
root@test1:~# while true; do free | grep Swap; done
...
Swap:       2097148           0     2097148
Swap:       2097148     2097148           0
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148     2097148           0
Swap:       2097148           0     2097148
...

ubuntu@test-lxcfs-bionic:~$ lxc stop test1
ubuntu@test-lxcfs-bionic:~$ sudo apt install 
./lxcfs_3.0.3-0ubuntu1~18.04.2_amd64.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'lxcfs' instead of './lxcfs_3.0.3-0ubuntu1~18.04.2_amd64.deb'
The following packages will be upgraded:
  lxcfs
1 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/44.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /home/ubuntu/lxcfs_3.0.3-0ubuntu1~18.04.2_amd64.deb lxcfs amd64 
3.0.3-0ubuntu1~18.04.2 [44.2 kB]
(Reading database ... 66998 files and directories currently installed.)
Preparing to unpack .../lxcfs_3.0.3-0ubuntu1~18.04.2_amd64.deb ...
Unpacking lxcfs (3.0.3-0ubuntu1~18.04.2) over (3.0.3-0ubuntu1~18.04.1) ...
Setting up lxcfs (3.0.3-0ubuntu1~18.04.2) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.39) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
ubuntu@test-lxcfs-bionic:~$ lxc start test1
ubuntu@test-lxcfs-bionic:~$ lxc shell test1 #opened two in separate sessions
Session 1
root@test1:~# watch -n 0.1 "grep Swap /proc/meminfo"

Session 2
root@test1:~# while true; do free | grep Swap; done
...
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
Swap:       2097148           0     2097148
...

Issue doesn't occur

** Patch added: "lp1860813_bionic.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/lxcfs/+bug/1860813/+attachment/5343837/+files/lp1860813_bionic.debdiff

** Patch removed: "lp1860813_bionic.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/lxcfs/+bug/1860813/+attachment/5342354/+files/lp1860813_bionic.debdiff

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

Title:
  LXC container reports spike in swap occasionally

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

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

Reply via email to