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

(#429) Logging for Datazied #500

Merged
merged 5 commits into from
Dec 24, 2021
Merged

(#429) Logging for Datazied #500

merged 5 commits into from
Dec 24, 2021

Conversation

andreoss
Copy link
Member

Per #429

  • Add extension to generated code

@andreoss andreoss marked this pull request as ready for review December 17, 2021 15:10
@yegor256
Copy link
Member

@rultor merge

@rultor
Copy link
Contributor

rultor commented Dec 17, 2021

@rultor merge

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

@rultor
Copy link
Contributor

rultor commented Dec 17, 2021

@rultor merge

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

    7679,	at								 org		.apache.maven.life	σ ↦ ν6cycle.internal.LifecycleModuleBuilder.buildProject7679		 (LifecycleModuleBuilder.java:81)
    					at				⟧(Δ  org.apache.maven.life↦ 0)										)(										cycle.internal.builder.singlethreaded.SingleThreadedBuild	#1 ↦ ν6er.build7684·x⟦											 (SingleThre	i adedBuilder↦ Ø,			.java:56)
    									ρ ↦ ν6at767 org.apac9,					he.maven.lifecycle.internal				.LifecycleStart		er.execute	σ ↦ ν67679,		 (Lifec			ycleStarter.java:128)
    						at	φ ↦ λ											 org.apache.maven.DefaultMaven.doExecute⟧(#0 ↦ ν6767 (DefaultMaven.java:305)
    9.i.subat org.apache.maven.De(#faultMaven.doE0 ↦ ν67685(xecuteΔ ↦ 1)))				 (DefaultMaven.java:192)
    						at)					 org.ap				⟧		ache.maven.DefaultMaven.execute						⟧ (De(Δ ↦ 1fault)							),							ρ Maven.java:105)
    ↦ ν67at org.apache.maven.cli.Mav679·x⟦			enCli.execute					i ↦ (MavenCli.java:957)
     ν67at673·int⟦									abs ↦  org.apache.maven.cli.MavenCli.doMaλ,				in					add  (MavenCli.java:289)
    ↦ ν6at7733·i org.apache.maven.cli.MavenCli.mainnt.ad (MavenCli.java:193)
    d⟦			at							 jdk.internal.reflect.NativeMethodAccesx ↦ Ø,						sorImpl.invoke				ρ ↦ ν67673,0										σ ↦ (N ν67673,									ative Method)
    	φ ↦ λ									at⟧,		 jdk.internal.reflect.NativeM							asethodAccessorImpl.invoke-byte (NativeMethodAccessorIs ↦ mpl.java:62)
    λ,				at					 jdk.internal.reflect.Deas-floalegatingMethodAccest ↦ λ,									assorImpl.invoke-string ↦ λ,					 (DelegatingMet				div ↦ λ,		hodAccessorImpl.java:43)
    							eqat java.lang.reflect.Method.invoke ↦ ν6768 (Method.java:566)
    9·int.eatq⟦			 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced							 (Launcher.java:282)
    x ↦ Ø,at org.codehaus.plexus.classworlds.launcher.La			uncher.launch							ρ ↦  (Launcher.java:225)
    at org.codehauν67673,										σ ↦ ν6767s.plexus.classworlds.la3,					uncher.Launcher.mainWithExitCode					φ (Launcher.java:406)
     ↦ λ						at			⟧,				 org.codehaus.plexus.classworlds.launcher.Launcher.main					geq  (Launcher.java:347)
↦ λ,		Caused by: org.apache.maven		.surefir					greater ↦ νe.booter.677SurefireBooterForkException07·int.greater⟦					: 					x ↦ Ø,				The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/r/repo/eo-runtime && /usr/lib/jvm/java-11-openjdk-amd64/bin/java -jar /home/r/repo/eo-runtime/target/surefire/surefirebooter1149968660670406954.jar /home/r/re						ρ ↦po/eo-runtime/target/surefire 2021-12-17T15-4 ν67673,6-27_794-jvmRun1 surefire13970939258746664257tmp surefire_22342785409772524517tmp
Process Exit Code: 0
Crashed tests:
EOorg.EOeolang.EOmakes_deep_object_recursivelyTest
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork (ForkStarter.java:748)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:305)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run (ForkStarter.java:265)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider (AbstractSurefireMojo.java:1314)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:1159)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:932)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lif										σ ↦ ν67673,										φ ↦ λ									⟧,									leq ↦ λ,									less ↦ ν67687·less⟦										x ↦ Ø,										ρ ↦ ν67673,										σ ↦ ν67673,										φ ↦ λ									⟧,									mod ↦ λ,									mul ↦ λ,									neg ↦ λ,									neq ↦ λ,									pow ↦ λ,									sub ↦ ν67731·sub⟦										x ↦ Ø,										ρ ↦ ν67673,										σ ↦ ν67673,										φ ↦ λ									⟧,									Δ ↦ 10,									ρ ↦ ν67670·makes-deep-object-recursively⟦										x ↦ ν67678·x⟦											i ↦ Ø,											ρ ↦ ν67670,											σ ↦ ν67670,											φ ↦ λ										⟧,										ρ ↦ Φ,										σ ↦ Φ,										φ ↦ ν67671·int⟦											abs ↦ λ,											add ↦ λ,											as-bytes ↦ λ,											as-float ↦ λ,											as-string ↦ λ,											div ↦ λ,											eq ↦ ν67675·int.eq⟦												x ↦ Ø,												ρ ↦ ν67671,												σ ↦ ν67671,												φ ↦ λ											⟧,											geq ↦ λ,											greater ↦ λ,											leq ↦ λ,											less ↦ λ,											mod ↦ λ,											mul ↦ λ,											neg ↦ λ,											neq ↦ λ,											pow ↦ λ,											sub ↦ λ,											Δ ↦ 0,											ρ ↦ ν67670,											σ ↦ ν67670										⟧(Δ ↦ 0).eq(#0 ↦ ν67670.x(#0 ↦ ν67673(Δ ↦ 10)))									⟧,									σ ↦ ν67670·makes-deep-object-recursively⟦										x ↦ ν67678·x⟦											i ↦ Ø,											ρ ↦ ν67670,											σ ↦ ν67670,											φ ↦ λ										⟧,										ρ ↦ Φ,										σ ↦ Φ,										φ ↦ ν67671·int⟦											abs ↦ λ,											add ↦ λ,											as-bytes ↦ λ,											as-float ↦ λ,											as-string ↦ λ,											div ↦ λ,											eq ↦ ν67675·int.eq⟦												x ↦ Ø,												ρ ↦ ν67671,												σ ↦ ν67671,												φ ↦ λ											⟧,											geq ↦ λ,											greater ↦ λ,											leq ↦ λ,											less ↦ λ,											mod ↦ λ,											mul ↦ λ,											neg ↦ λ,											neq ↦ λ,											pow ↦ λ,											sub ↦ λ,											Δ ↦ 0,											ρ ↦ ν67670,											σ ↦ ν67670										⟧(Δ ↦ 0).eq(#0 ↦ ν67670.x(#0 ↦ ν67673(Δ ↦ 10)))									⟧								⟧(Δ ↦ 10),								ρ ↦ ν67670·makes-deep-object-recursively⟦									x ↦ ν67678·x⟦										i ↦ Ø,										ρ ↦ ν67670,										σ ↦ ν67670,										φ ↦ λ									⟧,									ρ ↦ Φ,									σ ↦ Φ,									φ ↦ ν67671·int⟦										abs ↦ λ,										add ↦ λ,										as-bytes ↦ λ,										as-float ↦ λ,										as-string ↦ λ,										div ↦ λ,										eq ↦ ν67675·int.eq⟦											x ↦ Ø,											ρ ↦ ν67671,											σ ↦ ν67671,											φ ↦ λ										⟧,										geq ↦ λ,										greater ↦ λ,										leq ↦ λ,										less ↦ λ,										mod ↦ λ,										mul ↦ λ,										neg ↦ λ,										neq ↦ λ,										pow ↦ λ,										sub ↦ λ,										Δ ↦ 0,										ρ ↦ ν67670,										σ ↦ ν67670									⟧(Δ ↦ 0).eq(										#0 ↦ ν67670.x(											#0 ↦ ν67673·int⟦												abs ↦ λ,												add ↦ ν67733·int.add⟦													x ↦ Ø,													ρ ↦ ν67673,													σ ↦ ν67673,													φ ↦ λ												⟧,												as-bytes ↦ λ,												as-float ↦ λ,												as-string ↦ λ,												div ↦ λ,												eq ↦ ν67689·int.eq⟦													x ↦ Ø,													ρ ↦ ν67673,													σ ↦ ν67673,													φ ↦ λ												⟧,												geq ↦ λ,												greater ↦ ν67707·int.greater⟦													x ↦ Ø,													ρ ↦ ν67673,													σ ↦ ν67673,													φ ↦ λ												⟧,												leq ↦ λ,												less ↦ ν67687·less⟦													x ↦ Ø,													ρ ↦ ν67673,													σ ↦ ν67673,													φ ↦ λ												⟧,												mod ↦ λ,												mul ↦ λ,												neg ↦ λ,												neq ↦ λ,												pow ↦ λ,												sub ↦ ν67731·sub⟦													x ↦ Ø,													ρ ↦ ν67673,													σ ↦ ν67673,													φ ↦ λ												⟧,												Δ ↦ 10,												ρ ↦ ν67670,												σ ↦ ν67670											⟧(Δ ↦ 10)										)									)								⟧,								σ ↦ ν67670·makes-deep-object-recursively⟦									x ↦ ν67678·x⟦										i ↦ Ø,										ρ ↦ ν67670,										σ ↦ ν67670,										φ ↦ λ									⟧,									ρ ↦ Φ,									σ ↦ Φ,									φ ↦ ν67671·int⟦										abs ↦ λ,										add ↦ λ,										as-bytes ↦ λ,										as-float ↦ λ,										as-string ↦ λ,										div ↦ λ,										eq ↦ ν67675·int.eq⟦											x ↦ Ø,											ρ ↦ ν67671,											σ ↦ ν67671,											φ ↦ λ					ecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :eo-runtime
					⟧,										geq ↦ λ,										greater ↦ λ,										leq ↦ λ,										less ↦ λ,										mod ↦ λ,										mul ↦ λ,										neg ↦ λ,										neq ↦ λ,										pow ↦ λ,										sub ↦ λ,										Δ ↦ 0,										ρ ↦ ν67670,										σ ↦ ν67670									⟧(Δ ↦ 0).eq(										#0 ↦ ν67670.x(											#0 ↦ ν67673·int⟦												abs ↦ λ,												add ↦ ν67733·int.add⟦													x ↦ Ø,													ρ ↦ ν67673,													σ ↦ ν67673,													φ ↦ λ												⟧,												as-bytes ↦ λ,												as-float ↦ λ,												as-string ↦ λ,												div ↦ λ,												eq ↦ ν67689·int.eq⟦													x ↦ Ø,													ρ ↦ ν67673,													σ ↦ ν67673,													φ ↦ λ												⟧,												geq ↦ λ,												greater ↦ ν67707·int.greater⟦													x ↦ Ø,													ρ ↦ ν67673,													σ ↦ ν67673,													φ ↦ λ												⟧,												leq ↦ λ,												less ↦ ν67687·less⟦													x ↦ Ø,													ρ ↦ ν67673,													σ ↦ ν67673,													φ ↦ λ												⟧,												mod ↦ λ,												mul ↦ λ,												neg ↦ λ,												neq ↦ λ,												pow ↦ λ,												sub ↦ ν67731·sub⟦													x ↦ Ø,													ρ ↦ ν67673,													σ ↦ ν67673,													φ ↦ λ												⟧,												Δ ↦ 10,												ρ ↦ ν67670,												σ ↦ ν67670											⟧(Δ ↦ 10)										)									)								⟧,								φ ↦ ν67679.i.less(									#0 ↦ ν67680·int⟦										abs ↦ λ,										add ↦ λ,										as-bytes ↦ λ,										as-float ↦ λ,										as-string ↦ λ,										div ↦ λ,										eq ↦ λ,										geq ↦ λ,										greater ↦ λ,										leq ↦ λ,										less ↦ λ,										mod ↦ λ,										mul ↦ λ,										neg ↦ λ,										neq ↦ λ,										pow ↦ λ,										sub ↦ λ,										Δ ↦ 0,										ρ ↦ ν67679,										σ ↦ ν67679									⟧(Δ ↦ 0)								).if(									#0 ↦ ν67682·int⟦										abs ↦ λ,										add ↦ λ,										as-bytes ↦ λ,										as-float ↦ λ,										as-string ↦ λ,										div ↦ λ,										eq ↦ λ,										geq ↦ λ,										greater ↦ λ,										leq ↦ λ,										less ↦ λ,										mod ↦ λ,										mul ↦ λ,										neg ↦ λ,										neq ↦ λ,										pow ↦ λ,										sub ↦ λ,										Δ ↦ Ø,										ρ ↦ ν67679,										σ ↦ ν67679									⟧(Δ ↦ 0)								)(									#1 ↦ ν67684·x⟦										i ↦ Ø,										ρ ↦ ν67679,										σ ↦ ν67679,										φ ↦ λ									⟧(										#0 ↦ ν67679.i.sub(											#0 ↦ ν67685·int⟦												abs ↦ λ,												add ↦ λ,												as-bytes ↦ λ,												as-float ↦ λ,												as-string ↦ λ,												div ↦ λ,												eq ↦ λ,												geq ↦ λ,												greater ↦ λ,												leq ↦ λ,												less ↦ λ,												mod ↦ λ,												mul ↦ ν67739·int.mul⟦													x ↦ Ø,													ρ ↦ ν67685,													σ ↦ ν67685,													φ ↦ λ												⟧,												neg ↦ ν67736·neg⟦													ρ ↦ ν67685,													σ ↦ ν67685,													φ ↦ ν67736.ρ.mul(														#0 ↦ ν67737·int⟦															abs ↦ λ,															add ↦ λ,															as-bytes ↦ λ,															as-float ↦ λ,															as-string ↦ λ,															div ↦ λ,															eq ↦ λ,															geq ↦ λ,															greater ↦ λ,															leq ↦ λ,															less ↦ λ,															mod ↦ λ,															mul ↦ λ,															neg ↦ λ,															neq ↦ λ,															pow ↦ λ,															sub ↦ λ,															Δ ↦ -1,															ρ ↦ ν67736,															σ ↦ ν67736														⟧(Δ ↦ -1)													)												⟧,												neq ↦ λ,												pow ↦ λ,												sub ↦ λ,												Δ ↦ 1,												ρ ↦ ν67679,												σ ↦ ν67679											⟧(Δ ↦ 1)										)									)								)							⟧,							σ ↦ ν67679·x⟦								i ↦ ν67673·int⟦									abs ↦ λ,									add ↦ ν67733·int.add⟦										x ↦ Ø,										ρ ↦ ν67673,										σ ↦ ν67673,										φ ↦ λ									⟧,									as-bytes ↦ λ,									as-float ↦ λ,									as-string ↦ λ,									div ↦ λ,									eq ↦ ν67689·int.eq⟦										x ↦ Ø,										ρ ↦ ν67673,										σ ↦ ν67673,										φ ↦ λ									⟧,									geq ↦ λ,									greater ↦ ν67707·int.greater⟦										x ↦ Ø,										ρ ↦ ν67673,										σ ↦ ν67673,										φ ↦ λ									⟧,									leq ↦ λ,									less ↦ ν67687·less⟦										x ↦ Ø,										ρ ↦ ν67673,										σ ↦ ν67673,										φ ↦ λ									⟧,									mod ↦ λ,									mul ↦ λ,									neg ↦ λ,									neq ↦ λ,									pow ↦ λ,									sub ↦ ν67731·sub⟦										x ↦ Ø,										ρ ↦ ν67673,										σ ↦ ν67673,										φ ↦ λ									⟧,									Δ ↦ 10,									ρ ↦ ν67670·makes-deep-object-recursively⟦										x ↦ ν67678·x⟦											i ↦ Ø,											ρ ↦ ν67670,											σ ↦ ν67670,											φ ↦ λ										⟧,										ρ ↦ Φ,										σ ↦ Φ,										φ ↦ ν67671·int⟦											abs ↦ λ,											add ↦ λ,											as-bytes ↦ λ,											as-float ↦ λ,											as-string ↦ λ,											div ↦ λ,											eq ↦ ν67675·int.eq⟦												x ↦ Ø,												ρ ↦ ν67671,												σ ↦ ν67671,												φ ↦ λ											⟧,											geq ↦ λ,											greater ↦ λ,											leq ↦ λ,											less ↦ λ,											mod ↦ λ,											mul ↦ λ,											neg ↦ λ,											neq ↦ λ,											pow ↦ λ,											sub ↦ λ,											Δ ↦ 0,											ρ ↦ ν67670,											σ ↦ ν67670										⟧(Δ ↦ 0).eq(#0 ↦ ν67670.x(#0 ↦ ν67673(Δ ↦ 10)))									⟧,									σ ↦ ν67670·makes-deep-object-recursively⟦										x ↦ ν67678·x⟦											i ↦ Ø,											ρ ↦ ν67670,											σ ↦ ν67670,											φ ↦ λ										⟧,										ρ ↦ Φ,										σ ↦ Φ,										φ ↦ ν67671·int⟦											abs ↦ λ,											add ↦ λ,											as-bytes ↦ λ,											as-float ↦ λ,											as-string ↦ λ,											div ↦ λ,											eq ↦ ν67675·int.eq⟦												x ↦ Ø,												ρ ↦ ν67671,												σ ↦ ν67671,												φ ↦ λ											⟧,											geq ↦ λ,											greater ↦ λ,											leq ↦ λ,											lcontainer bb95e89d8d347300ee0da51f68d7cfbc158cf79a92b69804227fe6b19364b241 is dead
Fri Dec 17 17:16:54 CET 2021

@yegor256
Copy link
Member

@andreoss what's up with this one? I think the bug is in the tests only

@andreoss
Copy link
Member Author

@yegor256 can i disable makes-recusrvise-objects for now and fix it with #520?
Logging causes phi-term evaluation which is not optimized and crashes JVM

@codecov
Copy link

codecov bot commented Dec 24, 2021

Codecov Report

Merging #500 (722be24) into master (54eb8df) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #500   +/-   ##
=========================================
  Coverage     87.53%   87.53%           
  Complexity       92       92           
=========================================
  Files             8        8           
  Lines           337      337           
  Branches         37       37           
=========================================
  Hits            295      295           
  Misses           34       34           
  Partials          8        8           

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 54eb8df...722be24. Read the comment docs.

@yegor256
Copy link
Member

@rultor merge

@rultor
Copy link
Contributor

rultor commented Dec 24, 2021

@rultor merge

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

@rultor rultor merged commit 949f725 into objectionary:master Dec 24, 2021
@rultor
Copy link
Contributor

rultor commented Dec 24, 2021

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 9min)

@0crat
Copy link

0crat commented Jan 16, 2022

@yegor256/z everybody who has role REV is banned at #500; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@0crat 0crat removed the 0crat/scope label Jan 17, 2022
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.

4 participants