Skip to content

Instantly share code, notes, and snippets.

@Azhar2k16
Created March 2, 2021 19:01
Show Gist options
  • Save Azhar2k16/fbcaff1b16780fc674b6eedce67bf967 to your computer and use it in GitHub Desktop.
Save Azhar2k16/fbcaff1b16780fc674b6eedce67bf967 to your computer and use it in GitHub Desktop.
2021/03/02 18:00:00.310483 [INFO] Starting...
2021/03/02 18:00:00.310539 [INFO] Starting EBPlatform-PlatformEngine
2021/03/02 18:00:00.310608 [INFO] reading event message file
2021/03/02 18:00:00.310709 [INFO] no eb envtier info file found, skip loading env tier info.
2021/03/02 18:00:00.310784 [INFO] Engine received EB command userdata-exec
2021/03/02 18:00:00.388142 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 -r AWSEBAutoScalingGroup --region us-east-2
2021/03/02 18:00:01.283529 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 -r AWSEBBeanstalkMetadata --region us-east-2
2021/03/02 18:00:02.547558 [INFO] Unable to ping launch url, this is a scale-up instance.
2021/03/02 18:00:02.547638 [INFO] Engine command: (self-startup)
2021/03/02 18:00:02.547648 [INFO] Downloading EB Application...
2021/03/02 18:00:02.547652 [INFO] Region: us-east-2
2021/03/02 18:00:02.547656 [INFO] envID: e-gk9yz3upsq
2021/03/02 18:00:02.547660 [INFO] envBucket: elasticbeanstalk-us-east-2-797729451331
2021/03/02 18:00:02.547669 [INFO] Using manifest file name from command request
2021/03/02 18:00:02.547681 [INFO] Unable to get version manifest file.
2021/03/02 18:00:02.547685 [INFO] Downloading latest manifest available.
2021/03/02 18:00:02.547689 [INFO] Download latest app version manifest
2021/03/02 18:00:02.547813 [INFO] resources/environments/e-gk9yz3upsq/_runtime/versions/manifest
2021/03/02 18:00:02.714562 [INFO] latestManifest key *: resources/environments/e-gk9yz3upsq/_runtime/versions/manifest_1614707920115
2021/03/02 18:00:02.714729 [INFO] Downloading: bucket: elasticbeanstalk-us-east-2-797729451331, object: /resources/environments/e-gk9yz3upsq/_runtime/versions/manifest_1614707920115
2021/03/02 18:00:02.771440 [INFO] Download successful135bytes downloaded
2021/03/02 18:00:02.771545 [INFO] Trying to read and parse version manifest...
2021/03/02 18:00:02.771679 [INFO] Downloading: bucket: elasticbeanstalk-us-east-2-797729451331, object: /resources/environments/e-gk9yz3upsq/_runtime/_versions/AdminThumzup/Sample Application
2021/03/02 18:00:02.852546 [INFO] Download successful900663bytes downloaded
2021/03/02 18:00:02.852852 [INFO] Executing instruction: SyncClock
2021/03/02 18:00:02.852858 [INFO] Starting SyncClock
2021/03/02 18:00:02.852873 [INFO] Running command /bin/sh -c /usr/bin/chronyc tracking
2021/03/02 18:00:02.893087 [INFO] Reference ID : A9FEA97B (169.254.169.123)
Stratum : 4
Ref time (UTC) : Tue Mar 02 17:59:59 2021
System time : 0.000028632 seconds fast of NTP time
Last offset : -0.000418689 seconds
RMS offset : 0.000418689 seconds
Frequency : 2.669 ppm slow
Residual freq : -96.309 ppm
Skew : 0.232 ppm
Root delay : 0.000500780 seconds
Root dispersion : 0.000580403 seconds
Update interval : 1.9 seconds
Leap status : Normal
2021/03/02 18:00:02.893119 [INFO] Running command /bin/sh -c /usr/bin/chronyc -a makestep
2021/03/02 18:00:02.905080 [INFO] 200 OK
2021/03/02 18:00:02.913490 [INFO] Skipping Configure OS
2021/03/02 18:00:02.913508 [INFO] Skipping LockGUID
2021/03/02 18:00:02.913515 [INFO] Skipping GenerateEBBanner
2021/03/02 18:00:02.913521 [INFO] Skipping Install Process Manager
2021/03/02 18:00:02.913527 [INFO] Skipping install proxy
2021/03/02 18:00:02.913533 [INFO] Skipping installhealthd
2021/03/02 18:00:02.913540 [INFO] Skipping Install Log Streaming Manager
2021/03/02 18:00:02.913546 [INFO] Skipping install X-Ray
2021/03/02 18:00:02.913552 [INFO] Skipping install Third Party License
2021/03/02 18:00:02.913560 [INFO] Instance has NOT been bootstrapped
2021/03/02 18:00:02.913565 [INFO] Executing instruction: installSqsd
2021/03/02 18:00:02.913570 [INFO] This is a web server environment instance, skip install sqsd daemon ...
2021/03/02 18:00:02.913577 [INFO] Instance has NOT been bootstrapped
2021/03/02 18:00:02.913581 [INFO] Executing instruction: bootstraphealthd
2021/03/02 18:00:02.913596 [INFO] this is an enhanced health env ...
2021/03/02 18:00:02.913611 [INFO] Running command /bin/sh -c id -u apache
2021/03/02 18:00:02.915951 [INFO] bootstrap healthd....
2021/03/02 18:00:02.915966 [INFO] Running command /bin/sh -c /usr/bin/id -u healthd || /usr/sbin/useradd --user-group healthd -s /sbin/nologin --create-home
2021/03/02 18:00:03.391646 [INFO] Instance has NOT been bootstrapped
2021/03/02 18:00:03.391659 [INFO] Executing instruction: GetSetupProxyLog
2021/03/02 18:00:03.391732 [INFO] Skipping Install yum packages
2021/03/02 18:00:03.391740 [INFO] Skipping Install Bundles
2021/03/02 18:00:03.391746 [INFO] Skipping set up default ruby runtime
2021/03/02 18:00:03.391753 [INFO] Skipping MarkBaked
2021/03/02 18:00:03.391759 [INFO] Instance has NOT been bootstrapped
2021/03/02 18:00:03.391763 [INFO] Executing instruction: TuneSystemSettings
2021/03/02 18:00:03.391767 [INFO] Starting TuneSystemSettings
2021/03/02 18:00:03.391772 [INFO] Instance has NOT been bootstrapped
2021/03/02 18:00:03.391800 [INFO] Executing instruction: GetSetupLogRotate
2021/03/02 18:00:03.391805 [INFO] Initialize LogRotate files and directories
2021/03/02 18:00:03.510021 [INFO] Instance has NOT been bootstrapped
2021/03/02 18:00:03.510038 [INFO] Executing instruction: BootstrapCFNHup
2021/03/02 18:00:03.510043 [INFO] Bootstrap cfn-hup
2021/03/02 18:00:03.521418 [INFO] Copying file /opt/elasticbeanstalk/config/private/aws-eb-command-handler.conf to /etc/cfn/hooks.d/aws-eb-command-handler.conf
2021/03/02 18:00:03.537874 [INFO] Executing instruction: StartCFNHup
2021/03/02 18:00:03.537889 [INFO] Start cfn-hup
2021/03/02 18:00:03.537914 [INFO] Running command /bin/sh -c systemctl is-active cfn-hup.service
2021/03/02 18:00:03.547760 [INFO] Running command /bin/sh -c systemctl is-active cfn-hup.service
2021/03/02 18:00:03.557877 [INFO] Running command /bin/sh -c systemctl show -p PartOf cfn-hup.service
2021/03/02 18:00:03.616917 [INFO] Running command /bin/sh -c systemctl daemon-reload
2021/03/02 18:00:03.767344 [INFO] Running command /bin/sh -c systemctl reset-failed
2021/03/02 18:00:03.777278 [INFO] Running command /bin/sh -c systemctl is-enabled aws-eb.target
2021/03/02 18:00:03.791805 [INFO] Running command /bin/sh -c systemctl enable aws-eb.target
2021/03/02 18:00:03.921666 [INFO] Running command /bin/sh -c systemctl start aws-eb.target
2021/03/02 18:00:03.935572 [INFO] Running command /bin/sh -c systemctl enable cfn-hup.service
2021/03/02 18:00:04.078185 [INFO] Running command /bin/sh -c systemctl show -p PartOf cfn-hup.service
2021/03/02 18:00:04.092234 [INFO] Running command /bin/sh -c systemctl is-active cfn-hup.service
2021/03/02 18:00:04.105377 [INFO] Running command /bin/sh -c systemctl start cfn-hup.service
2021/03/02 18:00:04.178520 [INFO] Instance has NOT been bootstrapped
2021/03/02 18:00:04.178537 [INFO] Executing instruction: SetupPublishLogCronjob
2021/03/02 18:00:04.178542 [INFO] Setup publish logs cron job...
2021/03/02 18:00:04.178547 [INFO] Copying file /opt/elasticbeanstalk/config/private/logtasks/cron/publishlogs to /etc/cron.d/publishlogs
2021/03/02 18:00:04.180045 [INFO] Instance has NOT been bootstrapped
2021/03/02 18:00:04.180055 [INFO] Executing instruction: MarkBootstrapped
2021/03/02 18:00:04.180059 [INFO] Starting MarkBootstrapped
2021/03/02 18:00:04.180065 [INFO] Instance has NOT been bootstrapped
2021/03/02 18:00:04.180118 [INFO] Marked instance as Bootstrapped
2021/03/02 18:00:04.180123 [INFO] Executing instruction: Save CFN Stack Info
2021/03/02 18:00:04.180163 [INFO] Starting SwitchCFNStack
2021/03/02 18:00:04.180170 [INFO] Executing instruction: stopSqsd
2021/03/02 18:00:04.180175 [INFO] This is a web server environment instance, skip stop sqsd daemon ...
2021/03/02 18:00:04.180180 [INFO] Executing instruction: PreBuildEbExtension
2021/03/02 18:00:04.180184 [INFO] Starting executing the config set Infra-EmbeddedPreBuild.
2021/03/02 18:00:04.180202 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-init -s arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 -r AWSEBAutoScalingGroup --region us-east-2 --configsets Infra-EmbeddedPreBuild
2021/03/02 18:00:04.967984 [INFO] Finished executing the config set Infra-EmbeddedPreBuild.
2021/03/02 18:00:04.968026 [INFO] Executing instruction: StageApplication
2021/03/02 18:00:04.968152 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/
2021/03/02 18:00:04.968171 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var/app/staging/
2021/03/02 18:00:04.987947 [INFO] finished extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ successfully
2021/03/02 18:00:04.988274 [INFO] Executing instruction: RunAppDeployPreBuildHooks
2021/03/02 18:00:04.988293 [INFO] The dir .platform/hooks/prebuild/ does not exist in the application. Skipping this step...
2021/03/02 18:00:04.988298 [INFO] Executing instruction: stage ruby application
2021/03/02 18:00:04.988302 [INFO] stage ruby application ....
2021/03/02 18:00:04.988344 [INFO] Running command /bin/sh -c bundle config set --local deployment true
2021/03/02 18:00:05.304497 [INFO] Running command /bin/sh -c bundle install --local
2021/03/02 18:00:11.650675 [INFO] Using bundler 2.2.8
Installing ruby2_keywords 0.0.2
Installing mustermann 1.1.1
Installing nio4r 2.5.2 with native extensions
Installing puma 4.3.3 with native extensions
Installing rack 2.2.2
Installing rack-parser 0.7.0
Installing rack-protection 2.0.8.1
Installing tilt 2.0.10
Installing sinatra 2.0.8.1
Bundle complete! 3 Gemfile dependencies, 10 gems now installed.
Gems in the groups test and development were not installed.
Bundled gems are installed into `./vender/bundle`
2021/03/02 18:00:11.650715 [INFO] Running command /bin/sh -c rbenv rehash
2021/03/02 18:00:11.680276 [INFO] encountered a Gemfile.lock, setting proper permissions to user webapp
2021/03/02 18:00:11.680392 [INFO] Executing instruction: check default web server
2021/03/02 18:00:11.685222 [INFO] Executing instruction: check procfile
2021/03/02 18:00:11.685242 [INFO] detected Procfile in application source bundle ...
2021/03/02 18:00:11.685247 [INFO] Executing instruction: configure X-Ray
2021/03/02 18:00:11.685253 [INFO] X-Ray is not enabled.
2021/03/02 18:00:11.685257 [INFO] Executing instruction: Configure proxy Nginx
2021/03/02 18:00:11.685261 [INFO] configuring proxy...
2021/03/02 18:00:11.685350 [INFO] Copying file /opt/elasticbeanstalk/config/private/nginx/webapp.conf to /var/proxy/staging/nginx/conf.d/elasticbeanstalk/webapp.conf
2021/03/02 18:00:11.686987 [INFO] Copying file /opt/elasticbeanstalk/config/private/nginx/elasticbeanstalk-nginx-ruby-upstream.conf to /var/proxy/staging/nginx/conf.d/elasticbeanstalk-nginx-ruby-upstream.conf
2021/03/02 18:00:11.692081 [INFO] Executing instruction: configure healthd specific proxy conf
2021/03/02 18:00:11.693378 [INFO] Running command /bin/sh -c systemctl show -p PartOf healthd.service
2021/03/02 18:00:11.699908 [INFO] Running command /bin/sh -c systemctl daemon-reload
2021/03/02 18:00:11.776319 [INFO] Running command /bin/sh -c systemctl reset-failed
2021/03/02 18:00:11.780650 [INFO] Running command /bin/sh -c systemctl is-enabled aws-eb.target
2021/03/02 18:00:11.784437 [INFO] Running command /bin/sh -c systemctl enable aws-eb.target
2021/03/02 18:00:11.861557 [INFO] Running command /bin/sh -c systemctl start aws-eb.target
2021/03/02 18:00:11.866311 [INFO] Running command /bin/sh -c systemctl enable healthd.service
2021/03/02 18:00:11.948918 [INFO] Running command /bin/sh -c systemctl show -p PartOf healthd.service
2021/03/02 18:00:11.954311 [INFO] Running command /bin/sh -c systemctl is-active healthd.service
2021/03/02 18:00:11.957871 [INFO] Running command /bin/sh -c systemctl start healthd.service
2021/03/02 18:00:12.006602 [INFO] Copying file /opt/elasticbeanstalk/config/private/healthd/healthd_logformat.conf to /var/proxy/staging/nginx/conf.d/healthd_logformat.conf
2021/03/02 18:00:12.007916 [INFO] Copying file /opt/elasticbeanstalk/config/private/healthd/healthd_nginx.conf to /var/proxy/staging/nginx/conf.d/elasticbeanstalk/healthd.conf
2021/03/02 18:00:12.009218 [INFO] Executing instruction: rake tasks
2021/03/02 18:00:12.009245 [INFO] Running command /bin/su webapp -c bundle exec /opt/elasticbeanstalk/config/private/checkforraketask.rb assets:precompile
2021/03/02 18:00:12.575980 [INFO] No assets:precompile task in Rakefile, skipping assets:precompile.
2021/03/02 18:00:12.576026 [INFO] Running command /bin/su webapp -c bundle exec /opt/elasticbeanstalk/config/private/checkforraketask.rb db:migrate
2021/03/02 18:00:13.103611 [INFO] No db:migrate task in Rakefile, skipping db:migrate.
2021/03/02 18:00:13.103638 [INFO] Executing instruction: configure log streaming
2021/03/02 18:00:13.103645 [INFO] log streaming is not enabled
2021/03/02 18:00:13.103649 [INFO] disable log stream
2021/03/02 18:00:13.103661 [INFO] Running command /bin/sh -c systemctl show -p PartOf amazon-cloudwatch-agent.service
2021/03/02 18:00:13.116143 [INFO] Running command /bin/sh -c systemctl stop amazon-cloudwatch-agent.service
2021/03/02 18:00:13.120938 [INFO] Executing instruction: GetToggleForceRotate
2021/03/02 18:00:13.120951 [INFO] Checking if logs need forced rotation
2021/03/02 18:00:13.120964 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 -r AWSEBAutoScalingGroup --region us-east-2
2021/03/02 18:00:13.479532 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 -r AWSEBBeanstalkMetadata --region us-east-2
2021/03/02 18:00:13.791940 [INFO] Generating rsyslog config from Procfile
2021/03/02 18:00:13.793379 [INFO] Running command /bin/sh -c systemctl restart rsyslog.service
2021/03/02 18:00:13.810955 [INFO] Executing instruction: PostBuildEbExtension
2021/03/02 18:00:13.810992 [INFO] Starting executing the config set Infra-EmbeddedPostBuild.
2021/03/02 18:00:13.811042 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-init -s arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 -r AWSEBAutoScalingGroup --region us-east-2 --configsets Infra-EmbeddedPostBuild
2021/03/02 18:00:14.192007 [INFO] Finished executing the config set Infra-EmbeddedPostBuild.
2021/03/02 18:00:14.192045 [INFO] Executing instruction: CleanEbExtensions
2021/03/02 18:00:14.192073 [INFO] Cleaned ebextensions subdirectories from app staging directory.
2021/03/02 18:00:14.192078 [INFO] Executing instruction: RunAppDeployPreDeployHooks
2021/03/02 18:00:14.192087 [INFO] The dir .platform/hooks/predeploy/ does not exist in the application. Skipping this step...
2021/03/02 18:00:14.192091 [INFO] Executing instruction: stop X-Ray
2021/03/02 18:00:14.192094 [INFO] stop X-Ray ...
2021/03/02 18:00:14.192110 [INFO] Running command /bin/sh -c systemctl show -p PartOf xray.service
2021/03/02 18:00:14.199806 [WARN] stopProcess Warning: process xray is not registered
2021/03/02 18:00:14.199846 [INFO] Running command /bin/sh -c systemctl stop xray.service
2021/03/02 18:00:14.207360 [INFO] Executing instruction: stop proxy
2021/03/02 18:00:14.207378 [INFO] Running command /bin/sh -c systemctl show -p PartOf httpd.service
2021/03/02 18:00:14.211852 [WARN] deregisterProcess Warning: process httpd is not registered, skipping...
2021/03/02 18:00:14.211881 [INFO] Running command /bin/sh -c systemctl show -p PartOf nginx.service
2021/03/02 18:00:14.217767 [WARN] deregisterProcess Warning: process nginx is not registered, skipping...
2021/03/02 18:00:14.217802 [INFO] Executing instruction: flip ruby application
2021/03/02 18:00:14.217928 [INFO] Purge old process...
2021/03/02 18:00:14.217971 [INFO] Register application processes...
2021/03/02 18:00:14.217976 [INFO] Registering the proc: web
2021/03/02 18:00:14.217985 [INFO] Running command /bin/sh -c systemctl show -p PartOf web.service
2021/03/02 18:00:14.224079 [INFO] Running command /bin/sh -c systemctl daemon-reload
2021/03/02 18:00:14.297688 [INFO] Running command /bin/sh -c systemctl reset-failed
2021/03/02 18:00:14.301969 [INFO] Running command /bin/sh -c systemctl is-enabled eb-app.target
2021/03/02 18:00:14.305613 [INFO] Copying file /opt/elasticbeanstalk/config/private/aws-eb.target to /etc/systemd/system/eb-app.target
2021/03/02 18:00:14.307348 [INFO] Running command /bin/sh -c systemctl enable eb-app.target
2021/03/02 18:00:14.384737 [INFO] Running command /bin/sh -c systemctl start eb-app.target
2021/03/02 18:00:14.390288 [INFO] Running command /bin/sh -c systemctl enable web.service
2021/03/02 18:00:14.472636 [INFO] Running command /bin/sh -c systemctl show -p PartOf web.service
2021/03/02 18:00:14.478025 [INFO] Running command /bin/sh -c systemctl is-active web.service
2021/03/02 18:00:14.481713 [INFO] Running command /bin/sh -c systemctl start web.service
2021/03/02 18:00:14.522948 [INFO] Executing instruction: start X-Ray
2021/03/02 18:00:14.522966 [INFO] X-Ray is not enabled.
2021/03/02 18:00:14.522972 [INFO] Executing instruction: start proxy with new configuration
2021/03/02 18:00:14.522996 [INFO] Running command /bin/sh -c /usr/sbin/nginx -t -c /var/proxy/staging/nginx/nginx.conf
2021/03/02 18:00:14.541876 [INFO] Running command /bin/sh -c cp -rp /var/proxy/staging/nginx/* /etc/nginx
2021/03/02 18:00:14.546450 [INFO] Running command /bin/sh -c systemctl show -p PartOf nginx.service
2021/03/02 18:00:14.556970 [INFO] Running command /bin/sh -c systemctl daemon-reload
2021/03/02 18:00:14.665383 [INFO] Running command /bin/sh -c systemctl reset-failed
2021/03/02 18:00:14.671691 [INFO] Running command /bin/sh -c systemctl show -p PartOf nginx.service
2021/03/02 18:00:14.681313 [INFO] Running command /bin/sh -c systemctl is-active nginx.service
2021/03/02 18:00:14.690070 [INFO] Running command /bin/sh -c systemctl start nginx.service
2021/03/02 18:00:14.796733 [INFO] Executing instruction: configureSqsd
2021/03/02 18:00:14.796752 [INFO] This is a web server environment instance, skip configure sqsd daemon ...
2021/03/02 18:00:14.796757 [INFO] Executing instruction: startSqsd
2021/03/02 18:00:14.796761 [INFO] This is a web server environment instance, skip start sqsd daemon ...
2021/03/02 18:00:14.796774 [INFO] Executing instruction: Track pids in healthd
2021/03/02 18:00:14.796778 [INFO] This is an enhanced health env...
2021/03/02 18:00:14.796799 [INFO] Running command /bin/sh -c systemctl show -p ConsistsOf aws-eb.target | cut -d= -f2
2021/03/02 18:00:14.808075 [INFO] healthd.service cfn-hup.service nginx.service
2021/03/02 18:00:14.808093 [INFO] Running command /bin/sh -c systemctl show -p ConsistsOf eb-app.target | cut -d= -f2
2021/03/02 18:00:14.818853 [INFO] web.service
2021/03/02 18:00:14.818983 [INFO] Executing instruction: support rails logging
2021/03/02 18:00:14.818995 [INFO] Executing instruction: RunAppDeployPostDeployHooks
2021/03/02 18:00:14.819022 [INFO] The dir .platform/hooks/postdeploy/ does not exist in the application. Skipping this step...
2021/03/02 18:00:14.819030 [INFO] Executing cleanup logic
2021/03/02 18:00:14.819194 [INFO] Platform Engine finished execution on command: self-startup
2021/03/02 18:09:37.925405 [INFO] Starting...
2021/03/02 18:09:37.925462 [INFO] Starting EBPlatform-PlatformEngine
2021/03/02 18:09:37.925478 [INFO] reading event message file
2021/03/02 18:09:37.925586 [INFO] no eb envtier info file found, skip loading env tier info.
2021/03/02 18:09:37.925658 [INFO] Engine received EB command cfn-hup-exec
2021/03/02 18:09:38.004384 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 -r AWSEBAutoScalingGroup --region us-east-2
2021/03/02 18:09:38.366898 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 -r AWSEBBeanstalkMetadata --region us-east-2
2021/03/02 18:09:38.669542 [INFO] checking whether command app-deploy is applicable to this instance...
2021/03/02 18:09:38.669558 [INFO] this command is applicable to the instance, thus instance should execute command
2021/03/02 18:09:38.669562 [INFO] Engine command: (app-deploy)
2021/03/02 18:09:38.669569 [INFO] Downloading EB Application...
2021/03/02 18:09:38.669573 [INFO] Region: us-east-2
2021/03/02 18:09:38.669577 [INFO] envID: e-gk9yz3upsq
2021/03/02 18:09:38.669581 [INFO] envBucket: elasticbeanstalk-us-east-2-797729451331
2021/03/02 18:09:38.669586 [INFO] Using manifest file name from command request
2021/03/02 18:09:38.669593 [INFO] Manifest name is : manifest_1614708541672
2021/03/02 18:09:38.669597 [INFO] Download app version manifest
2021/03/02 18:09:38.669722 [INFO] Downloading: bucket: elasticbeanstalk-us-east-2-797729451331, object: /resources/environments/e-gk9yz3upsq/_runtime/versions/manifest_1614708541672
2021/03/02 18:09:38.713646 [INFO] Download successful104bytes downloaded
2021/03/02 18:09:38.713802 [INFO] Trying to read and parse version manifest...
2021/03/02 18:09:38.714025 [INFO] Downloading: bucket: elasticbeanstalk-us-east-2-797729451331, object: /resources/environments/e-gk9yz3upsq/_runtime/_versions/AdminThumzup/app-5b8fe-210302_230850
2021/03/02 18:09:38.729147 [INFO] Download successful173470bytes downloaded
2021/03/02 18:09:38.729348 [INFO] Executing instruction: ElectLeader
2021/03/02 18:09:38.729355 [INFO] Running leader election for instance i-0e2db9642644299c4...
2021/03/02 18:09:38.729360 [INFO] Calling the cfn-elect-cmd-leader to elect the command leader.
2021/03/02 18:09:38.729377 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-elect-cmd-leader --stack arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 --command-name ElasticBeanstalkCommand-AWSEBAutoScalingGroup --invocation-id 88f2b04a-a696-485d-ace2-d9b2748fcdaa --listener-id i-0e2db9642644299c4 --region us-east-2
2021/03/02 18:09:39.031135 [INFO] Instance is Leader.
2021/03/02 18:09:39.031196 [INFO] Executing instruction: stopSqsd
2021/03/02 18:09:39.031205 [INFO] This is a web server environment instance, skip stop sqsd daemon ...
2021/03/02 18:09:39.031210 [INFO] Executing instruction: PreBuildEbExtension
2021/03/02 18:09:39.031215 [INFO] Starting executing the config set Infra-EmbeddedPreBuild.
2021/03/02 18:09:39.031233 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-init -s arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 -r AWSEBAutoScalingGroup --region us-east-2 --configsets Infra-EmbeddedPreBuild
2021/03/02 18:09:49.473552 [INFO] Finished executing the config set Infra-EmbeddedPreBuild.
2021/03/02 18:09:49.473578 [INFO] Executing instruction: StageApplication
2021/03/02 18:09:49.473684 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/
2021/03/02 18:09:49.473703 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var/app/staging/
2021/03/02 18:09:49.487735 [INFO] finished extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ successfully
2021/03/02 18:09:49.489701 [INFO] Executing instruction: RunAppDeployPreBuildHooks
2021/03/02 18:09:49.489722 [INFO] The dir .platform/hooks/prebuild/ does not exist in the application. Skipping this step...
2021/03/02 18:09:49.489726 [INFO] Executing instruction: stage ruby application
2021/03/02 18:09:49.489731 [INFO] stage ruby application ....
2021/03/02 18:09:49.489772 [INFO] Running command /bin/sh -c bundle config set --local deployment true
2021/03/02 18:09:49.676232 [INFO] Running command /bin/sh -c bundle install
2021/03/02 18:13:20.410486 [INFO] Fetching gem metadata from https://rubygems.org/...........
Fetching rake 13.0.3
Installing rake 13.0.3
Fetching concurrent-ruby 1.1.8
Installing concurrent-ruby 1.1.8
Fetching i18n 1.8.9
Installing i18n 1.8.9
Fetching minitest 5.14.3
Installing minitest 5.14.3
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.9
Installing tzinfo 1.2.9
Fetching activesupport 5.2.4.5
Installing activesupport 5.2.4.5
Fetching builder 3.2.4
Installing builder 3.2.4
Fetching erubi 1.10.0
Installing erubi 1.10.0
Fetching racc 1.5.2
Installing racc 1.5.2 with native extensions
Fetching nokogiri 1.11.1 (x86_64-linux)
Installing nokogiri 1.11.1 (x86_64-linux)
Fetching rails-dom-testing 2.0.3
Installing rails-dom-testing 2.0.3
Fetching crass 1.0.6
Installing crass 1.0.6
Fetching loofah 2.9.0
Installing loofah 2.9.0
Fetching rails-html-sanitizer 1.3.0
Installing rails-html-sanitizer 1.3.0
Fetching actionview 5.2.4.5
Installing actionview 5.2.4.5
Fetching rack 2.2.3
Installing rack 2.2.3
Fetching rack-test 1.1.0
Installing rack-test 1.1.0
Fetching actionpack 5.2.4.5
Installing actionpack 5.2.4.5
Fetching nio4r 2.5.5
Installing nio4r 2.5.5 with native extensions
Fetching websocket-extensions 0.1.5
Installing websocket-extensions 0.1.5
Fetching websocket-driver 0.7.3
Installing websocket-driver 0.7.3 with native extensions
Fetching actioncable 5.2.4.5
Installing actioncable 5.2.4.5
Fetching globalid 0.4.2
Installing globalid 0.4.2
Fetching activejob 5.2.4.5
Installing activejob 5.2.4.5
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching mail 2.7.1
Installing mail 2.7.1
Fetching actionmailer 5.2.4.5
Installing actionmailer 5.2.4.5
Fetching activemodel 5.2.4.5
Installing activemodel 5.2.4.5
Fetching arel 9.0.0
Installing arel 9.0.0
Fetching activerecord 5.2.4.5
Installing activerecord 5.2.4.5
Fetching mimemagic 0.3.5
Installing mimemagic 0.3.5
Fetching marcel 0.3.3
Installing marcel 0.3.3
Fetching activestorage 5.2.4.5
Installing activestorage 5.2.4.5
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching execjs 2.7.0
Installing execjs 2.7.0
Fetching autoprefixer-rails 10.2.4.0
Installing autoprefixer-rails 10.2.4.0
Fetching msgpack 1.4.2
Installing msgpack 1.4.2 with native extensions
Fetching bootsnap 1.7.2
Installing bootsnap 1.7.2 with native extensions
Fetching ffi 1.14.2
Installing ffi 1.14.2 with native extensions
Fetching sassc 2.4.0
Installing sassc 2.4.0 with native extensions
Fetching bootstrap-sass 3.4.1
Installing bootstrap-sass 3.4.1
Using bundler 2.2.8
Fetching mini_magick 4.11.0
Installing mini_magick 4.11.0
Fetching ruby-vips 2.0.17
Installing ruby-vips 2.0.17
Fetching image_processing 1.12.1
Installing image_processing 1.12.1
Fetching ssrf_filter 1.0.7
Installing ssrf_filter 1.0.7
Fetching carrierwave 2.1.1
Installing carrierwave 2.1.1
Fetching coffee-script-source 1.12.2
Installing coffee-script-source 1.12.2
Fetching coffee-script 2.4.1
Installing coffee-script 2.4.1
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching thor 1.1.0
Installing thor 1.1.0
Fetching railties 5.2.4.5
Installing railties 5.2.4.5
Fetching coffee-rails 4.2.2
Installing coffee-rails 4.2.2
Fetching hpricot 0.8.6
Installing hpricot 0.8.6 with native extensions
Fetching mime-types-data 3.2021.0212
Installing mime-types-data 3.2021.0212
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching jbuilder 2.11.2
Installing jbuilder 2.11.2
Fetching jquery-rails 4.4.0
Installing jquery-rails 4.4.0
Fetching kaminari-core 1.2.1
Installing kaminari-core 1.2.1
Fetching kaminari-actionview 1.2.1
Installing kaminari-actionview 1.2.1
Fetching kaminari-activerecord 1.2.1
Installing kaminari-activerecord 1.2.1
Fetching kaminari 1.2.1
Installing kaminari 1.2.1
Fetching optimist 3.0.1
Installing optimist 3.0.1
Fetching puma 3.12.6
Installing puma 3.12.6 with native extensions
Fetching rack-proxy 0.6.5
Installing rack-proxy 0.6.5
Fetching sprockets 3.7.2
Installing sprockets 3.7.2
Fetching sprockets-rails 3.2.2
Installing sprockets-rails 3.2.2
Fetching rails 5.2.4.5
Installing rails 5.2.4.5
Fetching rb-fsevent 0.10.4
Installing rb-fsevent 0.10.4
Fetching rb-inotify 0.10.1
Installing rb-inotify 0.10.1
Fetching sass-listen 4.0.0
Installing sass-listen 4.0.0
Fetching sass 3.7.4
Installing sass 3.7.4
Fetching tilt 2.0.10
Installing tilt 2.0.10
Fetching sass-rails 5.1.0
Installing sass-rails 5.1.0
Fetching semantic_range 2.3.1
Installing semantic_range 2.3.1
Fetching turbolinks-source 5.2.0
Installing turbolinks-source 5.2.0
Fetching turbolinks 5.2.1
Installing turbolinks 5.2.1
Fetching uglifier 4.2.0
Installing uglifier 4.2.0
Fetching webpacker 5.2.1
Installing webpacker 5.2.1
Bundle complete! 26 Gemfile dependencies, 83 gems now installed.
Gems in the groups test and development were not installed.
Bundled gems are installed into `./vender/bundle`
Post-install message from httparty:
When you HTTParty, you must party hard!
Post-install message from sass:
Ruby Sass has reached end-of-life and should no longer be used.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
https://sass-lang.com/blog/posts/7828841
2021/03/02 18:13:20.411888 [INFO] Running command /bin/sh -c rbenv rehash
2021/03/02 18:13:20.457037 [INFO] encountered a Gemfile.lock, setting proper permissions to user webapp
2021/03/02 18:13:20.462212 [INFO] Executing instruction: check default web server
2021/03/02 18:13:20.479270 [INFO] Executing instruction: check procfile
2021/03/02 18:13:20.479299 [INFO] detected Procfile in application source bundle ...
2021/03/02 18:13:20.479305 [INFO] Executing instruction: configure X-Ray
2021/03/02 18:13:20.479310 [INFO] X-Ray is not enabled.
2021/03/02 18:13:20.479315 [INFO] Executing instruction: Configure proxy Nginx
2021/03/02 18:13:20.479319 [INFO] configuring proxy...
2021/03/02 18:13:20.480620 [INFO] Copying file /opt/elasticbeanstalk/config/private/nginx/webapp.conf to /var/proxy/staging/nginx/conf.d/elasticbeanstalk/webapp.conf
2021/03/02 18:13:20.482273 [INFO] Copying file /opt/elasticbeanstalk/config/private/nginx/elasticbeanstalk-nginx-ruby-upstream.conf to /var/proxy/staging/nginx/conf.d/elasticbeanstalk-nginx-ruby-upstream.conf
2021/03/02 18:13:20.487868 [INFO] Running command /bin/sh -c cp -rp /var/app/staging/.platform/nginx/. /var/proxy/staging/nginx
2021/03/02 18:13:20.494912 [INFO] Executing instruction: configure healthd specific proxy conf
2021/03/02 18:13:20.497042 [INFO] Running command /bin/sh -c systemctl show -p PartOf healthd.service
2021/03/02 18:13:20.524872 [WARN] Warning: process healthd is already registered...
Deregistering the process ...
2021/03/02 18:13:20.524907 [INFO] Running command /bin/sh -c systemctl show -p PartOf healthd.service
2021/03/02 18:13:20.529508 [INFO] Running command /bin/sh -c systemctl is-active healthd.service
2021/03/02 18:13:20.533014 [INFO] Running command /bin/sh -c systemctl show -p PartOf healthd.service
2021/03/02 18:13:20.537237 [INFO] Running command /bin/sh -c systemctl stop healthd.service
2021/03/02 18:13:20.590868 [INFO] Running command /bin/sh -c systemctl disable healthd.service
2021/03/02 18:13:20.789725 [INFO] Running command /bin/sh -c systemctl daemon-reload
2021/03/02 18:13:20.881430 [INFO] Running command /bin/sh -c systemctl reset-failed
2021/03/02 18:13:20.888922 [INFO] Running command /bin/sh -c systemctl daemon-reload
2021/03/02 18:13:20.961913 [INFO] Running command /bin/sh -c systemctl reset-failed
2021/03/02 18:13:20.966789 [INFO] Running command /bin/sh -c systemctl is-enabled aws-eb.target
2021/03/02 18:13:20.971329 [INFO] Running command /bin/sh -c systemctl enable aws-eb.target
2021/03/02 18:13:21.045506 [INFO] Running command /bin/sh -c systemctl start aws-eb.target
2021/03/02 18:13:21.051555 [INFO] Running command /bin/sh -c systemctl enable healthd.service
2021/03/02 18:13:21.133647 [INFO] Running command /bin/sh -c systemctl show -p PartOf healthd.service
2021/03/02 18:13:21.140281 [INFO] Running command /bin/sh -c systemctl is-active healthd.service
2021/03/02 18:13:21.144456 [INFO] Running command /bin/sh -c systemctl start healthd.service
2021/03/02 18:13:21.172699 [INFO] Copying file /opt/elasticbeanstalk/config/private/healthd/healthd_logformat.conf to /var/proxy/staging/nginx/conf.d/healthd_logformat.conf
2021/03/02 18:13:21.174404 [INFO] Copying file /opt/elasticbeanstalk/config/private/healthd/healthd_nginx.conf to /var/proxy/staging/nginx/conf.d/elasticbeanstalk/healthd.conf
2021/03/02 18:13:21.176119 [INFO] Executing instruction: rake tasks
2021/03/02 18:13:21.176145 [INFO] Running command /bin/su webapp -c bundle exec /opt/elasticbeanstalk/config/private/checkforraketask.rb assets:precompile
2021/03/02 18:13:24.292082 [INFO] Found assets:precompile task in Rakefile
2021/03/02 18:13:24.292146 [INFO] Running command /bin/su webapp -c bundle exec rake assets:precompile
2021/03/02 18:13:42.689844 [INFO] Compiling...
Compilation failed:
yarn run v1.22.5
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command "webpack" not found.
2021/03/02 18:13:42.689868 [ERROR] An error occurred during execution of command [app-deploy] - [rake tasks]. Stop running the command. Error: running rake task assets:precompile failed with error command bundle exec rake assets:precompile failed with error Command /bin/su webapp -c bundle exec rake assets:precompile failed with error exit status 1. Stderr:I, [2021-03-02T18:13:29.569958 #8365] INFO -- : Writing /var/app/staging/public/assets/jquery-c731c20e2995c576b0509d3bd776f7ab64a66b95363a3b5fae9864299ee594ed.js
I, [2021-03-02T18:13:29.570437 #8365] INFO -- : Writing /var/app/staging/public/assets/jquery-c731c20e2995c576b0509d3bd776f7ab64a66b95363a3b5fae9864299ee594ed.js.gz
I, [2021-03-02T18:13:35.665456 #8365] INFO -- : Writing /var/app/staging/public/assets/application-c61a0a3315e4679603abc0db352e151c61fd98cfa97372857a5186156b295b67.js
I, [2021-03-02T18:13:35.666027 #8365] INFO -- : Writing /var/app/staging/public/assets/application-c61a0a3315e4679603abc0db352e151c61fd98cfa97372857a5186156b295b67.js.gz
I, [2021-03-02T18:13:41.322544 #8365] INFO -- : Writing /var/app/staging/public/assets/application-fea72c50671dca69b3229a01e4c014d4032caa4f8c13e64c5a91d1ecb61994b1.css
I, [2021-03-02T18:13:41.323114 #8365] INFO -- : Writing /var/app/staging/public/assets/application-fea72c50671dca69b3229a01e4c014d4032caa4f8c13e64c5a91d1ecb61994b1.css.gz
I, [2021-03-02T18:13:41.327037 #8365] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-13634da87d9e23f8c3ed9108ce1724d183a39ad072e73e1b3d8cbf646d2d0407.eot
I, [2021-03-02T18:13:41.327486 #8365] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-13634da87d9e23f8c3ed9108ce1724d183a39ad072e73e1b3d8cbf646d2d0407.eot.gz
I, [2021-03-02T18:13:41.328702 #8365] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-fe185d11a49676890d47bb783312a0cda5a44c4039214094e7957b4c040ef11c.woff2
I, [2021-03-02T18:13:41.329933 #8365] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-a26394f7ede100ca118eff2eda08596275a9839b959c226e15439557a5a80742.woff
I, [2021-03-02T18:13:41.330945 #8365] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-e395044093757d82afcb138957d06a1ea9361bdcf0b442d06a18a8051af57456.ttf
I, [2021-03-02T18:13:41.331343 #8365] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-e395044093757d82afcb138957d06a1ea9361bdcf0b442d06a18a8051af57456.ttf.gz
I, [2021-03-02T18:13:41.334739 #8365] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-42f60659d265c1a3c30f9fa42abcbb56bd4a53af4d83d316d6dd7a36903c43e5.svg
I, [2021-03-02T18:13:41.334925 #8365] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-42f60659d265c1a3c30f9fa42abcbb56bd4a53af4d83d316d6dd7a36903c43e5.svg.gz
2021/03/02 18:13:42.689874 [INFO] Executing cleanup logic
2021/03/02 18:13:42.691367 [INFO] CommandService Response: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"Engine execution has encountered an error.","returncode":1,"events":[{"msg":"Instance deployment failed. For details, see 'eb-engine.log'.","timestamp":1614708822,"severity":"ERROR"}]}]}
2021/03/02 18:13:42.691562 [INFO] Platform Engine finished execution on command: app-deploy
2021/03/02 18:50:27.938977 [INFO] Starting...
2021/03/02 18:50:27.939060 [INFO] Starting EBPlatform-PlatformEngine
2021/03/02 18:50:27.939100 [INFO] reading event message file
2021/03/02 18:50:27.939716 [INFO] no eb envtier info file found, skip loading env tier info.
2021/03/02 18:50:27.939794 [INFO] Engine received EB command cfn-hup-exec
2021/03/02 18:50:28.065357 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 -r AWSEBAutoScalingGroup --region us-east-2
2021/03/02 18:50:28.666620 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 -r AWSEBBeanstalkMetadata --region us-east-2
2021/03/02 18:50:28.971628 [INFO] checking whether command app-deploy is applicable to this instance...
2021/03/02 18:50:28.971656 [INFO] this command is applicable to the instance, thus instance should execute command
2021/03/02 18:50:28.971665 [INFO] Engine command: (app-deploy)
2021/03/02 18:50:28.971679 [INFO] Downloading EB Application...
2021/03/02 18:50:28.971687 [INFO] Region: us-east-2
2021/03/02 18:50:28.971695 [INFO] envID: e-gk9yz3upsq
2021/03/02 18:50:28.971703 [INFO] envBucket: elasticbeanstalk-us-east-2-797729451331
2021/03/02 18:50:28.971711 [INFO] Using manifest file name from command request
2021/03/02 18:50:28.971728 [INFO] Manifest name is : manifest_1614710991378
2021/03/02 18:50:28.971736 [INFO] Download app version manifest
2021/03/02 18:50:28.972748 [INFO] Downloading: bucket: elasticbeanstalk-us-east-2-797729451331, object: /resources/environments/e-gk9yz3upsq/_runtime/versions/manifest_1614710991378
2021/03/02 18:50:29.020792 [INFO] Download successful104bytes downloaded
2021/03/02 18:50:29.020935 [INFO] Trying to read and parse version manifest...
2021/03/02 18:50:29.021011 [INFO] Downloading: bucket: elasticbeanstalk-us-east-2-797729451331, object: /resources/environments/e-gk9yz3upsq/_runtime/_versions/AdminThumzup/app-bb46c-210302_234941
2021/03/02 18:50:29.035056 [INFO] Download successful173704bytes downloaded
2021/03/02 18:50:29.036194 [INFO] Executing instruction: ElectLeader
2021/03/02 18:50:29.036203 [INFO] Running leader election for instance i-0e2db9642644299c4...
2021/03/02 18:50:29.036207 [INFO] Calling the cfn-elect-cmd-leader to elect the command leader.
2021/03/02 18:50:29.036223 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-elect-cmd-leader --stack arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 --command-name ElasticBeanstalkCommand-AWSEBAutoScalingGroup --invocation-id d8bb0f8a-e333-4d10-8ec0-a713825289a4 --listener-id i-0e2db9642644299c4 --region us-east-2
2021/03/02 18:50:29.388828 [INFO] Instance is Leader.
2021/03/02 18:50:29.388889 [INFO] Executing instruction: stopSqsd
2021/03/02 18:50:29.388897 [INFO] This is a web server environment instance, skip stop sqsd daemon ...
2021/03/02 18:50:29.388902 [INFO] Executing instruction: PreBuildEbExtension
2021/03/02 18:50:29.388907 [INFO] Starting executing the config set Infra-EmbeddedPreBuild.
2021/03/02 18:50:29.388925 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-init -s arn:aws:cloudformation:us-east-2:797729451331:stack/awseb-e-gk9yz3upsq-stack/e8b9d280-7b7e-11eb-b891-029cc9ea9bb6 -r AWSEBAutoScalingGroup --region us-east-2 --configsets Infra-EmbeddedPreBuild
2021/03/02 18:50:33.249634 [INFO] Finished executing the config set Infra-EmbeddedPreBuild.
2021/03/02 18:50:33.249655 [INFO] Executing instruction: StageApplication
2021/03/02 18:50:33.564951 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/
2021/03/02 18:50:33.564990 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var/app/staging/
2021/03/02 18:50:33.581249 [INFO] finished extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ successfully
2021/03/02 18:50:33.584129 [INFO] Executing instruction: RunAppDeployPreBuildHooks
2021/03/02 18:50:33.584148 [INFO] The dir .platform/hooks/prebuild/ does not exist in the application. Skipping this step...
2021/03/02 18:50:33.584153 [INFO] Executing instruction: stage ruby application
2021/03/02 18:50:33.584157 [INFO] stage ruby application ....
2021/03/02 18:50:33.584221 [INFO] Running command /bin/sh -c bundle config set --local deployment true
2021/03/02 18:50:33.777903 [INFO] Running command /bin/sh -c bundle install
2021/03/02 18:54:04.168754 [INFO] Fetching gem metadata from https://rubygems.org/...........
Fetching rake 13.0.3
Installing rake 13.0.3
Fetching concurrent-ruby 1.1.8
Installing concurrent-ruby 1.1.8
Fetching i18n 1.8.9
Installing i18n 1.8.9
Fetching minitest 5.14.3
Installing minitest 5.14.3
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.9
Installing tzinfo 1.2.9
Fetching activesupport 5.2.4.5
Installing activesupport 5.2.4.5
Fetching builder 3.2.4
Installing builder 3.2.4
Fetching erubi 1.10.0
Installing erubi 1.10.0
Fetching racc 1.5.2
Installing racc 1.5.2 with native extensions
Fetching nokogiri 1.11.1 (x86_64-linux)
Installing nokogiri 1.11.1 (x86_64-linux)
Fetching rails-dom-testing 2.0.3
Installing rails-dom-testing 2.0.3
Fetching crass 1.0.6
Installing crass 1.0.6
Fetching loofah 2.9.0
Installing loofah 2.9.0
Fetching rails-html-sanitizer 1.3.0
Installing rails-html-sanitizer 1.3.0
Fetching actionview 5.2.4.5
Installing actionview 5.2.4.5
Fetching rack 2.2.3
Installing rack 2.2.3
Fetching rack-test 1.1.0
Installing rack-test 1.1.0
Fetching actionpack 5.2.4.5
Installing actionpack 5.2.4.5
Fetching nio4r 2.5.5
Installing nio4r 2.5.5 with native extensions
Fetching websocket-extensions 0.1.5
Installing websocket-extensions 0.1.5
Fetching websocket-driver 0.7.3
Installing websocket-driver 0.7.3 with native extensions
Fetching actioncable 5.2.4.5
Installing actioncable 5.2.4.5
Fetching globalid 0.4.2
Installing globalid 0.4.2
Fetching activejob 5.2.4.5
Installing activejob 5.2.4.5
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching mail 2.7.1
Installing mail 2.7.1
Fetching actionmailer 5.2.4.5
Installing actionmailer 5.2.4.5
Fetching activemodel 5.2.4.5
Installing activemodel 5.2.4.5
Fetching arel 9.0.0
Installing arel 9.0.0
Fetching activerecord 5.2.4.5
Installing activerecord 5.2.4.5
Fetching mimemagic 0.3.5
Installing mimemagic 0.3.5
Fetching marcel 0.3.3
Installing marcel 0.3.3
Fetching activestorage 5.2.4.5
Installing activestorage 5.2.4.5
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching execjs 2.7.0
Installing execjs 2.7.0
Fetching autoprefixer-rails 10.2.4.0
Installing autoprefixer-rails 10.2.4.0
Fetching msgpack 1.4.2
Installing msgpack 1.4.2 with native extensions
Fetching bootsnap 1.7.2
Installing bootsnap 1.7.2 with native extensions
Fetching ffi 1.14.2
Installing ffi 1.14.2 with native extensions
Fetching sassc 2.4.0
Installing sassc 2.4.0 with native extensions
Fetching bootstrap-sass 3.4.1
Installing bootstrap-sass 3.4.1
Using bundler 2.2.8
Fetching mini_magick 4.11.0
Installing mini_magick 4.11.0
Fetching ruby-vips 2.0.17
Installing ruby-vips 2.0.17
Fetching image_processing 1.12.1
Installing image_processing 1.12.1
Fetching ssrf_filter 1.0.7
Installing ssrf_filter 1.0.7
Fetching carrierwave 2.1.1
Installing carrierwave 2.1.1
Fetching coffee-script-source 1.12.2
Installing coffee-script-source 1.12.2
Fetching coffee-script 2.4.1
Installing coffee-script 2.4.1
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching thor 1.1.0
Installing thor 1.1.0
Fetching railties 5.2.4.5
Installing railties 5.2.4.5
Fetching coffee-rails 4.2.2
Installing coffee-rails 4.2.2
Fetching hpricot 0.8.6
Installing hpricot 0.8.6 with native extensions
Fetching mime-types-data 3.2021.0212
Installing mime-types-data 3.2021.0212
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching jbuilder 2.11.2
Installing jbuilder 2.11.2
Fetching jquery-rails 4.4.0
Installing jquery-rails 4.4.0
Fetching kaminari-core 1.2.1
Installing kaminari-core 1.2.1
Fetching kaminari-actionview 1.2.1
Installing kaminari-actionview 1.2.1
Fetching kaminari-activerecord 1.2.1
Installing kaminari-activerecord 1.2.1
Fetching kaminari 1.2.1
Installing kaminari 1.2.1
Fetching optimist 3.0.1
Installing optimist 3.0.1
Fetching puma 3.12.6
Installing puma 3.12.6 with native extensions
Fetching rack-proxy 0.6.5
Installing rack-proxy 0.6.5
Fetching sprockets 3.7.2
Installing sprockets 3.7.2
Fetching sprockets-rails 3.2.2
Installing sprockets-rails 3.2.2
Fetching rails 5.2.4.5
Installing rails 5.2.4.5
Fetching rb-fsevent 0.10.4
Installing rb-fsevent 0.10.4
Fetching rb-inotify 0.10.1
Installing rb-inotify 0.10.1
Fetching sass-listen 4.0.0
Installing sass-listen 4.0.0
Fetching sass 3.7.4
Installing sass 3.7.4
Fetching tilt 2.0.10
Installing tilt 2.0.10
Fetching sass-rails 5.1.0
Installing sass-rails 5.1.0
Fetching semantic_range 2.3.1
Installing semantic_range 2.3.1
Fetching turbolinks-source 5.2.0
Installing turbolinks-source 5.2.0
Fetching turbolinks 5.2.1
Installing turbolinks 5.2.1
Fetching uglifier 4.2.0
Installing uglifier 4.2.0
Fetching webpacker 5.2.1
Installing webpacker 5.2.1
Bundle complete! 26 Gemfile dependencies, 83 gems now installed.
Gems in the groups test and development were not installed.
Bundled gems are installed into `./vender/bundle`
Post-install message from httparty:
When you HTTParty, you must party hard!
Post-install message from sass:
Ruby Sass has reached end-of-life and should no longer be used.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
https://sass-lang.com/blog/posts/7828841
2021/03/02 18:54:04.171802 [INFO] Running command /bin/sh -c rbenv rehash
2021/03/02 18:54:04.215695 [INFO] encountered a Gemfile.lock, setting proper permissions to user webapp
2021/03/02 18:54:04.220683 [INFO] Executing instruction: check default web server
2021/03/02 18:54:04.239340 [INFO] Executing instruction: check procfile
2021/03/02 18:54:04.239364 [INFO] detected Procfile in application source bundle ...
2021/03/02 18:54:04.239370 [INFO] Executing instruction: configure X-Ray
2021/03/02 18:54:04.239375 [INFO] X-Ray is not enabled.
2021/03/02 18:54:04.239380 [INFO] Executing instruction: Configure proxy Nginx
2021/03/02 18:54:04.239384 [INFO] configuring proxy...
2021/03/02 18:54:04.241768 [INFO] Copying file /opt/elasticbeanstalk/config/private/nginx/webapp.conf to /var/proxy/staging/nginx/conf.d/elasticbeanstalk/webapp.conf
2021/03/02 18:54:04.243854 [INFO] Copying file /opt/elasticbeanstalk/config/private/nginx/elasticbeanstalk-nginx-ruby-upstream.conf to /var/proxy/staging/nginx/conf.d/elasticbeanstalk-nginx-ruby-upstream.conf
2021/03/02 18:54:04.249475 [INFO] Running command /bin/sh -c cp -rp /var/app/staging/.platform/nginx/. /var/proxy/staging/nginx
2021/03/02 18:54:04.256893 [INFO] Executing instruction: configure healthd specific proxy conf
2021/03/02 18:54:04.258546 [INFO] Running command /bin/sh -c systemctl show -p PartOf healthd.service
2021/03/02 18:54:04.279252 [WARN] Warning: process healthd is already registered...
Deregistering the process ...
2021/03/02 18:54:04.279275 [INFO] Running command /bin/sh -c systemctl show -p PartOf healthd.service
2021/03/02 18:54:04.283501 [INFO] Running command /bin/sh -c systemctl is-active healthd.service
2021/03/02 18:54:04.286915 [INFO] Running command /bin/sh -c systemctl show -p PartOf healthd.service
2021/03/02 18:54:04.291030 [INFO] Running command /bin/sh -c systemctl stop healthd.service
2021/03/02 18:54:04.345171 [INFO] Running command /bin/sh -c systemctl disable healthd.service
2021/03/02 18:54:04.551873 [INFO] Running command /bin/sh -c systemctl daemon-reload
2021/03/02 18:54:04.641044 [INFO] Running command /bin/sh -c systemctl reset-failed
2021/03/02 18:54:04.648363 [INFO] Running command /bin/sh -c systemctl daemon-reload
2021/03/02 18:54:04.722450 [INFO] Running command /bin/sh -c systemctl reset-failed
2021/03/02 18:54:04.727795 [INFO] Running command /bin/sh -c systemctl is-enabled aws-eb.target
2021/03/02 18:54:04.732224 [INFO] Running command /bin/sh -c systemctl enable aws-eb.target
2021/03/02 18:54:04.809925 [INFO] Running command /bin/sh -c systemctl start aws-eb.target
2021/03/02 18:54:04.815878 [INFO] Running command /bin/sh -c systemctl enable healthd.service
2021/03/02 18:54:04.898523 [INFO] Running command /bin/sh -c systemctl show -p PartOf healthd.service
2021/03/02 18:54:04.907994 [INFO] Running command /bin/sh -c systemctl is-active healthd.service
2021/03/02 18:54:04.912185 [INFO] Running command /bin/sh -c systemctl start healthd.service
2021/03/02 18:54:04.941364 [INFO] Copying file /opt/elasticbeanstalk/config/private/healthd/healthd_logformat.conf to /var/proxy/staging/nginx/conf.d/healthd_logformat.conf
2021/03/02 18:54:04.943200 [INFO] Copying file /opt/elasticbeanstalk/config/private/healthd/healthd_nginx.conf to /var/proxy/staging/nginx/conf.d/elasticbeanstalk/healthd.conf
2021/03/02 18:54:04.944668 [INFO] Executing instruction: rake tasks
2021/03/02 18:54:04.944695 [INFO] Running command /bin/su webapp -c bundle exec /opt/elasticbeanstalk/config/private/checkforraketask.rb assets:precompile
2021/03/02 18:54:08.074334 [INFO] Found assets:precompile task in Rakefile
2021/03/02 18:54:08.074395 [INFO] Running command /bin/su webapp -c bundle exec rake assets:precompile
2021/03/02 18:54:26.134868 [INFO] Compiling...
Compilation failed:
yarn run v1.22.5
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command "webpack" not found.
2021/03/02 18:54:26.134894 [ERROR] An error occurred during execution of command [app-deploy] - [rake tasks]. Stop running the command. Error: running rake task assets:precompile failed with error command bundle exec rake assets:precompile failed with error Command /bin/su webapp -c bundle exec rake assets:precompile failed with error exit status 1. Stderr:I, [2021-03-02T18:54:13.256630 #27799] INFO -- : Writing /var/app/staging/public/assets/jquery-c731c20e2995c576b0509d3bd776f7ab64a66b95363a3b5fae9864299ee594ed.js
I, [2021-03-02T18:54:13.257089 #27799] INFO -- : Writing /var/app/staging/public/assets/jquery-c731c20e2995c576b0509d3bd776f7ab64a66b95363a3b5fae9864299ee594ed.js.gz
I, [2021-03-02T18:54:19.227675 #27799] INFO -- : Writing /var/app/staging/public/assets/application-c61a0a3315e4679603abc0db352e151c61fd98cfa97372857a5186156b295b67.js
I, [2021-03-02T18:54:19.228273 #27799] INFO -- : Writing /var/app/staging/public/assets/application-c61a0a3315e4679603abc0db352e151c61fd98cfa97372857a5186156b295b67.js.gz
I, [2021-03-02T18:54:24.901683 #27799] INFO -- : Writing /var/app/staging/public/assets/application-fea72c50671dca69b3229a01e4c014d4032caa4f8c13e64c5a91d1ecb61994b1.css
I, [2021-03-02T18:54:24.902247 #27799] INFO -- : Writing /var/app/staging/public/assets/application-fea72c50671dca69b3229a01e4c014d4032caa4f8c13e64c5a91d1ecb61994b1.css.gz
I, [2021-03-02T18:54:24.907033 #27799] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-13634da87d9e23f8c3ed9108ce1724d183a39ad072e73e1b3d8cbf646d2d0407.eot
I, [2021-03-02T18:54:24.907514 #27799] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-13634da87d9e23f8c3ed9108ce1724d183a39ad072e73e1b3d8cbf646d2d0407.eot.gz
I, [2021-03-02T18:54:24.908686 #27799] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-fe185d11a49676890d47bb783312a0cda5a44c4039214094e7957b4c040ef11c.woff2
I, [2021-03-02T18:54:24.910293 #27799] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-a26394f7ede100ca118eff2eda08596275a9839b959c226e15439557a5a80742.woff
I, [2021-03-02T18:54:24.911257 #27799] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-e395044093757d82afcb138957d06a1ea9361bdcf0b442d06a18a8051af57456.ttf
I, [2021-03-02T18:54:24.911641 #27799] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-e395044093757d82afcb138957d06a1ea9361bdcf0b442d06a18a8051af57456.ttf.gz
I, [2021-03-02T18:54:24.914972 #27799] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-42f60659d265c1a3c30f9fa42abcbb56bd4a53af4d83d316d6dd7a36903c43e5.svg
I, [2021-03-02T18:54:24.915217 #27799] INFO -- : Writing /var/app/staging/public/assets/bootstrap/glyphicons-halflings-regular-42f60659d265c1a3c30f9fa42abcbb56bd4a53af4d83d316d6dd7a36903c43e5.svg.gz
2021/03/02 18:54:26.134907 [INFO] Executing cleanup logic
2021/03/02 18:54:26.136926 [INFO] CommandService Response: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"Engine execution has encountered an error.","returncode":1,"events":[{"msg":"Instance deployment failed. For details, see 'eb-engine.log'.","timestamp":1614711266,"severity":"ERROR"}]}]}
2021/03/02 18:54:26.137122 [INFO] Platform Engine finished execution on command: app-deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment