>> There has been a bug in Hudson where the streams running over the
>> socket to a slave would deadlock during archiving. This is supposed to
>> be fixed in 1.380 which I deployed yesterday. Do you still see these
>> problems after yesterday?
>
> Not sure yet, I just fixed the problem that was otherwise causing the
> build to fail. Running again. Will let you know.
>

Hi

I've been watching the Tuscany 2.x build on Hudson and it has still
been timing out trying to archive the distro artifacts that the build
generates. I've turned those off for the time being to let the build
progress.

Generally it's difficult to be precise about how long the archive step
takes for our other non-distro artifacts. The host and load etc. vary.
However I did manage to find a couple of tests which happen to output
timings either side of the archive step (see below). On hudson the
time between these two point is 28 seconds and on my local machine
it's 1 second. Obviously Hudson is very likely to be more heavily
loaded than my single user machine. However the extra thing that
Hudson is doing is this archive step. The jar it archives in this case
is 37K. Not sure how useful  this is?

On Hudson
========

INFO: Remove endpoint - (@12058647)Endpoint:  URI =
EchoComponent#service-binding(Echo/Echo)
Oct 15, 2010 12:50:30 AM org.apache.tuscany.sca.http.jetty.JettyServer
removeServletMapping
INFO: Removed Servlet mapping: /SCADomain/EchoService/*
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.909 sec

Results :

Tests run: 17, Failures: 0, Errors: 0, Skipped: 0

[HUDSON] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
/export/home/hudson/hudson-slave/workspace/Tuscany-2x/sca-2x/modules/binding-jsonrpc-runtime/target/tuscany-binding-jsonrpc-runtime-2.0-SNAPSHOT.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing
/export/home/hudson/hudson-slave/workspace/Tuscany-2x/sca-2x/modules/binding-jsonrpc-runtime/target/tuscany-binding-jsonrpc-runtime-2.0-SNAPSHOT.jar
to 
/export/home/hudson/.m2/repository/org/apache/tuscany/sca/tuscany-binding-jsonrpc-runtime/2.0-SNAPSHOT/tuscany-binding-jsonrpc-runtime-2.0-SNAPSHOT.jar
[HUDSON] Archiving
/export/home/hudson/hudson-slave/workspace/Tuscany-2x/sca-2x/modules/binding-jsonrpc-runtime/pom.xml
to 
/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$tuscany-binding-jsonrpc-runtime/builds/2010-10-15_00-19-15/archive/org.apache.tuscany.sca/tuscany-binding-jsonrpc-runtime/2.0-SNAPSHOT/pom.xml
[HUDSON] Archiving
/export/home/hudson/hudson-slave/workspace/Tuscany-2x/sca-2x/modules/binding-jsonrpc-runtime/target/tuscany-binding-jsonrpc-runtime-2.0-SNAPSHOT.jar
to 
/home/hudson/hudson/jobs/Tuscany-2x/modules/org.apache.tuscany.sca$tuscany-binding-jsonrpc-runtime/builds/2010-10-15_00-19-15/archive/org.apache.tuscany.sca/tuscany-binding-jsonrpc-runtime/2.0-SNAPSHOT/tuscany-binding-jsonrpc-runtime-2.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Tuscany SCA REST Binding Model
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 21 source files to
/export/home/hudson/hudson-slave/workspace/Tuscany-2x/sca-2x/modules/binding-rest/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/export/home/hudson/hudson-slave/workspace/Tuscany-2x/sca-2x/modules/binding-rest/src/test/resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 3 source files to
/export/home/hudson/hudson-slave/workspace/Tuscany-2x/sca-2x/modules/binding-rest/target/test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
/export/home/hudson/hudson-slave/workspace/Tuscany-2x/sca-2x/modules/binding-rest/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running 
org.apache.tuscany.sca.binding.rest.operationselector.jaxrs.impl.JAXRSOperationSelectorProcessorTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.374 sec
Running 
org.apache.tuscany.sca.binding.rest.wireformat.json.impl.JSONWireFormatProcessorTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
Running org.apache.tuscany.sca.binding.rest.xml.RESTBindingProcessorTestCase
Oct 15, 2010 12:50:58 AM
org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor
[] (ElementCannotBeProcessed)



On My Local Redhat Machine
=====================

INFO: Remove endpoint - (@2968702)Endpoint:  URI = EchoComponent#service-binding
(Echo/Echo)
Oct 13, 2010 10:23:27 AM org.apache.tuscany.sca.http.jetty.JettyServer removeSer
vletMapping
INFO: Removed Servlet mapping: /SCADomain/EchoService/*
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.595 sec

Results :

Tests run: 17, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: /home/simon_laws/java-2.x/modules/binding-jsonrpc-runtime/t
arget/tuscany-binding-jsonrpc-runtime-2.0-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing /home/simon_laws/java-2.x/modules/binding-jsonrpc-runtime/targ
et/tuscany-binding-jsonrpc-runtime-2.0-SNAPSHOT.jar to /home/simon_laws/.m2/repo
sitory/org/apache/tuscany/sca/tuscany-binding-jsonrpc-runtime/2.0-SNAPSHOT/tusca
ny-binding-jsonrpc-runtime-2.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Tuscany SCA REST Binding Model
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/simon_laws/java-2.x/modules/bin
ding-rest/src/test/resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: /home/simon_laws/java-2.x/modules/binding-rest
/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.tuscany.sca.binding.rest.wireformat.json.impl.JSONWireFormatP
rocessorTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.147 sec
Running org.apache.tuscany.sca.binding.rest.operationselector.jaxrs.impl.JAXRSOp
erationSelectorProcessorTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.apache.tuscany.sca.binding.rest.xml.RESTBindingProcessorTestCase
Oct 13, 2010 10:23:28 AM org.apache.tuscany.sca.contribution.processor.Extensibl
eStAXArtifactProcessor [] (ElementCannotBeProcessed)

Regards

Simon

-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

Reply via email to