[
https://issues.apache.org/jira/browse/BIGTOP-593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279648#comment-13279648
]
Johnny Zhang commented on BIGTOP-593:
-------------------------------------
I tried to verify this patch locally. My steps are:
1. make the changes is under
bigtop/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager/
folder
2. cd to bigtop, do 'mvn -DskipTests clean install'
3. cd to bigtop/bigtop-tests/test-artifacts/package, do "mvn ... verify",
I get a BUILD SUCCESS, but the test doesn't run actually (apply repo key, repo
file), install package...
How can I verify the fix by running the test? Thanks.
{noformat}
# mvn -f pom.xml -Dcom.cloudera.itest.log4j.level=TRACE
-Dcdh.repo.host=$REPOHOST
-Dcdh.repo.file.url.${flavor}=http://$REPOHOST/$repofile
-Dcdh.repo.url=http://$REPOHOST/$repourl
-Dcdh.repo.key.url=http://$REPOHOST/$repokeyurl
-Dorg.apache.maven-failsafe-plugin.testInclude=**/TestPackagesReadiness.*
-Darch.platform="[arch=amd64]" verify
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building packagesmoke 0.4.0-incubating-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- gmaven-plugin:1.0:generateStubs (default) @ package-smoke ---
[INFO] Generated 24 Java stubs
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ package-smoke
---
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
package-smoke ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 161 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
package-smoke ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- gmaven-plugin:1.0:compile (default) @ package-smoke ---
[INFO] Compiled 82 Groovy classes
[INFO]
[INFO] --- gmaven-plugin:1.0:generateTestStubs (default) @ package-smoke ---
[INFO] No sources found for Java stub generation
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @
package-smoke ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/root/bigtop/bigtop-tests/test-artifacts/package/src/test/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
package-smoke ---
[INFO] No sources to compile
[INFO]
[INFO] --- gmaven-plugin:1.0:testCompile (default) @ package-smoke ---
[INFO] No sources found to compile
[INFO]
[INFO] --- gmaven-plugin:1.0:execute (check-manifest) @ package-smoke ---
Manifest XML validated
[INFO]
[INFO] --- maven-surefire-plugin:2.7:test (default-test) @ package-smoke ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ package-smoke ---
[INFO] Building jar:
/root/bigtop/bigtop-tests/test-artifacts/package/target/package-smoke-0.4.0-incubating-SNAPSHOT.jar
[INFO]
[INFO] --- maven-failsafe-plugin:2.7.1:integration-test (integration-test) @
package-smoke ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-failsafe-plugin:2.7.1:verify (verify) @ package-smoke ---
[INFO] No tests to run.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.413s
[INFO] Finished at: Fri May 18 16:56:24 PDT 2012
[INFO] Final Memory: 15M/62M
[INFO] ------------------------------------------------------------------------
{noformat}
> improve the package test to handle [arch=xx] in the repo file
> -------------------------------------------------------------
>
> Key: BIGTOP-593
> URL: https://issues.apache.org/jira/browse/BIGTOP-593
> Project: Bigtop
> Issue Type: Bug
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
> Attachments: BIGTOP-593.txt, BIGTOP_593_2.txt
>
>
> the Ubuntu precise repo file contains the symbol [arch=amd64] , the current
> Bigtop package test doesn't handle it
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira