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

change default package to org.eolang.benchmark #50

Closed
yegor256 opened this issue Jan 22, 2024 · 21 comments
Closed

change default package to org.eolang.benchmark #50

yegor256 opened this issue Jan 22, 2024 · 21 comments
Assignees
Labels
bug Something isn't working

Comments

@yegor256
Copy link
Member

Currently it's com.example. Let's change it everywhere to org.eolang.benchmark.

@volodya-lombrozo
Copy link
Member

Please, pay attention, that generated package com.exam.BA not com.example.BA. Which is rather strange and I don't understand where we are loosing ple suffix. It might be a bug in any of the plugins, but I would suggest to test it here first.
You can find more info here: objectionary/jeo-maven-plugin#426

@maxonfjvipon
Copy link
Member

@yegor256 could you please provide me a log of full pipeline?

@yegor256
Copy link
Member Author

@volodya-lombrozo
Copy link
Member

@maxonfjvipon I've cheked the output of the integration tests (bechmark-example), and generated-sources/fused-xmir/com/exam/BA.xmir has the following content:

<meta>
  <head>package</head>
  <tail>com/exam</tail>
  <part>com/exam</part>
</meta>

So, most probably the bug in ineo plugin.

@yegor256
Copy link
Member Author

@maxonfjvipon please, check this one too: objectionary/jeo-maven-plugin#430 (comment)

maxonfjvipon added a commit to maxonfjvipon/ineo-maven-plugin that referenced this issue Jan 22, 2024
maxonfjvipon added a commit to maxonfjvipon/ineo-maven-plugin that referenced this issue Jan 22, 2024
maxonfjvipon added a commit that referenced this issue Jan 22, 2024
@objectionary objectionary deleted a comment from rultor Jan 22, 2024
@objectionary objectionary deleted a comment from rultor Jan 22, 2024
@maxonfjvipon
Copy link
Member

@yegor256 please update ineo-maven-plugin to 0.1.4 and try again

@yegor256
Copy link
Member Author

@maxonfjvipon apparently, the problem is still there: https://github.com/objectionary/benchmark/actions/runs/7612155714/job/20729140427 (the string com.exam.BA is still visible in the log)

@maxonfjvipon
Copy link
Member

@yegor256 please update ineo-maven-plugin to 0.1.5 and try again

@maxonfjvipon
Copy link
Member

@rultor release, tag is 0.1.5

@rultor
Copy link
Collaborator

rultor commented Jan 22, 2024

@rultor release, tag is 0.1.5

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

@rultor
Copy link
Collaborator

rultor commented Jan 22, 2024

@rultor release, tag is 0.1.5

@maxonfjvipon @yegor256 Oops, I failed. You can see the full log here (spent 22s)

+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 3139319
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Mon Jan 22 03:57:19 PM CET 2024
+ uptime
 15:57:19 up 130 days, 20:11,  0 users,  load average: 0.11, 0.11, 0.24
+ [email protected]:objectionary/ineo-maven-plugin.git
+ ff=default
+ image=yegor256/rultor-image:1.19.0
+ rebase=false
+ squash=false
+ head_branch=master
+ author=maxonfjvipon
+ tag=0.1.5
+ vars=('[email protected]:objectionary/ineo-maven-plugin.git' '--env=tag=0.1.5' '--env=scripts=( '\''export '\''\'\'''\''[email protected]:objectionary/ineo-maven-plugin.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.5'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=maxonfjvipon'\''\'\'''\'''\'' '\'';'\'' '\''echo "Master branch"'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''mvn versions:set "-DnewVersion=${tag}"'\'' '\'';'\'' '\''git commit -am "${tag}"'\'' '\'';'\'' '\''mvn clean install -Pqulice --errors --batch-mode -Dinvoker.skip -DskipITs'\'' '\'';'\'' '\''mvn clean deploy -Pobjectionary -Psonatype --errors --settings ../settings.xml -Dstyle.color=never'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=maxonfjvipon')
+ scripts=('export '\''[email protected]:objectionary/ineo-maven-plugin.git'\''' ';' 'export '\''tag=0.1.5'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=maxonfjvipon'\''' ';' 'echo "Master branch"' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'mvn versions:set "-DnewVersion=${tag}"' ';' 'git commit -am "${tag}"' ';' 'mvn clean install -Pqulice --errors --batch-mode -Dinvoker.skip -DskipITs' ';' 'mvn clean deploy -Pobjectionary -Psonatype --errors --settings ../settings.xml -Dstyle.color=never' ';')
+ directory=
+ container=objectionary_ineo-maven-plugin_50
+ as_root=false
+ hostname
b3.rultor.com
+ pwd
/tmp/rultor-ePC6
+ git --version
git version 2.34.1
+ docker --version
Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.1
+ mkdir -p /home/rultor/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/rultor/.ssh/config
+ git clone [email protected]:objectionary/ineo-maven-plugin.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email [email protected]
+ git config user.name rultor
+ '[' -z 'export '\''[email protected]:objectionary/ineo-maven-plugin.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''[email protected]:objectionary/ineo-maven-plugin.git'\''' ';' 'export '\''tag=0.1.5'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=maxonfjvipon'\''' ';' 'echo "Master branch"' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'mvn versions:set "-DnewVersion=${tag}"' ';' 'git commit -am "${tag}"' ';' 'mvn clean install -Pqulice --errors --batch-mode -Dinvoker.skip -DskipITs' ';' 'mvn clean deploy -Pobjectionary -Psonatype --errors --settings ../settings.xml -Dstyle.color=never' ';'
+ sensitive=()
+ rm -rf .gnupg
+ '[' -z 0.1.5 ']'
+ [[ 0.1.5 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.1.5"'
tag name is valid: "0.1.5"
+ cd repo
++ git tag -l 0.1.5
+ '[' 0.1.5 ']'
+ echo 'Tag 0.1.5 already exists!'
Tag 0.1.5 already exists!
+ exit -1
'cid' file is absent, most probably the Docker container wasn't started correctly

@maxonfjvipon
Copy link
Member

@rultor release, tag is 0.1.6

@rultor
Copy link
Collaborator

rultor commented Jan 22, 2024

@rultor release, tag is 0.1.6

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

@rultor
Copy link
Collaborator

rultor commented Jan 22, 2024

@rultor release, tag is 0.1.6

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

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    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)
Caused by: com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and Java type class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and MIME media type text/html was not found
    at com.sun.jersey.api.client.ClientResponse.getEntity (ClientResponse.java:561)
    at com.sun.jersey.api.client.ClientResponse.getEntity (ClientResponse.java:517)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl$1.perform (StagingWorkflowV3ServiceImpl.java:80)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl$1.perform (StagingWorkflowV3ServiceImpl.java:68)
    at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn (ExceptionConverter.java:38)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.findRepository (StagingWorkflowV3ServiceImpl.java:86)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.monitorRepositoryTransition (StagingWorkflowV3ServiceImpl.java:213)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$7.perform (StagingWorkflowV2ServiceImpl.java:205)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$7.perform (StagingWorkflowV2ServiceImpl.java:200)
    at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn (ExceptionConverter.java:38)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl.finishStaging (StagingWorkflowV2ServiceImpl.java:209)
    at org.sonatype.nexus.maven.staging.deploy.strategy.AbstractStagingDeployStrategy.afterUpload (AbstractStagingDeployStrategy.java:206)
    at org.sonatype.nexus.maven.staging.deploy.strategy.StagingDeployStrategy.finalizeDeploy (StagingDeployStrategy.java:129)
    at org.sonatype.nexus.maven.staging.deploy.DeployMojo.execute (DeployMojo.java:213)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    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
\u001b[0m\u001b[0mcontainer 0f39afff8efe01fd353bcc6c33f478df7644c3227d3f13093f30c6b38c9b39f9 is dead
Mon Jan 22 04:05:11 PM CET 2024

@maxonfjvipon
Copy link
Member

@yegor256 update ineo-maven-plugin to 0.1.6 and try again

@maxonfjvipon
Copy link
Member

@rultor release, tag is 0.1.6

@rultor
Copy link
Collaborator

rultor commented Jan 22, 2024

@rultor release, tag is 0.1.6

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

@rultor
Copy link
Collaborator

rultor commented Jan 22, 2024

@rultor release, tag is 0.1.6

@maxonfjvipon Done! FYI, the full log is here (took me 8min)

@maxonfjvipon
Copy link
Member

@rultor release, tag is 0.1.7

@rultor
Copy link
Collaborator

rultor commented Jan 24, 2024

@rultor release, tag is 0.1.7

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

@rultor
Copy link
Collaborator

rultor commented Jan 24, 2024

@rultor release, tag is 0.1.7

@maxonfjvipon Done! FYI, the full log is here (took me 6min)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants