Bug 13819 - No clue when CONNECTIVITY_CHECK_URIS is unaccessible
Summary: No clue when CONNECTIVITY_CHECK_URIS is unaccessible
Status: CLOSED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: configuration (show other bugs)
Version: 5.99
Hardware: x86 Multiple
: Medium+ minor
Target Milestone: 4.1 M3
Assignee: Shubham Kulkarni
QA Contact:
URL:
Whiteboard: NEWCOMER
Depends on:
Blocks:
 
Reported: 2020-02-26 15:49 UTC by Louis Rannou
Modified: 2025-04-21 09:53 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Louis Rannou 2020-02-26 15:49:44 UTC
This is not a bug, but a status message need to be improved.

In sanity.bbclass, in function check_connectivity :

Connectivity is tested by fetching URIs in variable CONNECTIVITY_CHECK_URIS (default is www.example.com).

If none is accessible, the status error is ambiguous. It says to ensure the host's network is correctly configured but never if the remote is available.

Possible solution : add a comment to ensure CONNECTIVITY_CHECK_URIS is correct and specified URIs are available.
Comment 1 Louis Rannou 2020-02-26 15:56:02 UTC
Step to reproduce :

Add this in local.conf:

CONNECTIVITY_CHECK_URIS="http://example.thisdomaindoesnotexist/"

Remake the sanity check
Comment 2 Randy MacLeod 2021-07-29 14:56:06 UTC
I doubt that Mingli will get to this so move to unassigned and CC Mingli.
Comment 3 Abongwa Bonalais Amahnui 2022-04-11 09:13:45 UTC
Hello has this been resolved?
Comment 4 Shubham Kulkarni 2022-08-18 05:20:12 UTC
Working on the patch
Comment 5 Shubham Kulkarni 2022-08-22 09:11:35 UTC
Patch Merged in Poky. 
https://git.yoctoproject.org/poky/commit/?id=359ca09e7d520fcec7bc0048f5f42f7f97dea7ec

Changing status to Resolved Fixed. Please let me know if any other changes required to be done in the bug status.
Comment 6 Shubham Kulkarni 2025-04-21 09:53:28 UTC
Closing this bug.