Ivy-publication:publish-local fails

Hello,

I am trying to run PQT tests from shell.

I manged to run the tests but I have a failure at the end during the ivy-publication:publish-local:

I attach a lengthy log here:

log.595.txt (810.9 KB)

but the interesting part is:

microej-testsuite:rip-test/check:
[mkdir] Created dir: /home/tito/fsl/microej/nxpvee-mimxrt595-prj/nxp-vee-rt595/nxpvee-mimxrt595-evk-round-apps/target~/test-rips
[antlib:com.is2t.mam.ant] Could not load definitions from resource com/is2t/mam/ant/antlib.xml. It could not be found.

abstract-test:compute-test-sets:
[echo] Test path scanning disabled by property test.scan.path
[echo] Test path scanning disabled by property test.integration.scan.path

-microej-testsuite:check:
Override ignored for property “skip.test”
Override ignored for property “skip.test.integration”

-microej-testsuite:check-vm-name:
Skipped because property ‘skip.test.all’ set.

microej-testsuite:compute-skip-load-platform:
Skipped because property ‘skip.test.all’ set.

platform-loader:set-skip-load-platform:
Override ignored for property “platform.loader.skip.load.platform”

-microej-testsuite:testsuite-taskdef:
parsing buildfile jar:file:/home/tito/Downloads/BuildKit/microej-build-repository/com/is2t/testsuite/testsuite-engine/5.4.2/testsuite-engine-5.4.2.jar!/com/is2t/testsuite/ant/antlib.xml with URI = jar:file:/home/tito/Downloads/BuildKit/microej-build-repository/com/is2t/testsuite/testsuite-engine/5.4.2/testsuite-engine-5.4.2.jar!/com/is2t/testsuite/ant/antlib.xml from a zip file

microej-testsuite:prepare-platform:
Skipped because property ‘skip.test.all’ set.

microej-testsuite:abstract-test:install:
Skipped because property ‘skip.test.all’ set.

microej-testsuite:init:
Skipped because property ‘skip.test.all’ set.

-microej-testsuite:s3-platform-classpath:
Skipped because property ‘use.s3.harness’ not set.

-microej-testsuite:emb-platform-classpath:
Skipped because property ‘use.emb.harness’ not set.

-microej-testsuite:launch-properties:
Skipped because property ‘skip.test.all’ set.

-microej-testsuite:test:
Skipped because property ‘skip.test’ set.

microej-testsuite:test-report-package/check:
[available] Unable to find dir target~/test/html to set property target.test.html.exist

microej-testsuite:test-report-package:
Skipped because property ‘target.test.html.exist’ not set.

microej-testsuite:cc-init:
[mkdir] Created dir: /home/tito/fsl/microej/nxpvee-mimxrt595-prj/nxp-vee-rt595/nxpvee-mimxrt595-evk-round-apps/target~/codeCoverage/cc
[copy] No sources found.
[copy] No sources found.

microej-testsuite:cc-classes-from-target.main.classes:
Skipped because property ‘compute-cc-class-target.main.classes’ not set.

microej-testsuite:cc-classes-from-application.classpath:
Skipped because property ‘compute-cc-class-application.classpath’ not set.

microej-testsuite:cc-classes:
Skipped because property ‘has.cc.files’ not set.

microej-testsuite:cc:
Property “microej.testsuite.generate.cc.report” has not been set
Property “microej.testsuite.generate.cc.report” has not been set
Skipped because property ‘${microej.testsuite.generate.cc.report}’ not set.

-microej-testsuite:test-end/check:
Skipped because property ‘skip.test’ set.

microej-testsuite:run:
Skipped because property ‘skip.test’ set.

-microej-testsuite:integration-test:
Skipped because property ‘skip.test.integration’ set.

microej-testsuite:run-integration:
Skipped because property ‘skip.test.integration’ set.

artifact-checker:init:
parsing buildfile jar:file:/home/tito/Downloads/BuildKit/microej-build-repository/com/is2t/tools/artifact-checker/2.1.0/artifact-checker-2.1.0.jar!/com/is2t/tools/artifactchecker/ant/antlib.xml with URI = jar:file:/home/tito/Downloads/BuildKit/microej-build-repository/com/is2t/tools/artifact-checker/2.1.0/artifact-checker-2.1.0.jar!/com/is2t/tools/artifactchecker/ant/antlib.xml from a zip file
Property “artifacts.fetch.level” has not been set

artifact-checker:check-current-module:
Skipped because property ‘run.artifact.checker’ not set.

-ivy-publication:init:
Override ignored for property “is.project.ivy.settings.configured”

dist-build-meta:init:
[mkdir] Skipping /home/tito/fsl/microej/nxpvee-mimxrt595-prj/nxp-vee-rt595/nxpvee-mimxrt595-evk-round-apps/target~/artifacts because it already exists.
[mkdir] Created dir: /home/tito/fsl/microej/nxpvee-mimxrt595-prj/nxp-vee-rt595/nxpvee-mimxrt595-evk-round-apps/target~/build-env

dist-build-meta:add-common-properties:
Property “buildRequesterUserId” has not been set
Property “buildDefinitionId” has not been set
Property “buildEngineId” has not been set
Property “repositoryAddress” has not been set
Property “buildEngineHostName” has not been set

dist-build-meta:add-git-properties:
Skipped because property ‘git.repository’ not set.

dist-build-meta:meta:
Overriding previous definition of property “ivy.version”

dist-build-meta:fixdeps:
Overriding previous definition of property “ivy.version”
Overriding previous definition of property “ivy.version”

dist-build-meta:build-env:
Skipped because property ‘no.build-env’ set.

ivy-publication:publish-local:
Overriding previous definition of property “ivy.version”
Override ignored for property “version”
Override ignored for property “module.name”
Override ignored for property “DSTAMP”
Override ignored for property “TSTAMP”
Override ignored for property “TODAY”
Overriding previous definition of property “ivy.version”
Overriding previous definition of property “ivy.version”
[property] Loading /tmp/delivery.properties
[property] Unable to find property file: /tmp/delivery.properties
[ivy:publish] :: delivering :: com.nxp#evk_round_apps;0.1.0 :: 0.1.0-RC202305041002 :: integration :: Thu May 04 10:02:26 CEST 2023
[ivy:publish] options = status=integration pubdate=Thu May 04 10:02:26 CEST 2023 validate=true resolveDynamicRevisions=true merge=true resolveId=null pubBranch=null
[ivy:publish] delivering ivy file to /home/tito/fsl/microej/nxpvee-mimxrt595-prj/nxp-vee-rt595/nxpvee-mimxrt595-evk-round-apps/target~/artifacts/ivy.xml
[ivy:publish] deliver done (8ms)
[ivy:publish] :: publishing :: com.nxp#evk_round_apps
[ivy:publish] validate = true
[ivy:publish] WARN: missing artifact com.nxp#evk_round_apps;0.1.0-RC202305041002!evk_round_apps.zip:
[ivy:publish] /home/tito/fsl/microej/nxpvee-mimxrt595-prj/nxp-vee-rt595/nxpvee-mimxrt595-evk-round-apps/target~/artifacts/evk_round_apps-workingEnv.zip file does not exist

BUILD FAILED
Found an error when building evk_round_apps

  • Where

File : /home/tito/Downloads/BuildKit/microej-build-repository/org/apache/easyant/plugins/ivy-publication/0.9/ivy-publication-0.9.ant
Line : 122 column : 90

  • Problem Report:

Error : impossible to publish artifacts for com.nxp#evk_round_apps;0.1.0:
Cause : java.io.IOException: missing artifact com.nxp#evk_round_apps;0.1.0-RC202305041002!evk_round_apps.zip
at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:234)
at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:187)
at org.apache.ivy.Ivy.publish(Ivy.java:638)
at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:314)
at org.apache.ivy.ant.IvyTask.execute0(IvyTask.java:331)
at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:317)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.easyant.core.EasyAntEngine.doBuild(EasyAntEngine.java:653)
at org.apache.easyant.core.EasyAntMain.runBuild(EasyAntMain.java:478)
at org.apache.easyant.core.EasyAntMain.startAnt(EasyAntMain.java:177)
at org.apache.easyant.core.EasyAntMain.start(EasyAntMain.java:131)
at com.microej.cli.easyant.EasyantRunner.execute(EasyantRunner.java:25)
at com.microej.cli.command.EasyantCommand.execute(EasyantCommand.java:75)
at com.microej.cli.command.PublishCommand.call(PublishCommand.java:61)
at com.microej.cli.command.PublishCommand.call(PublishCommand.java:1)
at picocli.CommandLine.executeUserObject(CommandLine.java:1853)
at picocli.CommandLine.access$1100(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2255)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2249)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2213)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2080)
at picocli.CommandLine.execute(CommandLine.java:1978)
at com.microej.cli.MmmCli.main(MmmCli.java:59)

What is the cause of this?

Thanks a lot!

Guiso

Hi,

it seems the logs file is not complete, I do not see the end of the logs. Can you try to send it again please?
Also can you send the module.ivy file please?

Regards