adobe / aio-cli-plugin-asset-compute

Asset Compute Plugin for Adobe I/O Command Line Interface
Apache License 2.0
1 stars 7 forks source link

Assets-13716 - Resolve core-dump on start for ubuntu 22.04 containers (workaround) #88

Closed badvision closed 2 years ago

badvision commented 2 years ago

Description

Currently when action containers fail to start correctly there is little debug information available. Also, we have found that one issue currently is docker containers are core-dumping due to the default security profile interfering with Node.js on Ubuntu 22.04 when the host is 20.04

Fixes Assets-13716

Types of changes

Checklist:

adobe-bot commented 2 years ago
🎉 Sizewatcher congratulates on the size improvement 📉:

   🎉 git -77.3% (2.08 MB => 472 kB)
node_modules has no changes (458 MB)
Largest production node modules:
┌───────────────────────────────┬────────────┬────────┐
│ name │ children │ size │
├───────────────────────────────┼────────────┼────────┤
│ @adobe/asset-compute-devtool │ 0 │ 18.32M │
├───────────────────────────────┼────────────┼────────┤
│ request │ 0 │ 0.54M │
├───────────────────────────────┼────────────┼────────┤
│ @adobe/aio-lib-runtime │ 0 │ 0.48M │
├───────────────────────────────┼────────────┼────────┤
│ js-yaml │ 0 │ 0.28M │
├───────────────────────────────┼────────────┼────────┤
│ @oclif/config │ 0 │ 0.15M │
├───────────────────────────────┼────────────┼────────┤
│ @oclif/plugin-help │ 0 │ 0.10M │
├───────────────────────────────┼────────────┼────────┤
│ requestretry │ 0 │ 0.08M │
├───────────────────────────────┼────────────┼────────┤
│ @oclif/command │ 0 │ 0.06M │
├───────────────────────────────┼────────────┼────────┤
│ glob │ 0 │ 0.05M │
├───────────────────────────────┼────────────┼────────┤
│ @adobe/aio-cli-lib-app-config │ 0 │ 0.04M │
├───────────────────────────────┼────────────┼────────┤
│ + 7 modules │ │ │
├───────────────────────────────┼────────────┼────────┤
│ 17 modules │ 0 children │ 20.21M │
└───────────────────────────────┴────────────┴────────┘
npm_package +0.4% (28.3 kB => 28.4 kB)
Package contents:
📦  @adobe/aio-cli-plugin-asset-compute@2.0.3
=== Tarball Contents ===
3.2kB CODE_OF_CONDUCT.md
171B COPYRIGHT
11.3kB LICENSE
5.8kB README.md
846B bin/run
3.2kB oclif.manifest.json
2.5kB package.json
6.8kB src/base-command.js
1.8kB src/commands/asset-compute/devtool.js
1.0kB src/commands/asset-compute/index.js
7.7kB src/commands/asset-compute/run-worker.js
5.4kB src/commands/asset-compute/test-worker.js
3.1kB src/hooks/init.js
13.3kB src/lib/actionrunner.js
3.0kB src/lib/cloudfiles.js
1.3kB src/lib/mock-crt/CertificateAuthorityCertificate.pem
5.5kB src/lib/mockserver.js
4.7kB src/lib/testresults.js
21.2kB src/lib/testrunner.js
5.5kB src/lib/util.js
1.4kB src/lib/workerrunner.js
=== Tarball Details ===
name: @adobe/aio-cli-plugin-asset-compute
version: 2.0.3
filename: @adobe/aio-cli-plugin-asset-compute-2.0.3.tgz
package size: 28.4 kB
unpacked size: 108.8 kB
shasum: 731b8a335421b640bfcda38a68bb7f9b5aaa4401
integrity: sha512-1zATSy8I7GdW9[...]RJtlfEBYh12gw==
total files: 21

npm WARN This command requires you to be logged in to https://registry.npmjs.org/ (dry-run)
Publishing to https://registry.npmjs.org/ (dry-run)
Notes
- PR branch: `ASSETS-13716` @ a01abc1ff2c869ea96602b236cf195a27ca8a2b2 - Base branch: `master` - Sizewatcher v1.2.1 - Effective Configuration: ```yaml limits: fail: 100% warn: 30% ok: '-10%' report: githubComment: true githubStatus: false comparators: {} ```

codecov[bot] commented 2 years ago

Codecov Report

Merging #88 (a01abc1) into master (b8bb98d) will increase coverage by 0.03%. The diff coverage is 100.00%.

:exclamation: Current head a01abc1 differs from pull request most recent head 3c160ec. Consider uploading reports for the commit 3c160ec to get more accurate results

@@            Coverage Diff             @@
##           master      #88      +/-   ##
==========================================
+ Coverage   90.86%   90.89%   +0.03%     
==========================================
  Files          13       13              
  Lines         854      857       +3     
==========================================
+ Hits          776      779       +3     
  Misses         78       78              
Impacted Files Coverage Δ
src/lib/actionrunner.js 92.68% <100.00%> (+0.18%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

adobe-bot commented 2 years ago

:tada: This PR is included in version 3.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: