lp:~cypressyew/+git/overlay-shiftfs-tests

Owned by Po-Hsu Lin
Get this repository:
git clone https://git.not.enabled/~cypressyew/+git/overlay-shiftfs-tests
Only Po-Hsu Lin can upload to this repository. If you are Po-Hsu Lin please log in for upload directions.

Branches

Name Last Modified Last Commit
skip-install-old-release 2023-08-23 11:06:34 UTC
[install-deps] Only install testing tools for Focal and newer releases

Author: Po-Hsu Lin
Author Date: 2023-08-23 10:59:52 UTC

[install-deps] Only install testing tools for Focal and newer releases

BugLink: https://bugs.launchpad.net/bugs/2032779

We have decided to run just the old ubuntu_overlayfs_smoke_test.sh test
on older release (< Focal), therefore there is no need to install these
packages there.

Also note that snapd is not fully supported on Trusty. That's another
reason why we should skip installing these packages.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

ovl-refcnt-check-proc 2023-08-10 11:17:48 UTC
ovl-refcnt.sh: only mount /proc when it is not mounted

Author: Po-Hsu Lin
Author Date: 2023-08-10 11:13:36 UTC

ovl-refcnt.sh: only mount /proc when it is not mounted

BugLink: https://bugs.launchpad.net/bugs/2030958

The 'mount -t proc proc /proc' command will cause test failure
when /proc is already mounted.

Add an if statement first to check whether it's mounted or not.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

cleanup-trap 2023-08-10 07:18:52 UTC
Add cleanup trap for post-test cleanup

Author: Po-Hsu Lin
Author Date: 2023-08-10 07:18:52 UTC

Add cleanup trap for post-test cleanup

Use a cleanup function and a trap to do
post-test cleanup.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

fix-shiftfs-lxd-proxy 2023-08-09 14:14:11 UTC
shiftfs-lxd.sh: fix lxc instances launching behind firewall

Author: Po-Hsu Lin
Author Date: 2023-08-09 14:11:47 UTC

shiftfs-lxd.sh: fix lxc instances launching behind firewall

BugLink: https://bugs.launchpad.net/bugs/2030867

The `lxc launch images:ubuntu/jammy c1 -s zfs` command
will need proxy properly configured for accessing
https://images.linuxcontainers.org on openstack.

This can be achieved by `lxc config set core.proxy_http=$http_proxy`.

Or just launching an instance with `lxc launch ubuntu:jammy c1 -s zfs`,
like we did for other tests. It will use https://cloud-images.ubuntu.com/
instead and can be accessed without proxy configured on openstack.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

fix-docker-proxy 2023-08-09 08:49:56 UTC
ovl-map-files.sh: configure proxy for docker

Author: Po-Hsu Lin
Author Date: 2023-08-09 08:49:54 UTC

ovl-map-files.sh: configure proxy for docker

BugLink: https://bugs.launchpad.net/bugs/2030843

On openstack, we need to configure proxy for docker to access docker.io
Otherwise the test will fail with:
  docker: Error response from daemon: Get "https://registry-1.docker.io/v2/":
  net/http: request canceled while waiting for connection (Client.Timeout
  exceeded while awaiting headers).

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

fix-mkdir-shift-hung 2023-08-03 08:41:07 UTC
tests/shiftfs-hung.sh: Ignore mkdir failure

Author: Po-Hsu Lin
Author Date: 2023-08-03 08:36:57 UTC

tests/shiftfs-hung.sh: Ignore mkdir failure

BugLink: https://bugs.launchpad.net/bugs/2029463

The shiftfs-hung.sh test on Focal 5.15 GCP will fail with:
    mkdir: cannot create directory ‘d2/f1’: Invalid argument
    mkdir: cannot create directory ‘d2/f2’: Invalid argument

From Andrea this mkdir command is expected to fail. The whole idea of
this test is the system will hang with umount command if it's
vulnerable to this CVE.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

16 of 6 results
This repository contains Public information 
Everyone can see this information.

Subscribers