#337 F26 updates/updates-testing branches have missing commits
Closed: Fixed 6 years ago Opened 6 years ago by miabbott.

The HEAD of the branches returns a commit when you curl them, but an inspection of the entire ostree log on each branch can't find said commit. This could cause problems when folks try to deploy by commit.

updates-testing:

# curl -f https://kojipkgs.fedoraproject.org/atomic/26/refs/heads/fedora/26/x86_64/testing/atomic-host
f5cc5928cf44a11b93276c95a3f7ff4eb39a545575b65876cde21426e62d39f1

# ostree pull --commit-metadata-only --depth=-1 fedora-atomic:fedora/26/x86_64/testing/atomic-host

33 metadata, 0 content objects fetched; 17 KiB transferred in 5 seconds         

# ostree log fedora/26/x86_64/testing/atomic-host | head
commit f53bb0efacc0959044ecc6a14b1751d59ba0e675f1804f29af801282c8e812a1
Date:  2017-09-15 04:09:51 +0000
Version: 26.103
(no subject)

# ostree log fedora/26/x86_64/testing/atomic-host | grep f5cc5928cf44a11b93276c95a3f7ff4eb39a545575b65876cde21426e62d39f1
#

updates:

# curl -f https://kojipkgs.fedoraproject.org/atomic/26/refs/heads/fedora/26/x86_64/updates/atomic-host
f6378bcfdbf3264267f56bb05954aec5dd363b9b4a116ef28fd3a4ff20af3639

# ostree pull --commit-metadata-only --depth=-1 fedora-atomic:fedora/26/x86_64/updates/atomic-host

78 metadata, 0 content objects fetched; 32 KiB transferred in 10 seconds                                                                                                                                           

# ostree log fedora/26/x86_64/updates/atomic-host | head
commit ec84d8b30ee5de761c19193717de54b2c33fd07e02b51a6b1855815c91f4e81a
Date:  2017-08-31 22:18:45 +0000
Version: 26.117
(no subject)

commit 25369a650e2fc90f3424c38e0d2e2f7cca317b62d6fcb0c49321178c8e4c3fc5
Date:  2017-08-28 15:53:40 +0000
Version: 26.116
(no subject)

# ostree log fedora/26/x86_64/updates/atomic-host | grep f6378bcfdbf3264267f56bb05954aec5dd363b9b4a116ef28fd3a4ff20af3639
# 

Using the print-summary script from https://github.com/ostreedev/ostree-releng-scripts/blob/master/print-summary

$ ./print-summary https://kojipkgs.fedoraproject.org/atomic/26/summary
fedora/26/aarch64/atomic-host → ed841f7e2fc8a4ae221d1e364336137df5befb82b8146d84440b6df932e2d5c (size=230)
fedora/26/x86_64/atomic-host → b127864022dd6ffad1a183241fbd5482ef5a1642ff3c8751c2e6cae67b1a (size=230)
fedora/26/x86_64/testing/atomic-host → f53bb0efacc0959044ecc6a14b1751d59ba0e675f1804f29af801282c8e812a1 (size=230)
fedora/26/x86_64/updates/atomic-host → ec84d8b3ee5de761c19193717de54b2c33fd07e2b51a6b1855815c91f4e81a (size=230)
fedora/rawhide/aarch64/atomic-host → 277a56e17166d1ce3e6aff646bb0997eb174925256cdffd1a75d56dd79c5cc (size=190)
fedora/rawhide/x86_64/atomic-host → 1dd5c98f1ba1e1bc9951e2a7beb969b6d5e18a4bf434308878a32cf306ee830 (size=190)
delta: ce555fa89da934e6eef23764fb40e8333234b8b60b6f688222247c958e5ebd5b-0715ce81064c30d34ed52ef811a3ad5e5d6a34da980bf35b19312489b32d9b83
delta: ce555fa89da934e6eef23764fb40e8333234b8b60b6f688222247c958e5ebd5b-f6331bcd14577e0ee43db3ba5a44e0f63f74a86e3955604c20542df0b7ad8ad6
delta: 2e4fcaff52c18cf705a2ecfa47d2ca60958f7443177974f24cc9ce07494b3317-0715ce81064c30d34ed52ef811a3ad5e5d6a34da980bf35b19312489b32d9b83
delta: ce555fa89da934e6eef23764fb40e8333234b8b60b6f688222247c958e5ebd5b-2e4fcaff52c18cf705a2ecfa47d2ca60958f7443177974f24cc9ce07494b3317
delta: 0715ce81064c30d34ed52ef811a3ad5e5d6a34da980bf35b19312489b32d9b83-f6331bcd14577e0ee43db3ba5a44e0f63f74a86e3955604c20542df0b7ad8ad6
delta: 13ed0f241c9945fd5253689ccd081b5478e5841a71909020e719437bbeb74424-0b0127864022dd6ffad1a183241fbd5482ef5a1642ff3c8751c2e6cae6070b1a
delta: f6331bcd14577e0ee43db3ba5a44e0f63f74a86e3955604c20542df0b7ad8ad6-13ed0f241c9945fd5253689ccd081b5478e5841a71909020e719437bbeb74424

this is because when we reset things after the signing snafu #336 - we didn't update the summary file. short answer: wait a day and it should be fix by the next compose run.

Metadata Update from @dustymabe:
- Issue tagged with: infra

6 years ago

This morning all is well. Thank you robots!

# curl -f https://kojipkgs.fedoraproject.org/atomic/26/refs/heads/fedora/26/x86_64/testing/atomic-host
fb51688b007cbba01e947ab217e076e6dc636e2a22a7b42ca7c9b502271e426d

# ostree pull --commit-metadata-only --depth=-1 fedora-atomic:fedora/26/x86_64/testing/atomic-host

72 metadata, 0 content objects fetched; 32 KiB transferred in 10 seconds                                                                                                                                           

# ostree log fedora/26/x86_64/testing/atomic-host | head
commit fb51688b007cbba01e947ab217e076e6dc636e2a22a7b42ca7c9b502271e426d
Date:  2017-09-17 10:09:54 +0000
Version: 26.122
(no subject)


# curl -f https://kojipkgs.fedoraproject.org/atomic/26/refs/heads/fedora/26/x86_64/updates/atomic-host                                                                                      
aecc605a508c1ee46c7c5992b3a8db3dd0bbe2d445b2097d70deadc0a7d0b5e7

# ostree pull --commit-metadata-only --depth=-1 fedora-atomic:fedora/26/x86_64/updates/atomic-host                                                                                          

71 metadata, 0 content objects fetched; 34 KiB transferred in 11 seconds                  

# ostree log fedora/26/x86_64/updates/atomic-host | head                                                                                                                                    
commit aecc605a508c1ee46c7c5992b3a8db3dd0bbe2d445b2097d70deadc0a7d0b5e7
Date:  2017-09-17 21:47:44 +0000
Version: 26.129
(no subject)

Metadata Update from @miabbott:
- Issue untagged with: infra

6 years ago

Metadata Update from @dustymabe:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata