-
Notifications
You must be signed in to change notification settings - Fork 1k
ensure does not fully populate vendor/ #290
Comments
Hey @sdboyer, if it is fine with you, I would like to jump on this issue, and see if I can fix it. |
@ankitm123 that'd be great! |
@ankitm123 ping me if you need more info. I'am unable to reproduce issue on my dev box (MacOS). Our CI agents runs inside docker containers on debian. |
@gregory-m. I run ubuntu on my machine. I will see if I can reproduce it. I will let you know soon, if I need more info from you. |
I made debug session, and its looks like docker storage driver issue and not dep. @ankitm123 If you can't reproduce it, I think its good Idea to stop trying to find not existing bug. I will update issue tomorrow. |
@gregory-m, no problem. I will wait for your update. In the meantime, I will dive a bit deeper into the source code. |
Ok I found root case. I don't know if its bug or expected behavior. Consider flowing example:
Our CI agents checkout source code to the same place in file system and don't remove source code after build, I don't know if its expected behavior and I personally think this is confusing. Thanks. |
@gregory-m OH - yes, this is a known issue. Sorry, there are so many things floating around that my mind doesn't immediately go to the right thing. There's a simple (less ideal) solution to this, and a more complicated (more ideal) one. The simple solution is adding a flag to We're a few degrees of yak away from the more complicated solution, because it involves #121. Ideally, we'd be able to inspect the We have a mechanism for doing this already between manifest and lock - just by looking at the manifest + import set, we can determine if the lock still represents a valid solution. (That's what the |
@sdboyer no problem. If you can, please add this info to Readme so new users will not fall on same issue again and again. Good thing, I actually found bug with aufs on our CI kernel. |
Unfortunately there's still a number of little gotchas like this; I'm not sure that trying to add them to the README would be that effective? But the issue is here now, and I'll update the title for a bit more discoverability. |
this was fixed by #489, as we now always write out |
The bug sometimes happens on our ci machines like 1 per 20 builds.
dep doesn't install github.com/namsral/flag package.
Here some logs from our CI machines:
And github.com/namsral/flag indeed not in vendor directory:
(in step 9 I do
ls vendor/*/*
)Also I attach manifest.json and lock.json:
dep.zip
The text was updated successfully, but these errors were encountered: