Issue #1090
closedRepeated syncs result in an infinite loop
Description
To reproduce:
- pulp-admin ostree repo create --repo-id f21 --feed http://rpm-ostree.cloud.fedoraproject.org/repo/ -b fedora-atomic/f21/x86_64/cloud/docker-host
- pulp-admin ostree repo sync run --repo-id f21
- pulp-admin ostree repo sync run --repo-id f21
Note that the second time the command gets stuck in the "Pull Remote Branches" step. Inspecting the process with gdb shows the process is in an infinite loop in the GLib2 ghash.c g_hash_table_resize function (full stack trace attached).
It's also worth noting that restarting pulp_workers between syncs stops this from occurring:
- pulp-admin ostree repo create --repo-id f21 --feed http://rpm-ostree.cloud.fedoraproject.org/repo/ -b fedora-atomic/f21/x86_64/cloud/docker-host
- pulp-admin ostree repo sync run --repo-id f21
- sudo systemctl restart pulp_workers
- pulp-admin ostree repo sync run --repo-id f21
Files
Updated by bcourt over 7 years ago
- Priority changed from Normal to High
- Severity changed from 2. Medium to 3. High
- Triaged changed from No to Yes
Updated by jcline@redhat.com over 7 years ago
Attached a backtrace which includes the libsoup debug symbols.
Furthermore, I've confirmed this does not occur in ostree-2015.3-2.fc21.x86_64, only in a build of ostree's master branch.
Updated by jortel@redhat.com over 7 years ago
Reproduced on f20 using ostree-2015.6.82 built using ostree (gnome) master. Seems to be specific to HTTP and could be related to: 750813 in that libostree is retaining state related to HTTP fetches. I was not seeing this issue because I was pulling local repositories using file:/// feed urls recently.
Updated by jortel@redhat.com over 7 years ago
Filed upstream: https://bugzilla.gnome.org/show_bug.cgi?id=751667
Updated by jortel@redhat.com over 7 years ago
Fixed upstream in libostree but not yet packaged and released.
Updated by jortel@redhat.com over 7 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to jortel@redhat.com
Updated by jortel@redhat.com over 7 years ago
- Status changed from ASSIGNED to MODIFIED
Released in 2015.8
Updated by jortel@redhat.com over 7 years ago
- Target Release - OSTree set to 1.0.0
Updated by rbarlow about 7 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE