generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Description
Early today we have merged this change from PA team:
opensearch-project/opensearch-build#1982
And then the build is not correct as the new folder is not able to be found.
Sample bundle tarball:
wget https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.0.0-rc1/2509/linux/x64/tar/dist/opensearch/opensearch-2.0.0-rc1-linux-x64.tar.gz
#24 ERROR: process "/bin/sh -c ls -l $TEMP_DIR && tar -xzpf /tmp/opensearch/opensearch-`uname -p`.tgz -C $OPENSEARCH_HOME --strip-components=1 && mkdir -p $OPENSEARCH_HOME/data && chown -Rv $UID:$GID $OPENSEARCH_HOME/data && if [[ -d $SECURITY_PLUGIN_DIR ]] ; then chmod -v 750 $SECURITY_PLUGIN_DIR/tools/* ; fi && if [[ -d $PERFORMANCE_ANALYZER_PLUGIN_DIR ]] ; then cp -v $TEMP_DIR/performance-analyzer.properties $PERFORMANCE_ANALYZER_PLUGIN_DIR/config/; fi && cp -v $TEMP_DIR/opensearch-docker-entrypoint.sh $TEMP_DIR/opensearch-onetime-setup.sh $OPENSEARCH_HOME/ && cp -v $TEMP_DIR/log4j2.properties $TEMP_DIR/opensearch.yml $OPENSEARCH_HOME/config/ && ls -l $OPENSEARCH_HOME && rm -rf $TEMP_DIR" did not complete successfully: exit code: 1
------
> [linux/amd64 linux_stage_0 5/5] RUN ls -l /tmp/opensearch && tar -xzpf /tmp/opensearch/opensearch-`uname -p`.tgz -C /usr/share/opensearch --strip-components=1 && mkdir -p /usr/share/opensearch/data && chown -Rv 1000:1000 /usr/share/opensearch/data && if [[ -d /usr/share/opensearch/plugins/opensearch-security ]] ; then chmod -v 750 /usr/share/opensearch/plugins/opensearch-security/tools/* ; fi && if [[ -d /usr/share/opensearch/plugins/opensearch-performance-analyzer ]] ; then cp -v /tmp/opensearch/performance-analyzer.properties /usr/share/opensearch/plugins/opensearch-performance-analyzer/config/; fi && cp -v /tmp/opensearch/opensearch-docker-entrypoint.sh /tmp/opensearch/opensearch-onetime-setup.sh /usr/share/opensearch/ && cp -v /tmp/opensearch/log4j2.properties /tmp/opensearch/opensearch.yml /usr/share/opensearch/config/ && ls -l /usr/share/opensearch && rm -rf /tmp/opensearch:
#24 5.248 changed ownership of '/usr/share/opensearch/data' from root:root to 1000:1000
#24 5.249 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/audit_config_migrater.bat' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#24 5.249 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/audit_config_migrater.sh' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#24 5.249 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/hash.bat' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#24 5.249 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/hash.sh' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#24 5.249 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/install_demo_configuration.sh' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#24 5.249 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/securityadmin.bat' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#24 5.249 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/securityadmin.sh' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#24 5.250 '/tmp/opensearch/performance-analyzer.properties' -> '/usr/share/opensearch/plugins/opensearch-performance-analyzer/config/'
#24 5.250 cp: cannot create regular file '/usr/share/opensearch/plugins/opensearch-performance-analyzer/config/': Not a directory
------
------
> [linux/arm64 linux_stage_0 5/5] RUN ls -l /tmp/opensearch && tar -xzpf /tmp/opensearch/opensearch-`uname -p`.tgz -C /usr/share/opensearch --strip-components=1 && mkdir -p /usr/share/opensearch/data && chown -Rv 1000:1000 /usr/share/opensearch/data && if [[ -d /usr/share/opensearch/plugins/opensearch-security ]] ; then chmod -v 750 /usr/share/opensearch/plugins/opensearch-security/tools/* ; fi && if [[ -d /usr/share/opensearch/plugins/opensearch-performance-analyzer ]] ; then cp -v /tmp/opensearch/performance-analyzer.properties /usr/share/opensearch/plugins/opensearch-performance-analyzer/config/; fi && cp -v /tmp/opensearch/opensearch-docker-entrypoint.sh /tmp/opensearch/opensearch-onetime-setup.sh /usr/share/opensearch/ && cp -v /tmp/opensearch/log4j2.properties /tmp/opensearch/opensearch.yml /usr/share/opensearch/config/ && ls -l /usr/share/opensearch && rm -rf /tmp/opensearch:
#13 15.18 changed ownership of '/usr/share/opensearch/data' from root:root to 1000:1000
#13 15.21 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/audit_config_migrater.bat' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#13 15.21 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/audit_config_migrater.sh' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#13 15.21 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/hash.bat' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#13 15.21 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/hash.sh' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#13 15.21 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/install_demo_configuration.sh' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#13 15.21 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/securityadmin.bat' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#13 15.21 mode of '/usr/share/opensearch/plugins/opensearch-security/tools/securityadmin.sh' changed from 0644 (rw-r--r--) to 0750 (rwxr-x---)
#13 15.23 '/tmp/opensearch/performance-analyzer.properties' -> '/usr/share/opensearch/plugins/opensearch-performance-analyzer/config/'
#13 15.23 /usr/bin/cp: cannot create regular file '/usr/share/opensearch/plugins/opensearch-performance-analyzer/config/': Not a directory
------
opensearch.al2.dockerfile:38
Thanks.
Reactions are currently unavailable