You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Zhiguo Wu (Jira)" <ji...@apache.org> on 2023/05/16 08:57:00 UTC
[jira] [Updated] (BIGTOP-3942) Solr incompatible names on deployment and test module
[ https://issues.apache.org/jira/browse/BIGTOP-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhiguo Wu updated BIGTOP-3942:
------------------------------
Description:
We now use _solrcloud_ on role map for puppet scripts, but _solr_ on bigtop-tests module, which will cause smoke-tests fails on both situations:
1、Use name _solr_ to run smoke tests
{code:java}
[root@localhost bigtop] ./gradlew docker-provisioner -Pconfig=config_centos-7.yaml -Pmemory=4g -Pnum_instances=1 -Pstack=zookeeper,solr -Psmoke_tests=zookeeper,solr -Penable_local_repo
......
......
Could not retrieve fact='selinux_current_mode', resolution='<anonymous>': undefined method `each_line' for nil:NilClass
Could not retrieve fact='selinux_config_mode', resolution='<anonymous>': undefined method `each_line' for nil:NilClass
Could not retrieve fact='selinux_config_policy', resolution='<anonymous>': undefined method `each_line' for nil:NilClass
Error: get_roles(): No such component in roles_map. solr on node 60f6a225cf17.bigtop.apache.org
Error: get_roles(): No such component in roles_map. solr on node 60f6a225cf17.bigtop.apache.org
+ HCFS_USER=hdfs
+ SMOKE_TESTS=zookeeper,solr
+ '[' -z zookeeper,solr ']'
+ '[' -e /usr/lib/bigtop-utils/bigtop-detect-javahome ']'
+ echo -e '\nUNABLE TO DETECT JAVAHOME SINCE bigtop-utils NEEDS TO BE INSTALLED!\n'UNABLE TO DETECT JAVAHOME SINCE bigtop-utils NEEDS TO BE INSTALLED!+ exit 2{code}
2、Use name _solrcloud_ to run smoke tests
{code:java}
[root@localhost bigtop]# ./gradlew docker-provisioner -Pconfig=config_centos-7.yaml -Pmemory=4g -Pnum_instances=1 -Pstack=zookeeper,solrcloud -Psmoke_tests=zookeeper,solrcloud -Penable_local_repo
......
......
FAILURE: Build failed with an exception.* What went wrong:
Project 'solrcloud' not found in project ':bigtop-tests:smoke-tests'.* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 47s
+ rm -rf buildSrc/build/test-results/binary
+ rm -rf /bigtop-home/.gradle {code}
was:
We now use solrcloud on role map for puppet scripts, but solr on bigtop-tests module, which will cause:
1、Use name _solr_ to run smoke tests
{code:java}
[root@localhost bigtop] ./gradlew docker-provisioner -Pconfig=config_centos-7.yaml -Pmemory=4g -Pnum_instances=1 -Pstack=zookeeper,solr -Psmoke_tests=zookeeper,solr -Penable_local_repo
......
......
Could not retrieve fact='selinux_current_mode', resolution='<anonymous>': undefined method `each_line' for nil:NilClass
Could not retrieve fact='selinux_config_mode', resolution='<anonymous>': undefined method `each_line' for nil:NilClass
Could not retrieve fact='selinux_config_policy', resolution='<anonymous>': undefined method `each_line' for nil:NilClass
Error: get_roles(): No such component in roles_map. solr on node 60f6a225cf17.bigtop.apache.org
Error: get_roles(): No such component in roles_map. solr on node 60f6a225cf17.bigtop.apache.org
+ HCFS_USER=hdfs
+ SMOKE_TESTS=zookeeper,solr
+ '[' -z zookeeper,solr ']'
+ '[' -e /usr/lib/bigtop-utils/bigtop-detect-javahome ']'
+ echo -e '\nUNABLE TO DETECT JAVAHOME SINCE bigtop-utils NEEDS TO BE INSTALLED!\n'UNABLE TO DETECT JAVAHOME SINCE bigtop-utils NEEDS TO BE INSTALLED!+ exit 2{code}
2、Use name _solrcloud_ to run smoke tests
{code:java}
[root@localhost bigtop]# ./gradlew docker-provisioner -Pconfig=config_centos-7.yaml -Pmemory=4g -Pnum_instances=1 -Pstack=zookeeper,solrcloud -Psmoke_tests=zookeeper,solrcloud -Penable_local_repo
......
......
FAILURE: Build failed with an exception.* What went wrong:
Project 'solrcloud' not found in project ':bigtop-tests:smoke-tests'.* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 47s
+ rm -rf buildSrc/build/test-results/binary
+ rm -rf /bigtop-home/.gradle {code}
> Solr incompatible names on deployment and test module
> -----------------------------------------------------
>
> Key: BIGTOP-3942
> URL: https://issues.apache.org/jira/browse/BIGTOP-3942
> Project: Bigtop
> Issue Type: Bug
> Reporter: Zhiguo Wu
> Priority: Major
>
> We now use _solrcloud_ on role map for puppet scripts, but _solr_ on bigtop-tests module, which will cause smoke-tests fails on both situations:
> 1、Use name _solr_ to run smoke tests
> {code:java}
> [root@localhost bigtop] ./gradlew docker-provisioner -Pconfig=config_centos-7.yaml -Pmemory=4g -Pnum_instances=1 -Pstack=zookeeper,solr -Psmoke_tests=zookeeper,solr -Penable_local_repo
> ......
> ......
> Could not retrieve fact='selinux_current_mode', resolution='<anonymous>': undefined method `each_line' for nil:NilClass
> Could not retrieve fact='selinux_config_mode', resolution='<anonymous>': undefined method `each_line' for nil:NilClass
> Could not retrieve fact='selinux_config_policy', resolution='<anonymous>': undefined method `each_line' for nil:NilClass
> Error: get_roles(): No such component in roles_map. solr on node 60f6a225cf17.bigtop.apache.org
> Error: get_roles(): No such component in roles_map. solr on node 60f6a225cf17.bigtop.apache.org
> + HCFS_USER=hdfs
> + SMOKE_TESTS=zookeeper,solr
> + '[' -z zookeeper,solr ']'
> + '[' -e /usr/lib/bigtop-utils/bigtop-detect-javahome ']'
> + echo -e '\nUNABLE TO DETECT JAVAHOME SINCE bigtop-utils NEEDS TO BE INSTALLED!\n'UNABLE TO DETECT JAVAHOME SINCE bigtop-utils NEEDS TO BE INSTALLED!+ exit 2{code}
> 2、Use name _solrcloud_ to run smoke tests
> {code:java}
> [root@localhost bigtop]# ./gradlew docker-provisioner -Pconfig=config_centos-7.yaml -Pmemory=4g -Pnum_instances=1 -Pstack=zookeeper,solrcloud -Psmoke_tests=zookeeper,solrcloud -Penable_local_repo
> ......
> ......
> FAILURE: Build failed with an exception.* What went wrong:
> Project 'solrcloud' not found in project ':bigtop-tests:smoke-tests'.* Try:
> Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 47s
> + rm -rf buildSrc/build/test-results/binary
> + rm -rf /bigtop-home/.gradle {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)