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

#1017 RtForkTest.java:56-58: Apply this rule to other #1166

Closed
wants to merge 4 commits into from
Closed

#1017 RtForkTest.java:56-58: Apply this rule to other #1166

wants to merge 4 commits into from

Conversation

tmjee
Copy link

@tmjee tmjee commented Sep 23, 2015

TS/PDD #1017

  • fix indention
  • added todo puzzle to redesign RtBlobsTest and remove checkstyle

@dmarkov
Copy link

dmarkov commented Sep 24, 2015

@tmjee Let me find a reviewer for this pull request, thanks for submitting it

@dmarkov
Copy link

dmarkov commented Sep 24, 2015

@darkled it's yours, please review

@@ -63,8 +74,9 @@ public void canCreateBlob() throws Exception {
final String content = "Content of the blob";
final String body = blob().toString();
final MkContainer container = new MkGrizzlyContainer().next(
new MkAnswer.Simple(HttpURLConnection.HTTP_CREATED, body)
).next(new MkAnswer.Simple(HttpURLConnection.HTTP_OK, body)).start();
new MkAnswer.Simple(HttpURLConnection.HTTP_CREATED, body)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tmjee indentations seems to be not correct here

@asaen
Copy link

asaen commented Sep 24, 2015

@tmjee please see a minor comment above. Also please change the PR according to our quality rules:

  • Pull request title explains the problem it is fixing.
  • Pull request description explains the solution proposed and contains a link to the original ticket it is related to.

@tmjee tmjee changed the title #1017 #1017 RtForkTest.java:56-58: Apply this rule to other Sep 24, 2015
@tmjee
Copy link
Author

tmjee commented Sep 24, 2015

@darkled Changes made, details updated. Thx

@asaen
Copy link

asaen commented Sep 24, 2015

@tmjee great, thanks

@asaen
Copy link

asaen commented Sep 24, 2015

@rultor merge pls

@rultor
Copy link
Contributor

rultor commented Sep 24, 2015

@rultor merge pls

@darkled Thanks for your request. @yegor256 Please confirm this.

@yegor256
Copy link
Member

@rultor try to merge

@rultor
Copy link
Contributor

rultor commented Sep 25, 2015

@rultor try to merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Contributor

rultor commented Sep 25, 2015

@rultor try to merge

@tmjee @yegor256 Oops, I failed. You can see the full log here (spent 7min)

[INFO] [INFO] Finished at: 2015-09-25T15:15:21+00:00
[INFO] [INFO] Final Memory: 20M/391M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [WARNING] The requested profile "qulice" could not be activated because it does not exist.
[INFO] ..SUCCESS (10.7 s)
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 2, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] 
[INFO] --- maven-failsafe-plugin:2.17:verify (default) @ jcabi-github ---
[INFO] Failsafe report directory: /home/r/repo/target/failsafe-reports
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:12 min
[INFO] Finished at: 2015-09-25T15:15:22+00:00
[INFO] Final Memory: 51M/455M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (default) on project jcabi-github: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/r/repo/target/failsafe-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (default) on project jcabi-github: There are test failures.

Please refer to /home/r/repo/target/failsafe-reports for the individual test results.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to /home/r/repo/target/failsafe-reports for the individual test results.
    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82)
    at org.apache.maven.plugin.failsafe.VerifyMojo.execute(VerifyMojo.java:194)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    ... 19 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

@asaen
Copy link

asaen commented Sep 25, 2015

@yegor256 there is some accidental error, could you try to merge once more, please?

@yegor256
Copy link
Member

@darkled every time you see such an error, it's a good practice to create a ticket, complaining about tests instability.

@yegor256
Copy link
Member

@rultor try to merge again

@rultor
Copy link
Contributor

rultor commented Sep 25, 2015

@rultor try to merge again

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Contributor

rultor commented Sep 25, 2015

@rultor try to merge again

@tmjee @yegor256 Oops, I failed. You can see the full log here (spent 8min)

[INFO] [INFO] Finished at: 2015-09-25T22:30:01+00:00
[INFO] [INFO] Final Memory: 15M/391M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [WARNING] The requested profile "qulice" could not be activated because it does not exist.
[INFO] ..SUCCESS (13.7 s)
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 2, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] 
[INFO] --- maven-failsafe-plugin:2.17:verify (default) @ jcabi-github ---
[INFO] Failsafe report directory: /home/r/repo/target/failsafe-reports
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:41 min
[INFO] Finished at: 2015-09-25T22:30:02+00:00
[INFO] Final Memory: 39M/450M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (default) on project jcabi-github: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/r/repo/target/failsafe-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (default) on project jcabi-github: There are test failures.

Please refer to /home/r/repo/target/failsafe-reports for the individual test results.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to /home/r/repo/target/failsafe-reports for the individual test results.
    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82)
    at org.apache.maven.plugin.failsafe.VerifyMojo.execute(VerifyMojo.java:194)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    ... 19 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

@asaen
Copy link

asaen commented Sep 26, 2015

@tmjee please take a look at

Tests in error: RtIssueITCase.talksInGithubProject:107 » ClassCast javax.json.JsonValue$1 cann...

It seems something is broken.

@tmjee
Copy link
Author

tmjee commented Sep 26, 2015

@darkled Can I get more details about the error? Eg. a copy of the logs / stack traces for the test in /home/r/repo/target/failsafe-reports directory. Thx

@asaen
Copy link

asaen commented Sep 26, 2015

@tmjee you can find all the information in the rultor's merge log, link is mentioned above.

@tmjee
Copy link
Author

tmjee commented Sep 26, 2015

@darkled the log mentioned

There are test failures. 
Please refer to /home/r/repo/target/failsafe-reports for the individual test results. 

I'd like to get that test RtIssueITCase.talksInGithubProject test results. It is not in rultor's merge log because that single CCE doesn't makes much sense looking at the code at that line. I am just curious how no change in code causes integration tests to fail. I suspect some comms issue is causing this CCE.

@asaen
Copy link

asaen commented Sep 26, 2015

@tmjee please see http://www.rultor.com/t/5241-143366877, I think it should be enough. Also I am not sure if we have access to /home/r/repo/target/failsafe-reports, because rultor uses docker container for every build.

@tmjee
Copy link
Author

tmjee commented Sep 26, 2015

@darkled see #1168 for more info. This is another separate issue. Please try run merge again and it should work.

@asaen
Copy link

asaen commented Sep 26, 2015

@tmjee ok, then please ignore (with @Ignore) this test and let's try to merge once more

@asaen
Copy link

asaen commented Oct 5, 2015

@tmjee is there any news?

@tmjee
Copy link
Author

tmjee commented Oct 5, 2015

@darkled done.

@asaen
Copy link

asaen commented Oct 5, 2015

@tmjee I think we need to wait a bit till #1162 is merged, it has similar problem

@amihaiemil
Copy link
Member

@asaen I am closing this; it's way too big, too many changes, and too old. I'm pretty sure it would be faster to redo the PR than fixing all the conflicts and making sure changes are up to date...

@0crat
Copy link

0crat commented Apr 2, 2018

The job is not in WBS, won't close the order

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants