From 7f7ffabc8f61d5f6647d971fb03749fd0ed79553 Mon Sep 17 00:00:00 2001 From: Pasquale Congiusti Date: Thu, 4 Jan 2024 10:43:51 +0100 Subject: [PATCH] WIP --- .github/actions/e2e-native/action.yml | 32 ----------------------- .github/workflows/native.yml | 8 +++--- .github/workflows/nightly-native-test.yml | 2 +- e2e/native/native_binding_test.go | 6 +++++ e2e/native/native_test.go | 13 ++++++--- e2e/native/native_with_sources_test.go | 11 ++++---- go.mod | 7 +++++ go.sum | 21 +++++++++++++++ script/Makefile | 2 +- 9 files changed, 56 insertions(+), 46 deletions(-) diff --git a/.github/actions/e2e-native/action.yml b/.github/actions/e2e-native/action.yml index ba16564786..d2ca4ee3a9 100644 --- a/.github/actions/e2e-native/action.yml +++ b/.github/actions/e2e-native/action.yml @@ -45,20 +45,6 @@ runs: cluster-config-data: ${{ inputs.cluster-config-data }} cluster-kube-config-data: ${{ inputs.cluster-kube-config-data }} - # - # Try and ensure the cluster is in a vanilla state before - # starting in on an installation - # - - id: pre-clean-cluster - name: Pre Clean Cluster - uses: ./.github/actions/kamel-cleanup - if: ${{ always() }} - with: - catalog-source-name: ${{ steps.config-cluster.outputs.cluster-catalog-source-name }} - catalog-source-namespace: ${{ steps.config-cluster.outputs.cluster-catalog-source-namespace }} - image-namespace: ${{ steps.config-cluster.outputs.cluster-image-namespace }} - global-operator-namespace: ${{ steps.config-cluster.outputs.cluster-global-operator-namespace }} - - id: build-kamel name: Build Kamel uses: ./.github/actions/kamel-build @@ -78,24 +64,6 @@ runs: with: kube-admin-user-ctx: ${{ steps.config-cluster.outputs.cluster-kube-admin-user-ctx }} - - id: preflight-test - name: Preflight Check Test - uses: ./.github/actions/kamel-preflight-test - with: - catalog-source-name: ${{ steps.config-cluster.outputs.cluster-catalog-source-name }} - catalog-source-namespace: ${{ steps.config-cluster.outputs.cluster-catalog-source-namespace }} - image-namespace: ${{ steps.config-cluster.outputs.cluster-image-namespace }} - image-registry-host: ${{ steps.config-cluster.outputs.cluster-image-registry-pull-host }} - image-name: ${{ steps.build-kamel.outputs.build-binary-local-image-name }} - image-registry-insecure: ${{steps.config-cluster.outputs.cluster-image-registry-insecure }} - image-version: ${{ steps.build-kamel.outputs.build-binary-local-image-version }} - - - id: report-problematic - name: List Tests Marked As Problematic - uses: ./.github/actions/kamel-report-problematic - with: - test-suite: namespace/native - - id: run-it name: Run IT shell: bash diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml index a8d5151e36..30071a0faa 100644 --- a/.github/workflows/native.yml +++ b/.github/workflows/native.yml @@ -63,8 +63,8 @@ concurrency: jobs: higher-memory: - if: contains(github.event.pull_request.labels.*.name, 'trigger native test') - runs-on: macos-12 + # if: contains(github.event.pull_request.labels.*.name, 'trigger native test') + runs-on: macos-13 steps: - name: Checkout code @@ -88,8 +88,8 @@ jobs: high-memory: 'true' lower-memory: - if: contains(github.event.pull_request.labels.*.name, 'trigger native test') - runs-on: macos-12 + # if: contains(github.event.pull_request.labels.*.name, 'trigger native test') + runs-on: macos-13 steps: - name: Checkout code diff --git a/.github/workflows/nightly-native-test.yml b/.github/workflows/nightly-native-test.yml index 5dbe81aa1d..18a1f44d22 100644 --- a/.github/workflows/nightly-native-test.yml +++ b/.github/workflows/nightly-native-test.yml @@ -33,7 +33,7 @@ jobs: ref-branch: [main, release-2.1.x, release-2.2.x] if: github.repository == 'apache/camel-k' - runs-on: macos-12 + runs-on: macos-latest steps: - name: "Checkout code" uses: actions/checkout@v3 diff --git a/e2e/native/native_binding_test.go b/e2e/native/native_binding_test.go index 7c4148d36f..f8f2ff7eb2 100644 --- a/e2e/native/native_binding_test.go +++ b/e2e/native/native_binding_test.go @@ -23,14 +23,20 @@ limitations under the License. package native import ( + "fmt" . "github.com/apache/camel-k/v2/e2e/support" v1 "github.com/apache/camel-k/v2/pkg/apis/camel/v1" . "github.com/onsi/gomega" + "github.com/shirou/gopsutil/v3/mem" corev1 "k8s.io/api/core/v1" "testing" ) func TestNativeBinding(t *testing.T) { + v, _ := mem.VirtualMemory() + fmt.Println("************* Memory stats") + fmt.Printf("Total: %v, Free:%v, UsedPercent:%f%%\n", v.Total, v.Free, v.UsedPercent) + WithNewTestNamespace(t, func(ns string) { operatorID := "camel-k-native-binding" Expect(KamelInstallWithIDAndKameletCatalog(operatorID, ns, diff --git a/e2e/native/native_test.go b/e2e/native/native_test.go index cfbae0836a..f708c51b10 100644 --- a/e2e/native/native_test.go +++ b/e2e/native/native_test.go @@ -23,6 +23,7 @@ limitations under the License. package native import ( + "fmt" "testing" . "github.com/onsi/gomega" @@ -31,9 +32,14 @@ import ( . "github.com/apache/camel-k/v2/e2e/support" v1 "github.com/apache/camel-k/v2/pkg/apis/camel/v1" + "github.com/shirou/gopsutil/v3/mem" ) func TestNativeIntegrations(t *testing.T) { + v, _ := mem.VirtualMemory() + fmt.Println("************* Memory stats") + fmt.Printf("Total: %v, Free:%v, UsedPercent:%f%%\n", v.Total, v.Free, v.UsedPercent) + WithNewTestNamespace(t, func(ns string) { operatorID := "camel-k-quarkus-native" Expect(KamelInstallWithID(operatorID, ns, @@ -45,6 +51,10 @@ func TestNativeIntegrations(t *testing.T) { ).Execute()).To(Succeed()) Eventually(PlatformPhase(ns), TestTimeoutMedium).Should(Equal(v1.IntegrationPlatformPhaseReady)) + v, _ := mem.VirtualMemory() + fmt.Println("************* Memory stats") + fmt.Printf("Total: %v, Free:%v, UsedPercent:%f%%\n", v.Total, v.Free, v.UsedPercent) + t.Run("unsupported integration source language", func(t *testing.T) { name := RandomizedSuffixName("unsupported-js") Expect(KamelRunWithID(operatorID, ns, "files/JavaScript.js", "--name", name, @@ -63,7 +73,6 @@ func TestNativeIntegrations(t *testing.T) { name := RandomizedSuffixName("xml-native") Expect(KamelRunWithID(operatorID, ns, "files/Xml.xml", "--name", name, "-t", "quarkus.build-mode=native", - "-t", "builder.tasks-limit-memory=quarkus-native:6.5Gi", ).Execute()).To(Succeed()) Eventually(IntegrationPodPhase(ns, name), TestTimeoutVeryLong).Should(Equal(corev1.PodRunning)) @@ -85,7 +94,6 @@ func TestNativeIntegrations(t *testing.T) { Expect(KamelRunWithID(operatorID, ns, "files/yaml.yaml", "--name", name, "-t", "quarkus.build-mode=jvm", "-t", "quarkus.build-mode=native", - "-t", "builder.tasks-limit-memory=quarkus-native:6.5Gi", ).Execute()).To(Succeed()) // Check that two Kits are created with distinct layout @@ -137,7 +145,6 @@ func TestNativeIntegrations(t *testing.T) { name := RandomizedSuffixName("yaml-native-2") Expect(KamelRunWithID(operatorID, ns, "files/yaml2.yaml", "--name", name, "-t", "quarkus.build-mode=native", - "-t", "builder.tasks-limit-memory=quarkus-native:6.5Gi", ).Execute()).To(Succeed()) // This one should run quickly as it suppose to reuse an IntegrationKit diff --git a/e2e/native/native_with_sources_test.go b/e2e/native/native_with_sources_test.go index 0d5b39dcd7..8f721ae319 100644 --- a/e2e/native/native_with_sources_test.go +++ b/e2e/native/native_with_sources_test.go @@ -29,10 +29,15 @@ import ( . "github.com/apache/camel-k/v2/e2e/support" v1 "github.com/apache/camel-k/v2/pkg/apis/camel/v1" + "github.com/shirou/gopsutil/v3/mem" corev1 "k8s.io/api/core/v1" ) func TestNativeHighMemoryIntegrations(t *testing.T) { + v, _ := mem.VirtualMemory() + fmt.Println("************* Memory stats") + fmt.Printf("Total: %v, Free:%v, UsedPercent:%f%%\n", v.Total, v.Free, v.UsedPercent) + WithNewTestNamespace(t, func(ns string) { operatorID := "camel-k-quarkus-high-memory-native" Expect(KamelInstallWithID(operatorID, ns, @@ -40,7 +45,7 @@ func TestNativeHighMemoryIntegrations(t *testing.T) { "--maven-cli-option", "-V", "--maven-cli-option", "--no-transfer-progress", "--maven-cli-option", "-Dstyle.color=never", - "--maven-cli-option", "-Dquarkus.native.native-image-xmx=13g", + "--maven-cli-option", "-Dquarkus.native.native-image-xmx=12g", ).Execute()).To(Succeed()) Eventually(PlatformPhase(ns), TestTimeoutMedium).Should(Equal(v1.IntegrationPlatformPhaseReady)) @@ -65,7 +70,6 @@ func TestNativeHighMemoryIntegrations(t *testing.T) { name := javaNativeCloneName Expect(KamelRunWithID(operatorID, ns, "files/Java.java", "--name", name, "-t", "quarkus.build-mode=native", - "-t", "builder.tasks-limit-memory=quarkus-native:9.5Gi", ).Execute()).To(Succeed()) // This one should run quickly as it suppose to reuse an IntegrationKit @@ -82,7 +86,6 @@ func TestNativeHighMemoryIntegrations(t *testing.T) { name := javaNative2Name Expect(KamelRunWithID(operatorID, ns, "files/Java2.java", "--name", name, "-t", "quarkus.build-mode=native", - "-t", "builder.tasks-limit-memory=quarkus-native:9.5Gi", ).Execute()).To(Succeed()) Eventually(IntegrationPodPhase(ns, name), TestTimeoutVeryLong).Should(Equal(corev1.PodRunning)) @@ -102,7 +105,6 @@ func TestNativeHighMemoryIntegrations(t *testing.T) { name := RandomizedSuffixName("groovy-native") Expect(KamelRunWithID(operatorID, ns, "files/Groovy.groovy", "--name", name, "-t", "quarkus.build-mode=native", - "-t", "builder.tasks-limit-memory=quarkus-native:9.5Gi", ).Execute()).To(Succeed()) Eventually(IntegrationPodPhase(ns, name), TestTimeoutVeryLong).Should(Equal(corev1.PodRunning)) @@ -121,7 +123,6 @@ func TestNativeHighMemoryIntegrations(t *testing.T) { name := RandomizedSuffixName("kotlin-native") Expect(KamelRunWithID(operatorID, ns, "files/Kotlin.kts", "--name", name, "-t", "quarkus.build-mode=native", - "-t", "builder.tasks-limit-memory=quarkus-native:9.5Gi", ).Execute()).To(Succeed()) Eventually(IntegrationPodPhase(ns, name), TestTimeoutVeryLong).Should(Equal(corev1.PodRunning)) diff --git a/go.mod b/go.mod index 58f1a00720..943617ef0f 100644 --- a/go.mod +++ b/go.mod @@ -83,6 +83,7 @@ require ( github.com/go-kit/log v0.2.1 // indirect github.com/go-logfmt/logfmt v0.5.1 // indirect github.com/go-logr/zapr v1.2.4 // indirect + github.com/go-ole/go-ole v1.2.6 // indirect github.com/go-openapi/jsonpointer v0.19.6 // indirect github.com/go-openapi/jsonreference v0.20.1 // indirect github.com/go-openapi/swag v0.22.3 // indirect @@ -103,6 +104,7 @@ require ( github.com/kelseyhightower/envconfig v1.4.0 // indirect github.com/klauspost/compress v1.17.0 // indirect github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect + github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect github.com/mailru/easyjson v0.7.7 // indirect github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect @@ -115,6 +117,7 @@ require ( github.com/pelletier/go-toml/v2 v2.1.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect + github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect github.com/prometheus/procfs v0.11.1 // indirect github.com/prometheus/statsd_exporter v0.22.7 // indirect github.com/rickb777/date v1.13.0 // indirect @@ -122,11 +125,15 @@ require ( github.com/robfig/cron/v3 v3.0.1 // indirect github.com/sagikazarmark/locafero v0.4.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect + github.com/shirou/gopsutil/v3 v3.23.12 // indirect github.com/sourcegraph/conc v0.3.0 // indirect github.com/spf13/afero v1.11.0 // indirect github.com/spf13/cast v1.6.0 // indirect github.com/subosito/gotenv v1.6.0 // indirect + github.com/tklauser/go-sysconf v0.3.12 // indirect + github.com/tklauser/numcpus v0.6.1 // indirect github.com/vbatts/tar-split v0.11.3 // indirect + github.com/yusufpapurcu/wmi v1.2.3 // indirect go.opencensus.io v0.24.0 // indirect golang.org/x/crypto v0.17.0 // indirect golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect diff --git a/go.sum b/go.sum index 640b24765e..16d9e835f4 100644 --- a/go.sum +++ b/go.sum @@ -146,6 +146,8 @@ github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/zapr v1.2.4 h1:QHVo+6stLbfJmYGkQ7uGHUCu5hnAFAj6mDe6Ea0SeOo= github.com/go-logr/zapr v1.2.4/go.mod h1:FyHWQIzQORZ0QVE1BtVHv3cKtNLuXsbNLtpuhNapBOA= +github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= +github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= github.com/go-openapi/jsonreference v0.20.1 h1:FBLnyygC4/IZZr893oiomc9XaghoveYTrLC1F86HID8= @@ -205,6 +207,7 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= @@ -284,6 +287,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de h1:9TO3cAIGXtEhnIaL+V+BEER86oLrvS+kWobKpbJuye0= github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod h1:zAbeS9B/r2mtpb6U+EI2rYA5OAXxsYw6wTamcNW+zcE= +github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4= +github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= @@ -338,6 +343,8 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw= +github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g= github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.67.1 h1:u1Mw9irznvsBPxQxjUmCel1ufP3UgzA1CILj7/2tpNw= github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.67.1/go.mod h1:KZHvrby65G+rA4V/vMTUXDV22TI+GgLIrCigYClpjzk= @@ -392,6 +399,10 @@ github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6ke github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= +github.com/shirou/gopsutil/v3 v3.23.12 h1:z90NtUkp3bMtmICZKpC4+WaknU1eXtp5vtbQ11DgpE4= +github.com/shirou/gopsutil/v3 v3.23.12/go.mod h1:1FrWgea594Jp7qmjHUUPlJDTPgcsb9mGnXDxavtikzM= +github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ= +github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k= github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 h1:bUGsEnyNbVPw06Bs80sCeARAlK8lhwqGyi6UT8ymuGk= github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd h1:ug7PpSOB5RBPK1Kg6qskGBoP3Vnj/aNYFTznWvlkGo0= @@ -437,6 +448,10 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl github.com/stvp/go-udp-testing v0.0.0-20201019212854-469649b16807/go.mod h1:7jxmlfBCDBXRzr0eAQJ48XC1hBu1np4CS5+cHEYfwpc= github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= +github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU= +github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI= +github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk= +github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY= github.com/urfave/cli v1.22.12/go.mod h1:sSBEIC79qR6OvcmsD4U3KABeOTxDqQtdDnaFuUN30b8= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/vbatts/tar-split v0.11.3 h1:hLFqsOLQ1SsppQNTMpkpPXClLDfC2A3Zgy9OUU+RVck= @@ -449,6 +464,8 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yusufpapurcu/wmi v1.2.3 h1:E1ctvB7uKFMOJw3fdOW32DwGE9I7t++CRUEMKvFoFiw= +github.com/yusufpapurcu/wmi v1.2.3/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -594,6 +611,7 @@ golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -616,6 +634,7 @@ golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -629,6 +648,8 @@ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220708085239-5a0f0661e09d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220906165534-d0df966e6959/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= diff --git a/script/Makefile b/script/Makefile index 634b03152e..a26dbeafd8 100644 --- a/script/Makefile +++ b/script/Makefile @@ -349,7 +349,7 @@ test-telemetry: do-build # test-quarkus-native: do-build STAGING_RUNTIME_REPO="$(STAGING_RUNTIME_REPO)" \ - go test -timeout 180m -v ./e2e/native -tags=integration $(TEST_QUARKUS_RUN) $(GOTESTFMT) + go test -timeout 180m -v ./e2e/native/native_test.go ./e2e/native/native_test_support.go -tags=integration $(TEST_QUARKUS_RUN) $(GOTESTFMT) # # Quarkus native test which require a higher memory resources