You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Johnny Zhang (JIRA)" <ji...@apache.org> on 2012/06/21 01:20:42 UTC
[jira] [Created] (BIGTOP-638) fix package test yum package manifest
to make yum service test pass
Johnny Zhang created BIGTOP-638:
-----------------------------------
Summary: fix package test yum package manifest to make yum service test pass
Key: BIGTOP-638
URL: https://issues.apache.org/jira/browse/BIGTOP-638
Project: Bigtop
Issue Type: Bug
Components: Tests
Affects Versions: 0.4.0
Reporter: Johnny Zhang
Assignee: Johnny Zhang
Fix For: 0.4.0
run TestPackagesPseudoDistributed in yum platform (like centos5_64), get several service test failures, due to manifest is incorrect, for example
{noformat}
testPackageServices[flume-node](org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed) Time elapsed: 12.487 sec <<< FAILURE!
java.lang.AssertionError: wrong list of runlevels for service flume-node
Expected: <[3=3, 2=2, 5=5, 4=4, ]>
got: <{3=3, 4=4, 5=5}>
{noformat}
--
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
[jira] [Commented] (BIGTOP-638) move block from common
package_date.xml to each platform's (yum, apt, zypper) package_data.xml
Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399572#comment-13399572 ]
Johnny Zhang commented on BIGTOP-638:
-------------------------------------
the patche includes
1. move <services> block from parent package_data.mxl to yum/apt/zypper/package_data.xml
2. add <config> section for hbase-master and hadoop-yarn-proxyserver
3. re-format the xml with "xmllint --format"
> move <services> block from common package_date.xml to each platform's (yum, apt, zypper) package_data.xml
> ---------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-638
> URL: https://issues.apache.org/jira/browse/BIGTOP-638
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
> Priority: Blocker
> Fix For: 0.4.0
>
> Attachments: BIGTOP-638.txt
>
>
> run TestPackagesPseudoDistributed in yum platform (like centos5_64), get several service test failures, due to manifest is incorrect, for example
> {noformat}
> testPackageServices[flume-node](org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed) Time elapsed: 12.487 sec <<< FAILURE!
> java.lang.AssertionError: wrong list of runlevels for service flume-node
> Expected: <[3=3, 2=2, 5=5, 4=4, ]>
> got: <{3=3, 4=4, 5=5}>
> {noformat}
--
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
[jira] [Updated] (BIGTOP-638) move block from common
package_date.xml to each platform's (yum, apt, zypper) package_data.xml
Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johnny Zhang updated BIGTOP-638:
--------------------------------
Attachment: BIGTOP-638-2.txt
sorry about that, it is because bigtop-tests/test-artifacts/package/src/main/resources/package_data.xml is modified a little bit by other patch between I checkout and generating the patch. Will double check it working before submit in the future.
please try this one (BIGTOP-638-2.txt), it should work now
{noformat}
$ patch -p1 < BIGTOP-638-2.txt
patching file bigtop-tests/test-artifacts/package/src/main/resources/apt/package_data.xml
patching file bigtop-tests/test-artifacts/package/src/main/resources/package_data.xml
patching file bigtop-tests/test-artifacts/package/src/main/resources/yum/package_data.xml
patching file bigtop-tests/test-artifacts/package/src/main/resources/zypper/package_data.xml
{noformat}
> move <services> block from common package_date.xml to each platform's (yum, apt, zypper) package_data.xml
> ---------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-638
> URL: https://issues.apache.org/jira/browse/BIGTOP-638
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
> Priority: Blocker
> Fix For: 0.4.0
>
> Attachments: BIGTOP-638-2.txt, BIGTOP-638.txt
>
>
> run TestPackagesPseudoDistributed in yum platform (like centos5_64), get several service test failures, due to manifest is incorrect, for example
> {noformat}
> testPackageServices[flume-node](org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed) Time elapsed: 12.487 sec <<< FAILURE!
> java.lang.AssertionError: wrong list of runlevels for service flume-node
> Expected: <[3=3, 2=2, 5=5, 4=4, ]>
> got: <{3=3, 4=4, 5=5}>
> {noformat}
--
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
[jira] [Commented] (BIGTOP-638) fix package test yum package
manifest to make yum service test pass
Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398003#comment-13398003 ]
Johnny Zhang commented on BIGTOP-638:
-------------------------------------
I suggest move the <services> block moved from bigtop-tests/test-artifacts/package/src/main/resources/package_date.xml to yum/pakcage_data.xml, apt/package_data.xml and zypper/package_date.xml
since different platform family has different runlevel and oninstall status, putting <services> block in a common place will fail tests on certain platforms. take flume-node runlevel as example, it will pass in Debian, whose runlevel is 2,3,4,5, but will fail in yum, which is 3,4,5. The same apply to <oninstall>
> fix package test yum package manifest to make yum service test pass
> -------------------------------------------------------------------
>
> Key: BIGTOP-638
> URL: https://issues.apache.org/jira/browse/BIGTOP-638
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
> Fix For: 0.4.0
>
>
> run TestPackagesPseudoDistributed in yum platform (like centos5_64), get several service test failures, due to manifest is incorrect, for example
> {noformat}
> testPackageServices[flume-node](org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed) Time elapsed: 12.487 sec <<< FAILURE!
> java.lang.AssertionError: wrong list of runlevels for service flume-node
> Expected: <[3=3, 2=2, 5=5, 4=4, ]>
> got: <{3=3, 4=4, 5=5}>
> {noformat}
--
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
[jira] [Updated] (BIGTOP-638) move block from common
package_date.xml to each platform's (yum, apt, zypper) package_data.xml
Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johnny Zhang updated BIGTOP-638:
--------------------------------
Attachment: BIGTOP-638.txt
> move <services> block from common package_date.xml to each platform's (yum, apt, zypper) package_data.xml
> ---------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-638
> URL: https://issues.apache.org/jira/browse/BIGTOP-638
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
> Priority: Blocker
> Fix For: 0.4.0
>
> Attachments: BIGTOP-638.txt
>
>
> run TestPackagesPseudoDistributed in yum platform (like centos5_64), get several service test failures, due to manifest is incorrect, for example
> {noformat}
> testPackageServices[flume-node](org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed) Time elapsed: 12.487 sec <<< FAILURE!
> java.lang.AssertionError: wrong list of runlevels for service flume-node
> Expected: <[3=3, 2=2, 5=5, 4=4, ]>
> got: <{3=3, 4=4, 5=5}>
> {noformat}
--
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
[jira] [Comment Edited] (BIGTOP-638) move block from
common package_date.xml to each platform's (yum, apt, zypper)
package_data.xml
Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399572#comment-13399572 ]
Johnny Zhang edited comment on BIGTOP-638 at 6/22/12 8:28 PM:
--------------------------------------------------------------
the patche includes
1. move <services> block from parent package_data.mxl to yum/apt/zypper/package_data.xml
2. add <config> section for hbase-master and hadoop-yarn-proxyserver
3. correct the <runlevel> and <oninstall> for each platform
4. re-format the xml with "xmllint --format"
was (Author: dreambird):
the patche includes
1. move <services> block from parent package_data.mxl to yum/apt/zypper/package_data.xml
2. add <config> section for hbase-master and hadoop-yarn-proxyserver
3. re-format the xml with "xmllint --format"
> move <services> block from common package_date.xml to each platform's (yum, apt, zypper) package_data.xml
> ---------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-638
> URL: https://issues.apache.org/jira/browse/BIGTOP-638
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
> Priority: Blocker
> Fix For: 0.4.0
>
> Attachments: BIGTOP-638.txt
>
>
> run TestPackagesPseudoDistributed in yum platform (like centos5_64), get several service test failures, due to manifest is incorrect, for example
> {noformat}
> testPackageServices[flume-node](org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed) Time elapsed: 12.487 sec <<< FAILURE!
> java.lang.AssertionError: wrong list of runlevels for service flume-node
> Expected: <[3=3, 2=2, 5=5, 4=4, ]>
> got: <{3=3, 4=4, 5=5}>
> {noformat}
--
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
[jira] [Commented] (BIGTOP-638) move block from common
package_date.xml to each platform's (yum, apt, zypper) package_data.xml
Posted by "Roman Shaposhnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400211#comment-13400211 ]
Roman Shaposhnik commented on BIGTOP-638:
-----------------------------------------
Johnny, your patch doesn't seem to apply to cleanly on trunk. Please take a look on Mon.
> move <services> block from common package_date.xml to each platform's (yum, apt, zypper) package_data.xml
> ---------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-638
> URL: https://issues.apache.org/jira/browse/BIGTOP-638
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
> Priority: Blocker
> Fix For: 0.4.0
>
> Attachments: BIGTOP-638.txt
>
>
> run TestPackagesPseudoDistributed in yum platform (like centos5_64), get several service test failures, due to manifest is incorrect, for example
> {noformat}
> testPackageServices[flume-node](org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed) Time elapsed: 12.487 sec <<< FAILURE!
> java.lang.AssertionError: wrong list of runlevels for service flume-node
> Expected: <[3=3, 2=2, 5=5, 4=4, ]>
> got: <{3=3, 4=4, 5=5}>
> {noformat}
--
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
[jira] [Updated] (BIGTOP-638) move block from common
package_date.xml to each platform's (yum, apt, zypper) package_data.xml
Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johnny Zhang updated BIGTOP-638:
--------------------------------
Priority: Blocker (was: Major)
bump it to blocker since lots of package service tests will unless it is fixed
> move <services> block from common package_date.xml to each platform's (yum, apt, zypper) package_data.xml
> ---------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-638
> URL: https://issues.apache.org/jira/browse/BIGTOP-638
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
> Priority: Blocker
> Fix For: 0.4.0
>
>
> run TestPackagesPseudoDistributed in yum platform (like centos5_64), get several service test failures, due to manifest is incorrect, for example
> {noformat}
> testPackageServices[flume-node](org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed) Time elapsed: 12.487 sec <<< FAILURE!
> java.lang.AssertionError: wrong list of runlevels for service flume-node
> Expected: <[3=3, 2=2, 5=5, 4=4, ]>
> got: <{3=3, 4=4, 5=5}>
> {noformat}
--
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
[jira] [Commented] (BIGTOP-638) move block from common
package_date.xml to each platform's (yum, apt, zypper) package_data.xml
Posted by "Roman Shaposhnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398519#comment-13398519 ]
Roman Shaposhnik commented on BIGTOP-638:
-----------------------------------------
Great suggestion, Johnny! Care to provide a patch?
> move <services> block from common package_date.xml to each platform's (yum, apt, zypper) package_data.xml
> ---------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-638
> URL: https://issues.apache.org/jira/browse/BIGTOP-638
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
> Priority: Blocker
> Fix For: 0.4.0
>
>
> run TestPackagesPseudoDistributed in yum platform (like centos5_64), get several service test failures, due to manifest is incorrect, for example
> {noformat}
> testPackageServices[flume-node](org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed) Time elapsed: 12.487 sec <<< FAILURE!
> java.lang.AssertionError: wrong list of runlevels for service flume-node
> Expected: <[3=3, 2=2, 5=5, 4=4, ]>
> got: <{3=3, 4=4, 5=5}>
> {noformat}
--
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
[jira] [Updated] (BIGTOP-638) move block from common
package_date.xml to each platform's (yum, apt, zypper) package_data.xml
Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johnny Zhang updated BIGTOP-638:
--------------------------------
Summary: move <services> block from common package_date.xml to each platform's (yum, apt, zypper) package_data.xml (was: fix package test yum package manifest to make yum service test pass)
change a better title
> move <services> block from common package_date.xml to each platform's (yum, apt, zypper) package_data.xml
> ---------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-638
> URL: https://issues.apache.org/jira/browse/BIGTOP-638
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
> Fix For: 0.4.0
>
>
> run TestPackagesPseudoDistributed in yum platform (like centos5_64), get several service test failures, due to manifest is incorrect, for example
> {noformat}
> testPackageServices[flume-node](org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed) Time elapsed: 12.487 sec <<< FAILURE!
> java.lang.AssertionError: wrong list of runlevels for service flume-node
> Expected: <[3=3, 2=2, 5=5, 4=4, ]>
> got: <{3=3, 4=4, 5=5}>
> {noformat}
--
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
[jira] [Commented] (BIGTOP-638) move block from common
package_date.xml to each platform's (yum, apt, zypper) package_data.xml
Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398593#comment-13398593 ]
Johnny Zhang commented on BIGTOP-638:
-------------------------------------
yeah! patch available very soon.
> move <services> block from common package_date.xml to each platform's (yum, apt, zypper) package_data.xml
> ---------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-638
> URL: https://issues.apache.org/jira/browse/BIGTOP-638
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
> Priority: Blocker
> Fix For: 0.4.0
>
>
> run TestPackagesPseudoDistributed in yum platform (like centos5_64), get several service test failures, due to manifest is incorrect, for example
> {noformat}
> testPackageServices[flume-node](org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed) Time elapsed: 12.487 sec <<< FAILURE!
> java.lang.AssertionError: wrong list of runlevels for service flume-node
> Expected: <[3=3, 2=2, 5=5, 4=4, ]>
> got: <{3=3, 4=4, 5=5}>
> {noformat}
--
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
[jira] [Updated] (BIGTOP-638) move block from common
package_date.xml to each platform's (yum, apt, zypper) package_data.xml
Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johnny Zhang updated BIGTOP-638:
--------------------------------
Attachment: BIGTOP-638.txt
> move <services> block from common package_date.xml to each platform's (yum, apt, zypper) package_data.xml
> ---------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-638
> URL: https://issues.apache.org/jira/browse/BIGTOP-638
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
> Priority: Blocker
> Fix For: 0.4.0
>
> Attachments: BIGTOP-638.txt
>
>
> run TestPackagesPseudoDistributed in yum platform (like centos5_64), get several service test failures, due to manifest is incorrect, for example
> {noformat}
> testPackageServices[flume-node](org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed) Time elapsed: 12.487 sec <<< FAILURE!
> java.lang.AssertionError: wrong list of runlevels for service flume-node
> Expected: <[3=3, 2=2, 5=5, 4=4, ]>
> got: <{3=3, 4=4, 5=5}>
> {noformat}
--
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
[jira] [Updated] (BIGTOP-638) move block from common
package_date.xml to each platform's (yum, apt, zypper) package_data.xml
Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johnny Zhang updated BIGTOP-638:
--------------------------------
Attachment: (was: BIGTOP-638.txt)
> move <services> block from common package_date.xml to each platform's (yum, apt, zypper) package_data.xml
> ---------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-638
> URL: https://issues.apache.org/jira/browse/BIGTOP-638
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
> Priority: Blocker
> Fix For: 0.4.0
>
>
> run TestPackagesPseudoDistributed in yum platform (like centos5_64), get several service test failures, due to manifest is incorrect, for example
> {noformat}
> testPackageServices[flume-node](org.apache.bigtop.itest.packagesmoke.TestPackagesPseudoDistributed) Time elapsed: 12.487 sec <<< FAILURE!
> java.lang.AssertionError: wrong list of runlevels for service flume-node
> Expected: <[3=3, 2=2, 5=5, 4=4, ]>
> got: <{3=3, 4=4, 5=5}>
> {noformat}
--
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