Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1571832 - cakephp build failure PostCommitHookFailed
Summary: cakephp build failure PostCommitHookFailed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Build
Version: 3.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Stephen Cuppett
QA Contact: Wenjing Zheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-25 13:37 UTC by Vikas Laad
Modified: 2018-04-25 19:32 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-04-25 19:32:36 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Vikas Laad 2018-04-25 13:37:15 UTC
Description of problem:
All cakephp quickstart builds are failing with following error

cakephp-mysql-example-1   Source    Git@fcecfb9   Failed (PostCommitHookFailed)   6 minutes ago   1m13s    

Running post commit hook ...
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
sh: ./lib/Cake/Console/cake: No such file or directory
error: build error: container "openshift_s2i-build_cakephp-mysql-example-11_cakephp-mysql-u-183-67-250-94_post-commit_982bc813" returned non-zero exit code: 127
I0425 13:21:06.770674    2776 round_trippers.go:386] curl -k -v -XGET  -H "Accept: application/json, */*" -H "User-Agent: oc/v1.10.0+b81c8f8 (linux/amd64) kubernetes/b81c8f8" https://ip-172-31-51-34.us-west-2.compute.internal:8443/apis/build.openshift.io/v1/namespaces/cakephp-mysql-u-183-67-250-94/builds?fieldSelector=metadata.name%3Dcakephp-mysql-example-11
I0425 13:21:06.772550    2776 round_trippers.go:405] GET https://ip-172-31-51-34.us-west-2.compute.internal:8443/apis/build.openshift.io/v1/namespaces/cakephp-mysql-u-183-67-250-94/builds?fieldSelector=metadata.name%3Dcakephp-mysql-example-11 200 OK in 1 milliseconds
I0425 13:21:06.772570    2776 round_trippers.go:411] Response Headers:
I0425 13:21:06.772577    2776 round_trippers.go:414]     Date: Wed, 25 Apr 2018 13:21:06 GMT
I0425 13:21:06.772583    2776 round_trippers.go:414]     Cache-Control: no-store
I0425 13:21:06.772588    2776 round_trippers.go:414]     Content-Type: application/json
I0425 13:21:06.772593    2776 round_trippers.go:414]     Content-Length: 3557

Version-Release number of selected component (if applicable):
openshift v3.10.0-0.27.0
kubernetes v1.10.0+b81c8f8
etcd 3.2.16

How reproducible:
Always

Steps to Reproduce:
1. oc new-project test
2. oc new-app --template=cakephp-mysql-example
3. oc logs cakephp-mysql-example

Actual results:
Build fails

Expected results:
Build should complete fine.

Additional info:

Comment 1 Ben Parees 2018-04-25 13:49:51 UTC
This is one of the things that broke w/ the recent merges into the php-ex repo.

Comment 2 Ben Parees 2018-04-25 13:58:53 UTC
(I reverted the change here: https://github.com/sclorg/cakephp-ex/pull/95  please make sure this works properly before merging it again)

Comment 3 Stephen Cuppett 2018-04-25 18:46:59 UTC
Have submitted new PR:

https://github.com/sclorg/cakephp-ex/pull/96

Comment 4 Vikas Laad 2018-04-25 19:30:39 UTC
cakephp build works now.


Note You need to log in before you can comment on or make changes to this bug.