Closed mvinkler closed 2 months ago
@mvinkler we need to update the expected number- https://github.com/openshift-knative/serverless-operator/blob/7d60f8643fcaf72e79e8301eef52694e8e06478a/test/servinge2e/verify_deploy_resources_test.go#L26
0s
{Failed === RUN TestKnConsoleCLIDownload
verify_deploy_resources_test.go:46: Failed to verify kn CCD, kn artifact "https://kn-openshift-serverless.apps.serverless-ocp-4-15-amd64-aws-us-east-1-mms7d.serverless.devcluster.openshift.com/kn-linux-arm64.tar.gz" size 19 less than 10MB
verify_deploy_resources_test.go:46: Failed to verify kn CCD, kn artifact "https://kn-openshift-serverless.apps.serverless-ocp-4-15-amd64-aws-us-east-1-mms7d.serverless.devcluster.openshift.com/kn-darwin-arm64.tar.gz" size 19 less than 10MB
--- FAIL: TestKnConsoleCLIDownload (0.12s)
}
/cherry-pick release-1.33
@pierDipi: once the present PR merges, I will cherry-pick it on top of release-1.33 in a new PR and assign it to you.
@dsimansk any idea why the Content-Length header returns 19 bytes for both arm downloads?
=== RUN TestKnConsoleCLIDownload
verify_deploy_resources_test.go:46: Failed to verify kn CCD, kn artifact "https://kn-openshift-serverless.apps.serverless-ocp-4-15-amd64-aws-us-east-1-mms7d.serverless.devcluster.openshift.com/kn-linux-arm64.tar.gz" size 19 less than 10MB
verify_deploy_resources_test.go:46: Failed to verify kn CCD, kn artifact "https://kn-openshift-serverless.apps.serverless-ocp-4-15-amd64-aws-us-east-1-mms7d.serverless.devcluster.openshift.com/kn-darwin-arm64.tar.gz" size 19 less than 10MB
@dsimansk any idea why the Content-Length header returns 19 bytes for both arm downloads?
=== RUN TestKnConsoleCLIDownload verify_deploy_resources_test.go:46: Failed to verify kn CCD, kn artifact "https://kn-openshift-serverless.apps.serverless-ocp-4-15-amd64-aws-us-east-1-mms7d.serverless.devcluster.openshift.com/kn-linux-arm64.tar.gz" size 19 less than 10MB verify_deploy_resources_test.go:46: Failed to verify kn CCD, kn artifact "https://kn-openshift-serverless.apps.serverless-ocp-4-15-amd64-aws-us-east-1-mms7d.serverless.devcluster.openshift.com/kn-darwin-arm64.tar.gz" size 19 less than 10MB
Well, midstream image doesn't have those archives enabled, or they are named differently.
We only have the following archives at the moment: https://github.com/openshift-knative/client/blob/main/openshift/ci-operator/knative-images/client/Dockerfile.cliartifacts
@mvinkler it should pass even the download test with changes made in midstream kn-cli-artifacts.
In addition we synced with @Kaustubh-pande on the naming scheme. In the cli image we will keep archive names with kn-macos-*
to keep it consistent.
Current structure in midstream image:
[root@c30a67b9bb13 kn]# ls -lR
.:
total 12
-rw-rw-r--. 1 root root 11357 May 13 19:22 LICENSE
drwxr-xr-x. 2 root root 35 May 13 19:39 linux_amd64
drwxr-xr-x. 2 root root 35 May 13 19:39 linux_arm64
drwxr-xr-x. 2 root root 37 May 13 19:39 linux_ppc64le
drwxr-xr-x. 2 root root 35 May 13 19:39 linux_s390x
drwxr-xr-x. 2 root root 35 May 13 19:39 macos_amd64
drwxr-xr-x. 2 root root 35 May 13 19:39 macos_arm64
drwxr-xr-x. 2 root root 34 May 13 19:39 windows
./linux_amd64:
total 47696
-rw-r--r--. 1 root root 48837246 May 13 19:38 kn-linux-amd64.tar.gz
./linux_arm64:
total 44480
-rw-r--r--. 1 root root 45546738 May 13 19:38 kn-linux-arm64.tar.gz
./linux_ppc64le:
total 44412
-rw-r--r--. 1 root root 45475797 May 13 19:38 kn-linux-ppc64le.tar.gz
./linux_s390x:
total 47040
-rw-r--r--. 1 root root 48165706 May 13 19:38 kn-linux-s390x.tar.gz
./macos_amd64:
total 47408
-rw-r--r--. 1 root root 48542499 May 13 19:38 kn-macos-amd64.tar.gz
./macos_arm64:
total 8
-rw-r--r--. 1 root root 4134 May 13 19:38 kn-macos-arm64.tar.gz
./windows:
total 48084
-rw-r--r--. 1 root root 49236005 May 13 19:39 kn-windows-amd64.zip
/approve /lgtm
For tests /hold /cherry-pick release-1.33
@dsimansk: once the present PR merges, I will cherry-pick it on top of release-1.33 in a new PR and assign it to you.
/retest
/lgtm /unhold
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dsimansk, mvinkler
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/retest-required
/retest-required
Remaining retests: 0 against base HEAD 9bbfebbce86aaef8404f437e51057fa6305f85a8 and 2 for PR HEAD 2c80806342b0142d06df4214dda41b97c21138d0 in total
/retest-required
Remaining retests: 0 against base HEAD 30d73a424586cf628ea287456f3709c65510017c and 1 for PR HEAD 2c80806342b0142d06df4214dda41b97c21138d0 in total
Pendig update on CI config side first: https://github.com/openshift/release/pull/51996
/retest-required
Remaining retests: 0 against base HEAD 2781e569c75b9080b005830c31841290d1337a38 and 0 for PR HEAD 2c80806342b0142d06df4214dda41b97c21138d0 in total
/hold
@mvinkler: The following test failed, say /retest
to rerun all failed tests or /retest-required
to rerun all mandatory failed tests:
Test name | Commit | Details | Required | Rerun command |
---|---|---|---|---|
ci/prow/415-upstream-e2e-kafka-aws-415 | 2c80806342b0142d06df4214dda41b97c21138d0 | link | false | /test 415-upstream-e2e-kafka-aws-415 |
Full PR test history. Your PR dashboard.
/test 415-operator-e2e-aws-415
/unhold
/retest-required
@pierDipi: new pull request created: #2662
Fixes JIRA SRVCOM-3099
Proposed Changes
:bug: fix - add missing links for arm64 kn to OCP Command Line Tools page