View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0010055 | Taler | wallet (Android App) | public | 2025-05-31 11:39 | 2025-10-31 19:49 |
| Reporter | avalos | Assigned To | avalos | Resolution deadline | |
| Implementer | Reviewer | ||||
| Release signed by | Deployed by | ||||
| Verifier | Communicator | ||||
| Data protection authority notification required | No | ||||
| CSIRT notification required | No | ||||
| Estimated effort (hours) | Actual effort (hours) | 0 | |||
| Fast-track | No | ||||
| Work package | none | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Target Version | 1.1 | Fixed in Version | 1.1 | ||
| Summary | 0010055: fix F-Droid nightly builds | ||||
| Description | Since last year, I haven't been able to get the F-Droid nightlies working because of a problem with the CLI tool: 2025-05-29 16:38:07,765 DEBUG: Popen(['git', 'add', '--all'], cwd=/workdir/fdroid/git-mirror, stdin=None, shell=False, universal_newlines=False) 2025-05-29 16:38:08,028 DEBUG: Reading 'config.yml' 2025-05-29 16:38:08,042 DEBUG: Popen(['git', 'init', '--initial-branch=master'], cwd=/workdir/fdroid/git-mirror, stdin=None, shell=False, universal_newlines=False) 2025-05-29 16:38:08,058 DEBUG: Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 2025-05-29 16:38:08,060 DEBUG: Popen(['git', 'switch', '--orphan', 'full'], cwd=/workdir/fdroid/git-mirror, stdin=None, shell=False, universal_newlines=False) 2025-05-29 16:38:08,129 DEBUG: rsync --recursive --safe-links --times --perms --one-file-system --delete --chmod=Da+rx,Fa-x,a+r,u+w --checksum --verbose /workdir/fdroid/repo/ /workdir/fdroid/git-mirror/fdroid/repo/ sending incremental file list rsync: [Receiver] mkdir "/workdir/fdroid/git-mirror/fdroid/repo" failed: No such file or directory (2) rsync error: error in file IO (code 11) at main.c(787) [Receiver=3.2.3] More logs can be found here: https://buildbot.gnunet.org/#/builders/18/builds/114 | ||||
| Tags | No tags attached. | ||||
| I just filed a bug in the F-Droid bug tracker: https://gitlab.com/fdroid/fdroidserver/-/issues/1297 | |
| Update: it works now, I was able to publish the F-Droid nightly running the CI container locally, but it times out in Buildbot: 2025-09-09 18:17:02,901 DEBUG: Pushing to git@gitlab.com:gnu-taler/fdroid-repo-nightly 2025-09-09 18:17:02,901 DEBUG: Popen(['git', 'version'], cwd=/workdir/fdroid/git-mirror, stdin=None, shell=False, universal_newlines=False) 2025-09-09 18:17:02,906 DEBUG: Popen(['git', 'push', '--porcelain', '--force', '--set-upstream', '--progress', '--', 'gitlab', 'master:master'], cwd=/workdir/fdroid/git-mirror, stdin=None, shell=False, universal_newlines=True) 2025-09-09 18:17:03,267 DEBUG: AutoInterrupt wait stderr: b'fatal: Could not read from remote repository.' 2025-09-09 18:17:03,268 CRITICAL: Unknown exception found! Traceback (most recent call last): File "/root/.local/bin/fdroid", line 7, in <module> sys.exit(main()) ^^^^^^ File "/root/.local/pipx/venvs/fdroidserver/lib/python3.11/site-packages/fdroidserver/__main__.py", line 222, in main raise e File "/root/.local/pipx/venvs/fdroidserver/lib/python3.11/site-packages/fdroidserver/__main__.py", line 203, in main mod.main() File "/root/.local/pipx/venvs/fdroidserver/lib/python3.11/site-packages/fdroidserver/deploy.py", line 1343, in main update_servergitmirrors(config['servergitmirrors'], repo_section) File "/root/.local/pipx/venvs/fdroidserver/lib/python3.11/site-packages/fdroidserver/deploy.py", line 714, in update_servergitmirrors upload_to_servergitmirror( File "/root/.local/pipx/venvs/fdroidserver/lib/python3.11/site-packages/fdroidserver/deploy.py", line 808, in upload_to_servergitmirror pushinfos = remote.push( ^^^^^^^^^^^^ File "/root/.local/pipx/venvs/fdroidserver/lib/python3.11/site-packages/git/remote.py", line 1210, in push return self._get_push_info(proc, progress, kill_after_timeout=kill_after_timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.local/pipx/venvs/fdroidserver/lib/python3.11/site-packages/git/remote.py", line 975, in _get_push_info proc.wait(stderr=stderr_text) File "/root/.local/pipx/venvs/fdroidserver/lib/python3.11/site-packages/git/cmd.py", line 419, in wait raise GitCommandError(remove_password_if_present(self.args), status, errstr) git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git push --porcelain --force --set-upstream --progress -- gitlab master:master stderr: 'fatal: Could not read from remote repository.' More logs: https://buildbot.gnunet.org/#/builders/18/builds/163 | |
| It wasn't a timeout, it was just Buildbot running the container with a read-only .ssh/known_hosts file mounted, making it impossible for the F-Droid nightly command to add the gitlab.com host. This was solved by manually adding the SSH key of gitlab.com to the mounted_files/container_known_hosts file in firefly. So once again, wallet/cashier/pos nightly APKs are available via F-Droid Nightly! :D | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-05-31 11:39 | avalos | New Issue | |
| 2025-05-31 11:39 | avalos | Status | new => assigned |
| 2025-05-31 11:39 | avalos | Assigned To | => avalos |
| 2025-08-01 22:51 | avalos | Note Added: 0025606 | |
| 2025-09-09 18:48 | avalos | Note Added: 0025872 | |
| 2025-09-09 20:07 | avalos | Status | assigned => informing |
| 2025-09-09 20:07 | avalos | Resolution | open => fixed |
| 2025-09-09 20:07 | avalos | Note Added: 0025873 | |
| 2025-10-18 22:51 | Christian Grothoff | Fixed in Version | => 1.1 |
| 2025-10-18 22:51 | Christian Grothoff | Target Version | => 1.1 |
| 2025-10-31 19:49 | Christian Grothoff | Status | informing => closed |