sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
736 stars 1.42k forks source link

https://packages.trafficmanager.net/snapshot/debian/latest/timestamp not accessible #20547

Open koutlaws opened 2 weeks ago

koutlaws commented 2 weeks ago

Description

During SONiC Build, if MIRROR_SNAPSHOT is enabled, it will try to access https://packages.trafficmanager.net/snapshot/debian/latest/timestamp to get the latest timestamp for debian mirrors. This url is returning 404, causing the url generated to download to be broken, e.g.

#12 0.332 Ign:1 http://packages.trafficmanager.net/snapshot/debian/<!DOCTYPE html><html><head><title>WebContentNotFound</title></head><body><h1>The InRelease
#12 0.362 Ign:2 http://packages.trafficmanager.net/snapshot/debian-security/<!DOCTYPE html><html><head><title>WebContentNotFound</title></head><body><h1>The InRelease   

Steps to reproduce the issue:

  1. Access https://packages.trafficmanager.net/snapshot/debian/latest/timestamp

Describe the results you received:

404 HTTP Error

Describe the results you expected:

A file containing the latest timestamp

Output of show version:

n/a

(paste your output here)

Output of show techsupport:

n/a

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

https://packages.trafficmanager.net/snapshot/debian/latest/ is accessible, it is only the timestamp file causing issues Also, acessing https://packages.trafficmanager.net/snapshot/debian/latest will redirect you to http://sonic-build.westus2.cloudapp.azure.com/snapshot/debian/latest/ From this url, timestamp file is accessible. Not sure why it does not work when directly accessing https://packages.trafficmanager.net/snapshot/debian/latest/timestamp

Reference PR https://github.com/sonic-net/sonic-buildimage/pull/13097 Was hoping if I can get some more info on this from @xumia or @qiluo-msft

jusherma commented 1 week ago

@xumia @qiluo-msft looks like the packages.trafficmanager.net site is still down. The main directory listing works, but trying to reach timestamp or dist fails with 404. Any update on when this will be resolved?