Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-enable ARM builds #192

Closed
jmazzitelli opened this issue Aug 11, 2023 · 1 comment · Fixed by #234
Closed

re-enable ARM builds #192

jmazzitelli opened this issue Aug 11, 2023 · 1 comment · Fixed by #234
Assignees

Comments

@jmazzitelli
Copy link
Contributor

We are having problems building ARM images. So for now, we disabled building and publishing ARM images. See: #191

We will want to eventually bring back ARM support. We need to investigate why building ARM images causes the workflow to fail. Once we fix that, we can revert that change and build ARM images again.

To do this, we simply need to revert this commit: 6eb797b

jmazzitelli added a commit to jmazzitelli/openshift-servicemesh-plugin that referenced this issue Aug 15, 2023
@jmazzitelli
Copy link
Contributor Author

jmazzitelli commented Aug 15, 2023

Here is what the failure is, which caused us to turn off ARM support.

Building all 4 arches, including ARM, results in this log (looking at the GitHub Actions log output with everything filtered out that is not related to arm64 builds):

...
Status: Downloaded newer image for quay.io/kiali/binfmt:latest
2023/08/15 15:59:57 installing: ppc64le OK
2023/08/15 15:59:57 installing: riscv64 OK
2023/08/15 15:59:57 installing: arm64 OK
2023/08/15 15:59:57 installing: arm OK
2023/08/15 15:59:57 installing: s390x OK
{
  "supported": [
    "linux/amd64",
    "linux/arm64",
    "linux/riscv64",
    "linux/ppc64le",
    "linux/s390x",
    "linux/386",
    "linux/arm/v7",
    "linux/arm/v6"
  ],
  "emulators": [
    "cli",
    "llvm-10-runtime.binfmt",
    "llvm-11-runtime.binfmt",
    "llvm-12-runtime.binfmt",
    "python2.7",
    "python3.8",
    "qemu-aarch64",
    "qemu-arm",
    "qemu-ppc64le",
    "qemu-riscv64",
    "qemu-s390x"
  ]
}
Pushing OSSM Console plugin multi-arch image to quay.io/jmazzitelli/ossmconsole:latest using docker buildx
docker buildx build --build-arg VERSION_PLUGIN="v0.5.0-SNAPSHOT" --build-arg COMMIT_HASH="f94dfc14a873c76c4e80fd11d643331149b1205a" --push --pull --no-cache --builder=ossmconsole-builder --platform=linux/amd64 --platform=linux/arm64 --platform=linux/s390x --platform=linux/ppc64le --tag=quay.io/jmazzitelli/ossmconsole:latest -f /home/runner/work/openshift-servicemesh-plugin/openshift-servicemesh-plugin/plugin/Dockerfile /home/runner/work/openshift-servicemesh-plugin/openshift-servicemesh-plugin/plugin
#0 building with "ossmconsole-builder" instance using docker-container driver
...
#7 [linux/arm64 internal] load metadata for registry.access.redhat.com/ubi8/nginx-120:1-38.1655143357
#7 DONE 3.5s
...
#11 [linux/arm64 internal] load metadata for registry.access.redhat.com/ubi8/nodejs-16:latest
#11 DONE 3.5s
#12 [linux/arm64 stage-1 1/5] FROM registry.access.redhat.com/ubi8/nginx-120:1-38.1655143357@sha256:615e84ef6bd196a31f2e19e5a95cba8d0d8545fff7bbef0f7f22e291ef5bd197
#12 resolve registry.access.redhat.com/ubi8/nginx-120:1-38.1655143357@sha256:615e84ef6bd196a31f2e19e5a95cba8d0d8545fff7bbef0f7f22e291ef5bd197 0.1s done
#12 ...
...
#15 [linux/arm64 build 1/5] FROM registry.access.redhat.com/ubi8/nodejs-16@sha256:9979538b93d2c994e02251392f6813551100cf1b772ad151d1cf8a5e984b7f08
#15 resolve registry.access.redhat.com/ubi8/nodejs-16@sha256:9979538b93d2c994e02251392f6813551100cf1b772ad151d1cf8a5e984b7f08 0.1s done
#15 DONE 0.5s
...
#12 [linux/arm64 stage-1 1/5] FROM registry.access.redhat.com/ubi8/nginx-120:1-38.1655143357@sha256:615e84ef6bd196a31f2e19e5a95cba8d0d8545fff7bbef0f7f22e291ef5bd197
...
#12 [linux/arm64 stage-1 1/5] FROM registry.access.redhat.com/ubi8/nginx-120:1-38.1655143357@sha256:615e84ef6bd196a31f2e19e5a95cba8d0d8545fff7bbef0f7f22e291ef5bd197
...
#15 [linux/arm64 build 1/5] FROM registry.access.redhat.com/ubi8/nodejs-16@sha256:9979538b93d2c994e02251392f6813551100cf1b772ad151d1cf8a5e984b7f08
...
#15 [linux/arm64 build 1/5] FROM registry.access.redhat.com/ubi8/nodejs-16@sha256:9979538b93d2c994e02251392f6813551100cf1b772ad151d1cf8a5e984b7f08
...
#12 [linux/arm64 stage-1 1/5] FROM registry.access.redhat.com/ubi8/nginx-120:1-38.1655143357@sha256:615e84ef6bd196a31f2e19e5a95cba8d0d8545fff7bbef0f7f22e291ef5bd197
...
#12 [linux/arm64 stage-1 1/5] FROM registry.access.redhat.com/ubi8/nginx-120:1-38.1655143357@sha256:615e84ef6bd196a31f2e19e5a95cba8d0d8545fff7bbef0f7f22e291ef5bd197
#12 extracting sha256:c1ddcd7f6be533d87fded680297db55bfca9ab4b0626dbfa61e61c2a5156982e 13.8s done
#12 DONE 51.9s
...
#15 [linux/arm64 build 1/5] FROM registry.access.redhat.com/ubi8/nodejs-16@sha256:9979538b93d2c994e02251392f6813551100cf1b772ad151d1cf8a5e984b7f08
#15 extracting sha256:bae651968e5a1ef6e42c5a55a5cdb70e2ae69c980eb522dd4630bcd01a1a3fe6 25.2s done
#15 DONE 61.3s
#22 [linux/arm64 build 2/5] RUN command -v yarn || npm i -g yarn
#22 ...
...
#22 [linux/arm64 build 2/5] RUN command -v yarn || npm i -g yarn
#22 ...
...
#22 [linux/arm64 build 2/5] RUN command -v yarn || npm i -g yarn
#22 460.7 
#22 460.7 added 1 package, and audited 2 packages in 6m
#22 461.1 
#22 461.1 found 0 vulnerabilities
#22 461.3 npm notice 
#22 461.4 npm notice New major version of npm available! 8.19.4 -> 9.8.1
#22 461.4 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.1>
#22 461.4 npm notice Run `npm install -g npm@9.8.1` to update!
#22 461.6 npm notice 
#22 DONE 462.2s
#34 [linux/arm64 build 3/5] ADD . /usr/src/app
#34 DONE 0.6s
#35 [linux/arm64 build 4/5] WORKDIR /usr/src/app
#35 DONE 0.0s
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 ...
...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 120.6 yarn install v1.22.19
#36 185.3 [1/4] Resolving packages...
#36 ...
...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 593.1 [2/4] Fetching packages...
#36 ...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 ...
...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 1390.9 info There appears to be trouble with your network connection. Retrying...
#36 ...
...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 4078.6 info There appears to be trouble with your network connection. Retrying...
#36 4361.0 info There appears to be trouble with your network connection. Retrying...
#36 4415.2 info There appears to be trouble with your network connection. Retrying...
#36 6042.4 info There appears to be trouble with your network connection. Retrying...
#36 ...
...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 ...
...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 ...
...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 ...
...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 ...
...
#36 [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build
#36 7170.4 info There appears to be trouble with your network connection. Retrying...
#36 7883.5 info There appears to be trouble with your network connection. Retrying...
#36 8091.8 info There appears to be trouble with your network connection. Retrying...
#36 8354.0 info There appears to be trouble with your network connection. Retrying...
#36 8671.1 info There appears to be trouble with your network connection. Retrying...
#36 9100.0 info There appears to be trouble with your network connection. Retrying...
#36 9335.0 info There appears to be trouble with your network connection. Retrying...
#36 9814.9 info There appears to be trouble with your network connection. Retrying...
#36 10102.3 error An unexpected error occurred: "https://registry.yarnpkg.com/@patternfly/react-core/-/react-core-4.276.8.tgz: aborted".
#36 10102.3 info If you think this is a bug, please open a bug report with the information provided in "/usr/src/app/yarn-error.log".
#36 10102.3 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
#36 ERROR: executor failed running [/bin/sh -c yarn install --network-timeout 7200000 && yarn build]: exit code: 1
------
 > [linux/arm64 build 5/5] RUN yarn install --network-timeout 7200000 && yarn build:
7883.5 info There appears to be trouble with your network connection. Retrying...
8091.8 info There appears to be trouble with your network connection. Retrying...
8354.0 info There appears to be trouble with your network connection. Retrying...
8671.1 info There appears to be trouble with your network connection. Retrying...
9100.0 info There appears to be trouble with your network connection. Retrying...
9335.0 info There appears to be trouble with your network connection. Retrying...
9814.9 info There appears to be trouble with your network connection. Retrying...
10102.3 error An unexpected error occurred: "https://registry.yarnpkg.com/@patternfly/react-core/-/react-core-4.276.8.tgz: aborted".
10102.3 info If you think this is a bug, please open a bug report with the information provided in "/usr/src/app/yarn-error.log".
10102.3 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
Dockerfile:8
--------------------
   6 |     ADD . /usr/src/app
   7 |     WORKDIR /usr/src/app
   8 | >>> RUN yarn install --network-timeout 7200000 && yarn build
   9 |     
  10 |     FROM registry.access.redhat.com/ubi8/nginx-120:1-38.1655143357
--------------------
ERROR: failed to solve: executor failed running [/bin/sh -c yarn install --network-timeout 7200000 && yarn build]: exit code: 1
make: *** [make/Makefile.plugin.mk:87: build-push-plugin-multi-arch] Error 1
Error: Process completed with exit code 2.

jmazzitelli added a commit to jmazzitelli/openshift-servicemesh-plugin that referenced this issue Jan 9, 2024
jmazzitelli added a commit to jmazzitelli/openshift-servicemesh-plugin that referenced this issue Jan 9, 2024
@jmazzitelli jmazzitelli self-assigned this Jan 9, 2024
jmazzitelli added a commit that referenced this issue Jan 10, 2024
ferhoyos added a commit that referenced this issue Feb 9, 2024
* fix user guide URL (#219)

* Prepare for next version (#218)

* Release v1.76.0

* Prepare for next version

---------

Co-authored-by: kiali-bot <kiali-dev@googlegroups.com>

* commit the change to package.json (#220)

fixes: kiali/kiali#6807

* Prepare for next version (#222)

* Release v1.77.0

* Prepare for next version

---------

Co-authored-by: kiali-bot <kiali-dev@googlegroups.com>

* Prepare for next version (#227)

* Release v1.78.0

* Prepare for next version

---------

Co-authored-by: kiali-bot <kiali-dev@googlegroups.com>

* update of cypress and testing libraries

* updated  packages

* cypress init setup

* testing scenario to check suite is working

* cypress npm script + removed package

* changed naming convention

* Set local Openshift Console version (#232)

* Enable OSSMC plugin if no other plugins are installed in Openshift (#233)

* Ensure oc login before starting plugin console (#235)

* Ensure oc login before starting plugin console

* Use --directory option in make

Co-authored-by: John Mazzitelli <mazz@redhat.com>

---------

Co-authored-by: John Mazzitelli <mazz@redhat.com>

* authorization for OSSMC tests + initial smokes  (#230)

* update of cypress readme file

* login + smokes for OSSMC

* removed some boilerplate lines

* enabled chromeWebSecurity

* fixed readme and config baseurl

* fixed comment

* fixed variable name

* re-enable ARM builds (#234)

fixes: #192

* Cypress scenarios for setting up OSSM Console (#236)

* tests for setting up ossm console

* final touches for ossmc setup

* fixed typos

* Update hack/manage-ossmc.sh

Co-authored-by: John Mazzitelli <mazz@redhat.com>

* Update hack/manage-ossmc.sh

Co-authored-by: John Mazzitelli <mazz@redhat.com>

* Update hack/manage-ossmc.sh

Co-authored-by: John Mazzitelli <mazz@redhat.com>

---------

Co-authored-by: John Mazzitelli <mazz@redhat.com>

* Copy of Kiali frontend source code (#241)

Kiali frontend source originated from:
* git ref:    v1.73
* git commit: 05eecc1f81990aa38fa855aa400caf0398c5499a
* GitHub URL: https://github.com/kiali/kiali/tree/05eecc1f81990aa38fa855aa400caf0398c5499a/frontend/src

Signed-off-by: Fernando Hoyos <fhoyosle@redhat.com>

* OSSSMC sidebar tests (#242)

* adding cypress:run routine + uninstall

* added url for istio config

* extended smoke tests for kiali pages

* extended smoke tests for ossmc

* newlines

* fine tuning scripts

* review fixes

* Update plugin/cypress/e2e/featureFiles/navigation.feature

Co-authored-by: Fernando Hoyos <122779323+ferhoyos@users.noreply.github.com>

---------

Co-authored-by: Fernando Hoyos <122779323+ferhoyos@users.noreply.github.com>

* Prepare for next version (#243)

* Release v1.79.0

* Prepare for next version

---------

Co-authored-by: kiali-bot <kiali-dev@googlegroups.com>

* removed all mentions of kiali-bot (#238)

* Add error page when Istio Config List is not loaded correctly (#240)

* Add error page when Istio Config List is not loaded correctly

* Add default error message

* Update plugin/src/openshift/components/ErrorPage.tsx

Co-authored-by: Jay Shaughnessy <jshaughn@redhat.com>

---------

Co-authored-by: Jay Shaughnessy <jshaughn@redhat.com>

* Ossmc regression extended (#244)

* better naming conventions

* common steps refactoring

* workloads smoke testing

* newline

* Update plugin/cypress/e2e/featureFiles/workloads-deployments.feature

Co-authored-by: Fernando Hoyos <122779323+ferhoyos@users.noreply.github.com>

* Update plugin/cypress/e2e/featureFiles/workloads-deployments.feature

Co-authored-by: Fernando Hoyos <122779323+ferhoyos@users.noreply.github.com>

* Update plugin/cypress/e2e/workloads-deployments.ts

Co-authored-by: Fernando Hoyos <122779323+ferhoyos@users.noreply.github.com>

* Update plugin/cypress/e2e/workloads-deployments.ts

Co-authored-by: Fernando Hoyos <122779323+ferhoyos@users.noreply.github.com>

---------

Co-authored-by: Fernando Hoyos <122779323+ferhoyos@users.noreply.github.com>

* Generate Cypress XML report (#246)

* Generate Cypress XML report

* Modify prettier configuration to include cypress tests

* Rename to cypress:run:junit to align with kiali repo

* Update release github action (#247)

* exception handling (#248)

* create branch/tag of v1.73 based off of v1.76.
Keeping the versions the same as the server and operator makes
building all the components easier and more consistent.
This commit is just a fork of the v1.76 branch, and then
it changes the version strings so they show v1.73, but for all
intents and purposes, v1.73 is functionally equivalent to v1.76.

* we want to mimic the 1.73 z-stream from the other components (#221)

* Release version 1.73.4

---------

Signed-off-by: Fernando Hoyos <fhoyosle@redhat.com>
Co-authored-by: John Mazzitelli <mazz@redhat.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: kiali-bot <kiali-dev@googlegroups.com>
Co-authored-by: ScriptingShrimp <scriptingshrimp@protonmail.com>
Co-authored-by: Pavel Marek <86114326+ScriptingShrimp@users.noreply.github.com>
Co-authored-by: Tauqeer Ahmed <freelancingtwin@gmail.com>
Co-authored-by: Jay Shaughnessy <jshaughn@redhat.com>
Co-authored-by: Alberto Gutierrez <aljesusg@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant