[DRE-maint] Bug#1033629: ruby-devise: workaround to pass riscv64 autopkgtest
Bo YU
tsu.yubo at gmail.com
Wed Mar 29 00:10:10 BST 2023
Source: ruby-devise
Version: 4.8.1-1
Severity: wishlist
Tags: patch
X-Debbugs-Cc: debian-ci at lists.debian.org
Dear Maintainer,
The ruby-devise has a tmpfail issue when it rm of autopkgtest tested
after finishing debci test on riscv64:
```
autopkgtest [18:09:56]: test smoke-test: -----------------------]
smoke-test PASS
autopkgtest [18:09:57]: test smoke-test: - - - - - - - - - - results
- - - - - - - - - -
autopkgtest [18:10:15]: ERROR: "rm -rf
/tmp/autopkgtest-lxc.g1pgc3ei/downtmp/smoke-test-artifacts
/tmp/autopkgtest-lxc.g1pgc3ei/downtmp/autopkgtest_tmp" failed with
stderr "rm: cannot remove
'/tmp/autopkgtest-lxc.g1pgc3ei/downtmp/autopkgtest_tmp/myapp/tmp/cache/bootsnap/compile-cache-iseq':
Directory not empty
```
With help of Paul, the workaround is to postpone the deletion of testbed
on riscv64[0].
I have tested it on real riscv64 machine and amd64.
Please let me know if there is any issues.
[0]: https://lists.debian.org/debian-ci/2023/03/msg00004.html
--
Regards,
--
Bo YU
-------------- next part --------------
diff -Nru ruby-devise-4.8.1/debian/changelog ruby-devise-4.8.1/debian/changelog
--- ruby-devise-4.8.1/debian/changelog 2022-10-09 00:21:10.000000000 +0800
+++ ruby-devise-4.8.1/debian/changelog 2023-03-28 21:25:14.000000000 +0800
@@ -1,3 +1,10 @@
+ruby-devise (4.8.1-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Workaround to pass autopkgtest on riscv64 debci
+
+ -- Bo YU <tsu.yubo at gmail.com> Tue, 28 Mar 2023 21:25:14 +0800
+
ruby-devise (4.8.1-1) unstable; urgency=medium
[ Debian Janitor ]
diff -Nru ruby-devise-4.8.1/debian/tests/smoke-test ruby-devise-4.8.1/debian/tests/smoke-test
--- ruby-devise-4.8.1/debian/tests/smoke-test 2022-10-09 00:13:10.000000000 +0800
+++ ruby-devise-4.8.1/debian/tests/smoke-test 2023-03-28 21:25:14.000000000 +0800
@@ -32,3 +32,9 @@
test -f config/initializers/devise.rb
test -f config/locales/devise.en.yml
+
+ARCH=$(dpkg --print-architecture)
+if test "$ARCH" = "riscv64"
+then
+ sleep 5
+fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20230329/67a8448c/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list