Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-tck-dev] Running through CTS pipeline job setup



On Wed, Jul 17, 2019, 7:45 PM Scott Marlow <smarlow@xxxxxxxxxx> wrote:


On 7/17/19 6:08 PM, Scott Stark wrote:
> I’m going through setting up the pipeline jobs described on this page:
> https://wiki.eclipse.org/TCK:Build_From_Jakarta_EE_TCK_Repo_And_Run
>
> In the stable apis ci https://jenkins.eclipse.org/jakartaee-stable/
>
> I have a test2 job there that creates a GF implementation with the
> replaced *jakarta.management.j2ee-api.jar *coming from
> the Management-API_EE4J_8_build job
>
> I have a test2_jte job that creates a ts.jte that is a copy of
> https://wiki.eclipse.org/TCK:ts_jte_pipeline that only updates
> env.deliverabledir=“jakartaee”
>
> I have a test3 job that is a copy of
> https://wiki.eclipse.org/TCK:TCK_run_pipeline that updates only these
> settings:
>
>      // Job that created the API artifact
>      def GF_BUILD_JOB = "jenkins://./test2"
>      def TS_JTE_BUILD_JOB = "jenkins://./test2_jte"
>      def TCK_BUNDLE_URL =
> "http://download.eclipse.org/ee4j/jakartaee-tck/8.0.1/promoted/jakartaeetck.zip"
>      def API_JAR_NAME="jakarta.management.j2ee-api.jar"
>      //TCK properties
>      env.deliverabledir="jakartaee"
>
>
> The Management-API_EE4J_8_build, test2 and test2_jte jobs run
> successfully, but the test3 tck run job is failing when it gets to the
> “Configure TCK” stage with the final console log output being:
>
> copy.cts.ext.jars: [copy] Copying 1 file to /domains/domain1/lib/ext
> Attempt to copy /home/jenkins/workspace/test3/jakartaeetck/lib/cts.jar
> to /domains/domain1/lib/ext/cts.jar using NIO Channels failed due to
> 'failed to create the parent directory for
> /domains/domain1/lib/ext/cts.jar'. Falling back to streams. BUILD FAILED
> /home/jenkins/workspace/test3/jakartaeetck/bin/build.xml:520: The
> following error occurred while executing this line:
> /home/jenkins/workspace/test3/jakartaeetck/bin/xml/impl/glassfish/javaee_vi.xml:296:
> Failed to copy /home/jenkins/workspace/test3/jakartaeetck/lib/cts.jar to
> /domains/domain1/lib/ext/cts.jar due to java.io.FileNotFoundException
> /domains/domain1/lib/ext/cts.jar (No such file or directory)
>
>
>
> Is there a problem with the ts.jte configuration?

Perhaps adding a "cat ts.jte" to show the configuration in the job
console, could help us tell for sure.

>
> I don’t seem to have access to any of the projects that have a CTS run
> pipeline setup.

I don't have access to
https://jenkins.eclipse.org/jakartaee-stable/job/test3 and aren't an
expert on how Eclipse runs the CTS (Jakarta platform TCK) but could try
to help if I get access to your jobs.

> Is the
> https://wiki.eclipse.org/TCK:TCK_run_pipeline example based on jsonb
> usable as a baseline for running the CTS?

I don't think so, as
https://github.com/eclipse-ee4j/jakartaee-tck/blob/EE4J_8/install/jakartaee/bin/ts.jte
is different than
https://github.com/eclipse-ee4j/jakartaee-tck/blob/EE4J_8/install/jsonb/bin/ts.jte

Since these are just the input sources for the two mentioned TCKs, they are probably not the same as the generated ts.jte files.  

I think that we should either use the ts.jte from the downloaded CTS/TCK or create a clone of that ts.jte for use in test3.


Scott

>
>
>
> _______________________________________________
> jakartaee-tck-dev mailing list
> jakartaee-tck-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev
>

Back to the top