Source: mercurial
Version: 6.9.1-1
Severity: serious
Tags: ftbfs patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@lists.debian.org

Dear Maintainer,

Now mercurial has one ftbfs issue on riscv64 like:

```
...
--- /build/reproducible-path/mercurial-6.9.1/tests/test-bookmarks-corner-case.t
+++ 
/build/reproducible-path/mercurial-6.9.1/tests/test-bookmarks-corner-case.t.err
@@ -188,15 +188,6 @@
 Check raced push output.
 
   $ cat push-output.txt
-  pushing to ssh://user@dummy/bookrace-server
-  searching for changes
-  remote: setting raced push up
-  remote has heads on branch 'default' that are not known locally: f26c3b5167d1
-  remote: adding changesets
-  remote: adding manifests
-  remote: adding file changes
-  remote: added 1 changesets with 1 changes to 1 files
-  updating bookmark book-A
 
 Check result of the push.
 

ERROR: test-bookmarks-corner-case.t output changed
!# Ret was: 0 (test-bookmarks-corner-case.t) 
...
```

See 
https://buildd.debian.org/status/fetch.php?pkg=mercurial&arch=riscv64&ver=6.9.1-1&stamp=1737841298&raw=0

From test-bookmarks-corner-case.t's context[0], I think this is one
timeout issue on riscv64 here. The ideal solution is to increase timeout
on riscv64 separately, but it is not easy to do this given currently
test suite. So I just skip the test case on riscv64.

I will test this on one more faster riscv64 machine to identify whether
this is a timeout issue also.

Please let me know if any issues.

[0]: 
https://salsa.debian.org/python-team/packages/mercurial/-/blob/debian/master/tests/test-bookmarks-corner-case.t?ref_type=heads#L153


-- 
Regards,
--
  Bo YU

diff -Nru mercurial-6.9.1/debian/changelog mercurial-6.9.1/debian/changelog
--- mercurial-6.9.1/debian/changelog    2025-01-22 09:39:12.000000000 +0000
+++ mercurial-6.9.1/debian/changelog    2025-01-26 09:10:02.000000000 +0000
@@ -1,3 +1,11 @@
+mercurial (6.9.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Skip test-bookmarks-corner-case.t on riscv64 to fix FTBFS. 
+    (Closes: #-1)
+
+ -- Bo YU <tsu.y...@gmail.com>  Sun, 26 Jan 2025 09:10:02 +0000
+
 mercurial (6.9.1-1) unstable; urgency=medium
 
   * New upstream bugfix release.
diff -Nru mercurial-6.9.1/debian/mercurial.test_blacklist_riscv64 
mercurial-6.9.1/debian/mercurial.test_blacklist_riscv64
--- mercurial-6.9.1/debian/mercurial.test_blacklist_riscv64     2024-10-29 
14:09:24.000000000 +0000
+++ mercurial-6.9.1/debian/mercurial.test_blacklist_riscv64     2025-01-26 
09:10:02.000000000 +0000
@@ -1,2 +1,3 @@
 # times out on riscv64 buildds
 test-dirstate-read-race.t
+test-bookmarks-corner-case.t

Attachment: signature.asc
Description: PGP signature

Reply via email to