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

Add loging sql query executed in db. #169

Merged
merged 3 commits into from
Nov 21, 2018
Merged

Add loging sql query executed in db. #169

merged 3 commits into from
Nov 21, 2018

Conversation

smallcreep
Copy link
Owner

Close #165

@smallcreep smallcreep self-assigned this Nov 21, 2018
@codecov
Copy link

codecov bot commented Nov 21, 2018

Codecov Report

Merging #169 into master will decrease coverage by 0.06%.
The diff coverage is 89.47%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #169      +/-   ##
============================================
- Coverage     91.46%   91.39%   -0.07%     
- Complexity      450      459       +9     
============================================
  Files            63       65       +2     
  Lines           785      802      +17     
  Branches          8        8              
============================================
+ Hits            718      733      +15     
- Misses           65       67       +2     
  Partials          2        2
Impacted Files Coverage Δ Complexity Δ
...mallcreep/cucumber/seeds/db/fake/DataBaseFake.java 100% <ø> (ø) 5 <0> (ø) ⬇️
...ithub/smallcreep/cucumber/seeds/sql/SqlSticky.java 100% <100%> (ø) 3 <3> (?)
...reep/cucumber/seeds/db/fake/DataBaseQueryFake.java 100% <100%> (ø) 3 <1> (?)
...ithub/smallcreep/cucumber/seeds/db/DbsDefault.java 100% <100%> (ø) 4 <0> (ø) ⬇️
...b/smallcreep/cucumber/seeds/db/DataBaseLogged.java 81.81% <81.81%> (ø) 5 <5> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e5d9a7e...6e564de. Read the comment docs.

@smallcreep
Copy link
Owner Author

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Nov 21, 2018

@rultor merge

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

@rultor
Copy link
Collaborator

rultor commented Nov 21, 2018

@rultor merge

@smallcreep Oops, I failed. You can see the full log here (spent 11min)

[INFO] cucumber-seeds-parent .............................. SUCCESS [06:03 min]
[INFO] seeds-core ......................................... SUCCESS [01:06 min]
[INFO] seeds-generator .................................... SUCCESS [ 15.587 s]
[INFO] seeds-db ........................................... FAILURE [ 14.003 s]
[INFO] test-steps ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:05 min
[INFO] Finished at: 2018-11-21T12:40:48+00:00
[INFO] Final Memory: 61M/576M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project seeds-db: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/r/repo/seeds-db/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project seeds-db: There are test failures.

Please refer to /home/r/repo/seeds-db/target/surefire-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:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	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/seeds-db/target/surefire-reports for the individual test results.
	at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:91)
	at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:320)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:892)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :seeds-db
container aaf9686eb85e9ade52ced83ed9066d35b2d9442df7196c68d36bbc8b8b8bf261 is dead
Wed Nov 21 13:42:31 CET 2018

@smallcreep
Copy link
Owner Author

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Nov 21, 2018

@rultor merge

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

@rultor rultor merged commit 6e564de into master Nov 21, 2018
@rultor
Copy link
Collaborator

rultor commented Nov 21, 2018

@rultor merge

@smallcreep Done! FYI, the full log is here (took me 15min)

@smallcreep
Copy link
Owner Author

@rultor release tag=0.2.1

@rultor
Copy link
Collaborator

rultor commented Nov 21, 2018

@rultor release tag=0.2.1

@smallcreep OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Nov 21, 2018

@rultor release tag=0.2.1

@smallcreep Done! FYI, the full log is here (took me 21min)

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