[Bug 6591] New: test-clone-uncompressed.t: test failure

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sun Sep 12 05:46:49 UTC 2021


https://bz.mercurial-scm.org/show_bug.cgi?id=6591

            Bug ID: 6591
           Summary: test-clone-uncompressed.t: test failure
           Product: Mercurial
           Version: 5.9.1
          Hardware: All
                OS: NetBSD
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: tk at giga.or.at
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

I see a new test failure in 5.9.1 (not in 5.9):

Seems the first problem is using long options for 'mkdir' (--parents instead of
-p).

---
/scratch/devel/py-mercurial/work/mercurial-5.9.1/tests/test-clone-uncompressed.t
+++
/scratch/devel/py-mercurial/work/mercurial-5.9.1/tests/test-clone-uncompressed.t#stream-bundle2.err
@@ -97,7 +97,12 @@
 name causing issue6581

   $ mkdir --parents container/isam-build-centos7/
+  mkdir: unknown option -- -
+  usage: mkdir [-p] [-m mode] dirname ...
+  [1]
   $ touch
container/isam-build-centos7/bazel-coverage-generator-sandboxfs-compatibility-0758e3e4f6057904d44399bd666faba9e7f40686.patch
+  touch:
container/isam-build-centos7/bazel-coverage-generator-sandboxfs-compatibility-0758e3e4f6057904d44399bd666faba9e7f40686.patch:
$ENOENT$
+  [1]

 Add all that

@@ -108,7 +113,6 @@
   adding 00changelog.n
   adding 00manifest.d
   adding 00manifest.i
-  adding
container/isam-build-centos7/bazel-coverage-generator-sandboxfs-compatibility-0758e3e4f6057904d44399bd666faba9e7f40686.patch
   adding data/foo.d
   adding data/foo.i
   adding data/foo.n
@@ -178,7 +182,7 @@

   $ hg clone server local-clone
   updating to branch default
-  1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  1087 files updated, 0 files merged, 0 files removed, 0 files unresolved

 Check that the clone went well

@@ -187,7 +191,7 @@
   checking manifests
   crosschecking files in changesets and manifests
   checking files
-  checked 3 changesets with 1088 changes to 1088 files
+  checked 3 changesets with 1087 changes to 1087 files

 Check uncompressed
 ==================
@@ -314,8 +318,8 @@
   adding changesets
   adding manifests
   adding file changes
-  added 3 changesets with 1088 changes to 1088 files
-  new changesets 96ee1d7354c4:5223b5e3265f
+  added 3 changesets with 1087 changes to 1087 files
+  new changesets 96ee1d7354c4:42e820400e84

   $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=getbundle' content-type
--bodyfile body --hgproto 0.2 --requestheader
"x-hgarg-1=bundlecaps=HG20%2Cbundle2%3DHG20%250Abookmarks%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Aphases%253Dheads%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=0&common=0000000000000000000000000000000000000000&heads=c17445101a72edac06facd130d14808dfbd5c7c2&stream=1"
   200 Script output follows
@@ -358,8 +362,8 @@
   streaming all changes
   1093 files to transfer, 102 KB of data (no-zstd !)
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  1093 files to transfer, 98.9 KB of data (zstd !)
-  transferred 98.9 KB in * seconds (* */sec) (glob) (zstd !)
+  1092 files to transfer, 98.6 KB of data
+  transferred 98.6 KB in * seconds (* */sec) (glob)

   $ ls -1 clone1/.hg/cache
   branch2-base
@@ -404,12 +408,12 @@
 #endif
 #if zstd no-rust
   $ f --size --hex --bytes 256 body
-  body: size=116340
+  body: size=115921
   0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......|
   0010: 9a 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |..STREAM2.......|
   0020: 06 09 04 0c 5e 62 79 74 65 63 6f 75 6e 74 31 30 |....^bytecount10|
-  0030: 31 32 37 36 66 69 6c 65 63 6f 75 6e 74 31 30 39 |1276filecount109|
-  0040: 33 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 |3requirementsdot|
+  0030: 30 39 39 32 66 69 6c 65 63 6f 75 6e 74 31 30 39 |0992filecount109|
+  0040: 32 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 |2requirementsdot|
   0050: 65 6e 63 6f 64 65 25 32 43 66 6e 63 61 63 68 65 |encode%2Cfncache|
   0060: 25 32 43 67 65 6e 65 72 61 6c 64 65 6c 74 61 25 |%2Cgeneraldelta%|
   0070: 32 43 72 65 76 6c 6f 67 2d 63 6f 6d 70 72 65 73 |2Crevlog-compres|
@@ -480,8 +484,8 @@
   streaming all changes
   1093 files to transfer, 102 KB of data (no-zstd !)
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  1093 files to transfer, 98.9 KB of data (zstd !)
-  transferred 98.9 KB in * seconds (* */sec) (glob) (zstd !)
+  1092 files to transfer, 98.6 KB of data
+  transferred 98.6 KB in * seconds (* */sec) (glob)
 #endif

 Clone with background file closing enabled
@@ -526,14 +530,14 @@
   bundle2-input-part: "stream2" (params: 3 mandatory) supported
   applying stream bundle
   1093 files to transfer, 102 KB of data (no-zstd !)
-  1093 files to transfer, 98.9 KB of data (zstd !)
+  1092 files to transfer, 98.6 KB of data
   starting 4 threads for background file closing
   starting 4 threads for background file closing
   updating the branch cache
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
   bundle2-input-part: total payload size 118984 (no-zstd !)
-  transferred 98.9 KB in * seconds (* */sec) (glob) (zstd !)
-  bundle2-input-part: total payload size 116145 (zstd !)
+  transferred 98.6 KB in * seconds (* */sec) (glob)
+  bundle2-input-part: total payload size 115726
   bundle2-input-part: "listkeys" (params: 1 mandatory) supported
   bundle2-input-bundle: 2 parts total
   checking for updated bookmarks
@@ -577,8 +581,8 @@
   streaming all changes
   1093 files to transfer, 102 KB of data (no-zstd !)
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  1093 files to transfer, 98.9 KB of data (zstd !)
-  transferred 98.9 KB in * seconds (* */sec) (glob) (zstd !)
+  1092 files to transfer, 98.6 KB of data
+  transferred 98.6 KB in * seconds (* */sec) (glob)
 #endif

   $ killdaemons.py
@@ -731,19 +735,19 @@
   streaming all changes
   1096 files to transfer, 102 KB of data (no-zstd !)
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  1096 files to transfer, 99.1 KB of data (zstd !)
-  transferred 99.1 KB in * seconds (* */sec) (glob) (zstd !)
+  1095 files to transfer, 98.8 KB of data
+  transferred 98.8 KB in * seconds (* */sec) (glob)
   updating to branch default
-  1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  1087 files updated, 0 files merged, 0 files removed, 0 files unresolved
 #endif
   $ hg verify -R with-bookmarks
   checking changesets
   checking manifests
   crosschecking files in changesets and manifests
   checking files
-  checked 3 changesets with 1088 changes to 1088 files
+  checked 3 changesets with 1087 changes to 1087 files
   $ hg -R with-bookmarks bookmarks
-     some-bookmark             2:5223b5e3265f
+     some-bookmark             2:42e820400e84

 Stream repository with phases
 -----------------------------
@@ -772,17 +776,17 @@
   streaming all changes
   1096 files to transfer, 102 KB of data (no-zstd !)
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  1096 files to transfer, 99.1 KB of data (zstd !)
-  transferred 99.1 KB in * seconds (* */sec) (glob) (zstd !)
+  1095 files to transfer, 98.8 KB of data
+  transferred 98.8 KB in * seconds (* */sec) (glob)
   updating to branch default
-  1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  1087 files updated, 0 files merged, 0 files removed, 0 files unresolved
 #endif
   $ hg verify -R phase-publish
   checking changesets
   checking manifests
   crosschecking files in changesets and manifests
   checking files
-  checked 3 changesets with 1088 changes to 1088 files
+  checked 3 changesets with 1087 changes to 1087 files
   $ hg -R phase-publish phase -r 'all()'
   0: public
   1: public
@@ -823,10 +827,10 @@
   streaming all changes
   1097 files to transfer, 102 KB of data (no-zstd !)
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  1097 files to transfer, 99.1 KB of data (zstd !)
-  transferred 99.1 KB in * seconds (* */sec) (glob) (zstd !)
+  1096 files to transfer, 98.8 KB of data
+  transferred 98.8 KB in * seconds (* */sec) (glob)
   updating to branch default
-  1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  1087 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg -R phase-no-publish phase -r 'all()'
   0: draft
   1: draft
@@ -837,7 +841,7 @@
   checking manifests
   crosschecking files in changesets and manifests
   checking files
-  checked 3 changesets with 1088 changes to 1088 files
+  checked 3 changesets with 1087 changes to 1087 files

   $ killdaemons.py

@@ -878,20 +882,20 @@
   streaming all changes
   1098 files to transfer, 102 KB of data (no-zstd !)
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  1098 files to transfer, 99.5 KB of data (zstd !)
-  transferred 99.5 KB in * seconds (* */sec) (glob) (zstd !)
+  1097 files to transfer, 99.2 KB of data
+  transferred 99.2 KB in * seconds (* */sec) (glob)
   $ hg -R with-obsolescence log -T '{rev}: {phase}\n'
   2: draft
   1: draft
   0: draft
   $ hg debugobsolete -R with-obsolescence
-  8c206a663911c1f97f2f9d7382e417ae55872cfa 0
{5223b5e3265f0df40bb743da62249413d74ac70f} (Thu Jan 01 00:00:00 1970 +0000)
{'user': 'test'}
+  e53e122156df12330d3a0b72351e3a84bfd14195 0
{42e820400e843bc479ad36068ff772a69c8affe9} (Thu Jan 01 00:00:00 1970 +0000)
{'user': 'test'}
   $ hg verify -R with-obsolescence
   checking changesets
   checking manifests
   crosschecking files in changesets and manifests
   checking files
-  checked 4 changesets with 1089 changes to 1088 files
+  checked 4 changesets with 1088 changes to 1087 files

   $ hg clone -U --stream --config experimental.evolution=0
http://localhost:$HGPORT with-obsolescence-no-evolution
   streaming all changes

ERROR: test-clone-uncompressed.t#stream-bundle2 output changed
!
---
/scratch/devel/py-mercurial/work/mercurial-5.9.1/tests/test-clone-uncompressed.t
+++
/scratch/devel/py-mercurial/work/mercurial-5.9.1/tests/test-clone-uncompressed.t#stream-legacy.err
@@ -97,7 +97,12 @@
 name causing issue6581

   $ mkdir --parents container/isam-build-centos7/
+  mkdir: unknown option -- -
+  usage: mkdir [-p] [-m mode] dirname ...
+  [1]
   $ touch
container/isam-build-centos7/bazel-coverage-generator-sandboxfs-compatibility-0758e3e4f6057904d44399bd666faba9e7f40686.patch
+  touch:
container/isam-build-centos7/bazel-coverage-generator-sandboxfs-compatibility-0758e3e4f6057904d44399bd666faba9e7f40686.patch:
$ENOENT$
+  [1]

 Add all that

@@ -108,7 +113,6 @@
   adding 00changelog.n
   adding 00manifest.d
   adding 00manifest.i
-  adding
container/isam-build-centos7/bazel-coverage-generator-sandboxfs-compatibility-0758e3e4f6057904d44399bd666faba9e7f40686.patch
   adding data/foo.d
   adding data/foo.i
   adding data/foo.n
@@ -178,7 +182,7 @@

   $ hg clone server local-clone
   updating to branch default
-  1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  1087 files updated, 0 files merged, 0 files removed, 0 files unresolved

 Check that the clone went well

@@ -187,7 +191,7 @@
   checking manifests
   crosschecking files in changesets and manifests
   checking files
-  checked 3 changesets with 1088 changes to 1088 files
+  checked 3 changesets with 1087 changes to 1087 files

 Check uncompressed
 ==================
@@ -247,8 +251,8 @@
   adding changesets
   adding manifests
   adding file changes
-  added 3 changesets with 1088 changes to 1088 files
-  new changesets 96ee1d7354c4:5223b5e3265f
+  added 3 changesets with 1087 changes to 1087 files
+  new changesets 96ee1d7354c4:42e820400e84

   $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=getbundle' content-type
--bodyfile body --hgproto 0.2 --requestheader
"x-hgarg-1=bundlecaps=HG20%2Cbundle2%3DHG20%250Abookmarks%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Aphases%253Dheads%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=0&common=0000000000000000000000000000000000000000&heads=c17445101a72edac06facd130d14808dfbd5c7c2&stream=1"
   200 Script output follows
@@ -347,8 +351,8 @@
   streaming all changes
   1090 files to transfer, 102 KB of data (no-zstd !)
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  1090 files to transfer, 98.8 KB of data (zstd !)
-  transferred 98.8 KB in * seconds (* */sec) (glob) (zstd !)
+  1089 files to transfer, 98.5 KB of data
+  transferred 98.5 KB in * seconds (* */sec) (glob)
   searching for changes
   no changes found
   $ cat server/errors.txt
@@ -404,12 +408,12 @@
 #endif
 #if zstd no-rust
   $ f --size --hex --bytes 256 body
-  body: size=116340
+  body: size=115921
   0000: 04 6e 6f 6e 65 48 47 32 30 00 00 00 00 00 00 00 |.noneHG20.......|
   0010: 9a 07 53 54 52 45 41 4d 32 00 00 00 00 03 00 09 |..STREAM2.......|
   0020: 06 09 04 0c 5e 62 79 74 65 63 6f 75 6e 74 31 30 |....^bytecount10|
-  0030: 31 32 37 36 66 69 6c 65 63 6f 75 6e 74 31 30 39 |1276filecount109|
-  0040: 33 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 |3requirementsdot|
+  0030: 30 39 39 32 66 69 6c 65 63 6f 75 6e 74 31 30 39 |0992filecount109|
+  0040: 32 72 65 71 75 69 72 65 6d 65 6e 74 73 64 6f 74 |2requirementsdot|
   0050: 65 6e 63 6f 64 65 25 32 43 66 6e 63 61 63 68 65 |encode%2Cfncache|
   0060: 25 32 43 67 65 6e 65 72 61 6c 64 65 6c 74 61 25 |%2Cgeneraldelta%|
   0070: 32 43 72 65 76 6c 6f 67 2d 63 6f 6d 70 72 65 73 |2Crevlog-compres|
@@ -470,8 +474,8 @@
   streaming all changes
   1090 files to transfer, 102 KB of data (no-zstd !)
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  1090 files to transfer, 98.8 KB of data (zstd !)
-  transferred 98.8 KB in * seconds (* */sec) (glob) (zstd !)
+  1089 files to transfer, 98.5 KB of data
+  transferred 98.5 KB in * seconds (* */sec) (glob)
   searching for changes
   no changes found
 #endif
@@ -494,11 +498,11 @@
   streaming all changes
   sending stream_out command
   1090 files to transfer, 102 KB of data (no-zstd !)
-  1090 files to transfer, 98.8 KB of data (zstd !)
+  1089 files to transfer, 98.5 KB of data
   starting 4 threads for background file closing
   updating the branch cache
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  transferred 98.8 KB in * seconds (* */sec) (glob) (zstd !)
+  transferred 98.5 KB in * seconds (* */sec) (glob)
   query 1; heads
   sending batch command
   searching for changes
@@ -567,8 +571,8 @@
   streaming all changes
   1090 files to transfer, 102 KB of data (no-zstd !)
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  1090 files to transfer, 98.8 KB of data (zstd !)
-  transferred 98.8 KB in * seconds (* */sec) (glob) (zstd !)
+  1089 files to transfer, 98.5 KB of data
+  transferred 98.5 KB in * seconds (* */sec) (glob)
   searching for changes
   no changes found
 #endif
@@ -719,12 +723,12 @@
   streaming all changes
   1090 files to transfer, 102 KB of data (no-zstd !)
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  1090 files to transfer, 98.8 KB of data (zstd !)
-  transferred 98.8 KB in * seconds (* */sec) (glob) (zstd !)
+  1089 files to transfer, 98.5 KB of data
+  transferred 98.5 KB in * seconds (* */sec) (glob)
   searching for changes
   no changes found
   updating to branch default
-  1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  1087 files updated, 0 files merged, 0 files removed, 0 files unresolved
 #endif
 #if stream-bundle2
   $ hg clone --stream http://localhost:$HGPORT with-bookmarks
@@ -741,9 +745,9 @@
   checking manifests
   crosschecking files in changesets and manifests
   checking files
-  checked 3 changesets with 1088 changes to 1088 files
+  checked 3 changesets with 1087 changes to 1087 files
   $ hg -R with-bookmarks bookmarks
-     some-bookmark             2:5223b5e3265f
+     some-bookmark             2:42e820400e84

 Stream repository with phases
 -----------------------------
@@ -760,12 +764,12 @@
   streaming all changes
   1090 files to transfer, 102 KB of data (no-zstd !)
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  1090 files to transfer, 98.8 KB of data (zstd !)
-  transferred 98.8 KB in * seconds (* */sec) (glob) (zstd !)
+  1089 files to transfer, 98.5 KB of data
+  transferred 98.5 KB in * seconds (* */sec) (glob)
   searching for changes
   no changes found
   updating to branch default
-  1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  1087 files updated, 0 files merged, 0 files removed, 0 files unresolved
 #endif
 #if stream-bundle2
   $ hg clone --stream http://localhost:$HGPORT phase-publish
@@ -782,7 +786,7 @@
   checking manifests
   crosschecking files in changesets and manifests
   checking files
-  checked 3 changesets with 1088 changes to 1088 files
+  checked 3 changesets with 1087 changes to 1087 files
   $ hg -R phase-publish phase -r 'all()'
   0: public
   1: public
@@ -807,12 +811,12 @@
   streaming all changes
   1090 files to transfer, 102 KB of data (no-zstd !)
   transferred 102 KB in * seconds (* */sec) (glob) (no-zstd !)
-  1090 files to transfer, 98.8 KB of data (zstd !)
-  transferred 98.8 KB in * seconds (* */sec) (glob) (zstd !)
+  1089 files to transfer, 98.5 KB of data
+  transferred 98.5 KB in * seconds (* */sec) (glob)
   searching for changes
   no changes found
   updating to branch default
-  1088 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  1087 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg -R phase-no-publish phase -r 'all()'
   0: public
   1: public
@@ -837,7 +841,7 @@
   checking manifests
   crosschecking files in changesets and manifests
   checking files
-  checked 3 changesets with 1088 changes to 1088 files
+  checked 3 changesets with 1087 changes to 1087 files

   $ killdaemons.py


ERROR: test-clone-uncompressed.t#stream-legacy output changed

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list