Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGf2f538725d07: tests: fix regression tests failing on CentOS 7
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
| hg-reviewers |
| Lint Skipped |
| Unit Tests Skipped |
| Path | Packages | |||
|---|---|---|---|---|
| M | tests/test-clonebundles.t (2 lines) | |||
| M | tests/test-http-proxy.t (2 lines) | |||
| M | tests/test-lfs-serve-access.t (1 line) |
| Commit | Parents | Author | Summary | Date |
|---|---|---|---|---|
| Mathias De Mare | Feb 7 2019, 5:08 AM |
| (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false") | (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false") | ||||
| [255] | [255] | ||||
| Server is not running aborts | Server is not running aborts | ||||
| $ echo "http://localhost:$HGPORT1/bundle.hg" > server/.hg/clonebundles.manifest | $ echo "http://localhost:$HGPORT1/bundle.hg" > server/.hg/clonebundles.manifest | ||||
| $ hg clone http://localhost:$HGPORT server-not-runner | $ hg clone http://localhost:$HGPORT server-not-runner | ||||
| applying clone bundle from http://localhost:$HGPORT1/bundle.hg | applying clone bundle from http://localhost:$HGPORT1/bundle.hg | ||||
| error fetching bundle: (.* refused.*|Protocol not supported|(.* )?\$EADDRNOTAVAIL\$) (re) | error fetching bundle: (.* refused.*|Protocol not supported|(.* )?\$EADDRNOTAVAIL\$|.* No route to host) (re) | ||||
| abort: error applying bundle | abort: error applying bundle | ||||
| (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false") | (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false") | ||||
| [255] | [255] | ||||
| Server returns 404 | Server returns 404 | ||||
| $ "$PYTHON" $TESTDIR/dumbhttp.py -p $HGPORT1 --pid http.pid | $ "$PYTHON" $TESTDIR/dumbhttp.py -p $HGPORT1 --pid http.pid | ||||
| $ cat http.pid >> $DAEMON_PIDS | $ cat http.pid >> $DAEMON_PIDS | ||||
| new changesets 83180e7845de | new changesets 83180e7845de | ||||
| updating to branch default | updating to branch default | ||||
| 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | ||||
| bad host:port for proxy ("Protocol not supported" can happen on | bad host:port for proxy ("Protocol not supported" can happen on | ||||
| misconfigured hosts) | misconfigured hosts) | ||||
| $ http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f | $ http_proxy=localhost:$HGPORT2 hg clone --config http_proxy.always=True http://localhost:$HGPORT/ f | ||||
| abort: error: (Connection refused|Protocol not supported|.* actively refused it|\$EADDRNOTAVAIL\$) (re) | abort: error: (Connection refused|Protocol not supported|.* actively refused it|\$EADDRNOTAVAIL\$|No route to host) (re) | ||||
| [255] | [255] | ||||
| do not use the proxy if it is in the no list | do not use the proxy if it is in the no list | ||||
| $ http_proxy=localhost:$HGPORT1 hg clone --config http_proxy.no=localhost http://localhost:$HGPORT/ g | $ http_proxy=localhost:$HGPORT1 hg clone --config http_proxy.no=localhost http://localhost:$HGPORT/ g | ||||
| requesting all changes | requesting all changes | ||||
| adding changesets | adding changesets | ||||
| adding manifests | adding manifests | ||||
| $ hg -R httpclone update default --config lfs.url=http://localhost:$HGPORT/missing | $ hg -R httpclone update default --config lfs.url=http://localhost:$HGPORT/missing | ||||
| abort: LFS HTTP error: HTTP Error 404: Not Found! | abort: LFS HTTP error: HTTP Error 404: Not Found! | ||||
| (the "lfs.url" config may be used to override http://localhost:$HGPORT/missing) | (the "lfs.url" config may be used to override http://localhost:$HGPORT/missing) | ||||
| [255] | [255] | ||||
| $ hg -R httpclone update default --config lfs.url=http://localhost:$HGPORT2/missing | $ hg -R httpclone update default --config lfs.url=http://localhost:$HGPORT2/missing | ||||
| abort: LFS error: *onnection *refused*! (glob) (?) | abort: LFS error: *onnection *refused*! (glob) (?) | ||||
| abort: LFS error: $EADDRNOTAVAIL$! (glob) (?) | abort: LFS error: $EADDRNOTAVAIL$! (glob) (?) | ||||
| abort: LFS error: No route to host! (?) | |||||
| (the "lfs.url" config may be used to override http://localhost:$HGPORT2/missing) | (the "lfs.url" config may be used to override http://localhost:$HGPORT2/missing) | ||||
| [255] | [255] | ||||
| Blob URIs are correct when --prefix is used | Blob URIs are correct when --prefix is used | ||||
| $ hg clone --debug http://localhost:$HGPORT/subdir/mount/point cloned2 | $ hg clone --debug http://localhost:$HGPORT/subdir/mount/point cloned2 | ||||
| using http://localhost:$HGPORT/subdir/mount/point | using http://localhost:$HGPORT/subdir/mount/point | ||||
| sending capabilities command | sending capabilities command | ||||