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

Error in testplan-with-dependencies test #313

Open
Ardesco opened this Issue Feb 21, 2019 · 2 comments

Comments

2 participants
@Ardesco
Copy link
Contributor

Ardesco commented Feb 21, 2019

When running the test I get the following:

 [INFO] Building: testplan-with-dependencies/pom.xml
[INFO] [INFO] Error stacktraces are turned on.
[INFO] [INFO] Scanning for projects...
[INFO] [INFO] 
[INFO] [INFO] --< com.lazerycode.jmeter:testplan-with-dependencies-integration-test >--
[INFO] [INFO] Building testplan-with-dependencies-integration-test DEV-SNAPSHOT
[INFO] [INFO] --------------------------------[ jar ]---------------------------------
[INFO] [INFO] 
[INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ testplan-with-dependencies-integration-test ---
[INFO] [INFO] 
[INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ testplan-with-dependencies-integration-test ---
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] [INFO] skip non existing resourceDirectory /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/src/main/resources
[INFO] [INFO] 
[INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ testplan-with-dependencies-integration-test ---
[INFO] [INFO] No sources to compile
[INFO] [INFO] 
[INFO] [INFO] --- jmeter-maven-plugin:DEV-SNAPSHOT:configure (configure) @ testplan-with-dependencies-integration-test ---
[INFO] [INFO] -------------------------------------------------------
[INFO] [INFO]  Configuring JMeter...
[INFO] [INFO] -------------------------------------------------------
[INFO] [INFO]  Building JMeter directory structure...
[INFO] [INFO]  Configuring JMeter artifacts :[]
[INFO] [INFO]  Populating JMeter directory ...
[INFO] [INFO]  Copying extensions [] to JMeter lib/ext directory /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/lib/ext with downloadExtensionDependencies set to true ...
[INFO] [INFO]  Copying  JUnit libraries [] to JMeter junit lib directory /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/lib/junit with downloadLibraryDependencies set to true ...
[INFO] [INFO]  Copying test libraries [org.apache.activemq:activemq-client:5.15.2, org.apache.activemq:activemq-broker:5.15.2, org.apache.activemq:activemq-spring:5.15.2] to JMeter lib directory /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/lib with downloadLibraryDependencies set to true ...

[INFO] [WARNING] The POM for com.ibm.websphere:uow:jar:6.0.2.17 is missing, no dependency information available
[INFO] [WARNING] Could not transfer metadata commons-collections:commons-collections/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org: nodename nor servname provided, or not known
[INFO] [WARNING] Could not transfer metadata commons-digester:commons-digester/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org
[INFO] [WARNING] Could not transfer metadata commons-logging:commons-logging/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org
[INFO] [WARNING] Could not transfer metadata commons-logging:commons-logging:1.2.1-SNAPSHOT/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org
[INFO] [WARNING] Failure to transfer commons-logging:commons-logging:1.2.1-SNAPSHOT/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata commons-logging:commons-logging:1.2.1-SNAPSHOT/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org
[INFO] [WARNING] Could not transfer metadata com.lowagie:itext/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org
[INFO] [WARNING] Could not transfer metadata jfree:jcommon/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org: nodename nor servname provided, or not known
[INFO] [WARNING] Could not transfer metadata jfree:jfreechart/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org
[INFO] [WARNING] Could not transfer metadata eclipse:jdtcore/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org
[INFO] [WARNING] The POM for com.oracle:oc4j:jar:1.0 is missing, no dependency information available
[INFO] [WARNING] The POM for opensymphony:quartz-all:jar:1.6.0 is missing, no dependency information available
[INFO] [WARNING] The POM for velocity-tools:velocity-tools-view:jar:1.4 is missing, no dependency information available
[INFO] [INFO]  Configuring jmeter properties ...
[INFO] [INFO]  Generating JSON Test config ...
[INFO] [INFO] 
[INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ testplan-with-dependencies-integration-test ---
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] [INFO] skip non existing resourceDirectory /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/src/test/resources
[INFO] [INFO] 
[INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ testplan-with-dependencies-integration-test ---
[INFO] [INFO] No sources to compile
[INFO] [INFO] 
[INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ testplan-with-dependencies-integration-test ---
[INFO] [INFO] No tests to run.
[INFO] [INFO] 
[INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ testplan-with-dependencies-integration-test ---
[INFO] [WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] [INFO] Building jar: /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/testplan-with-dependencies-integration-test-DEV-SNAPSHOT.jar
[INFO] [INFO] 
[INFO] [INFO] >>> jmeter-maven-plugin:DEV-SNAPSHOT:jmeter (performance test) > :configure @ testplan-with-dependencies-integration-test >>>
[INFO] [INFO] 
[INFO] [INFO] --- jmeter-maven-plugin:DEV-SNAPSHOT:configure (configure) @ testplan-with-dependencies-integration-test ---
[INFO] [INFO] -------------------------------------------------------
[INFO] [INFO]  Configuring JMeter...
[INFO] [INFO] -------------------------------------------------------
[INFO] [INFO]  Building JMeter directory structure...
[INFO] [INFO]  Configuring JMeter artifacts :[]
[INFO] [INFO]  Populating JMeter directory ...
[INFO] [INFO]  Copying extensions [] to JMeter lib/ext directory /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/lib/ext with downloadExtensionDependencies set to true ...
[INFO] [INFO]  Copying  JUnit libraries [] to JMeter junit lib directory /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/lib/junit with downloadLibraryDependencies set to true ...
[INFO] [INFO]  Copying test libraries [org.apache.activemq:activemq-client:5.15.2, org.apache.activemq:activemq-broker:5.15.2, org.apache.activemq:activemq-spring:5.15.2] to JMeter lib directory /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/lib with downloadLibraryDependencies set to true ...
[INFO] [WARNING] Failure to transfer commons-collections:commons-collections/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata commons-collections:commons-collections/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org: nodename nor servname provided, or not known
[INFO] [WARNING] Failure to transfer commons-digester:commons-digester/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata commons-digester:commons-digester/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org
[INFO] [WARNING] Failure to transfer commons-logging:commons-logging/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata commons-logging:commons-logging/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org
[INFO] [WARNING] Failure to transfer com.lowagie:itext/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata com.lowagie:itext/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org
[INFO] [WARNING] Failure to transfer jfree:jcommon/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata jfree:jcommon/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org: nodename nor servname provided, or not known
[INFO] [WARNING] Failure to transfer jfree:jfreechart/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata jfree:jfreechart/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org
[INFO] [WARNING] Failure to transfer eclipse:jdtcore/maven-metadata.xml from http://www.jasperforge.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of jaspersoft has elapsed or updates are forced. Original error: Could not transfer metadata eclipse:jdtcore/maven-metadata.xml from/to jaspersoft (http://www.jasperforge.org/maven2): www.jasperforge.org
[INFO] [INFO]  Configuring jmeter properties ...
[INFO] [INFO]  Generating JSON Test config ...
[INFO] [INFO] 
[INFO] [INFO] <<< jmeter-maven-plugin:DEV-SNAPSHOT:jmeter (performance test) < :configure @ testplan-with-dependencies-integration-test <<<
[INFO] [INFO] 
[INFO] [INFO] 
[INFO] [INFO] --- jmeter-maven-plugin:DEV-SNAPSHOT:jmeter (performance test) @ testplan-with-dependencies-integration-test ---
[INFO] [INFO]  
[INFO] [INFO] -------------------------------------------------------
[INFO] [INFO]  P E R F O R M A N C E    T E S T S
[INFO] [INFO] -------------------------------------------------------
[INFO] [INFO]  
[INFO] [INFO] Will generate HTML report in /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/reports/test
[INFO] [INFO]  
[INFO] [INFO] Executing test: test.jmx
[INFO] [INFO] Starting process with:[java, -Xms512M, -Xmx512M, -Djava.awt.headless=true, -jar, ApacheJMeter-5.1.jar, -d, /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter, -e, -j, /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/logs/test.jmx.log, -l, /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/results/20190221-test.csv, -n, -o, /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/reports/test, -t, /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/testFiles/test.jmx]
[INFO] [INFO] SLF4J: Class path contains multiple SLF4J bindings.
[INFO] [INFO] SLF4J: Found binding in [jar:file:/Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/lib/log4j-slf4j-impl-2.11.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[INFO] [INFO] SLF4J: Found binding in [jar:file:/Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[INFO] [INFO] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[INFO] [INFO] SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
[INFO] [INFO] Creating summariser <summary>
[INFO] [INFO] Created the tree successfully using /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/testFiles/test.jmx
[INFO] [INFO] Starting the test @ Thu Feb 21 23:14:22 GMT 2019 (1550790862995)
[INFO] [INFO] Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445
[INFO] [INFO] summary =      3 in 00:00:04 =    0.7/s Avg:   561 Min:     8 Max:  1619 Err:     0 (0.00%)
[INFO] [INFO] Tidying up ...    @ Thu Feb 21 23:14:27 GMT 2019 (1550790867824)
[INFO] [INFO] ... end of run
[INFO] [INFO] Completed Test: /Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/testFiles/test.jmx
[INFO] [INFO] 
[INFO] [INFO] --- jmeter-maven-plugin:DEV-SNAPSHOT:results (verify) @ testplan-with-dependencies-integration-test ---
[INFO] [INFO] Will scan results using format:{"resultFilesLocations":["/Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/results/20190221-test.csv"],"resultsOutputIsCSVFormat":true,"generateReports":true}
[INFO] [INFO] Parsing results file '/Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/results/20190221-test.csv' in format 'CSV'
[INFO] [INFO] Scanned file '/Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/results/20190221-test.csv', number of results in failure:'0'
[INFO] [INFO] Scanned file '/Users/fyre/Programming/OpenSource/jmeter-maven-plugin/target/it/testplan-with-dependencies/target/jmeter/results/20190221-test.csv', number of results in success:'3'
[INFO] [INFO]  
[INFO] [INFO] Performance Test Results
[INFO] [INFO]  
[INFO] [INFO] Result (.jtl) files scanned: 1
[INFO] [INFO] Successful requests:         3
[INFO] [INFO] Failed requests:             0
[INFO] [INFO] Failures:                    0.0% (0.0% accepted)
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESS
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time:  05:47 min
[INFO] [INFO] Finished at: 2019-02-21T23:14:29Z
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Shutdown detected, destroying JMeter process...
[INFO]           testplan-with-dependencies/pom.xml ............... SUCCESS (349.5 s)

It also sits there for a long time timing out. Need to investigate and fix this, it's the cause of a lot of the build time.

@Ardesco Ardesco changed the title Error in test plan-with-dependencies test Error in testplan-with-dependencies test Feb 21, 2019

@Ardesco Ardesco added this to Needs triage in ISSUE TRACKING via automation Feb 26, 2019

@Ardesco Ardesco moved this from Needs triage to Low priority in ISSUE TRACKING Feb 26, 2019

@pmouawad

This comment has been minimized.

Copy link
Contributor

pmouawad commented Feb 28, 2019

You mean the WARNING messages ?

@Ardesco

This comment has been minimized.

Copy link
Contributor Author

Ardesco commented Mar 1, 2019

Specifically the failure to transfer ones. It Looks like it’s attempting a transfer and timing out resulting in a lot of wait time for no benefit.

Obviously this needs more investigation to confirm my suspicions, and then find a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.