-
Notifications
You must be signed in to change notification settings - Fork 46
Fix: circleci duplicate key path #115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I think with this fix most of the problems would be resolved with @tomhenderson Sir's PR #114 as now circleci fails only because of some wrong function definitions in ipv6-linux.cc/h. (Please check the ci details below) ubuntu 14.04 and 17.04 fail in apt-get update as they are no longer supported. Also, should I add support for ubuntu 20.04 in our circleci and make a docker and put a PR here https://github.com/direct-code-execution/dce-dockerfiles ? Please let me know if there is something else to be done. |
Let's drop 14.04/17.04. It would be nice to have 20.04 but let's put it in a separate PR. Also some of the CI failures mention it can't find include header . It would be nice to have it green when merging, even if it means another PR cherry-picks this branch. |
The missing header files is specifically a problem with the fedora environment. I'll try to take a look into it by manually installing the docker and setting up the dce environment. Also, fedora 26/27 have both reached end of life long back, so maybe the toolchain versions might be causing the problem, but I'm not sure about it. I'll take a look at it. |
Is there any reason not to drop fedora26, 27, Ubuntu 14.04, and Ubuntu 17.04, and just keep Ubuntu 16.04 (for the moment)? All of these (including Ubuntu 16.04) are end-of-life although Ubuntu 16.04 can be kept going for now with Canonical ESM support. Then, once Ubuntu 16.04 tests are clean and Ubuntu 20.04 is ready, we add Ubuntu 20.04 and drop 16.04? Note that Ubuntu 16.04's toolchain is already starting to be a hassle for ns-3 to support. |
No problem for me. I just would prefer to actually have a green CI when merging, even if it means this is cherry-picked into another branch, |
Even after I removed the jobs from the config.yaml file, they still seem to be looked for, to build on circleci instance, and they fail as it cannot find a job definition in the config file. Probably, specific jobs should be disabled through the circleci admin interface or the github webhooks page. |
try with
|
can you squash the commits please ? I think the most interesting would be for @tomhenderson to cherry-pick the squashed commit into #114, hopefully we can have a green CI then. |
dbb6b1b
to
747c3b5
Compare
.circleci/config.yml
Outdated
jobs: | ||
- ubuntu14.04_valgrind | ||
- ubuntu14.04_valgrind |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't it strange to keep that job ifor 14.04 ?
f001d18
to
153a5bc
Compare
Signed-off-by: Parth Pratim Chatterjee <[email protected]>
3fe821c
to
cb0069c
Compare
what's the status of this ?
|
This has been fixed and pushed. I am only experiencing one lingering issue with umip: It might possibly help for Parth to rebase this PR to trigger another attempt with CircleCi? |
Signed-off-by: Parth Pratim Chatterjee <[email protected]>
@tomhenderson Sir, I tried to push a commit to trigger a build, but it still seems to fail at the same point where Matt Sir mentioned. Also, it seems like it's not fetching the updated repository, because I can see this commit direct-code-execution/ns-3-dce-umip@c594b82 which fixes the issue pushed to master. I also see that it's probably loading cached source tree in the 4th build step (Restoring Cache) which is why in the 6th build step (download bake and code) even when highest level of verbosity(-vvv) is enabled, it doesn't seem to show git cloning outputs for any of the repos. This is something I took care of in my GActions pull request #118, to load from cache only if the HEAD has changed(and that too only for ns-3-dev because it's maintained very neatly and might take up significantly higher build time), but in our current circle-ci script we are loading from cache all the time, never downloading anything. We could avoid this by removing caching all together, or resort to conditional caching just like I do in my GActions PR. Sir, should I give it a try ? |
I would suggest to first disable all caching and then try to reintroduce conditional caching later, once it is stable. |
Signed-off-by: Parth Pratim Chatterjee <[email protected]>
I've had some nightmarish issues with the cache so no issue disabling it on my side. I dont trust circleci to have it implemented well anyway. It would be nice to keep the ability to turn it on easily since having too long jobs can also hurt productivity (but right now the most important is for you to make progress without nay concern about the cache validity) |
I think the build is passing now. |
You tell me :) should I merge ? Looks ok right now |
😅 I guess we can if Tom Sir finds it ok too. |
+1; let me know if you want me to do the merge (I would squash and merge). |
Signed-off-by: Parth Pratim Chatterjee [email protected]
Attempts to fix circleci build error with duplicate path
Reference : https://circleci.com/docs/2.0/artifacts/
This PR was made as a part of Google Summer of Code 2021 for the project Direct Code Execution Modernization