autopkgtest failure in oracular
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fcgiwrap (Debian) |
Fix Released
|
Unknown
|
|||
fcgiwrap (Ubuntu) |
Fix Released
|
High
|
Mitchell Dzurick |
Bug Description
fcgiwrap has been failing autopkgtest in proposed - https:/
Most likely related to the git upgrade. Can be reproduced in an LXC container easily:
$ lxc launch ubuntu-
$ lxc shell o
# wget https:/
# wget https:/
# wget https:/
# wget https:/
# cat <<EOF >/etc/apt/
deb http://
EOF
# apt update -y
# apt install git -t oracular-proposed
# apt install fcgiwrap
# autopkgtest -B ./fcgiwrap_
autopkgtest [19:13:19]: test git-http-backend: [------
+ cd /tmp/autopkgtes
+ export GIT_AUTHOR_
+ export GIT_AUTHOR_
+ export GIT_AUTHOR_
+ export GIT_COMMITTER_
+ export GIT_COMMITTER_
+ export GIT_COMMITTER_
+ git init test1
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /tmp/autopkgtes
+ git -C test1 commit --allow-empty -m test
[master (root-commit) 0f8c7c0] test
+ tee /etc/nginx/
server {
listen 80;
location / {
}
}
+ systemctl restart nginx
+ git clone http://
Cloning into 'test2'...
fatal: unable to access 'http://
autopkgtest [19:13:19]: test git-http-backend: -------
autopkgtest [19:13:19]: test git-http-backend: - - - - - - - - - - results - - - - - - - - - -
git-http-backend FAIL non-zero exit status 128
Also related to https:/
Related branches
- Gianfranco Costamagna (community): Approve
- Simon Quigley (community): Approve
- git-ubuntu import: Pending requested
-
Diff: 46 lines (+14/-2)3 files modifieddebian/changelog (+11/-0)
debian/control (+2/-1)
debian/tests/git-http-backend (+1/-1)
description: | updated |
description: | updated |
Changed in fcgiwrap (Debian): | |
status: | Unknown → New |
tags: | added: block-proposed |
Changed in fcgiwrap (Ubuntu): | |
assignee: | nobody → Mitchell Dzurick (mitchdz) |
status: | New → Triaged |
importance: | Undecided → High |
tags: | removed: block-proposed |
Changed in fcgiwrap (Debian): | |
status: | New → Fix Released |
Running the autopkgtest commands manually in an LXC container:
``` TMP="/tmp/ autopkgtest. mitch/autopkgte st_tmp" NAME=root EMAIL=root@ localhost DATE=@123456789 0 +0000 NAME=root EMAIL=root@ localhost DATE=@123456789 0 +0000
AUTOPKGTEST_
rm -rf "$AUTOPKGTEST_TMP"
mkdir -p "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"
export GIT_AUTHOR_
export GIT_AUTHOR_
export GIT_AUTHOR_
export GIT_COMMITTER_
export GIT_COMMITTER_
export GIT_COMMITTER_
git init test1
git -C test1 commit --allow-empty -m test
tee /etc/nginx/ sites-available /default <<EOF
server {
listen 80;
location / {
fastcgi_ pass unix:/run/ fcgiwrap. socket;
include fastcgi_params;
fastcgi_ param SCRIPT_FILENAME /usr/lib/ git-core/ git-http- backend;
fastcgi_ param GIT_PROJECT_ROOT "$AUTOPKGTEST_TMP";
fastcgi_ param GIT_HTTP_EXPORT_ALL "";
fastcgi_ param PATH_INFO \$uri;
fastcgi_ param NO_BUFFERING "";
fastcgi_ buffering off;
gzip off; localhost/ test1 test2
}
}
EOF
systemctl restart nginx
git clone http://
```
I see: nginx/error. log st.mitch/ autopkgtest_ tmp/test1/ .git'
# cat /var/log/
2024/06/04 00:23:09 [error] 14300#14300: *1 FastCGI sent in stderr: "fatal: detected dubious ownership in repository at '/tmp/autopkgte
To add an exception for this directory, call:
git config --global --add safe.directory /tmp/autopkgtes t.mitch/ autopkgtest_ tmp/test1/ .git" while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /test1/ info/refs? service= git-upload- pack HTTP/1.1", upstream: "fastcgi: //unix: /run/fcgiwrap. socket: ", host: "localhost"