Description of problem:
As noted in RHIDP-8648, GH action https://github.com/redhat-developer/rhdh/blob/main/.github/workflows/next-build-image.yaml fails fairly consistently when pushing tags, sometimes for the release-1.7 branch, and every few days for the nightlies from main.
The last failure managed to complete the builder stage
RUN echo "=== EXPORT DYNAMIC PLUGINS ==="; FAILED=0; \ "$YARN" export-dynamic || true; \ for d in $(find . -name yarn-install.log); do \ (( FAILED = FAILED + 1 )); echo; echo $d; echo "======"; cat ${d}; \ done; \ if [[ $FAILED -gt 0 ]]; then exit $FAILED; fi RUN echo "=== YARN COPY DYNAMIC PLUGINS in $(pwd) ==="; "$YARN" copy-dynamic-plugins dist WORKDIR $CONTAINER_SOURCE
and crapped out before starting the cleanup stage:
# Stage 4 - Build the actual backend image and install production dependencies # Upstream only FROM skeleton AS cleanup
Failure log shows:
#[build 10/10] WORKDIR /opt/app-root/src #DONE 1.6s [33mwarnings found (use docker --debug to expand): [0m NoEmptyContinuationEmpty continuation line (line 50) SecretsUsedInArgOrEnvDo nouse ARG or ENV instructions for sensitive data (ENV "SEGMENT_WRITE_KEY") (line 273) ERRORfailed to buildfailed to receive statusrpc errorcode = Unavailable desc = error reading from serverEOF ##[group]Reference builder-53b3869b-bcc2-4eac-aace-3ab73521f467/builder-53b3869b-bcc2-4eac-aace-3ab73521f4670/luj3cpdmrh2hpsqi11x9xd1aw ##[endgroup] ##[group]Check build summary support Build summary supported! ##[endgroup] ##[error]buildx failed withERRORfailed to buildfailed to receive statusrpc errorcode = Unavailable desc = error reading from serverEOF Posjob cleanup. Posjob cleanup. ##[group]Generating build summary exporting build record to /home/runner/work/_temp/docker-actions-toolkit-Ys3e5e/export ##[warning]ERRORno record found for ref "luj3cpdmrh2hpsqi11x9xd1aw" ##[endgroup] ##[group]Removing temp folder /home/runner/work/_temp/docker-actions-toolkit-SGTCyY
Steps to Reproduce
- OPTION 1: push a commit to the release-1.7 branch and wait for the action to fire, or
- OPTION 2: to recreate a tag release: pull the tag, delete it locally, delete it on remote, recreate it locally, force push to remote
THEN - wait for action to trigger at https://github.com/redhat-developer/rhdh/actions/workflows/next-build-image.yaml
Expected results:
consistently passing builds, of course
Reproducibility: Intermittent
- blocks
-
RHIDP-8648 Tasks and tweaks for after 1.7.0.GA
-
- Closed
-
-
RHIDP-7970 Remove icon overrides in rhdh-local once RHDH 1.7 is live and they're no longer needed
-
- Closed
-
-
RHIDP-7978 update rhdh-local when branching/tagging
-
- Closed
-
- is related to
-
RHIDP-8270 set the same tag expiry for ALL floating tags (not just the first one published)
-
- Closed
-
- links to