podman-3:3.4.0-3

- Gating tests: fix permissions error

From: Ed Santiago <santiago@redhat.com>
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2021-10-04 08:36:23 -04:00
parent ec6ea5bdc9
commit 531427eed4
2 changed files with 33 additions and 1 deletions

27
gating-test.patch Normal file
View File

@ -0,0 +1,27 @@
From fb2355adb3ce4de72d36830f608fb188c18d1981 Mon Sep 17 00:00:00 2001
From: Ed Santiago <santiago@redhat.com>
Date: Fri, 1 Oct 2021 05:23:16 -0600
Subject: [PATCH] Gating tests: fix permissions error
...in volume test. Looks like Bodhi gating tests run from a
nonwritable directory. I feel really stupid for not realizing
this when I first tried to fix this bug two weeks ago.
Signed-off-by: Ed Santiago <santiago@redhat.com>
---
test/system/160-volumes.bats | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/system/160-volumes.bats b/test/system/160-volumes.bats
index b48198a1899..c02525e0d3b 100644
--- a/test/system/160-volumes.bats
+++ b/test/system/160-volumes.bats
@@ -191,7 +191,7 @@ EOF
run_podman run --rm -v my_vol:/data $IMAGE sh -c "echo hello >> /data/test"
run_podman volume create my_vol2
- tarfile=hello$(random_string | tr A-Z a-z).tar
+ tarfile=${PODMAN_TMPDIR}/hello$(random_string | tr A-Z a-z).tar
run_podman volume export my_vol --output=$tarfile
# we want to use `run_podman volume export my_vol` but run_podman is wrapping EOF
run_podman volume import my_vol2 - < $tarfile

View File

@ -67,7 +67,7 @@ Version: 3.4.0
# N.foo if released, 0.N.foo if unreleased
# Rawhide almost always ships unreleased builds,
# so release tag should be of the form 0.N.foo
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Manage Pods, Containers and Container Images
License: ASL 2.0
URL: https://%{name}.io/
@ -75,6 +75,7 @@ Source0: %{git0}/archive/%{built_tag}.tar.gz
Source1: %{git_plugins}/archive/%{commit_plugins}/%{repo_plugins}-%{shortcommit_plugins}.tar.gz
Source2: %{git_mcni}/archive/%{commit_mcni}/%{repo_mcni}-%{shortcommit_mcni}.tar.gz
Source3: %{git_gvproxy}/archive/%{commit_gvproxy}/%{repo_gvproxy}-%{shortcommit_gvproxy}.tar.gz
Patch0: gating-test.patch
Provides: %{name}-manpages = %{epoch}:%{version}-%{release}
%if 0%{?fedora} && ! 0%{?rhel}
BuildRequires: btrfs-progs-devel
@ -683,6 +684,10 @@ exit 0
# rhcontainerbot account currently managed by lsm5
%changelog
* Mon Oct 04 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3:3.4.0-3
- Gating tests: fix permissions error
- From: Ed Santiago <santiago@redhat.com>
* Fri Oct 01 2021 Timm Bäder <tbaeder@redhat.com> - 3:3.4.0-2
- Remove individual flags from $CFLAGS instead of hardcoding all flags