Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3745

Disable concurrent package build on nuxeo-lts

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Continuous Integration
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #93
    • Story Points:
      1

      Description

      Despite the fix done within NXBT-3721, we can not run package build in parallel, we still have errors like the ones below:

      [2023-07-26T15:37:34.351Z] /home/jenkins/workspace/nuxeo_lts_nuxeo_PR-1303/packages/src/main/assemble/assembly.xml:122: java.lang.IllegalArgumentException: Can not set boolean field org.nuxeo.studio.components.common.mapper.descriptors.SchemaBindingDescriptor.override to org.nuxeo.studio.components.common.mapper.descriptors.SchemaDescriptor, setter=org.nuxeo.studio.components.common.mapper.xmap.XFieldAccessor@5b2ec120, value=true
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.mapper.xmap.XAnnotatedMember.setValue(XAnnotatedMember.java:81)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.mapper.xmap.XAnnotatedMember.process(XAnnotatedMember.java:104)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.mapper.xmap.XAnnotatedObject.newInstance(XAnnotatedObject.java:99)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.mapper.xmap.XMap.loadAll(XMap.java:355)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.mapper.xmap.XMap.loadAll(XMap.java:361)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.mapper.xmap.XMap.loadAll(XMap.java:339)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.mapper.xmap.XMap.loadAll(XMap.java:273)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.mapper.ExtensionMapper.loadAll(ExtensionMapper.java:94)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.mapper.MappersManager.lambda$load$6(MappersManager.java:91)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.mapper.MappersManager.load(MappersManager.java:90)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.bundle.ContributionsHolder.load(ContributionsHolder.java:101)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.ContributionsLoader.loadFromWalker(ContributionsLoader.java:93)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.ContributionsLoader.loadFromJarFile(ContributionsLoader.java:76)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.ContributionsLoader.load(ContributionsLoader.java:60)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.ContributionsExtractor.publish(ContributionsExtractor.java:38)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.build.ant.StudioExtraction.execute(StudioExtraction.java:63)
      [2023-07-26T15:37:34.351Z] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
      [2023-07-26T15:37:34.351Z] 	at jdk.internal.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
      [2023-07-26T15:37:34.351Z] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [2023-07-26T15:37:34.351Z] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      [2023-07-26T15:37:34.351Z] 	at org.apache.tools.ant.Task.perform(Task.java:348)
      [2023-07-26T15:37:34.351Z] 	at org.apache.tools.ant.Target.execute(Target.java:435)
      [2023-07-26T15:37:34.351Z] 	at org.apache.tools.ant.Target.performTasks(Target.java:456)
      [2023-07-26T15:37:34.351Z] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
      [2023-07-26T15:37:34.351Z] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
      [2023-07-26T15:37:34.351Z] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.build.ant.AntClient.run(AntClient.java:161)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.build.ant.AntClient.run(AntClient.java:119)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.build.maven.AntBuildMojo.execute(AntBuildMojo.java:256)
      [2023-07-26T15:37:34.351Z] 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
      [2023-07-26T15:37:34.351Z] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
      [2023-07-26T15:37:34.351Z] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
      [2023-07-26T15:37:34.351Z] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
      [2023-07-26T15:37:34.351Z] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      [2023-07-26T15:37:34.351Z] 	at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:202)
      [2023-07-26T15:37:34.351Z] 	at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:198)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.lang.Thread.run(Thread.java:829)
      [2023-07-26T15:37:34.351Z] Caused by: java.lang.IllegalArgumentException: Can not set boolean field org.nuxeo.studio.components.common.mapper.descriptors.SchemaBindingDescriptor.override to org.nuxeo.studio.components.common.mapper.descriptors.SchemaDescriptor
      [2023-07-26T15:37:34.351Z] 	at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)
      [2023-07-26T15:37:34.351Z] 	at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)
      [2023-07-26T15:37:34.351Z] 	at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:58)
      [2023-07-26T15:37:34.351Z] 	at java.base/jdk.internal.reflect.UnsafeBooleanFieldAccessorImpl.set(UnsafeBooleanFieldAccessorImpl.java:75)
      [2023-07-26T15:37:34.351Z] 	at java.base/java.lang.reflect.Field.set(Field.java:780)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.mapper.xmap.XFieldAccessor.setValue(XFieldAccessor.java:42)
      [2023-07-26T15:37:34.351Z] 	at org.nuxeo.studio.components.common.mapper.xmap.XAnnotatedMember.setValue(XAnnotatedMember.java:78)
      [2023-07-26T15:37:34.351Z] 	... 73 more
      
      [2023-07-25T12:54:23.790Z] /home/jenkins/workspace/nuxeo_lts_nuxeo_PR-1303/packages/src/main/assemble/assembly.xml:122: java.lang.NoClassDefFoundError: org/nuxeo/studio/components/common/serializer/adapter/schema/ComplexField
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.serializer.adapter.schema.SimpleSchemaReader.lambda$loadInternalTypes$3(SimpleSchemaReader.java:83)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.serializer.adapter.schema.SimpleSchemaReader.loadInternalTypes(SimpleSchemaReader.java:82)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.serializer.adapter.schema.SimpleSchemaReader.<init>(SimpleSchemaReader.java:57)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.serializer.adapter.schema.SimpleSchemaReader.<init>(SimpleSchemaReader.java:43)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.serializer.adapter.SchemaAdapter.adapt(SchemaAdapter.java:34)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.serializer.adapter.SchemaAdapter.adapt(SchemaAdapter.java:26)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.serializer.JacksonConverter.serialize(JacksonConverter.java:151)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.serializer.StudioSerializer.serialize(StudioSerializer.java:91)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.serializer.StudioSerializer.lambda$serializeDescriptors$1(StudioSerializer.java:84)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.serializer.StudioSerializer.serializeDescriptors(StudioSerializer.java:86)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.serializer.StudioSerializer.serializeDescriptors(StudioSerializer.java:62)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.serializer.StudioSerializer.lambda$serializeInto$0(StudioSerializer.java:56)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.serializer.StudioSerializer.serializeInto(StudioSerializer.java:56)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.publisher.Publisher$FilePublisher.publish(Publisher.java:78)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.studio.components.common.ContributionsExtractor.publish(ContributionsExtractor.java:45)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.build.ant.StudioExtraction.execute(StudioExtraction.java:63)
      [2023-07-25T12:54:23.790Z] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
      [2023-07-25T12:54:23.790Z] 	at jdk.internal.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
      [2023-07-25T12:54:23.790Z] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      [2023-07-25T12:54:23.790Z] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      [2023-07-25T12:54:23.790Z] 	at org.apache.tools.ant.Task.perform(Task.java:348)
      [2023-07-25T12:54:23.790Z] 	at org.apache.tools.ant.Target.execute(Target.java:435)
      [2023-07-25T12:54:23.790Z] 	at org.apache.tools.ant.Target.performTasks(Target.java:456)
      [2023-07-25T12:54:23.790Z] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
      [2023-07-25T12:54:23.790Z] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
      [2023-07-25T12:54:23.790Z] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.build.ant.AntClient.run(AntClient.java:161)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.build.ant.AntClient.run(AntClient.java:119)
      [2023-07-25T12:54:23.790Z] 	at org.nuxeo.build.maven.AntBuildMojo.execute(AntBuildMojo.java:256)
      [2023-07-25T12:54:23.790Z] 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
      [2023-07-25T12:54:23.790Z] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
      [2023-07-25T12:54:23.790Z] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
      [2023-07-25T12:54:23.790Z] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
      [2023-07-25T12:54:23.790Z] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      [2023-07-25T12:54:23.790Z] 	at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:202)
      [2023-07-25T12:54:23.790Z] 	at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:198)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      [2023-07-25T12:54:23.790Z] 	at java.base/java.lang.Thread.run(Thread.java:829)
      [2023-07-25T12:54:23.790Z] Caused by: java.lang.ClassNotFoundException: org.nuxeo.studio.components.common.serializer.adapter.schema.ComplexField
      [2023-07-25T12:54:23.790Z] 	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
      [2023-07-25T12:54:23.790Z] 	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
      [2023-07-25T12:54:23.790Z] 	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
      [2023-07-25T12:54:23.790Z] 	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
      [2023-07-25T12:54:23.790Z] 	... 53 more
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: