Skip to content

Adds BSP layer download mirrors#1703

Open
quaresmajose wants to merge 4 commits intoqualcomm-linux:masterfrom
quaresmajose:mirrors-download
Open

Adds BSP layer download mirrors#1703
quaresmajose wants to merge 4 commits intoqualcomm-linux:masterfrom
quaresmajose:mirrors-download

Conversation

@quaresmajose
Copy link
Contributor

Adds the official mirror of the BSP, which contains the necessary artifacts to minimize reproducibility issues as much as possible. The mirror uses the MIRRORS and thus works in fallback mode; when the official source is not available, the mirror is used.

There are situations where we need to know the version of the BSP.
For example, to communicate with the exterior of the layer and use
the current version. This variable is for that very purpose.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
This class adds the official mirror of the BSP, which contains the
necessary artifacts to minimize reproducibility issues as much as possible.

The mirror uses the MIRRORS and thus works in fallback mode;
when the official source is not available, the mirror is used.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Use the official download mirror by default.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
ci/mirror-download-disable:
 Allows to disable the download mirror to avoid potential
 masking of problems in official sources.

ci/mirror-download-test:
 Was intended to test the download mirror to see if this has
 everything that is needed without resorting to external sources.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

Test run workflow

Test jobs for commit 799eab5

Test qcs615-adp-air qcs6490 qcs8300 qcs9100 qcs9100-rb8 qrb2210-rb1
boot pass pass pass pass pass pass

All jobs summary

Job ID Device State Health
156046 qcs8300 Finished Complete
156063 qcs615-adp-air Finished Complete
156057 qrb2210-rb1 Finished Complete
156056 qcs8300 Finished Complete
156052 qcs9100 Finished Complete
156049 qcs9100-rb8 Finished Complete
156059 qcs6490 Finished Complete
156054 qcs9100-rb8 Finished Complete
156048 qcs615-adp-air Finished Complete
156062 qcs9100 Finished Complete
156044 qcs8300 Finished Incomplete
156061 qcs615-adp-air Finished Complete
156051 qcs6490 Finished Complete
156043 qcs9100-rb8 Finished Complete
156055 qrb2210-rb1 Finished Complete
156058 qcs8300 Finished Complete
156041 qrb2210-rb1 Finished Complete
156045 qcs615-adp-air Finished Complete
156053 qcs9100 Finished Complete
156047 qrb2210-rb1 Finished Complete
156060 qcs9100-rb8 Finished Complete
156040 qcs6490 Finished Complete
156050 qcs9100 Finished Complete
156042 qcs6490 Finished Complete

@test-reporting-app
Copy link

Test Results

 24 files   -    23   24 suites   - 185   1h 15m 56s ⏱️ - 2h 14m 39s
  9 tests  -    36    5 ✅  -    35  0 💤 ± 0  4 ❌  - 1 
169 runs   - 1 806  165 ✅  - 1 794  0 💤  - 11  4 ❌  - 1 

For more details on these failures, see this check.

Results for commit 799eab5. ± Comparison against base commit 8fcbe81.

This pull request removes 36 tests.
0_BT_FW_KMD_Service ‑ BT_FW_KMD_Service
0_hotplug ‑ hotplug
10_AudioRecord ‑ AudioRecord
11_DSP_AudioPD ‑ DSP_AudioPD
11_Ethernet ‑ Ethernet
12_DSP_AudioPD ‑ DSP_AudioPD
1_BT_SCAN ‑ BT_SCAN
1_CPUFreq_Validation ‑ CPUFreq_Validation
2_Interrupts ‑ Interrupts
3_cdsp_remoteproc ‑ cdsp_remoteproc
…

#

# Add qcom mirror so we can fallback to it
MIRRORS += "${QCOM_MIRRORS}"
Copy link
Contributor

@ricardosalveti ricardosalveti Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move this assignment after QCOM_MIRRORS is defined? Easier to parse when reading this.

"

# Release
QCOM_RELEASE = "main"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QLI_RELEASE or QLI_BASELINE would work better from my perspective.

QCOM is too generic to be used here.

# Release
QCOM_RELEASE = "main"

INHERIT += "qcom-mirrors"
Copy link
Contributor

@ricardosalveti ricardosalveti Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename the file to clo-mirrors instead? It is hosted by codelinaro.

# Add qcom mirror so we can fallback to it
MIRRORS += "${QCOM_MIRRORS}"

QCOM_MIRRORS_URI ?= "https://artifacts.codelinaro.org/aritfactory/qli-ci/downloads/${QCOM_RELEASE}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need a release-specific dir?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants