Pull request #1488 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lindseysimple for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 72d350f2483b97042997e4d5de4bcf3345622430+5a7d05295c20c4306666c126d05bdc304538796c (66fbd10eba55cb5db2ea3671a335554f86008e44) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1284925169030931403.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14153666946066393404.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1488/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1488/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3073248622080770324.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1488/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8043895618302849449.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9034513631722812910.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1488/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1488/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8447809872908648685.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2565 in /w/workspace/gexfoundry_device-sdk-go_PR-1488 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1488 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5a7d05295c20c4306666c126d05bdc304538796c into PR head commit 72d350f2483b97042997e4d5de4bcf3345622430 Merge succeeded, producing 72d350f2483b97042997e4d5de4bcf3345622430 Checking out Revision 72d350f2483b97042997e4d5de4bcf3345622430 (PR-1488) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1488/head:refs/remotes/origin/PR-1488 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72d350f2483b97042997e4d5de4bcf3345622430 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5a7d05295c20c4306666c126d05bdc304538796c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72d350f2483b97042997e4d5de4bcf3345622430 # timeout=10 Commit message: "feat: Replace gorilla/mux router with echo" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:38:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:38:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:38:34 ========================================================= 03:38:34 EdgeX Global Pipelines Version Info 03:38:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:38:34 ------------------- 03:38:34 stable info: 03:38:34 ------------------- 03:38:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:38:34 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:38:34 Message: update stable to v1.0.250 03:38:35 ------------------- 03:38:35 experimental info: 03:38:35 ------------------- 03:38:35 Commited By: **** collab-it+edgex@linuxfoundation.org 03:38:35 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:38:35 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:38:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:38:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:38:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:38:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:38:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1488 [Pipeline] echo 03:38:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1488 [Pipeline] echo 03:38:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1488 [Pipeline] echo 03:38:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72d350f2483b97042997e4d5de4bcf3345622430 [Pipeline] echo 03:38:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 72d350f [Pipeline] echo 03:38:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:38:37 provisioning config files... 03:38:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/config15304745461155604716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:38:37 ---> docker-login.sh 03:38:37 nexus3.edgexfoundry.org:10001 03:38:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:37 Configure a credential helper to remove this warning. See 03:38:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:37 03:38:37 Login Succeeded 03:38:37 nexus3.edgexfoundry.org:10002 03:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:38 Configure a credential helper to remove this warning. See 03:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:38 03:38:38 Login Succeeded 03:38:38 nexus3.edgexfoundry.org:10003 03:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:38 Configure a credential helper to remove this warning. See 03:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:38 03:38:38 Login Succeeded 03:38:38 nexus3.edgexfoundry.org:10004 03:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:38 Configure a credential helper to remove this warning. See 03:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:38 03:38:38 Login Succeeded 03:38:38 docker.io 03:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:38 Configure a credential helper to remove this warning. See 03:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:38 03:38:38 Login Succeeded 03:38:38 ---> docker-login.sh ends [Pipeline] } 03:38:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:38:39 + git rev-list -1 --merges 72d350f2483b97042997e4d5de4bcf3345622430~1..72d350f2483b97042997e4d5de4bcf3345622430 [Pipeline] echo 03:38:39 -----------> git rev-list -1 --merges 72d350f2483b97042997e4d5de4bcf3345622430~1..72d350f2483b97042997e4d5de4bcf3345622430 72d350f2483b97042997e4d5de4bcf3345622430 [false] [Pipeline] sh 03:38:39 + git log --format=format:%s -1 72d350f2483b97042997e4d5de4bcf3345622430 [Pipeline] echo 03:38:39 ========================================================= 03:38:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:38:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:38:40 + git log --format=format:%s -1 72d350f2483b97042997e4d5de4bcf3345622430 [Pipeline] echo 03:38:40 [semverPrep] GIT_COMMIT: 72d350f2483b97042997e4d5de4bcf3345622430, Commit Message: feat: Replace gorilla/mux router with echo [Pipeline] echo 03:38:40 [semverPrep] This is not a build commit. [Pipeline] sh 03:38:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:38:40 + grep -v github /etc/ssh/ssh_known_hosts 03:38:40 + [ -e /tmp/ssh_known_hosts ] 03:38:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:38:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:38:40 + sudo tee -a /etc/ssh/ssh_known_hosts 03:38:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:38:41 03:38:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:38:41 0.1.4: Pulling from edgex-devops/py-git-semver 03:38:41 b85a868b505f: Pulling fs layer 03:38:41 e2be974225ed: Pulling fs layer 03:38:41 339a4e72a1f5: Pulling fs layer 03:38:41 988bab9f4d93: Pulling fs layer 03:38:41 1469e6f7b9e6: Pulling fs layer 03:38:41 eaf3925da568: Pulling fs layer 03:38:41 bab4dde63d76: Pulling fs layer 03:38:41 bde34c3a00c8: Pulling fs layer 03:38:41 b352a97aabf1: Pulling fs layer 03:38:41 4872d77fe225: Pulling fs layer 03:38:41 5851b861e8e6: Pulling fs layer 03:38:41 988bab9f4d93: Waiting 03:38:41 eaf3925da568: Waiting 03:38:41 bab4dde63d76: Waiting 03:38:41 bde34c3a00c8: Waiting 03:38:41 b352a97aabf1: Waiting 03:38:41 4872d77fe225: Waiting 03:38:41 5851b861e8e6: Waiting 03:38:41 1469e6f7b9e6: Waiting 03:38:41 e2be974225ed: Verifying Checksum 03:38:41 e2be974225ed: Download complete 03:38:41 988bab9f4d93: Download complete 03:38:41 1469e6f7b9e6: Verifying Checksum 03:38:41 1469e6f7b9e6: Download complete 03:38:41 339a4e72a1f5: Verifying Checksum 03:38:41 339a4e72a1f5: Download complete 03:38:41 eaf3925da568: Verifying Checksum 03:38:41 eaf3925da568: Download complete 03:38:41 bde34c3a00c8: Download complete 03:38:41 b352a97aabf1: Download complete 03:38:41 4872d77fe225: Verifying Checksum 03:38:41 4872d77fe225: Download complete 03:38:41 5851b861e8e6: Verifying Checksum 03:38:41 5851b861e8e6: Download complete 03:38:41 b85a868b505f: Verifying Checksum 03:38:41 b85a868b505f: Download complete 03:38:42 bab4dde63d76: Verifying Checksum 03:38:42 bab4dde63d76: Download complete 03:38:43 b85a868b505f: Pull complete 03:38:43 e2be974225ed: Pull complete 03:38:44 339a4e72a1f5: Pull complete 03:38:44 988bab9f4d93: Pull complete 03:38:44 1469e6f7b9e6: Pull complete 03:38:44 eaf3925da568: Pull complete 03:38:46 bab4dde63d76: Pull complete 03:38:46 bde34c3a00c8: Pull complete 03:38:46 b352a97aabf1: Pull complete 03:38:46 4872d77fe225: Pull complete 03:38:46 5851b861e8e6: Pull complete 03:38:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:38:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:38:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:46 prd-ubuntu20.04-docker-8c-8g-2565 does not seem to be running inside a container 03:38:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:38:48 $ docker top 6d5cb439053dd4de4bfc9aabc4b3089a2b8a969d46a6d5b00e67e940547f182d -eo pid,comm 03:38:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:38:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:38:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:48 [ssh-agent] Looking for ssh-agent implementation... 03:38:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:48 $ docker exec 6d5cb439053dd4de4bfc9aabc4b3089a2b8a969d46a6d5b00e67e940547f182d ssh-agent 03:38:48 SSH_AUTH_SOCK=/tmp/ssh-67gyBcCOtNZ1/agent.32 03:38:48 SSH_AGENT_PID=38 03:38:48 Running ssh-add (command line suppressed) 03:38:48 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/private_key_14887689949344451950.key (/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/private_key_14887689949344451950.key) 03:38:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:49 + git tag --points-at HEAD [Pipeline] } 03:38:49 $ docker exec --env ******** --env ******** 6d5cb439053dd4de4bfc9aabc4b3089a2b8a969d46a6d5b00e67e940547f182d ssh-agent -k 03:38:49 unset SSH_AUTH_SOCK; 03:38:49 unset SSH_AGENT_PID; 03:38:49 echo Agent pid 38 killed; 03:38:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:38:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:49 [ssh-agent] Looking for ssh-agent implementation... 03:38:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:49 $ docker exec 6d5cb439053dd4de4bfc9aabc4b3089a2b8a969d46a6d5b00e67e940547f182d ssh-agent 03:38:49 SSH_AUTH_SOCK=/tmp/ssh-XXmLwXoZmsPq/agent.70 03:38:49 SSH_AGENT_PID=76 03:38:49 Running ssh-add (command line suppressed) 03:38:49 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/private_key_16769683518612180124.key (/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/private_key_16769683518612180124.key) 03:38:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:50 + git semver init 03:38:50 2023-07-31 03:38:50,439 [run_init] DEBUG init version:0.0.0 force:False 03:38:50 2023-07-31 03:38:50,439 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver 03:38:50 2023-07-31 03:38:50,440 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver 03:38:50 2023-07-31 03:38:50,440 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1488, universal_newlines=False, shell=None, istream=None) 03:38:51 2023-07-31 03:38:51,447 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488/.git/info/exclude 03:38:51 2023-07-31 03:38:51,449 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver/PR-1488 with force:False 03:38:51 2023-07-31 03:38:51,449 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver/PR-1488 03:38:51 2023-07-31 03:38:51,455 [execute] INFO git cat-file --batch-check 03:38:51 2023-07-31 03:38:51,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver, universal_newlines=False, shell=None, istream=) 03:38:51 2023-07-31 03:38:51,461 [execute] INFO git cat-file --batch 03:38:51 2023-07-31 03:38:51,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver, universal_newlines=False, shell=None, istream=) 03:38:51 2023-07-31 03:38:51,465 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver/PR-1488 03:38:51 0.0.0 [Pipeline] } 03:38:51 $ docker exec --env ******** --env ******** 6d5cb439053dd4de4bfc9aabc4b3089a2b8a969d46a6d5b00e67e940547f182d ssh-agent -k 03:38:51 unset SSH_AUTH_SOCK; 03:38:51 unset SSH_AGENT_PID; 03:38:51 echo Agent pid 76 killed; 03:38:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:38:52 + git semver [Pipeline] } 03:38:52 $ docker stop --time=1 6d5cb439053dd4de4bfc9aabc4b3089a2b8a969d46a6d5b00e67e940547f182d 03:38:53 $ docker rm -f --volumes 6d5cb439053dd4de4bfc9aabc4b3089a2b8a969d46a6d5b00e67e940547f182d [Pipeline] // withDockerContainer [Pipeline] sh 03:38:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:38:54 Stashed 1 file(s) [Pipeline] echo 03:38:54 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:38:55 provisioning config files... 03:38:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/config15426979641514395649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:38:55 ---> docker-login.sh 03:38:55 nexus3.edgexfoundry.org:10001 03:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:55 Configure a credential helper to remove this warning. See 03:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:55 03:38:55 Login Succeeded 03:38:55 nexus3.edgexfoundry.org:10002 03:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:55 Configure a credential helper to remove this warning. See 03:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:55 03:38:55 Login Succeeded 03:38:55 nexus3.edgexfoundry.org:10003 03:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:55 Configure a credential helper to remove this warning. See 03:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:55 03:38:55 Login Succeeded 03:38:55 nexus3.edgexfoundry.org:10004 03:38:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:55 Configure a credential helper to remove this warning. See 03:38:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:55 03:38:55 Login Succeeded 03:38:55 docker.io 03:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:56 Configure a credential helper to remove this warning. See 03:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:56 03:38:56 Login Succeeded 03:38:56 ---> docker-login.sh ends [Pipeline] } 03:38:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:38:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:38:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:38:56 ========================================================= 03:38:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:38:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:57 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:38:57 Sending build context to Docker daemon 11.05MB 03:38:57 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 03:38:57 Step 2/10 : FROM ${BASE} AS builder 03:38:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:38:57 4db1b89c0bd1: Pulling fs layer 03:38:57 6911f1a30b25: Pulling fs layer 03:38:57 e194b8c5c2a9: Pulling fs layer 03:38:57 6863d3e3a2b1: Pulling fs layer 03:38:57 ec0bb842ea78: Pulling fs layer 03:38:57 40a00589a448: Pulling fs layer 03:38:57 6c08303d61cc: Pulling fs layer 03:38:57 798269fcf238: Pulling fs layer 03:38:57 6c08303d61cc: Waiting 03:38:57 ec0bb842ea78: Waiting 03:38:57 798269fcf238: Waiting 03:38:57 40a00589a448: Waiting 03:38:57 6863d3e3a2b1: Waiting 03:38:57 6911f1a30b25: Verifying Checksum 03:38:57 6911f1a30b25: Download complete 03:38:57 6863d3e3a2b1: Verifying Checksum 03:38:57 6863d3e3a2b1: Download complete 03:38:57 ec0bb842ea78: Verifying Checksum 03:38:57 ec0bb842ea78: Download complete 03:38:57 4db1b89c0bd1: Verifying Checksum 03:38:57 4db1b89c0bd1: Download complete 03:38:57 40a00589a448: Verifying Checksum 03:38:57 40a00589a448: Download complete 03:38:57 4db1b89c0bd1: Pull complete 03:38:57 6911f1a30b25: Pull complete 03:38:57 e194b8c5c2a9: Verifying Checksum 03:38:57 e194b8c5c2a9: Download complete 03:38:58 798269fcf238: Verifying Checksum 03:38:58 798269fcf238: Download complete 03:38:58 6c08303d61cc: Verifying Checksum 03:38:58 6c08303d61cc: Download complete 03:39:01 e194b8c5c2a9: Pull complete 03:39:01 6863d3e3a2b1: Pull complete 03:39:01 ec0bb842ea78: Pull complete 03:39:01 40a00589a448: Pull complete 03:39:03 6c08303d61cc: Pull complete 03:39:04 798269fcf238: Pull complete 03:39:04 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:39:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:39:04 ---> ec979cd7f677 03:39:04 Step 3/10 : ARG MAKE=make build 03:39:06 ---> Running in 5973d89122f4 03:39:06 Removing intermediate container 5973d89122f4 03:39:06 ---> 045114232eae 03:39:06 Step 4/10 : WORKDIR /device-sdk-go 03:39:06 ---> Running in 53775cea2363 03:39:06 Removing intermediate container 53775cea2363 03:39:06 ---> eb56bb36c68f 03:39:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:39:06 ---> Running in b21b2226a7b0 03:39:06 Removing intermediate container b21b2226a7b0 03:39:06 ---> fa60585eb8c6 03:39:06 Step 6/10 : RUN apk add --update --no-cache make git 03:39:06 ---> Running in f8a1504c5200 03:39:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:39:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:39:08 OK: 265 MiB in 53 packages 03:39:08 Removing intermediate container f8a1504c5200 03:39:08 ---> 153c5e2fc3f1 03:39:08 Step 7/10 : COPY go.mod vendor* ./ 03:39:08 ---> a83b5589188a 03:39:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:39:08 ---> Running in 7384210319b7 03:39:09 Still waiting to schedule task 03:39:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:40:04 Removing intermediate container 7384210319b7 03:40:04 ---> 6ed77bf72c79 03:40:04 Step 9/10 : COPY . . 03:40:04 ---> 873557856892 03:40:04 Step 10/10 : RUN ${MAKE} 03:40:04 ---> Running in 6b0981510d2b 03:40:04 noop 03:40:04 Removing intermediate container 6b0981510d2b 03:40:04 ---> 4ba57ff8962a 03:40:04 Successfully built 4ba57ff8962a 03:40:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:05 + docker inspect -f . ci-base-image-x86_64 03:40:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:05 prd-ubuntu20.04-docker-8c-8g-2565 does not seem to be running inside a container 03:40:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:40:05 $ docker top 64367b5d0e06434bcb7a5f4fd142a90f21c6c9cc0f1564750b65eaf9b1622d6e -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:06 + go version 03:40:06 go version go1.20.6 linux/amd64 [Pipeline] } 03:40:06 $ docker stop --time=1 64367b5d0e06434bcb7a5f4fd142a90f21c6c9cc0f1564750b65eaf9b1622d6e 03:40:07 $ docker rm -f --volumes 64367b5d0e06434bcb7a5f4fd142a90f21c6c9cc0f1564750b65eaf9b1622d6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:08 + docker inspect -f . ci-base-image-x86_64 03:40:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:08 prd-ubuntu20.04-docker-8c-8g-2565 does not seem to be running inside a container 03:40:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:40:08 $ docker top 3a038f8951dec1ad38a7ca2ac398a781e6ddefcb82150d9c3c9fab7272eb14d6 -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1488 [Pipeline] fileExists [Pipeline] sh 03:40:09 + make test 03:40:09 go test -race -coverprofile=coverage.out ./... 03:40:15 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:40:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:40:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:40:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:40:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:40:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:40:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.068s coverage: 27.6% of statements 03:40:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 80.2% of statements 03:40:29 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http.test] 03:40:29 internal/controller/http/restrouter_test.go:60:35: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to NewRestController 03:40:29 internal/controller/http/restrouter_test.go:63:87: cannot use http.MethodPost (untyped string constant "POST") as []string value in argument to controller.AddRoute 03:40:29 internal/controller/http/restrouter_test.go:71:29: controller.router.Walk undefined (type *echo.Echo has no field or method Walk) 03:40:29 internal/controller/http/restrouter_test.go:108:34: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to NewRestController 03:40:29 internal/controller/http/restrouter_test.go:111:27: controller.router.Walk undefined (type *echo.Echo has no field or method Walk) 03:40:29 internal/controller/http/restrouter_test.go:119:35: not enough arguments in call to controller.AddRoute 03:40:29 have (string, func("net/http".ResponseWriter, *"net/http".Request)) 03:40:29 want (string, func("net/http".ResponseWriter, *"net/http".Request), []string, ...echo.MiddlewareFunc) 03:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.074s coverage: 86.0% of statements 03:40:30 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] 03:40:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:40:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:40:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:40:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.071s coverage: 14.3% of statements 03:40:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.322s coverage: 43.8% of statements 03:40:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.088s coverage: 68.5% of statements 03:40:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.137s coverage: 89.2% of statements 03:40:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.057s coverage: 5.5% of statements 03:40:33 FAIL 03:40:33 make: *** [Makefile:38: unittest] Error 1 [Pipeline] } 03:40:33 $ docker stop --time=1 3a038f8951dec1ad38a7ca2ac398a781e6ddefcb82150d9c3c9fab7272eb14d6 03:40:36 $ docker rm -f --volumes 3a038f8951dec1ad38a7ca2ac398a781e6ddefcb82150d9c3c9fab7272eb14d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:37 03:40:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:37 latest: Pulling from edgex-lftools-log-publisher 03:40:37 5eb5b503b376: Pulling fs layer 03:40:37 5c69ac0246d0: Pulling fs layer 03:40:37 ec43610c2a17: Pulling fs layer 03:40:37 3a2ae6a8a46f: Pulling fs layer 03:40:37 33b1e0a273af: Pulling fs layer 03:40:37 5d3b04190fa2: Pulling fs layer 03:40:37 2f39f015ded8: Pulling fs layer 03:40:37 3a2ae6a8a46f: Waiting 03:40:37 33b1e0a273af: Waiting 03:40:37 5d3b04190fa2: Waiting 03:40:37 2f39f015ded8: Waiting 03:40:37 5c69ac0246d0: Verifying Checksum 03:40:37 5c69ac0246d0: Download complete 03:40:37 3a2ae6a8a46f: Verifying Checksum 03:40:37 3a2ae6a8a46f: Download complete 03:40:37 ec43610c2a17: Verifying Checksum 03:40:37 ec43610c2a17: Download complete 03:40:37 33b1e0a273af: Verifying Checksum 03:40:37 33b1e0a273af: Download complete 03:40:37 5d3b04190fa2: Download complete 03:40:38 5eb5b503b376: Verifying Checksum 03:40:38 5eb5b503b376: Download complete 03:40:38 2f39f015ded8: Download complete 03:40:39 5eb5b503b376: Pull complete 03:40:39 5c69ac0246d0: Pull complete 03:40:39 ec43610c2a17: Pull complete 03:40:39 3a2ae6a8a46f: Pull complete 03:40:39 33b1e0a273af: Pull complete 03:40:40 5d3b04190fa2: Pull complete 03:40:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2566 in /w/workspace/gexfoundry_device-sdk-go_PR-1488 [Pipeline] { [Pipeline] ws 03:40:41 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:40:41 The recommended git tool is: git 03:40:44 2f39f015ded8: Pull complete 03:40:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:40:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:44 prd-ubuntu20.04-docker-8c-8g-2565 does not seem to be running inside a container 03:40:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:40:46 using credential edgex-jenkins-ssh 03:40:46 Cloning the remote Git repository 03:40:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:40:46 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:40:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:40:46 > git --version # timeout=10 03:40:47 $ docker top 111af976e3ad8ad97c38296b43b4d94693557d8cf7ca47680e6aafdea4de882e -eo pid,comm [Pipeline] { 03:40:46 > git --version # 'git version 2.25.1' 03:40:46 using GIT_SSH to set credentials SSH Credentials for GitHub 03:40:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] libraryResource [Pipeline] sh 03:40:47 ---> job-cost.sh 03:40:47 lf-activate-venv: SKIPPING 03:40:47 INFO: No Stack... 03:40:48 INFO: Retrieving Pricing Info for: v3-standard-8 03:40:48 INFO: Archiving Costs [Pipeline] sh 03:40:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:40:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:40:49 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives/cost.csv 03:40:49 + cut -d, -f6 [Pipeline] lock 03:40:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1488-1-stack-cost] 03:40:49 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1488-1-stack-cost] did not exist. Created. 03:40:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1488-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:40:49 + echo total: 0.2199999988079071 [Pipeline] stash 03:40:49 Stashed 1 file(s) [Pipeline] } 03:40:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1488-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:40:49 $ docker stop --time=1 111af976e3ad8ad97c38296b43b4d94693557d8cf7ca47680e6aafdea4de882e 03:40:49 Merging remotes/origin/main commit 5a7d05295c20c4306666c126d05bdc304538796c into PR head commit 72d350f2483b97042997e4d5de4bcf3345622430 03:40:49 Merge succeeded, producing 72d350f2483b97042997e4d5de4bcf3345622430 03:40:49 Checking out Revision 72d350f2483b97042997e4d5de4bcf3345622430 (PR-1488) 03:40:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:40:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:40:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:40:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1488/head:refs/remotes/origin/PR-1488 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:40:49 > git config core.sparsecheckout # timeout=10 03:40:49 > git checkout -f 72d350f2483b97042997e4d5de4bcf3345622430 # timeout=10 03:40:49 > git remote # timeout=10 03:40:49 > git config --get remote.origin.url # timeout=10 03:40:49 using GIT_SSH to set credentials SSH Credentials for GitHub 03:40:49 > git merge 5a7d05295c20c4306666c126d05bdc304538796c # timeout=10 03:40:49 > git rev-parse HEAD^{commit} # timeout=10 03:40:49 > git config core.sparsecheckout # timeout=10 03:40:49 > git checkout -f 72d350f2483b97042997e4d5de4bcf3345622430 # timeout=10 03:40:50 $ docker rm -f --volumes 111af976e3ad8ad97c38296b43b4d94693557d8cf7ca47680e6aafdea4de882e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:40:51 Failed in branch amd64 03:40:53 Commit message: "feat: Replace gorilla/mux router with echo" 03:40:53 > git --version # timeout=10 03:40:53 > git --version # 'git version 2.25.1' 03:40:53 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:40:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:40:54 % Total % Received % Xferd Average Speed Time Time Time Current 03:40:54 Dload Upload Total Spent Left Speed 03:40:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 03:40:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:40:55 + sudo tee /etc/docker/daemon.new 03:40:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:40:55 { 03:40:55 "registry-mirrors": [ 03:40:55 "https://nexus3.edgexfoundry.org:10001" 03:40:55 ], 03:40:55 "bip": "10.250.0.254/24", 03:40:55 "hosts": [ 03:40:55 "tcp://0.0.0.0:5555", 03:40:55 "unix:///var/run/docker.sock" 03:40:55 ], 03:40:55 "mtu": 1458, 03:40:55 "selinux-enabled": true, 03:40:55 "seccomp-profile": "/etc/docker/seccomp.json" 03:40:55 } [Pipeline] sh 03:40:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:40:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:41:14 provisioning config files... 03:41:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5082996044165880656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:41:14 ---> docker-login.sh 03:41:14 nexus3.edgexfoundry.org:10001 03:41:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:41:15 Configure a credential helper to remove this warning. See 03:41:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:41:15 03:41:15 Login Succeeded 03:41:15 nexus3.edgexfoundry.org:10002 03:41:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:41:16 Configure a credential helper to remove this warning. See 03:41:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:41:16 03:41:16 Login Succeeded 03:41:16 nexus3.edgexfoundry.org:10003 03:41:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:41:16 Configure a credential helper to remove this warning. See 03:41:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:41:16 03:41:16 Login Succeeded 03:41:16 nexus3.edgexfoundry.org:10004 03:41:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:41:16 Configure a credential helper to remove this warning. See 03:41:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:41:16 03:41:16 Login Succeeded 03:41:16 docker.io 03:41:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:41:17 Configure a credential helper to remove this warning. See 03:41:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:41:17 03:41:17 Login Succeeded 03:41:17 ---> docker-login.sh ends [Pipeline] } 03:41:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:41:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:41:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:41:17 ========================================================= 03:41:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:41:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:18 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:41:18 Sending build context to Docker daemon 5.916MB 03:41:18 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 03:41:18 Step 2/10 : FROM ${BASE} AS builder 03:41:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:41:18 edb6bdbacee9: Pulling fs layer 03:41:18 5f9638ab2659: Pulling fs layer 03:41:18 8d51d6327a98: Pulling fs layer 03:41:18 8b374f2dd631: Pulling fs layer 03:41:18 ec14aa9079de: Pulling fs layer 03:41:18 2f466654f4bb: Pulling fs layer 03:41:18 554e91adad29: Pulling fs layer 03:41:18 ec14aa9079de: Waiting 03:41:18 2f466654f4bb: Waiting 03:41:18 8b374f2dd631: Waiting 03:41:18 554e91adad29: Waiting 03:41:18 5f9638ab2659: Verifying Checksum 03:41:18 5f9638ab2659: Download complete 03:41:18 8b374f2dd631: Verifying Checksum 03:41:18 8b374f2dd631: Download complete 03:41:18 ec14aa9079de: Verifying Checksum 03:41:18 ec14aa9079de: Download complete 03:41:18 edb6bdbacee9: Verifying Checksum 03:41:19 edb6bdbacee9: Pull complete 03:41:20 554e91adad29: Verifying Checksum 03:41:20 554e91adad29: Download complete 03:41:20 5f9638ab2659: Pull complete 03:41:21 8d51d6327a98: Verifying Checksum 03:41:21 8d51d6327a98: Download complete 03:41:21 2f466654f4bb: Verifying Checksum 03:41:21 2f466654f4bb: Download complete 03:41:33 8d51d6327a98: Pull complete 03:41:33 8b374f2dd631: Pull complete 03:41:33 ec14aa9079de: Pull complete 03:41:38 2f466654f4bb: Pull complete 03:41:40 554e91adad29: Pull complete 03:41:40 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:41:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:41:41 ---> 1e15ea492957 03:41:41 Step 3/10 : ARG MAKE=make build 03:41:42 ---> Running in 6cb227eeee9f 03:41:42 Removing intermediate container 6cb227eeee9f 03:41:42 ---> 4fee8adbb1f2 03:41:42 Step 4/10 : WORKDIR /device-sdk-go 03:41:42 ---> Running in 06bb405dce3b 03:41:43 Removing intermediate container 06bb405dce3b 03:41:43 ---> 579f8765b7a9 03:41:43 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:41:43 ---> Running in 1651a0fdea04 03:41:43 Removing intermediate container 1651a0fdea04 03:41:43 ---> 5e48879acbef 03:41:43 Step 6/10 : RUN apk add --update --no-cache make git 03:41:43 ---> Running in a971856a0eab 03:41:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:41:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:41:46 OK: 263 MiB in 53 packages 03:41:46 Removing intermediate container a971856a0eab 03:41:46 ---> 12a284ef3d7a 03:41:46 Step 7/10 : COPY go.mod vendor* ./ 03:41:47 ---> 37f63683fe12 03:41:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:41:47 ---> Running in 82bcd2460dbe 03:42:55 Removing intermediate container 82bcd2460dbe 03:42:55 ---> 0ec52d28faa2 03:42:55 Step 9/10 : COPY . . 03:42:55 ---> 6124a84312c9 03:42:55 Step 10/10 : RUN ${MAKE} 03:42:55 ---> Running in 9eed7dd530d7 03:42:55 noop 03:42:55 Removing intermediate container 9eed7dd530d7 03:42:55 ---> 51432e34b6fc 03:42:55 Successfully built 51432e34b6fc 03:42:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:55 + docker inspect -f . ci-base-image-arm64 03:42:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:56 prd-ubuntu20.04-docker-arm64-4c-16g-2566 does not seem to be running inside a container 03:42:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:42:57 $ docker top 5950818576d727f7f445e31542dc6b72f84bb16bf958661e70fafee8331099e5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:42:58 + go version 03:42:58 go version go1.20.6 linux/arm64 [Pipeline] } 03:42:58 $ docker stop --time=1 5950818576d727f7f445e31542dc6b72f84bb16bf958661e70fafee8331099e5 03:42:59 $ docker rm -f --volumes 5950818576d727f7f445e31542dc6b72f84bb16bf958661e70fafee8331099e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:00 + docker inspect -f . ci-base-image-arm64 03:43:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:01 prd-ubuntu20.04-docker-arm64-4c-16g-2566 does not seem to be running inside a container 03:43:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:43:02 $ docker top 4918ab4910c748fd9ed759f52aace6b8699269ccde49b7648d8533ca340c4f67 -eo pid,comm [Pipeline] { [Pipeline] sh 03:43:02 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 03:43:03 + make test 03:43:03 go test -race -coverprofile=coverage.out ./... 03:43:42 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:45:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:45:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:45:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:45:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:45:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:45:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.208s coverage: 27.6% of statements 03:45:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.250s coverage: 80.2% of statements 03:46:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:46:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:46:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.342s coverage: 86.0% of statements 03:46:14 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http.test] 03:46:14 internal/controller/http/restrouter_test.go:60:35: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to NewRestController 03:46:14 internal/controller/http/restrouter_test.go:63:87: cannot use http.MethodPost (untyped string constant "POST") as []string value in argument to controller.AddRoute 03:46:14 internal/controller/http/restrouter_test.go:71:29: controller.router.Walk undefined (type *echo.Echo has no field or method Walk) 03:46:14 internal/controller/http/restrouter_test.go:108:34: cannot use r (variable of type *mux.Router) as *echo.Echo value in argument to NewRestController 03:46:14 internal/controller/http/restrouter_test.go:111:27: controller.router.Walk undefined (type *echo.Echo has no field or method Walk) 03:46:14 internal/controller/http/restrouter_test.go:119:35: not enough arguments in call to controller.AddRoute 03:46:14 have (string, func("net/http".ResponseWriter, *"net/http".Request)) 03:46:14 want (string, func("net/http".ResponseWriter, *"net/http".Request), []string, ...echo.MiddlewareFunc) 03:46:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:46:14 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] 03:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:46:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.241s coverage: 14.3% of statements 03:46:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.974s coverage: 43.8% of statements 03:46:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.357s coverage: 68.5% of statements 03:46:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.429s coverage: 89.2% of statements 03:46:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:46:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.228s coverage: 5.5% of statements 03:46:26 FAIL 03:46:27 make: *** [Makefile:38: unittest] Error 1 [Pipeline] } 03:46:27 $ docker stop --time=1 4918ab4910c748fd9ed759f52aace6b8699269ccde49b7648d8533ca340c4f67 03:46:29 $ docker rm -f --volumes 4918ab4910c748fd9ed759f52aace6b8699269ccde49b7648d8533ca340c4f67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:46:31 03:46:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:46:31 arm64: Pulling from edgex-lftools-log-publisher 03:46:31 8998bd30e6a1: Pulling fs layer 03:46:31 04944245beec: Pulling fs layer 03:46:31 699f458cf7ca: Pulling fs layer 03:46:31 765212b225bb: Pulling fs layer 03:46:31 f23df028b6ca: Pulling fs layer 03:46:31 d65c8cfc05b1: Pulling fs layer 03:46:31 2437ff75d9bd: Pulling fs layer 03:46:31 765212b225bb: Waiting 03:46:31 f23df028b6ca: Waiting 03:46:31 d65c8cfc05b1: Waiting 03:46:31 2437ff75d9bd: Waiting 03:46:31 04944245beec: Verifying Checksum 03:46:31 04944245beec: Download complete 03:46:31 765212b225bb: Verifying Checksum 03:46:31 765212b225bb: Download complete 03:46:32 f23df028b6ca: Verifying Checksum 03:46:32 f23df028b6ca: Download complete 03:46:32 d65c8cfc05b1: Verifying Checksum 03:46:32 d65c8cfc05b1: Download complete 03:46:32 699f458cf7ca: Verifying Checksum 03:46:32 699f458cf7ca: Download complete 03:46:32 8998bd30e6a1: Verifying Checksum 03:46:32 8998bd30e6a1: Download complete 03:46:34 2437ff75d9bd: Verifying Checksum 03:46:34 2437ff75d9bd: Download complete 03:46:36 8998bd30e6a1: Pull complete 03:46:36 04944245beec: Pull complete 03:46:38 699f458cf7ca: Pull complete 03:46:38 765212b225bb: Pull complete 03:46:39 f23df028b6ca: Pull complete 03:46:39 d65c8cfc05b1: Pull complete 03:46:54 2437ff75d9bd: Pull complete 03:46:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:46:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:46:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:54 prd-ubuntu20.04-docker-arm64-4c-16g-2566 does not seem to be running inside a container 03:46:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:46:57 $ docker top edaa4289e9bf6c61418c66adcbde13516feb686f48b1d93f866b798ae1bb96f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:46:58 ---> job-cost.sh 03:46:58 lf-activate-venv: SKIPPING 03:46:58 INFO: No Stack... 03:46:58 INFO: Retrieving Pricing Info for: v3-standard-4 03:46:59 INFO: Archiving Costs [Pipeline] sh 03:47:00 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 03:47:00 + cut -d, -f6 [Pipeline] lock 03:47:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1488-1-stack-cost] 03:47:00 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1488-1-stack-cost] did not exist. Created. 03:47:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1488-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:47:00 /w/workspace/device-sdk-go/1@tmp/durable-9f4b3902/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:47:01 + echo total: 0.10999999940395355 [Pipeline] stash 03:47:01 Warning: overwriting stash ‘stack-cost’ 03:47:01 Stashed 1 file(s) [Pipeline] } 03:47:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1488-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:47:01 $ docker stop --time=1 edaa4289e9bf6c61418c66adcbde13516feb686f48b1d93f866b798ae1bb96f5 03:47:03 $ docker rm -f --volumes edaa4289e9bf6c61418c66adcbde13516feb686f48b1d93f866b798ae1bb96f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:47:03 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:47:05 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives ] 03:47:05 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives 03:47:05 total 16 03:47:05 drwxr-xr-x 3 root root 4096 Jul 31 03:40 . 03:47:05 drwxrwxr-x 12 jenkins jenkins 4096 Jul 31 03:40 .. 03:47:05 drwxr-xr-x 2 root root 4096 Jul 31 03:40 cost 03:47:05 -rw-r--r-- 1 root root 86 Jul 31 03:40 cost.csv 03:47:05 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives 03:47:05 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives 03:47:05 total 16 03:47:05 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 03:40 . 03:47:05 drwxrwxr-x 12 jenkins jenkins 4096 Jul 31 03:40 .. 03:47:05 drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 03:40 cost 03:47:05 -rw-r--r-- 1 jenkins jenkins 86 Jul 31 03:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:47:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:47:06 ---> package-listing.sh 03:47:06 ++ facter osfamily 03:47:06 ++ tr '[:upper:]' '[:lower:]' 03:47:07 + OS_FAMILY=debian 03:47:07 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1488 03:47:07 + START_PACKAGES=/tmp/packages_start.txt 03:47:07 + END_PACKAGES=/tmp/packages_end.txt 03:47:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:47:07 + PACKAGES=/tmp/packages_start.txt 03:47:07 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1488 ']' 03:47:07 + PACKAGES=/tmp/packages_end.txt 03:47:07 + case "${OS_FAMILY}" in 03:47:07 + dpkg -l 03:47:07 + grep '^ii' 03:47:07 + '[' -f /tmp/packages_start.txt ']' 03:47:07 + '[' -f /tmp/packages_end.txt ']' 03:47:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:47:07 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1488 ']' 03:47:07 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives/ 03:47:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives/ [Pipeline] echo 03:47:07 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1488/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:47:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:47:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:08 prd-ubuntu20.04-docker-8c-8g-2565 does not seem to be running inside a container 03:47:08 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1488/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:47:08 $ docker top 1353b6fb5d26bab7982d48bd07a9bac4bb61e731c8b29d5da1b49610f4f2875b -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:08 + touch /tmp/pre-build-complete [Pipeline] sh 03:47:09 + mkdir -p /var/log/sysstat [Pipeline] sh 03:47:09 + ls /var/log/sa-host 03:47:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:47:09 provisioning config files... 03:47:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/config7475208116479467189tmp [Pipeline] { [Pipeline] echo 03:47:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:47:10 ---> create-netrc.sh [Pipeline] } 03:47:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:47:10 ---> python-tools-install.sh [Pipeline] echo 03:47:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:47:10 ---> sudo-logs.sh 03:47:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:47:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:47:11 ---> job-cost.sh 03:47:11 lf-activate-venv: SKIPPING 03:47:11 DEBUG: total: 0.2199999988079071 03:47:11 INFO: Retrieving Stack Cost... 03:47:11 INFO: Retrieving Pricing Info for: v3-standard-8 03:47:11 INFO: Archiving Costs [Pipeline] echo 03:47:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:47:12 ---> logs-deploy.sh 03:47:12 lf-activate-venv: SKIPPING 03:47:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1488/1 03:47:12 INFO: archiving workspace using pattern(s): 03:47:13 Archives upload complete. 03:47:13 INFO: archiving logs to Nexus 03:47:13 ---> uname -a: 03:47:13 Linux prd-ubuntu20-04-docker-8c-8g-2565 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 03:47:13 03:47:13 03:47:13 ---> lscpu: 03:47:13 Architecture: x86_64 03:47:13 CPU op-mode(s): 32-bit, 64-bit 03:47:13 Byte Order: Little Endian 03:47:13 Address sizes: 40 bits physical, 48 bits virtual 03:47:13 CPU(s): 8 03:47:13 On-line CPU(s) list: 0-7 03:47:13 Thread(s) per core: 1 03:47:13 Core(s) per socket: 1 03:47:13 Socket(s): 8 03:47:13 NUMA node(s): 1 03:47:13 Vendor ID: AuthenticAMD 03:47:13 CPU family: 23 03:47:13 Model: 49 03:47:13 Model name: AMD EPYC-Rome Processor 03:47:13 Stepping: 0 03:47:13 CPU MHz: 2799.998 03:47:13 BogoMIPS: 5599.99 03:47:13 Virtualization: AMD-V 03:47:13 Hypervisor vendor: KVM 03:47:13 Virtualization type: full 03:47:13 L1d cache: 256 KiB 03:47:13 L1i cache: 256 KiB 03:47:13 L2 cache: 4 MiB 03:47:13 L3 cache: 128 MiB 03:47:13 NUMA node0 CPU(s): 0-7 03:47:13 Vulnerability Itlb multihit: Not affected 03:47:13 Vulnerability L1tf: Not affected 03:47:13 Vulnerability Mds: Not affected 03:47:13 Vulnerability Meltdown: Not affected 03:47:13 Vulnerability Mmio stale data: Not affected 03:47:13 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:47:13 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:47:13 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:47:13 Vulnerability Srbds: Not affected 03:47:13 Vulnerability Tsx async abort: Not affected 03:47:13 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 03:47:13 03:47:13 03:47:13 ---> nproc: 03:47:13 8 03:47:13 03:47:13 03:47:13 ---> df -h: 03:47:13 Filesystem Size Used Avail Use% Mounted on 03:47:13 overlay 155G 12G 144G 8% / 03:47:13 tmpfs 64M 0 64M 0% /dev 03:47:13 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:47:13 shm 64M 0 64M 0% /dev/shm 03:47:13 /dev/vda1 155G 12G 144G 8% /facter-os 03:47:13 03:47:13 03:47:13 ---> sar -b -r -n DEV: 03:47:13 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2565) 07/31/23 _x86_64_ (8 CPU) 03:47:13 03:47:13 03:37:55 LINUX RESTART (8 CPU) 03:47:13 03:47:13 03:38:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:47:13 03:39:02 327.60 48.19 279.40 0.00 5435.09 168528.45 0.00 03:47:13 03:40:01 181.43 0.63 180.80 0.00 5.15 77713.72 0.00 03:47:13 03:41:01 66.62 0.25 66.37 0.00 25.46 26061.54 0.00 03:47:13 03:42:01 1.82 0.00 1.82 0.00 0.00 21.86 0.00 03:47:13 03:43:01 3.57 0.97 2.60 0.00 67.46 75.72 0.00 03:47:13 03:44:01 55.44 10.63 44.81 0.00 5109.28 8882.65 0.00 03:47:13 03:45:01 3.15 0.02 3.13 0.00 0.13 87.59 0.00 03:47:13 03:46:01 1.35 0.00 1.35 0.00 0.00 14.80 0.00 03:47:13 03:47:01 1.62 0.00 1.62 0.00 0.00 19.33 0.00 03:47:13 Average: 71.20 6.75 64.44 0.00 1184.65 31181.42 0.00 03:47:13 03:47:13 03:38:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:47:13 03:39:02 29283600 31568380 762424 2.32 71828 2485444 2057532 6.06 1018372 2230512 594580 03:47:13 03:40:01 28346396 31571012 741532 2.26 146084 3278832 1801204 5.31 1076432 3020112 592 03:47:13 03:41:01 27838820 31579092 730112 2.22 154276 3731536 1768624 5.21 1181824 3361420 360 03:47:13 03:42:01 27839228 31579596 729516 2.22 154332 3731540 1768624 5.21 1181600 3361424 8 03:47:13 03:43:01 27829056 31577148 731088 2.22 155912 3737092 1809152 5.33 1190332 3366924 688 03:47:13 03:44:01 27311712 31556752 725604 2.21 188720 4192748 1854196 5.46 1507432 3523872 28 03:47:13 03:45:01 27327064 31567212 715428 2.18 187312 4189508 1823236 5.37 1495812 3520672 8 03:47:13 03:46:01 27327504 31567784 714784 2.17 187404 4189508 1823236 5.37 1496104 3520668 8 03:47:13 03:47:01 27327284 31567812 714876 2.17 187500 4189516 1823236 5.37 1496028 3520812 8 03:47:13 Average: 27825629 31570532 729485 2.22 159263 3747303 1836560 5.41 1293771 3269602 66253 03:47:13 03:47:13 03:38:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:47:13 03:39:02 ens3 525.36 361.72 6768.35 102.97 0.00 0.00 0.00 0.00 03:47:13 03:39:02 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 03:47:13 03:39:02 docker0 7.63 7.52 0.70 78.23 0.00 0.00 0.00 0.00 03:47:13 03:40:01 ens3 466.47 299.61 2440.22 30.24 0.00 0.00 0.00 0.00 03:47:13 03:40:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:47:13 03:40:01 docker0 293.78 455.24 21.49 2431.36 0.00 0.00 0.00 0.00 03:47:13 03:41:01 ens3 130.11 78.19 2554.01 22.42 0.00 0.00 0.00 0.00 03:47:13 03:41:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 03:47:13 03:41:01 docker0 0.82 1.27 0.09 0.39 0.00 0.00 0.00 0.00 03:47:13 03:42:01 ens3 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:47:13 03:42:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:47:13 03:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:47:13 03:43:01 ens3 4.05 3.53 7.35 0.43 0.00 0.00 0.00 0.00 03:47:13 03:43:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 03:47:13 03:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:47:13 03:44:01 ens3 200.77 106.42 2916.58 7.25 0.00 0.00 0.00 0.00 03:47:13 03:44:01 lo 0.60 0.60 0.05 0.05 0.00 0.00 0.00 0.00 03:47:13 03:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:47:13 03:45:01 ens3 0.10 0.07 0.01 0.00 0.00 0.00 0.00 0.00 03:47:13 03:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:47:13 03:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:47:13 03:46:01 ens3 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:47:13 03:46:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 03:47:13 03:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:47:13 03:47:01 ens3 1.43 0.67 1.74 0.04 0.00 0.00 0.00 0.00 03:47:13 03:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:47:13 03:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:47:13 Average: ens3 147.02 94.11 1630.52 18.13 0.00 0.00 0.00 0.00 03:47:13 Average: lo 1.04 1.04 0.10 0.10 0.00 0.00 0.00 0.00 03:47:13 Average: docker0 33.10 50.82 2.44 274.93 0.00 0.00 0.00 0.00 03:47:13 03:47:13 03:47:13 ---> sar -P ALL: 03:47:13 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2565) 07/31/23 _x86_64_ (8 CPU) 03:47:13 03:47:13 03:37:55 LINUX RESTART (8 CPU) 03:47:13 03:47:13 03:38:01 CPU %user %nice %system %iowait %steal %idle 03:47:13 03:39:02 all 8.80 0.00 3.06 1.67 0.06 86.42 03:47:13 03:39:02 0 8.57 0.00 2.30 0.39 0.05 88.69 03:47:13 03:39:02 1 8.44 0.00 2.34 1.02 0.07 88.13 03:47:13 03:39:02 2 9.49 0.00 3.50 0.37 0.05 86.58 03:47:13 03:39:02 3 8.38 0.00 3.80 1.90 0.05 85.88 03:47:13 03:39:02 4 10.62 0.00 2.84 0.50 0.05 85.99 03:47:13 03:39:02 5 7.80 0.00 2.62 3.31 0.05 86.21 03:47:13 03:39:02 6 9.43 0.00 3.72 5.56 0.07 81.22 03:47:13 03:39:02 7 7.63 0.00 3.37 0.27 0.08 88.64 03:47:13 03:40:01 all 5.37 0.00 2.63 1.40 0.04 90.55 03:47:13 03:40:01 0 5.84 0.00 2.30 0.73 0.05 91.08 03:47:13 03:40:01 1 5.45 0.00 2.46 0.09 0.03 91.96 03:47:13 03:40:01 2 6.24 0.00 4.10 6.58 0.07 83.00 03:47:13 03:40:01 3 5.61 0.00 2.11 0.27 0.05 91.96 03:47:13 03:40:01 4 5.95 0.00 2.13 0.09 0.03 91.80 03:47:13 03:40:01 5 5.30 0.00 2.86 0.56 0.03 91.24 03:47:13 03:40:01 6 3.79 0.00 2.29 2.80 0.02 91.11 03:47:13 03:40:01 7 4.81 0.00 2.76 0.09 0.07 92.27 03:47:13 03:41:01 all 22.35 0.00 3.89 0.86 0.06 72.84 03:47:13 03:41:01 0 22.32 0.00 3.86 0.40 0.05 73.36 03:47:13 03:41:01 1 22.34 0.00 3.80 0.03 0.07 73.76 03:47:13 03:41:01 2 21.99 0.00 4.05 0.52 0.05 73.39 03:47:13 03:41:01 3 21.68 0.00 4.42 5.37 0.07 68.47 03:47:13 03:41:01 4 21.82 0.00 3.55 0.03 0.05 74.55 03:47:13 03:41:01 5 23.33 0.00 3.55 0.05 0.07 73.00 03:47:13 03:41:01 6 23.26 0.00 3.58 0.00 0.05 73.11 03:47:13 03:41:01 7 22.06 0.00 4.29 0.52 0.05 73.08 03:47:13 03:42:01 all 0.01 0.00 0.00 0.00 0.01 99.97 03:47:13 03:42:01 0 0.00 0.00 0.00 0.00 0.00 100.00 03:47:13 03:42:01 1 0.02 0.00 0.00 0.00 0.00 99.98 03:47:13 03:42:01 2 0.00 0.00 0.00 0.00 0.03 99.97 03:47:13 03:42:01 3 0.02 0.00 0.00 0.03 0.02 99.93 03:47:13 03:42:01 4 0.00 0.00 0.00 0.00 0.02 99.98 03:47:13 03:42:01 5 0.02 0.00 0.03 0.00 0.00 99.95 03:47:13 03:42:01 6 0.00 0.00 0.00 0.00 0.02 99.98 03:47:13 03:42:01 7 0.03 0.00 0.00 0.00 0.02 99.95 03:47:13 03:43:01 all 0.08 0.00 0.06 0.02 0.01 99.84 03:47:13 03:43:01 0 0.03 0.00 0.03 0.00 0.02 99.92 03:47:13 03:43:01 1 0.13 0.00 0.03 0.00 0.02 99.82 03:47:13 03:43:01 2 0.13 0.00 0.08 0.02 0.02 99.75 03:47:13 03:43:01 3 0.02 0.00 0.02 0.08 0.00 99.88 03:47:13 03:43:01 4 0.05 0.00 0.03 0.00 0.00 99.92 03:47:13 03:43:01 5 0.03 0.00 0.03 0.00 0.02 99.92 03:47:13 03:43:01 6 0.10 0.00 0.22 0.02 0.00 99.67 03:47:13 03:43:01 7 0.10 0.00 0.03 0.02 0.00 99.85 03:47:13 03:44:01 all 2.29 0.00 1.41 0.45 0.03 95.82 03:47:13 03:44:01 0 2.89 0.00 2.42 0.12 0.02 94.56 03:47:13 03:44:01 1 2.26 0.00 0.87 0.20 0.03 96.63 03:47:13 03:44:01 2 1.85 0.00 1.02 0.20 0.03 96.89 03:47:13 03:44:01 3 1.79 0.00 1.20 1.30 0.03 95.67 03:47:13 03:44:01 4 3.39 0.00 1.17 1.10 0.03 94.30 03:47:13 03:44:01 5 2.34 0.00 2.69 0.22 0.02 94.73 03:47:13 03:44:01 6 1.25 0.00 1.07 0.02 0.02 97.64 03:47:13 03:44:01 7 2.55 0.00 0.82 0.44 0.03 96.16 03:47:13 03:45:01 all 0.08 0.00 0.05 0.02 0.01 99.84 03:47:13 03:45:01 0 0.22 0.00 0.08 0.07 0.00 99.63 03:47:13 03:45:01 1 0.15 0.00 0.07 0.00 0.03 99.75 03:47:13 03:45:01 2 0.07 0.00 0.05 0.00 0.00 99.88 03:47:13 03:45:01 3 0.03 0.00 0.03 0.08 0.02 99.83 03:47:13 03:45:01 4 0.03 0.00 0.03 0.00 0.00 99.93 03:47:13 03:45:01 5 0.03 0.00 0.07 0.00 0.02 99.88 03:47:13 03:45:01 6 0.05 0.00 0.03 0.00 0.02 99.90 03:47:13 03:45:01 7 0.03 0.00 0.03 0.00 0.00 99.93 03:47:13 03:46:01 all 0.05 0.00 0.01 0.01 0.01 99.92 03:47:13 03:46:01 0 0.00 0.00 0.00 0.00 0.00 100.00 03:47:13 03:46:01 1 0.02 0.00 0.00 0.00 0.02 99.97 03:47:13 03:46:01 2 0.10 0.00 0.02 0.00 0.02 99.87 03:47:13 03:46:01 3 0.03 0.00 0.00 0.08 0.00 99.88 03:47:13 03:46:01 4 0.00 0.00 0.00 0.00 0.00 100.00 03:47:13 03:46:01 5 0.28 0.00 0.02 0.00 0.02 99.68 03:47:13 03:46:01 6 0.00 0.00 0.00 0.00 0.00 100.00 03:47:13 03:46:01 7 0.00 0.00 0.02 0.00 0.00 99.98 03:47:13 03:47:01 all 0.03 0.00 0.01 0.00 0.01 99.94 03:47:13 03:47:01 0 0.02 0.00 0.00 0.00 0.02 99.97 03:47:13 03:47:01 1 0.05 0.00 0.02 0.00 0.00 99.93 03:47:13 03:47:01 2 0.03 0.00 0.02 0.00 0.03 99.92 03:47:13 03:47:01 3 0.03 0.00 0.02 0.03 0.02 99.90 03:47:13 03:47:01 4 0.00 0.00 0.00 0.00 0.00 100.00 03:47:13 03:47:01 5 0.05 0.00 0.02 0.00 0.02 99.92 03:47:13 03:47:01 6 0.03 0.00 0.02 0.00 0.00 99.95 03:47:13 03:47:01 7 0.05 0.00 0.03 0.00 0.00 99.92 03:47:13 Average: all 4.32 0.00 1.23 0.49 0.03 93.94 03:47:13 Average: 0 4.41 0.00 1.22 0.19 0.02 94.16 03:47:13 Average: 1 4.31 0.00 1.06 0.15 0.03 94.46 03:47:13 Average: 2 4.41 0.00 1.41 0.84 0.03 93.30 03:47:13 Average: 3 4.14 0.00 1.28 1.01 0.03 93.54 03:47:13 Average: 4 4.63 0.00 1.08 0.19 0.02 94.08 03:47:13 Average: 5 4.33 0.00 1.31 0.46 0.03 93.87 03:47:13 Average: 6 4.19 0.00 1.21 0.92 0.02 93.66 03:47:13 Average: 7 4.12 0.00 1.25 0.15 0.03 94.46 03:47:13 03:47:13 03:47:13