Bug 11439 - fatal: repository 'https://git.yoctoproject.org/yocto-kernel-tools.git/' not found
Summary: fatal: repository 'https://git.yoctoproject.org/yocto-kernel-tools.git/' not ...
Status: RESOLVED NOTABUG
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: kernel (show other bugs)
Version: unspecified
Hardware: x86 arm
: Medium normal
Target Milestone: 2.4
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-05-02 11:42 UTC by Alfred
Modified: 2017-08-01 10:20 UTC (History)
5 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 Alfred 2017-05-02 11:42:40 UTC
If the git client configuration is set as https url's instead of git prefix. It can't find the path of yocto-kernel-tools. I think the reason is additional string '/git/' in the https path.

It didn't use to happen until the 30th of April.
Comment 1 Richard Purdie 2017-05-04 10:39:43 UTC
Where is this url referenced publicly?

Adding michael to cc, did the configuration change?
Comment 2 Stephen K Jolley 2017-05-04 14:50:02 UTC
See Richard's question
Comment 3 Alfred 2017-05-04 15:56:43 UTC
Official address of kernel-tools see at :
https://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-tools/
in "Clone" subsection/
----------------
git://git.yoctoproject.org/yocto-kernel-tools
https://git.yoctoproject.org/git/yocto-kernel-tools
----------------
If the git client configuration is set as https url's instead of git prefix, git client change git:// to https://, but does not change the steel part of the path.
And they do not match.
This git configuration is needed if the client is behind a proxy server.
And this causes an error when downloading the repository.
Comment 4 Michael Halstead 2017-05-05 00:42:55 UTC
The last change to the git web configuration was on 2016-06-10. The last update to the software was in January and shouldn't have changed functionality. 


I grepped the last year of server logs for https://git.yoctoproject.org/ and I find 936 lines with "GET /yocto-kernel-tools". All of them are response code 404: file not found.

I grepped for successful https clones of yocto-kernel-tools and there are 624 of them that all look like - - [02/Mar/2017:08:27:30 -0800] "GET /git/yocto-kernel-tools.git/info/refs?service=git-upload-pack HTTP/1.1" 200 1051 "-" "git/2.9.3"


I'm not sure what was happening but it doesn't appear that https://git.yoctoproject.org/yocto-kernel-tools has ever been successfully cloned.

If we need clones of that path to work I can look into new configuration to allow it.
Comment 5 Stephen K Jolley 2017-05-05 17:13:32 UTC
Richard, It appears your question has been answered.
Comment 6 Alfred 2017-05-05 17:33:14 UTC
We have two versions of the assembly of our image.
Sliding night assembly and fixed.
After April 30, the sliding assembly stopped assembling.
The fixed version has a date one week earlier.
In the recipe itself, we did not find any changes.
We suspect that this is the first mistake of the kind, after which our assembly collapses.
Comment 7 Alfred 2017-05-05 17:46:23 UTC
I will add a setting for git config :
[url "https://"]
    insteadOf = git://
Comment 8 Richard Purdie 2017-08-01 10:20:27 UTC
As far as I can tell:

a) The recipe has the correct url
b) The urls listed on the webpage are correct and work

This does mean you can't just swap git:// and https:// and have the urls work but that isn't expected or documented to work.