Skip to content
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

test: update Gradle Automatic Builder #954

Merged
merged 5 commits into from
Jul 14, 2020

Conversation

danglotb
Copy link
Member

No description provided.

@danglotb danglotb merged commit f686348 into STAMP-project:master Jul 14, 2020
@danglotb
Copy link
Member Author

@monperrus Should fix SOS. Sorry for the delay.

@monperrus
Copy link
Member

Thanks a lot @danglotb

@danglotb danglotb deleted the ci-fix-sos branch July 15, 2020 07:22
@monperrus
Copy link
Member

FYI SOS not fixed GradleAutomaticBuilderWithDescartesTest.setUp:56 » Runtime java.io.IOException...

See https://ci.inria.fr/sos/job/dspot/148/console

WDYT?

@danglotb
Copy link
Member Author

danglotb commented Jul 15, 2020

Thank you for the info.

It looks like gradle is not installed on the node:

java.lang.RuntimeException: java.io.IOException: Cannot run program "gradle" (in directory "/builds/workspace/dspot/dspot/src/test/resources/test-projects"): error=2, No such file or directory
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
	at java.lang.ProcessImpl.start(ProcessImpl.java:134)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
	at java.lang.Runtime.exec(Runtime.java:620)
	at java.lang.Runtime.exec(Runtime.java:450)
	at eu.stamp_project.dspot.common.automaticbuilder.gradle.GradleAutomaticBuilder.runTasks(GradleAutomaticBuilder.java:120)
	at eu.stamp_project.dspot.common.automaticbuilder.gradle.GradleAutomaticBuilder.compile(GradleAutomaticBuilder.java:60)
	at eu.stamp_project.dspot.common.automaticbuilder.gradle.GradleAutomaticBuilderWithDescartesTest.setUp(GradleAutomaticBuilderWithDescartesTest.java:56)

I see three ways to get out of this:

  1. @Ignore the tests of GradleAutomaticBuilder
  2. Try to install gradle on the node
  3. Find another way to fix the original issue.

I prefer the first option because this feature is not the core of DSpot and a bit in extra. I would love to remove it from DSpot. WDYT?

@monperrus
Copy link
Member

OK for me to @ignore the tests of GradleAutomaticBuilder. Would you do a PR? Thanks!

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.

2 participants