Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2021-01-22 14:05:49 -04:00
commit 551ac2bdf9
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 184 additions and 0 deletions

View file

@ -0,0 +1,19 @@
[[!comment format=mdwn
username="yarikoptic"
avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
subject="comment 4"
date="2021-01-22T16:44:58Z"
content="""
did it come back, I see
```
2021-01-22T04:32:25.5012547Z prop_view_roundtrips: FAIL (0.09s)
2021-01-22T04:32:25.5015902Z *** Failed! Falsified (after 218 tests):
2021-01-22T04:32:25.5016251Z AssociatedFile (Just \"rdmBBP\")
2021-01-22T04:32:25.5018130Z MetaData (fromList [(MetaField \"CkL\",fromList [MetaValue (CurrentlySet False) \"\",MetaValue (CurrentlySet True) \"\SOH5:R9\EM\DC4\",MetaValue (CurrentlySet True) \"\STX\US\fL2\ACK|\\\r[$\",MetaValue (CurrentlySet False) \"\ETBRi\",MetaValue (CurrentlySet False) \"/\FS}\",MetaValue (CurrentlySet True) \"W\",MetaValue (CurrentlySet False) \"X=sQh\NAK^\",MetaValue (CurrentlySet False) \"l\SUB\a\"]),(MetaField \"jM\",fromList [MetaValue (CurrentlySet False) \"\",MetaValue (CurrentlySet False) \"\FSSivk\",MetaValue (CurrentlySet True) \"J'<\SYN\STXGJP\"]),(MetaField \"V\",fromList [MetaValue (CurrentlySet False) \"\",MetaValue (CurrentlySet True) \"\n\NUL\",MetaValue (CurrentlySet True) \"\r\",MetaValue (CurrentlySet False) \"+X\",MetaValue (CurrentlySet True) \"@aN\t~c\SIy\",MetaValue (CurrentlySet False) \"K>xq\",MetaValue (CurrentlySet True) \"a:\"]),(MetaField \"W\",fromList [MetaValue (CurrentlySet True) \"0\DC4qL\",MetaValue (CurrentlySet False) \"K\",MetaValue (CurrentlySet False) \"LD\DC3<M\",MetaValue (CurrentlySet False) \"a\v\",MetaValue (CurrentlySet True) \"dO\",MetaValue (CurrentlySet True) \"w\EOT\"])])
2021-01-22T04:32:25.5020545Z True
2021-01-22T04:32:25.5020894Z Use --quickcheck-replay=455629 to reproduce.
```
on https://github.com/datalad/git-annex/runs/1746587663?check_suite_focus=true with `8.20201129+git169-gaa07e68ed_x64`
"""]]

View file

@ -0,0 +1,112 @@
[[!comment format=mdwn
username="yarikoptic"
avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
subject="comment 4"
date="2021-01-22T01:47:46Z"
content="""
yeap, it is not about 404 ...
<details>
<summary>with gogs/gin situation is obscure but \"easyish\" - 401 is returned upon access to `/info/refs` but not above:</summary>
```shell
$> wget -S \"https://gin.g-node.org/SakshamSharda/ophys_testing1.git/info/refs\"
--2021-01-21 20:37:22-- https://gin.g-node.org/SakshamSharda/ophys_testing1.git/info/refs
Resolving gin.g-node.org (gin.g-node.org)... 141.84.41.219
Connecting to gin.g-node.org (gin.g-node.org)|141.84.41.219|:443... connected.
HTTP request sent, awaiting response...
HTTP/1.1 401 Unauthorized
Date: Fri, 22 Jan 2021 01:37:23 GMT
Server: Apache/2.4.38 (Debian)
content-type: text/plain
www-authenticate: Basic realm=\".\"
content-length: 0
set-cookie: lang=en-US; Path=/; Max-Age=2147483647
set-cookie: gnode_gin=823b677f19feb8ef; Path=/; HttpOnly
set-cookie: _csrf=GrekbiqDJleLLNcVyax5z77buGY6MTYxMTI3OTQ0MzYwMTMyMzE4NQ; Path=/; Expires=Sat, 23 Jan 2021 01:37:23 GMT
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Username/Password Authentication Failed.
1 51975 ->6 [2].....................................:Thu 21 Jan 2021 08:37:23 PM EST:.
(git)lena:~/proj/misc/git[master]git
$> wget -S \"https://gin.g-node.org/SakshamSharda/ophys_testing1.git/info\"
--2021-01-21 20:37:52-- https://gin.g-node.org/SakshamSharda/ophys_testing1.git/info
Resolving gin.g-node.org (gin.g-node.org)... 141.84.41.219
Connecting to gin.g-node.org (gin.g-node.org)|141.84.41.219|:443... connected.
HTTP request sent, awaiting response...
HTTP/1.1 404 Not Found
Date: Fri, 22 Jan 2021 01:37:53 GMT
Server: Apache/2.4.38 (Debian)
content-type: text/html; charset=UTF-8
set-cookie: lang=en-US; Path=/; Max-Age=2147483647
set-cookie: gnode_gin=26d42c5108c8715d; Path=/; HttpOnly
set-cookie: _csrf=SAKUL4rdspufTb_lxEWIijnzYBU6MTYxMTI3OTQ3Mjk5MDczODgzMA; Path=/; Expires=Sat, 23 Jan 2021 01:37:52 GMT
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
2021-01-21 20:37:53 ERROR 404: Not Found.
```
</details>
github is ... trickier, or to say -- my C/gdb/whatever foo is not good enough, since
<details>
<summary>it is still 404 with simple wget but git remote-https seems to get 401:</summary>
```shell
(gdb) p results
$15 = {curl_result = CURLE_HTTP_RETURNED_ERROR, http_code = 401, auth_avail = 1, http_connectcode = 0}
(gdb) p rl
No symbol \"rl\" in current context.
(gdb) p url
$16 = 0x5555557a4450 \"https://github.com/yarikoptic/abcd-testds2/info/refs?service=git-upload-pack\"
(gdb) bt
#0 http_request (url=0x5555557a4450 \"https://github.com/yarikoptic/abcd-testds2/info/refs?service=git-upload-pack\",
result=<optimized out>, target=<optimized out>, options=0x7fffffffd920) at http.c:1981
#1 0x00005555555665bf in http_request_reauth (
url=0x5555557a4450 \"https://github.com/yarikoptic/abcd-testds2/info/refs?service=git-upload-pack\", result=0x7fffffffd880,
target=0, options=0x7fffffffd920) at http.c:2040
#2 0x000055555555f7f3 in discover_refs (service=<optimized out>, service@entry=0x5555556b622c \"git-upload-pack\",
for_push=for_push@entry=0) at remote-curl.c:493
#3 0x000055555556137e in get_refs (for_push=<optimized out>) at remote-curl.c:548
#4 cmd_main (argc=argc@entry=3, argv=argv@entry=0x7fffffffdcd8) at remote-curl.c:1523
#5 0x000055555555ee94 in main (argc=3, argv=0x7fffffffdcd8) at common-main.c:52
```
```
$> wget --header \"Git-Protocol: version=2\" --header \"Pragma: no-cache\" -S 'https://github.com/yarikoptic/abcd-testds2/info/refs?service=git-upload-pack'
--2021-01-21 20:41:21-- https://github.com/yarikoptic/abcd-testds2/info/refs?service=git-upload-pack
Resolving github.com (github.com)... 140.82.114.3
Connecting to github.com (github.com)|140.82.114.3|:443... connected.
HTTP request sent, awaiting response...
HTTP/1.1 404 Not Found
Server: GitHub.com
Date: Fri, 22 Jan 2021 01:41:21 GMT
Content-Type: text/plain; charset=utf-8
Status: 404 Not Found
Vary: X-PJAX, Accept-Encoding, Accept, X-Requested-With
Cache-Control: no-cache
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
X-Frame-Options: deny
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
Expect-CT: max-age=2592000, report-uri=\"https://api.github.com/_private/browser/errors\"
Content-Security-Policy: default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'
Set-Cookie: _gh_sess=UoF3mYOvfYf5mFbK1tr7aWOuYpQbNoJVhajA5nr2ANUvg%2FekQjtgh0h3xLva0EcwHnLNNsl7VMEdVLXNGi9Yn4AbjrBxX0sdo51DL1XQYR%2Bm3ZeS71I7keexEnrZspp%2FQxaT7cJpceXr7ZrKg2HwJu8dMo%2Bcz13Vr%2F9p7MtZ6cIjUMMF3ql8GX%2BYO949RdgS31KNBb1Ln917v7GlLaZhbejgGAYJOFI2YMuWhs3WkZxOZCMy1JnW%2Bbp3OcdyffBt0ToaKaLcUx1mt6kzzOb4Ow%3D%3D--FD5dTEIs8HUBjIdH--P%2B86pTRJ%2FwWUndICVXAaNA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
Set-Cookie: _octo=GH1.1.1513753117.1611279681; Path=/; Domain=github.com; Expires=Sat, 22 Jan 2022 01:41:21 GMT; Secure; SameSite=Lax
Set-Cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 22 Jan 2022 01:41:21 GMT; HttpOnly; Secure; SameSite=Lax
Content-Length: 9
X-GitHub-Request-Id: 8F40:2881:CD3AD3:1222997:600A2D41
2021-01-21 20:41:21 ERROR 404: Not Found.
```
</details>
but overall the point is that git does seems to get 401 with auth availability (although I failed to dig out how exactly it gets it). So I will leave it to the experts to figure out how
"""]]

View file

@ -0,0 +1,28 @@
### Please describe the problem.
actually it fails whenever HOME is crippled (not /tmp)
```
2021-01-22T03:59:51.9212395Z Unit Tests v8 adjusted unlocked branch
2021-01-22T03:59:51.9218586Z add dup: Init Tests
2021-01-22T03:59:52.1497485Z init: OK (0.23s)
2021-01-22T03:59:53.3199842Z add: OK (1.17s)
2021-01-22T03:59:53.3200475Z
2021-01-22T03:59:53.3200888Z All 2 tests passed (1.40s)
2021-01-22T03:59:53.9335540Z OK (0.61s)
2021-01-22T03:59:54.2385075Z add extras: OK (0.30s)
2021-01-22T03:59:54.8735634Z ignore deleted files: OK (0.63s)
2021-01-22T03:59:55.7703551Z metadata: OK (0.90s)
2021-01-22T03:59:58.5056762Z export_import: FAIL (2.74s)
2021-01-22T03:59:58.5061241Z Test.hs:1884:
2021-01-22T03:59:58.5061997Z did not find expected content of dir/import
2021-01-22T04:00:00.8296862Z export_import_subdir: OK (2.32s)
2021-01-22T04:00:01.1359269Z shared clone: OK (0.31s)
2021-01-22T04:00:01.4846753Z log: OK (0.35s)
```
from https://github.com/datalad/git-annex/runs/1746481387?check_suite_focus=true
on 8.20201129+git169-gaa07e68ed-1~ndall+1 (presumably... identified 3 regressions today, may be we have a problem with our CI setup and building some old annex?)
[[!meta author=yoh]]
[[!tag projects/datalad]]

View file

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="yarikoptic"
avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
subject="comment 2"
date="2021-01-22T16:42:32Z"
content="""
announced fixed in [8.20201129-109-g99ba47120](https://git.kitenet.net/index.cgi/git-annex.git/commit/?id=99ba4712098f2f4339bd22927a79d1b3e6ab8eaa) but I still see failures on Windows as of 8.20201129+git169-gaa07e68ed_x64
```
2021-01-22T04:32:19.9129496Z prop_relPathDirToFileAbs_basics: FAIL
2021-01-22T04:32:19.9130236Z *** Failed! Falsified (after 44 tests):
2021-01-22T04:32:19.9130819Z TestableFilePath {fromTestableFilePath = \"/LF2U\DC4b\EMiFT\SYNQn\ENQnY)\ACK\\"\DC4\"}
2021-01-22T04:32:19.9132039Z Use --quickcheck-replay=62958 to reproduce.
```
on [https://github.com/datalad/git-annex/runs/1746587663?check_suite_focus=true](https://github.com/datalad/git-annex/runs/1746587663?check_suite_focus=true)
"""]]

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="mike@2d6d71f56ce2a992244350475251df87c26fe351"
nickname="mike"
avatar="http://cdn.libravatar.org/avatar/183fa439752e2f0c6f39ede658d81050"
subject="comment 6"
date="2021-01-22T11:08:38Z"
content="""
First a side note about the thousands of error messages: This seems to be happening when I change thousands of files and a subsequent `git annex add` runs a `git ls-files` which in turn runs `git-annex smudge` for every file, which probably each outputs the error message.
"""]]