Builds and publishes the O3 Frontend

Build: #2367 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
4 minutes
Agent
xindi.openmrs.org
Revision
fd431ff7c19a5ba3488625af521d2138aec950e8
Fixed in
#2369 (Manual run by Github Actions)
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

#20 72.51   consume-shared-module modules 420 bytes
#20 72.51     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#20 72.51     + 8 modules
#20 72.51
#20 72.51 LOG from InjectManifest
#20 72.51 <i> The service worker at service-worker.js will precache
#20 72.51 <i>         0 URLs, totaling 0 B.
#20 72.51
#20 72.51 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#20 72.51 This can impact web performance.
#20 72.51 Assets:
#20 72.51   85234d0fd564782d.js (963 KiB)
#20 72.51   084cd1459a6268df.js (952 KiB)
#20 72.51   openmrs.f29a30309a2b3bdd.css (2.92 MiB)
#20 72.51
#20 72.51 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#20 72.51 Entrypoints:
#20 72.51   main (2.99 MiB)
#20 72.51       openmrs.f29a30309a2b3bdd.css
#20 72.51       openmrs.ccfc892f3d5c4abe.js
#20 72.51 
#20 72.51
#20 72.51 webpack 5.99.9 compiled with 2 warnings in 64111 ms
#20 72.51 [openmrs] Build finished.
#20 DONE 72.8s

#21 [linux/amd64 dev 8/8] RUN if [ ! -f ./spa/index.html ]; then echo 'Build failed. Please check the logs above for details. This may have happened because of an update to a library that OpenMRS depends on.'; exit 1; fi
#21 DONE 0.3s

#22 [linux/arm64 stage-1 2/8] RUN apk update &&     apk upgrade &&     apk add --no-cache moreutils
#22 CACHED

#23 [linux/arm64 stage-1 3/8] RUN rm -rf /usr/share/nginx/html/*
#23 CACHED

#24 [linux/arm64 stage-1 4/8] COPY startup.sh /usr/local/bin/startup.sh
#24 CACHED

#25 [linux/arm64 stage-1 5/8] RUN chmod +x /usr/local/bin/startup.sh
#25 CACHED

#26 [linux/arm64 stage-1 6/8] COPY nginx.conf /etc/nginx/nginx.conf
#26 CACHED

#27 [linux/amd64 stage-1 2/8] RUN apk update &&     apk upgrade &&     apk add --no-cache moreutils
#27 CACHED

#28 [linux/amd64 stage-1 4/8] COPY startup.sh /usr/local/bin/startup.sh
#28 CACHED

#29 [linux/amd64 stage-1 3/8] RUN rm -rf /usr/share/nginx/html/*
#29 CACHED

#30 [linux/amd64 stage-1 5/8] RUN chmod +x /usr/local/bin/startup.sh
#30 CACHED

#31 [linux/amd64 stage-1 6/8] COPY nginx.conf /etc/nginx/nginx.conf
#31 CACHED

#32 [linux/amd64 stage-1 7/8] COPY --from=dev /app/spa /usr/share/nginx/html
#32 DONE 2.0s

#33 [linux/arm64 stage-1 7/8] COPY --from=dev /app/spa /usr/share/nginx/html
#33 DONE 2.0s

#34 [linux/amd64 stage-1 8/8] COPY config-core_demo.json /usr/share/nginx/html
#34 ...

#35 [linux/arm64 stage-1 8/8] COPY config-core_demo.json /usr/share/nginx/html
#35 DONE 0.2s

#34 [linux/amd64 stage-1 8/8] COPY config-core_demo.json /usr/share/nginx/html
#34 DONE 0.2s

#36 exporting to image
#36 exporting layers
#36 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64
#36 exporting layers 20.6s done
#36 exporting manifest sha256:56ca493c633e740f0c67f58538152f49dd07da35a2c2566cad21411b99ea2114 0.0s done
#36 exporting config sha256:d96c2a155ea89d6bf6e83e1facd4efa44c96a9f4852e625611e886a3208eb179 0.0s done
#36 exporting manifest sha256:0922b60df47e8e37bb37d988d7c723a873261746a69bb0ecea1988f7fe3f99a4 0.0s done
#36 exporting config sha256:44a05d0e67f6829bc0a4608fed1cb8260beb9841c6f78be9b728ba382409d3af 0.0s done
#36 exporting manifest list sha256:6edaca753a056b2f715f94628c2583615337aeba5bfd10d95bc12bd20d6d7b5c
#36 exporting manifest list sha256:6edaca753a056b2f715f94628c2583615337aeba5bfd10d95bc12bd20d6d7b5c 0.0s done
#36 pushing layers
#36 ...

#37 [auth] openmrs/openmrs-reference-application-3-frontend:pull,push token for registry-1.docker.io
#37 DONE 0.0s

#36 exporting to image
#36 pushing layers 4.2s done
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:6edaca753a056b2f715f94628c2583615337aeba5bfd10d95bc12bd20d6d7b5c
#36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:6edaca753a056b2f715f94628c2583615337aeba5bfd10d95bc12bd20d6d7b5c 2.0s done
#36 pushing layers 0.2s done
#36 ERROR: failed to push openmrs/openmrs-reference-application-3-frontend:dev3: unexpected status from HEAD request to https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/d9/d96c2a155ea89d6bf6e83e1facd4efa44c96a9f4852e625611e886a3208eb179/data?expires=1749041879&signature=W1%2FY9BnAQnW7fZ2eWWf0Bq3FOg4%3D&version=2: 301 Moved Permanently
------
> exporting to image:
------
error: failed to solve: failed to push openmrs/openmrs-reference-application-3-frontend:dev3: unexpected status from HEAD request to https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/d9/d96c2a155ea89d6bf6e83e1facd4efa44c96a9f4852e625611e886a3208eb179/data?expires=1749041879&signature=W1%2FY9BnAQnW7fZ2eWWf0Bq3FOg4%3D&version=2: 301 Moved Permanently