You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is broken on OCP 4.4 with the cakephp-mysql-example template.
oc new-app cakephp-mysql-example
Results in a failed build:
Caching blobs under "/var/cache/blobs".
Getting image source signatures
Copying blob sha256:cf5693de4d3cdd6f352978b87c8f89ead294eff44938598f57a91cf7a02417d2
Copying blob sha256:51e5fc867e86131512a2e505f2496ad29ae8bcc0f23edfe85a17d206bbcd473a
Copying blob sha256:63abcb3c00123e524cf21f49a099025395236c9c7e525d9ccaa0d8b42060a104
Copying blob sha256:fd542ee251592bb3ed566aa42ccf98987a5607b64823720d19d68ae382e48bb0
Copying blob sha256:23302e52b49d49a0a25da8ea870bc1973e7d51c9b306f3539cd397318bd8b0a5
Copying config sha256:cb8f49448d04e9a860a7aa4aa0a9b88e9b870ee41f883f226a4219726dcadf86
Writing manifest to image destination
Storing signatures
Generating dockerfile with builder image image-registry.openshift-image-registry.svc:5000/openshift/php@sha256:bbb9469731881762ab999ff8871378fc2852a11d7e5ad897e142bddde77f7b96
Replaced Dockerfile FROM image image-registry.openshift-image-registry.svc:5000/openshift/php@sha256:bbb9469731881762ab999ff8871378fc2852a11d7e5ad897e142bddde77f7b96
STEP 1: FROM image-registry.openshift-image-registry.svc:5000/openshift/php@sha256:bbb9469731881762ab999ff8871378fc2852a11d7e5ad897e142bddde77f7b96 AS appimage682d6b102aad4a40a5f1bb8fc7f4fd3e
STEP 2: LABEL "io.openshift.build.commit.author"="Honza Horak hhorak@redhat.com" "io.openshift.build.commit.date"="Tue Sep 1 14:17:04 2020 +0200" "io.openshift.build.commit.id"="377fe8f82054b6a458f9bd095e6814a2bc5107cc" "io.openshift.build.commit.ref"="master" "io.openshift.build.commit.message"="Merge pull request #117 from multi-arch/master" "io.openshift.build.source-location"="https://github.com/sclorg/cakephp-ex.git" "io.openshift.build.image"="image-registry.openshift-image-registry.svc:5000/openshift/php@sha256:bbb9469731881762ab999ff8871378fc2852a11d7e5ad897e142bddde77f7b96"
STEP 3: ENV OPENSHIFT_BUILD_NAME="cakephp-mysql-example-1" OPENSHIFT_BUILD_NAMESPACE="wk-test" OPENSHIFT_BUILD_SOURCE="https://github.com/sclorg/cakephp-ex.git" OPENSHIFT_BUILD_COMMIT="377fe8f82054b6a458f9bd095e6814a2bc5107cc" COMPOSER_MIRROR=""
STEP 4: USER root
STEP 5: COPY upload/scripts /tmp/scripts
STEP 6: COPY upload/src /tmp/src
STEP 7: RUN chown -R 1001:0 /tmp/scripts /tmp/src
STEP 8: USER 1001
STEP 9: RUN /tmp/scripts/assemble
---> Installing application source...
Found 'composer.json', installing dependencies using composer.phar...
Downloading https://getcomposer.org/installer, attempt 1/6
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 269k 100 269k 0 0 43306 0 0:00:06 0:00:06 --:--:-- 71385
All settings correct for using Composer
Downloading...
Composer (version 2.0.2) successfully installed to: /opt/app-root/src/composer.phar
Use it: php composer.phar
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 75 installs, 0 updates, 0 removals
unzip: cannot find or open /opt/app-root/src/vendor/composer/tmp-fc7f9eb7361541bb594e2ff88657c3fc.
This most likely is due to a custom installer plugin not handling the returned Promise from the downloader
See https://github.com/composer/installers/commit/5006d0c28730ade233a8f42ec31ac68fb1c5c9bb for an example fix
Failed to extract cakephp/bake: (9) unzip -qq '/opt/app-root/src/vendor/composer/tmp-19a7d2a42003babed2ef897c8485779f' -d '/opt/app-root/src/vendor/composer/9cb9bd5c'
unzip: cannot find or open /opt/app-root/src/vendor/composer/tmp-19a7d2a42003babed2ef897c8485779f.
This most likely is due to a custom installer plugin not handling the returned Promise from the downloader
See https://github.com/composer/installers/commit/5006d0c28730ade233a8f42ec31ac68fb1c5c9bb for an example fix
Failed to extract cakephp/debug_kit: (9) unzip -qq '/opt/app-root/src/vendor/composer/tmp-05ff61078876f81eb3772c6330400cc8' -d '/opt/app-root/src/vendor/composer/fb0137ed'
unzip: cannot find or open /opt/app-root/src/vendor/composer/tmp-05ff61078876f81eb3772c6330400cc8.
This most likely is due to a custom installer plugin not handling the returned Promise from the downloader
See https://github.com/composer/installers/commit/5006d0c28730ade233a8f42ec31ac68fb1c5c9bb for an example fix
Failed to extract cakephp/migrations: (9) unzip -qq '/opt/app-root/src/vendor/composer/tmp-1d34125ba94c774e50c803c3cbbf146c' -d '/opt/app-root/src/vendor/composer/99badf9e'
unzip: cannot find or open /opt/app-root/src/vendor/composer/tmp-1d34125ba94c774e50c803c3cbbf146c.
This most likely is due to a custom installer plugin not handling the returned Promise from the downloader
See https://github.com/composer/installers/commit/5006d0c28730ade233a8f42ec31ac68fb1c5c9bb for an example fix
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
Cake\Composer\Installer\PluginInstaller::postAutoloadDump
App\Console\Installer::postInstall
Created /opt/app-root/src/logs directory
Created /opt/app-root/src/tmp directory
Created /opt/app-root/src/tmp/cache directory
Created /opt/app-root/src/tmp/cache/models directory
Created /opt/app-root/src/tmp/cache/persistent directory
Created /opt/app-root/src/tmp/cache/views directory
Created /opt/app-root/src/tmp/sessions directory
Created /opt/app-root/src/tmp/tests directory
Permissions set on /opt/app-root/src/tmp/cache
Permissions set on /opt/app-root/src/tmp/cache/models
Permissions set on /opt/app-root/src/tmp/cache/persistent
Permissions set on /opt/app-root/src/tmp/cache/views
Permissions set on /opt/app-root/src/tmp/sessions
Permissions set on /opt/app-root/src/tmp/tests
Permissions set on /opt/app-root/src/tmp
Permissions set on /opt/app-root/src/logs
No Security.salt placeholder to replace.
=> sourcing 20-copy-config.sh ...
---> 19:58:00 Processing additional arbitrary httpd configuration provided by s2i ...
=> sourcing 00-documentroot.conf ...
=> sourcing 50-mpm-tuning.conf ...
=> sourcing 40-ssl-certs.sh ...
STEP 10: CMD /usr/libexec/s2i/run
time="2020-10-27T19:58:01Z" level=info msg="Image operating system mismatch: image uses "", expecting "linux""
time="2020-10-27T19:58:01Z" level=info msg="Image architecture mismatch: image uses "", expecting "amd64""
Getting image source signatures
Copying blob sha256:35b7a5c4e1b4a84fb05d9c6658572c2b7a9925a270e8f7860c0ae30671c0a57c
Copying blob sha256:eddcd8d2986daee57d8cd75add7ff3c998e668857847e0f2b3c3d3b7e02a3ab6
Copying blob sha256:f0f97bb39344256e639831d65c0c9db84aca2e9b0f1507f267b7cc128068fff0
Copying blob sha256:5a9c62a939b5a7eb752536378f00381f42c8cb293a026b29fa4a9384e56da6af
Copying blob sha256:50611d145dee0877e0e6adf7b92b41176df8d97a9283895f3c52aed4f73d1db0
Copying blob sha256:111407fd1482f03b0f5356ae75a317ae4e29817e0dff04cdc7aee2eb4b3fb77c
Copying config sha256:51a38eb9119ac42cd18c600109891d1f15e8a764a72db2cdab7f3f3d46238dda
Writing manifest to image destination
Storing signatures
--> 51a38eb9119
STEP 11: FROM 51a38eb9119ac42cd18c600109891d1f15e8a764a72db2cdab7f3f3d46238dda
STEP 12: RUN /bin/sh -ic './vendor/bin/phpunit'
sh: no job control in this shell
Exception: Plugin Migrations could not be found. in [/opt/app-root/src/vendor/cakephp/cakephp/src/Core/PluginCollection.php, line 127]
subprocess exited with status 244
subprocess exited with status 244
error: build error: error building at STEP "RUN /bin/sh -ic './vendor/bin/phpunit'": exit status 244
The text was updated successfully, but these errors were encountered:
@hhorak @bparees
This is broken on OCP 4.4 with the cakephp-mysql-example template.
oc new-app cakephp-mysql-example
Results in a failed build:
Caching blobs under "/var/cache/blobs".
Getting image source signatures
Copying blob sha256:cf5693de4d3cdd6f352978b87c8f89ead294eff44938598f57a91cf7a02417d2
Copying blob sha256:51e5fc867e86131512a2e505f2496ad29ae8bcc0f23edfe85a17d206bbcd473a
Copying blob sha256:63abcb3c00123e524cf21f49a099025395236c9c7e525d9ccaa0d8b42060a104
Copying blob sha256:fd542ee251592bb3ed566aa42ccf98987a5607b64823720d19d68ae382e48bb0
Copying blob sha256:23302e52b49d49a0a25da8ea870bc1973e7d51c9b306f3539cd397318bd8b0a5
Copying config sha256:cb8f49448d04e9a860a7aa4aa0a9b88e9b870ee41f883f226a4219726dcadf86
Writing manifest to image destination
Storing signatures
Generating dockerfile with builder image image-registry.openshift-image-registry.svc:5000/openshift/php@sha256:bbb9469731881762ab999ff8871378fc2852a11d7e5ad897e142bddde77f7b96
Replaced Dockerfile FROM image image-registry.openshift-image-registry.svc:5000/openshift/php@sha256:bbb9469731881762ab999ff8871378fc2852a11d7e5ad897e142bddde77f7b96
STEP 1: FROM image-registry.openshift-image-registry.svc:5000/openshift/php@sha256:bbb9469731881762ab999ff8871378fc2852a11d7e5ad897e142bddde77f7b96 AS appimage682d6b102aad4a40a5f1bb8fc7f4fd3e
STEP 2: LABEL "io.openshift.build.commit.author"="Honza Horak hhorak@redhat.com" "io.openshift.build.commit.date"="Tue Sep 1 14:17:04 2020 +0200" "io.openshift.build.commit.id"="377fe8f82054b6a458f9bd095e6814a2bc5107cc" "io.openshift.build.commit.ref"="master" "io.openshift.build.commit.message"="Merge pull request #117 from multi-arch/master" "io.openshift.build.source-location"="https://github.com/sclorg/cakephp-ex.git" "io.openshift.build.image"="image-registry.openshift-image-registry.svc:5000/openshift/php@sha256:bbb9469731881762ab999ff8871378fc2852a11d7e5ad897e142bddde77f7b96"
STEP 3: ENV OPENSHIFT_BUILD_NAME="cakephp-mysql-example-1" OPENSHIFT_BUILD_NAMESPACE="wk-test" OPENSHIFT_BUILD_SOURCE="https://github.com/sclorg/cakephp-ex.git" OPENSHIFT_BUILD_COMMIT="377fe8f82054b6a458f9bd095e6814a2bc5107cc" COMPOSER_MIRROR=""
STEP 4: USER root
STEP 5: COPY upload/scripts /tmp/scripts
STEP 6: COPY upload/src /tmp/src
STEP 7: RUN chown -R 1001:0 /tmp/scripts /tmp/src
STEP 8: USER 1001
STEP 9: RUN /tmp/scripts/assemble
---> Installing application source...
Found 'composer.json', installing dependencies using composer.phar...
Downloading https://getcomposer.org/installer, attempt 1/6
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 269k 100 269k 0 0 43306 0 0:00:06 0:00:06 --:--:-- 71385
All settings correct for using Composer
Downloading...
Composer (version 2.0.2) successfully installed to: /opt/app-root/src/composer.phar
Use it: php composer.phar
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 75 installs, 0 updates, 0 removals
Failed to extract wyrihaximus/twig-view: (9) unzip -qq '/opt/app-root/src/vendor/composer/tmp-fc7f9eb7361541bb594e2ff88657c3fc' -d '/opt/app-root/src/vendor/composer/e0cd247c'
unzip: cannot find or open /opt/app-root/src/vendor/composer/tmp-fc7f9eb7361541bb594e2ff88657c3fc.
unzip: cannot find or open /opt/app-root/src/vendor/composer/tmp-19a7d2a42003babed2ef897c8485779f.
unzip: cannot find or open /opt/app-root/src/vendor/composer/tmp-05ff61078876f81eb3772c6330400cc8.
unzip: cannot find or open /opt/app-root/src/vendor/composer/tmp-1d34125ba94c774e50c803c3cbbf146c.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
The text was updated successfully, but these errors were encountered: