Pull request #403 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 lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 61e81be6c27c518d4b28e84b37d0638227e030f7+96cabdd59aa851e4a49b1fc08506526fb97387b4 (e6aa0fbee854d7a776622cc984909c62020adf7e) 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-ssh2314320901021002791.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh10033056834639406526.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-mqtt-go/branches/PR-403/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-mqtt-go/branches/PR-403/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9561453840772609263.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-mqtt-go/branches/PR-403/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2253791593260251714.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh3023489221275428996.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-mqtt-go/branches/PR-403/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-mqtt-go/branches/PR-403/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10956717145379208239.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-mqtt-go, buildSnap:false] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19742’ Running on prd-ubuntu20.04-docker-8c-8g-19744 in /w/workspace/gexfoundry_device-mqtt-go_PR-403 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-403 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 96cabdd59aa851e4a49b1fc08506526fb97387b4 into PR head commit 61e81be6c27c518d4b28e84b37d0638227e030f7 Merge succeeded, producing 61e81be6c27c518d4b28e84b37d0638227e030f7 Checking out Revision 61e81be6c27c518d4b28e84b37d0638227e030f7 (PR-403) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/403/head:refs/remotes/origin/PR-403 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61e81be6c27c518d4b28e84b37d0638227e030f7 # 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 96cabdd59aa851e4a49b1fc08506526fb97387b4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61e81be6c27c518d4b28e84b37d0638227e030f7 # timeout=10 Commit message: "build: Upgrade to Go 1.18, fix linter issues and optimize attribution script" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:51:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:51:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:51:30 ========================================================= 18:51:30 EdgeX Global Pipelines Version Info 18:51:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:51:31 ------------------- 18:51:31 stable info: 18:51:31 ------------------- 18:51:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:51:31 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 18:51:31 Message: update stable to v1.0.237 18:51:31 ------------------- 18:51:31 experimental info: 18:51:31 ------------------- 18:51:31 Commited By: **** collab-it+edgex@linuxfoundation.org 18:51:31 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 18:51:31 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:51:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-403 [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-403 [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-403 [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61e81be6c27c518d4b28e84b37d0638227e030f7 [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61e81be [Pipeline] echo 18:51:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:33 provisioning config files... 18:51:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-403@tmp/config589742790033097704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:34 ---> docker-login.sh 18:51:34 nexus3.edgexfoundry.org:10001 18:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:34 Configure a credential helper to remove this warning. See 18:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:34 18:51:34 Login Succeeded 18:51:34 nexus3.edgexfoundry.org:10002 18:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:34 Configure a credential helper to remove this warning. See 18:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:34 18:51:34 Login Succeeded 18:51:34 nexus3.edgexfoundry.org:10003 18:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:34 Configure a credential helper to remove this warning. See 18:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:34 18:51:34 Login Succeeded 18:51:34 nexus3.edgexfoundry.org:10004 18:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:34 Configure a credential helper to remove this warning. See 18:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:34 18:51:34 Login Succeeded 18:51:34 docker.io 18:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:35 Configure a credential helper to remove this warning. See 18:51:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:35 18:51:35 Login Succeeded 18:51:35 ---> docker-login.sh ends [Pipeline] } 18:51:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:51:36 + git rev-list -1 --merges 61e81be6c27c518d4b28e84b37d0638227e030f7~1..61e81be6c27c518d4b28e84b37d0638227e030f7 [Pipeline] echo 18:51:36 -----------> git rev-list -1 --merges 61e81be6c27c518d4b28e84b37d0638227e030f7~1..61e81be6c27c518d4b28e84b37d0638227e030f7 61e81be6c27c518d4b28e84b37d0638227e030f7 [false] [Pipeline] sh 18:51:36 + git log --format=format:%s -1 61e81be6c27c518d4b28e84b37d0638227e030f7 [Pipeline] echo 18:51:36 ========================================================= 18:51:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:51:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:51:36 + git log --format=format:%s -1 61e81be6c27c518d4b28e84b37d0638227e030f7 [Pipeline] echo 18:51:36 [semverPrep] GIT_COMMIT: 61e81be6c27c518d4b28e84b37d0638227e030f7, Commit Message: build: Upgrade to Go 1.18, fix linter issues and optimize attribution script [Pipeline] echo 18:51:36 [semverPrep] This is not a build commit. [Pipeline] sh 18:51:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:51:37 + grep -v github /etc/ssh/ssh_known_hosts 18:51:37 + [ -e /tmp/ssh_known_hosts ] 18:51:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:51:37 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:51:37 sudo tee -a /etc/ssh/ssh_known_hosts 18:51:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:51:37 18:51:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:51:38 0.1.4: Pulling from edgex-devops/py-git-semver 18:51:38 b85a868b505f: Pulling fs layer 18:51:38 e2be974225ed: Pulling fs layer 18:51:38 339a4e72a1f5: Pulling fs layer 18:51:38 988bab9f4d93: Pulling fs layer 18:51:38 1469e6f7b9e6: Pulling fs layer 18:51:38 eaf3925da568: Pulling fs layer 18:51:38 bab4dde63d76: Pulling fs layer 18:51:38 bde34c3a00c8: Pulling fs layer 18:51:38 b352a97aabf1: Pulling fs layer 18:51:38 4872d77fe225: Pulling fs layer 18:51:38 5851b861e8e6: Pulling fs layer 18:51:38 1469e6f7b9e6: Waiting 18:51:38 eaf3925da568: Waiting 18:51:38 bab4dde63d76: Waiting 18:51:38 bde34c3a00c8: Waiting 18:51:38 b352a97aabf1: Waiting 18:51:38 4872d77fe225: Waiting 18:51:38 5851b861e8e6: Waiting 18:51:38 988bab9f4d93: Waiting 18:51:38 e2be974225ed: Verifying Checksum 18:51:38 e2be974225ed: Download complete 18:51:38 988bab9f4d93: Verifying Checksum 18:51:38 988bab9f4d93: Download complete 18:51:38 1469e6f7b9e6: Verifying Checksum 18:51:38 1469e6f7b9e6: Download complete 18:51:38 339a4e72a1f5: Verifying Checksum 18:51:38 339a4e72a1f5: Download complete 18:51:38 eaf3925da568: Verifying Checksum 18:51:38 eaf3925da568: Download complete 18:51:38 bde34c3a00c8: Verifying Checksum 18:51:38 bde34c3a00c8: Download complete 18:51:38 b352a97aabf1: Download complete 18:51:38 4872d77fe225: Verifying Checksum 18:51:38 4872d77fe225: Download complete 18:51:38 5851b861e8e6: Verifying Checksum 18:51:38 5851b861e8e6: Download complete 18:51:38 b85a868b505f: Verifying Checksum 18:51:38 b85a868b505f: Download complete 18:51:38 bab4dde63d76: Verifying Checksum 18:51:38 bab4dde63d76: Download complete 18:51:40 b85a868b505f: Pull complete 18:51:40 e2be974225ed: Pull complete 18:51:40 339a4e72a1f5: Pull complete 18:51:40 988bab9f4d93: Pull complete 18:51:40 1469e6f7b9e6: Pull complete 18:51:40 eaf3925da568: Pull complete 18:51:43 bab4dde63d76: Pull complete 18:51:43 bde34c3a00c8: Pull complete 18:51:43 b352a97aabf1: Pull complete 18:51:43 4872d77fe225: Pull complete 18:51:43 5851b861e8e6: Pull complete 18:51:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:51:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:51:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:43 prd-ubuntu20.04-docker-8c-8g-19744 does not seem to be running inside a container 18:51:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-403 -v /w/workspace/gexfoundry_device-mqtt-go_PR-403:/w/workspace/gexfoundry_device-mqtt-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-403@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-403@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 18:51:45 $ docker top 6d7d3dbdb7f2918a6fda676ef61e23d5419aa0d8af77e527b06831c60fc478bd -eo pid,comm 18:51:45 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). 18:51:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:51:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:51:45 [ssh-agent] Looking for ssh-agent implementation... 18:51:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:51:45 $ docker exec 6d7d3dbdb7f2918a6fda676ef61e23d5419aa0d8af77e527b06831c60fc478bd ssh-agent 18:51:45 SSH_AUTH_SOCK=/tmp/ssh-38C5rLqlQFnk/agent.33 18:51:45 SSH_AGENT_PID=39 18:51:45 Running ssh-add (command line suppressed) 18:51:45 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-403@tmp/private_key_5788342466525738506.key (/w/workspace/gexfoundry_device-mqtt-go_PR-403@tmp/private_key_5788342466525738506.key) 18:51:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:51:46 + git tag --points-at HEAD [Pipeline] } 18:51:46 $ docker exec --env ******** --env ******** 6d7d3dbdb7f2918a6fda676ef61e23d5419aa0d8af77e527b06831c60fc478bd ssh-agent -k 18:51:46 unset SSH_AUTH_SOCK; 18:51:46 unset SSH_AGENT_PID; 18:51:46 echo Agent pid 39 killed; 18:51:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:51:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:51:46 [ssh-agent] Looking for ssh-agent implementation... 18:51:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:51:46 $ docker exec 6d7d3dbdb7f2918a6fda676ef61e23d5419aa0d8af77e527b06831c60fc478bd ssh-agent 18:51:46 SSH_AUTH_SOCK=/tmp/ssh-tb67zskkNCBK/agent.72 18:51:46 SSH_AGENT_PID=78 18:51:46 Running ssh-add (command line suppressed) 18:51:46 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-403@tmp/private_key_2471339986213280348.key (/w/workspace/gexfoundry_device-mqtt-go_PR-403@tmp/private_key_2471339986213280348.key) 18:51:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:51:47 + git semver init 18:51:47 2022-07-12 18:51:47,339 [run_init] DEBUG init version:0.0.0 force:False 18:51:47 2022-07-12 18:51:47,339 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-403/.semver 18:51:47 2022-07-12 18:51:47,340 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-403/.semver 18:51:47 2022-07-12 18:51:47,340 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-403/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-403, universal_newlines=False, shell=None, istream=None) 18:51:48 2022-07-12 18:51:48,079 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-403/.git/info/exclude 18:51:48 2022-07-12 18:51:48,079 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-403/.semver/PR-403 with force:False 18:51:48 2022-07-12 18:51:48,079 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-403/.semver/PR-403 18:51:48 2022-07-12 18:51:48,084 [execute] INFO git cat-file --batch-check 18:51:48 2022-07-12 18:51:48,084 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-403/.semver, universal_newlines=False, shell=None, istream=) 18:51:48 2022-07-12 18:51:48,091 [execute] INFO git cat-file --batch 18:51:48 2022-07-12 18:51:48,091 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-403/.semver, universal_newlines=False, shell=None, istream=) 18:51:48 2022-07-12 18:51:48,096 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-403/.semver/PR-403 18:51:48 0.0.0 [Pipeline] } 18:51:48 $ docker exec --env ******** --env ******** 6d7d3dbdb7f2918a6fda676ef61e23d5419aa0d8af77e527b06831c60fc478bd ssh-agent -k 18:51:48 unset SSH_AUTH_SOCK; 18:51:48 unset SSH_AGENT_PID; 18:51:48 echo Agent pid 78 killed; 18:51:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:51:48 + git semver [Pipeline] } 18:51:49 $ docker stop --time=1 6d7d3dbdb7f2918a6fda676ef61e23d5419aa0d8af77e527b06831c60fc478bd 18:51:50 $ docker rm -f 6d7d3dbdb7f2918a6fda676ef61e23d5419aa0d8af77e527b06831c60fc478bd [Pipeline] // withDockerContainer [Pipeline] sh 18:51:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:51:51 Stashed 1 file(s) [Pipeline] echo 18:51:51 [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 18:51:51 provisioning config files... 18:51:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-403@tmp/config8974252836837893667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:52 ---> docker-login.sh 18:51:52 nexus3.edgexfoundry.org:10001 18:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:52 Configure a credential helper to remove this warning. See 18:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:52 18:51:52 Login Succeeded 18:51:52 nexus3.edgexfoundry.org:10002 18:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:52 Configure a credential helper to remove this warning. See 18:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:52 18:51:52 Login Succeeded 18:51:52 nexus3.edgexfoundry.org:10003 18:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:52 Configure a credential helper to remove this warning. See 18:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:52 18:51:52 Login Succeeded 18:51:52 nexus3.edgexfoundry.org:10004 18:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:52 Configure a credential helper to remove this warning. See 18:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:52 18:51:52 Login Succeeded 18:51:52 docker.io 18:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:53 Configure a credential helper to remove this warning. See 18:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:53 18:51:53 Login Succeeded 18:51:53 ---> docker-login.sh ends [Pipeline] } 18:51:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:51:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:51:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:51:53 ========================================================= 18:51:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:51:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:51:53 Sending build context to Docker daemon 6.076MB 18:51:53 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:51:53 Step 2/12 : FROM ${BASE} AS builder 18:51:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:51:53 2408cc74d12b: Pulling fs layer 18:51:53 ea60b727a1ce: Pulling fs layer 18:51:53 30c4a7721957: Pulling fs layer 18:51:53 370296b7ddb6: Pulling fs layer 18:51:53 7c6cee850709: Pulling fs layer 18:51:53 39a5fcdaea64: Pulling fs layer 18:51:53 d94ebbe4e438: Pulling fs layer 18:51:53 bcfd1f05c69d: Pulling fs layer 18:51:53 59ccb84bbe0f: Pulling fs layer 18:51:53 39a5fcdaea64: Waiting 18:51:53 d94ebbe4e438: Waiting 18:51:53 bcfd1f05c69d: Waiting 18:51:53 59ccb84bbe0f: Waiting 18:51:53 370296b7ddb6: Waiting 18:51:53 7c6cee850709: Waiting 18:51:53 30c4a7721957: Verifying Checksum 18:51:53 30c4a7721957: Download complete 18:51:53 ea60b727a1ce: Download complete 18:51:53 7c6cee850709: Verifying Checksum 18:51:53 7c6cee850709: Download complete 18:51:53 39a5fcdaea64: Download complete 18:51:54 2408cc74d12b: Verifying Checksum 18:51:54 d94ebbe4e438: Download complete 18:51:54 2408cc74d12b: Pull complete 18:51:54 ea60b727a1ce: Pull complete 18:51:54 30c4a7721957: Pull complete 18:51:54 59ccb84bbe0f: Verifying Checksum 18:51:54 59ccb84bbe0f: Download complete 18:51:54 370296b7ddb6: Verifying Checksum 18:51:54 370296b7ddb6: Download complete 18:51:54 bcfd1f05c69d: Verifying Checksum 18:51:54 bcfd1f05c69d: Download complete 18:51:59 370296b7ddb6: Pull complete 18:51:59 7c6cee850709: Pull complete 18:51:59 39a5fcdaea64: Pull complete 18:51:59 d94ebbe4e438: Pull complete 18:52:01 bcfd1f05c69d: Pull complete 18:52:02 59ccb84bbe0f: Pull complete 18:52:02 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 18:52:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:52:02 ---> a4fb48ad2a94 18:52:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:52:03 ---> Running in 2c536ce616a0 18:52:04 Removing intermediate container 2c536ce616a0 18:52:04 ---> 5acf564d6ccd 18:52:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:52:04 ---> Running in 787486ecd6ac 18:52:04 Removing intermediate container 787486ecd6ac 18:52:04 ---> bb0f27b41c63 18:52:04 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:52:04 ---> Running in 9585630efba4 18:52:04 Removing intermediate container 9585630efba4 18:52:04 ---> c40945e664d2 18:52:04 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:52:05 ---> Running in 6fd70334ba0f 18:52:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:52:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:52:06 (1/4) Installing openssh-keygen (9.0_p1-r1) 18:52:06 Still waiting to schedule task 18:52:06 ‘prd-ubuntu20.04-docker-arm64-4c-16g-19743’ is offline 18:52:06 (2/4) Installing libedit (20210910.3.1-r0) 18:52:06 (3/4) Installing openssh-client-common (9.0_p1-r1) 18:52:06 (4/4) Installing openssh-client-default (9.0_p1-r1) 18:52:07 Executing busybox-1.35.0-r13.trigger 18:52:07 OK: 216 MiB in 55 packages 18:52:07 Removing intermediate container 6fd70334ba0f 18:52:07 ---> 114f8a748a35 18:52:07 Step 7/12 : WORKDIR /device-mqtt-go 18:52:07 ---> Running in 29a4589f7955 18:52:07 Removing intermediate container 29a4589f7955 18:52:07 ---> dc372a0725cc 18:52:07 Step 8/12 : COPY go.mod vendor* ./ 18:52:07 ---> c77c288478c8 18:52:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:52:07 ---> Running in 4d2c47c4c60c 18:52:25 Removing intermediate container 4d2c47c4c60c 18:52:25 ---> 737a6321e1ce 18:52:25 Step 10/12 : COPY . . 18:52:25 ---> e0755e45086a 18:52:25 Step 11/12 : ARG MAKE='make build' 18:52:25 ---> Running in a3bd49df1496 18:52:25 Removing intermediate container a3bd49df1496 18:52:25 ---> d71b5b279399 18:52:25 Step 12/12 : RUN $MAKE 18:52:25 ---> Running in 55171d9cc918 18:52:25 noop 18:52:25 Removing intermediate container 55171d9cc918 18:52:25 ---> 4a213ec57712 18:52:25 Successfully built 4a213ec57712 18:52:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:26 + docker inspect -f . ci-base-image-x86_64 18:52:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:26 prd-ubuntu20.04-docker-8c-8g-19744 does not seem to be running inside a container 18:52:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-403 -v /w/workspace/gexfoundry_device-mqtt-go_PR-403:/w/workspace/gexfoundry_device-mqtt-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-403@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-403@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 18:52:26 $ docker top 903373d8562f72e6d5a94f28b94ea50a562fb6a23e10efadeb46fe965ad46c4c -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:27 + go version 18:52:27 go version go1.18.3 linux/amd64 [Pipeline] } 18:52:27 $ docker stop --time=1 903373d8562f72e6d5a94f28b94ea50a562fb6a23e10efadeb46fe965ad46c4c 18:52:28 $ docker rm -f 903373d8562f72e6d5a94f28b94ea50a562fb6a23e10efadeb46fe965ad46c4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:29 + docker inspect -f . ci-base-image-x86_64 18:52:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:29 prd-ubuntu20.04-docker-8c-8g-19744 does not seem to be running inside a container 18:52:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-mqtt-go_PR-403 -v /w/workspace/gexfoundry_device-mqtt-go_PR-403:/w/workspace/gexfoundry_device-mqtt-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-403@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-403@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 18:52:29 $ docker top a527d939f4b486e630bf3c045546d708e7b3ea885dc2ceeb007a0bc98dc0e514 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:30 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-403 [Pipeline] fileExists [Pipeline] sh 18:52:30 + make test 18:52:30 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:52:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:52:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:52:41 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 18:52:41 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:52:49 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:52:49 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:52:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:52:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:52:51 ./bin/test-attribution-txt.sh [Pipeline] echo 18:52:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:52:51 $ docker stop --time=1 a527d939f4b486e630bf3c045546d708e7b3ea885dc2ceeb007a0bc98dc0e514 18:52:53 $ docker rm -f a527d939f4b486e630bf3c045546d708e7b3ea885dc2ceeb007a0bc98dc0e514 [Pipeline] // withDockerContainer [Pipeline] sh 18:52:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:52:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:52:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:55 + ls -al . 18:52:55 total 180 18:52:55 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 18:52 . 18:52:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:51 .. 18:52:55 -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 18:51 .dockerignore 18:52:55 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 18:52 .git 18:52:55 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:51 .github 18:52:55 -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 18:51 .gitignore 18:52:55 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 18:51 .golangci.yml 18:52:55 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 18:51 .semver 18:52:55 -rw-rw-r-- 1 jenkins jenkins 8917 Jul 12 18:51 Attribution.txt 18:52:55 -rw-rw-r-- 1 jenkins jenkins 11365 Jul 12 18:51 CHANGELOG.md 18:52:55 -rw-rw-r-- 1 jenkins jenkins 1932 Jul 12 18:51 Dockerfile 18:52:55 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 18:51 GOVERNANCE.md 18:52:55 -rw-rw-r-- 1 jenkins jenkins 678 Jul 12 18:51 Jenkinsfile 18:52:55 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 18:51 LICENSE 18:52:55 -rw-rw-r-- 1 jenkins jenkins 1917 Jul 12 18:51 Makefile 18:52:55 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 18:51 OWNERS.md 18:52:55 -rw-rw-r-- 1 jenkins jenkins 2501 Jul 12 18:51 README.md 18:52:55 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 18:51 VERSION 18:52:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 18:51 bin 18:52:55 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:51 cmd 18:52:55 -rw-r--r-- 1 jenkins jenkins 17887 Jul 12 18:52 coverage.out 18:52:55 -rw-rw-r-- 1 jenkins jenkins 3314 Jul 12 18:51 go.mod 18:52:55 -rw-rw-r-- 1 jenkins jenkins 35265 Jul 12 18:51 go.sum 18:52:55 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:51 internal 18:52:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 18:51 mock 18:52:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:51 snap 18:52:55 -rw-rw-r-- 1 jenkins jenkins 227 Jul 12 18:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:55 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=61e81be6c27c518d4b28e84b37d0638227e030f7 --label arch=amd64 --label version=0.0.0 . 18:52:55 Sending build context to Docker daemon 6.094MB 18:52:55 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:52:55 Step 2/24 : FROM ${BASE} AS builder 18:52:55 ---> 4a213ec57712 18:52:55 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:52:55 ---> Running in 0e8111b0032d 18:52:56 Removing intermediate container 0e8111b0032d 18:52:56 ---> 1ca23885bcc1 18:52:56 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 18:52:56 ---> Running in 7a492e3658b9 18:52:56 Removing intermediate container 7a492e3658b9 18:52:56 ---> ed486b0debe9 18:52:56 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:52:56 ---> Running in a951600f1f04 18:52:56 Removing intermediate container a951600f1f04 18:52:56 ---> 6f8d29eadd60 18:52:56 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:52:56 ---> Running in 211af24bca27 18:52:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:52:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:52:58 OK: 216 MiB in 55 packages 18:52:58 Removing intermediate container 211af24bca27 18:52:58 ---> ceed7409793f 18:52:58 Step 7/24 : WORKDIR /device-mqtt-go 18:52:58 ---> Running in 1e9ed10dbd79 18:52:58 Removing intermediate container 1e9ed10dbd79 18:52:58 ---> 650b011b6224 18:52:58 Step 8/24 : COPY go.mod vendor* ./ 18:52:58 ---> f819bceb86cc 18:52:58 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:52:58 ---> Running in 86158f9b6c62 18:52:59 Removing intermediate container 86158f9b6c62 18:52:59 ---> 0bc8198695a7 18:52:59 Step 10/24 : COPY . . 18:53:00 ---> cd1ae8f336a1 18:53:00 Step 11/24 : ARG MAKE='make build' 18:53:00 ---> Running in 6068ca0728a1 18:53:00 Removing intermediate container 6068ca0728a1 18:53:00 ---> a5908548930e 18:53:00 Step 12/24 : RUN $MAKE 18:53:00 ---> Running in 651434f5514b 18:53:00 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 18:53:22 Removing intermediate container 651434f5514b 18:53:22 ---> c4a1b85b1410 18:53:22 Step 13/24 : FROM alpine:3.16 18:53:22 3.16: Pulling from library/alpine 18:53:22 2408cc74d12b: Already exists 18:53:22 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 18:53:22 Status: Downloaded newer image for alpine:3.16 18:53:22 ---> e66264b98777 18:53:22 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:53:22 ---> Running in 62a9db13f6c3 18:53:22 Removing intermediate container 62a9db13f6c3 18:53:22 ---> fed3eeb826d2 18:53:22 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 18:53:22 ---> Running in 4663e7625e82 18:53:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:53:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:53:22 (1/6) Installing dumb-init (1.2.5-r1) 18:53:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:53:22 (3/6) Installing libsodium (1.0.18-r0) 18:53:22 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:53:22 (5/6) Installing libzmq (4.3.4-r0) 18:53:22 (6/6) Installing zeromq (4.3.4-r0) 18:53:22 Executing busybox-1.35.0-r13.trigger 18:53:22 OK: 8 MiB in 20 packages 18:53:22 Removing intermediate container 4663e7625e82 18:53:22 ---> d243cddf47dd 18:53:22 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:53:22 ---> 828b3c3ffd87 18:53:22 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:53:22 ---> 2f4a5359edcb 18:53:22 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:53:22 ---> 19a4a9fdf9ea 18:53:22 Step 19/24 : EXPOSE 59982 18:53:22 ---> Running in c611a7d3747d 18:53:22 Removing intermediate container c611a7d3747d 18:53:22 ---> 5a2d905dc099 18:53:22 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:53:22 ---> Running in 436798587cce 18:53:22 Removing intermediate container 436798587cce 18:53:22 ---> 0b7526833a94 18:53:22 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:53:22 ---> Running in 0bae6221c7f8 18:53:22 Removing intermediate container 0bae6221c7f8 18:53:22 ---> 2cabaee248f8 18:53:22 Step 22/24 : LABEL arch=amd64 18:53:22 ---> Running in 895f9486d39e 18:53:23 Removing intermediate container 895f9486d39e 18:53:23 ---> 42083f331b3f 18:53:23 Step 23/24 : LABEL git_sha=61e81be6c27c518d4b28e84b37d0638227e030f7 18:53:23 ---> Running in 1898565ef85c 18:53:23 Removing intermediate container 1898565ef85c 18:53:23 ---> 5b467ac35271 18:53:23 Step 24/24 : LABEL version=0.0.0 18:53:23 ---> Running in d8f71b851311 18:53:23 Removing intermediate container d8f71b851311 18:53:23 ---> da5baddc6d1a 18:53:23 [Warning] One or more build-args [ARCH] were not consumed 18:53:23 Successfully built da5baddc6d1a 18:53:23 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:24 18:53:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:24 latest: Pulling from edgex-lftools-log-publisher 18:53:24 5eb5b503b376: Pulling fs layer 18:53:24 5c69ac0246d0: Pulling fs layer 18:53:24 ec43610c2a17: Pulling fs layer 18:53:24 3a2ae6a8a46f: Pulling fs layer 18:53:24 33b1e0a273af: Pulling fs layer 18:53:24 5d3b04190fa2: Pulling fs layer 18:53:24 2f39f015ded8: Pulling fs layer 18:53:24 3a2ae6a8a46f: Waiting 18:53:24 33b1e0a273af: Waiting 18:53:24 5d3b04190fa2: Waiting 18:53:24 2f39f015ded8: Waiting 18:53:24 5c69ac0246d0: Verifying Checksum 18:53:24 5c69ac0246d0: Download complete 18:53:24 3a2ae6a8a46f: Verifying Checksum 18:53:24 3a2ae6a8a46f: Download complete 18:53:24 33b1e0a273af: Verifying Checksum 18:53:24 33b1e0a273af: Download complete 18:53:24 5d3b04190fa2: Verifying Checksum 18:53:24 5d3b04190fa2: Download complete 18:53:24 ec43610c2a17: Verifying Checksum 18:53:24 ec43610c2a17: Download complete 18:53:24 5eb5b503b376: Verifying Checksum 18:53:24 5eb5b503b376: Download complete 18:53:25 2f39f015ded8: Verifying Checksum 18:53:25 2f39f015ded8: Download complete 18:53:26 5eb5b503b376: Pull complete 18:53:26 5c69ac0246d0: Pull complete 18:53:26 ec43610c2a17: Pull complete 18:53:26 3a2ae6a8a46f: Pull complete 18:53:27 33b1e0a273af: Pull complete 18:53:27 5d3b04190fa2: Pull complete 18:53:32 2f39f015ded8: Pull complete 18:53:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:53:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:32 prd-ubuntu20.04-docker-8c-8g-19744 does not seem to be running inside a container 18:53:32 $ 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-mqtt-go_PR-403 -v /w/workspace/gexfoundry_device-mqtt-go_PR-403:/w/workspace/gexfoundry_device-mqtt-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-403@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-403@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 18:53:34 $ docker top f4311108a69ae40d45c8bf53948c73e23cffc23c94776de7d771493b073b2cc4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:35 ---> job-cost.sh 18:53:35 lf-activate-venv: SKIPPING 18:53:35 INFO: No Stack... 18:53:35 INFO: Retrieving Pricing Info for: v3-standard-8 18:53:36 INFO: Archiving Costs [Pipeline] sh 18:53:36 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-403/archives/cost.csv 18:53:36 + cut -d, -f6 [Pipeline] lock 18:53:36 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-403-1-stack-cost] 18:53:36 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-403-1-stack-cost] did not exist. Created. 18:53:36 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-403-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:53:36 + echo total: 0.2199999988079071 [Pipeline] stash 18:53:36 Stashed 1 file(s) [Pipeline] } 18:53:36 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-403-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:53:37 $ docker stop --time=1 f4311108a69ae40d45c8bf53948c73e23cffc23c94776de7d771493b073b2cc4 18:53:38 $ docker rm -f f4311108a69ae40d45c8bf53948c73e23cffc23c94776de7d771493b073b2cc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:53:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19745 in /w/workspace/gexfoundry_device-mqtt-go_PR-403 [Pipeline] { [Pipeline] ws 18:53:49 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 18:53:49 Selected Git installation does not exist. Using Default 18:53:49 The recommended git tool is: NONE 18:53:54 using credential edgex-jenkins-ssh 18:53:54 Cloning the remote Git repository 18:53:55 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:53:55 > git init /w/workspace/device-mqtt-go/1 # timeout=10 18:53:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:53:55 > git --version # timeout=10 18:53:55 > git --version # 'git version 2.25.1' 18:53:55 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:53:57 Merging remotes/origin/main commit 96cabdd59aa851e4a49b1fc08506526fb97387b4 into PR head commit 61e81be6c27c518d4b28e84b37d0638227e030f7 18:53:56 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:53:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:53:56 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:53:56 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:53:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/403/head:refs/remotes/origin/PR-403 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:53:57 > git config core.sparsecheckout # timeout=10 18:53:57 > git checkout -f 61e81be6c27c518d4b28e84b37d0638227e030f7 # timeout=10 18:53:57 > git remote # timeout=10 18:53:57 > git config --get remote.origin.url # timeout=10 18:53:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:53:57 > git merge 96cabdd59aa851e4a49b1fc08506526fb97387b4 # timeout=10 18:53:57 Merge succeeded, producing 61e81be6c27c518d4b28e84b37d0638227e030f7 18:53:57 Checking out Revision 61e81be6c27c518d4b28e84b37d0638227e030f7 (PR-403) 18:53:57 > git rev-parse HEAD^{commit} # timeout=10 18:53:57 > git config core.sparsecheckout # timeout=10 18:53:57 > git checkout -f 61e81be6c27c518d4b28e84b37d0638227e030f7 # timeout=10 18:54:01 Commit message: "build: Upgrade to Go 1.18, fix linter issues and optimize attribution script" 18:54:01 > git --version # timeout=10 18:54:01 > git --version # 'git version 2.25.1' 18:54:01 fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:54:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:54:02 % Total % Received % Xferd Average Speed Time Time Time Current 18:54:02 Dload Upload Total Spent Left Speed 18:54:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 85846 0 --:--:-- --:--:-- --:--:-- 85250 100 12276 100 12276 0 0 85250 0 --:--:-- --:--:-- --:--:-- 84662 [Pipeline] sh 18:54:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:54:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:54:03 + sudo tee /etc/docker/daemon.new 18:54:03 { 18:54:03 "registry-mirrors": [ 18:54:03 "https://nexus3.edgexfoundry.org:10001" 18:54:03 ], 18:54:03 "bip": "10.250.0.254/24", 18:54:03 "hosts": [ 18:54:03 "tcp://0.0.0.0:5555", 18:54:03 "unix:///var/run/docker.sock" 18:54:03 ], 18:54:03 "mtu": 1458, 18:54:03 "selinux-enabled": true, 18:54:03 "seccomp-profile": "/etc/docker/seccomp.json" 18:54:03 } [Pipeline] sh 18:54:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:54:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:54:23 provisioning config files... 18:54:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config145097709867062096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:23 ---> docker-login.sh 18:54:23 nexus3.edgexfoundry.org:10001 18:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:24 Configure a credential helper to remove this warning. See 18:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:24 18:54:24 Login Succeeded 18:54:24 nexus3.edgexfoundry.org:10002 18:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:24 Configure a credential helper to remove this warning. See 18:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:24 18:54:24 Login Succeeded 18:54:24 nexus3.edgexfoundry.org:10003 18:54:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:25 Configure a credential helper to remove this warning. See 18:54:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:25 18:54:25 Login Succeeded 18:54:25 nexus3.edgexfoundry.org:10004 18:54:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:25 Configure a credential helper to remove this warning. See 18:54:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:25 18:54:25 Login Succeeded 18:54:25 docker.io 18:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:26 Configure a credential helper to remove this warning. See 18:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:26 18:54:26 Login Succeeded 18:54:26 ---> docker-login.sh ends [Pipeline] } 18:54:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:54:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:54:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:54:26 ========================================================= 18:54:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:54:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:54:27 Sending build context to Docker daemon 3.159MB 18:54:27 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:54:27 Step 2/12 : FROM ${BASE} AS builder 18:54:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:54:27 b3c136eddcbf: Pulling fs layer 18:54:27 c0a3192eca97: Pulling fs layer 18:54:27 a050256f5b6f: Pulling fs layer 18:54:27 656be50a0ddc: Pulling fs layer 18:54:27 2bbca73fdf42: Pulling fs layer 18:54:27 46d945488cbd: Pulling fs layer 18:54:27 8a5474983e97: Pulling fs layer 18:54:27 329c88fbcd65: Pulling fs layer 18:54:27 8a5474983e97: Waiting 18:54:27 329c88fbcd65: Waiting 18:54:27 2bbca73fdf42: Waiting 18:54:27 656be50a0ddc: Waiting 18:54:27 46d945488cbd: Waiting 18:54:27 a050256f5b6f: Download complete 18:54:27 c0a3192eca97: Verifying Checksum 18:54:27 c0a3192eca97: Download complete 18:54:27 2bbca73fdf42: Verifying Checksum 18:54:27 2bbca73fdf42: Download complete 18:54:27 46d945488cbd: Download complete 18:54:27 b3c136eddcbf: Verifying Checksum 18:54:27 b3c136eddcbf: Download complete 18:54:28 b3c136eddcbf: Pull complete 18:54:28 329c88fbcd65: Verifying Checksum 18:54:28 329c88fbcd65: Download complete 18:54:29 c0a3192eca97: Pull complete 18:54:29 a050256f5b6f: Pull complete 18:54:30 8a5474983e97: Verifying Checksum 18:54:30 8a5474983e97: Download complete 18:54:31 656be50a0ddc: Download complete 18:54:43 656be50a0ddc: Pull complete 18:54:43 2bbca73fdf42: Pull complete 18:54:44 46d945488cbd: Pull complete 18:54:50 8a5474983e97: Pull complete 18:54:52 329c88fbcd65: Pull complete 18:54:52 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 18:54:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:54:52 ---> ff4287adb874 18:54:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:54:53 ---> Running in bd789b6eb3bb 18:54:53 Removing intermediate container bd789b6eb3bb 18:54:53 ---> ac71dc88ddb3 18:54:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:54:53 ---> Running in 2698065bd087 18:54:54 Removing intermediate container 2698065bd087 18:54:54 ---> 16cdb6b9bbb0 18:54:54 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:54:54 ---> Running in 5d966d49df96 18:54:56 Removing intermediate container 5d966d49df96 18:54:56 ---> e67f7b4c62eb 18:54:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:54:56 ---> Running in 33f00eb16ab0 18:54:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:54:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:54:59 (1/4) Installing openssh-keygen (9.0_p1-r1) 18:54:59 (2/4) Installing libedit (20210910.3.1-r0) 18:54:59 (3/4) Installing openssh-client-common (9.0_p1-r1) 18:54:59 (4/4) Installing openssh-client-default (9.0_p1-r1) 18:54:59 Executing busybox-1.35.0-r13.trigger 18:54:59 OK: 226 MiB in 55 packages 18:55:00 Removing intermediate container 33f00eb16ab0 18:55:00 ---> 80b622a51f5c 18:55:00 Step 7/12 : WORKDIR /device-mqtt-go 18:55:00 ---> Running in d0c17b0a87cb 18:55:01 Removing intermediate container d0c17b0a87cb 18:55:01 ---> 336b75372aa1 18:55:01 Step 8/12 : COPY go.mod vendor* ./ 18:55:01 ---> 62d0c695bd60 18:55:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:55:01 ---> Running in f4a5ebd5f386 18:55:48 Removing intermediate container f4a5ebd5f386 18:55:48 ---> b2e924b6b9b1 18:55:48 Step 10/12 : COPY . . 18:55:48 ---> 5f0070db46c1 18:55:48 Step 11/12 : ARG MAKE='make build' 18:55:48 ---> Running in 8dab39f3121a 18:55:48 Removing intermediate container 8dab39f3121a 18:55:48 ---> 45ff178c35ef 18:55:48 Step 12/12 : RUN $MAKE 18:55:48 ---> Running in 4566d155c0ba 18:55:48 noop 18:55:48 Removing intermediate container 4566d155c0ba 18:55:48 ---> 348c57d7985e 18:55:48 Successfully built 348c57d7985e 18:55:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:49 + docker inspect -f . ci-base-image-arm64 18:55:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:49 prd-ubuntu20.04-docker-arm64-4c-16g-19745 does not seem to be running inside a container 18:55:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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 ******** -e ******** ci-base-image-arm64 cat 18:55:51 $ docker top 7c0025558364748393fd50520bf8e46179e173c77094e671b50e10d42aa61af4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:55:51 + go version 18:55:51 go version go1.18.3 linux/arm64 [Pipeline] } 18:55:52 $ docker stop --time=1 7c0025558364748393fd50520bf8e46179e173c77094e671b50e10d42aa61af4 18:55:53 $ docker rm -f 7c0025558364748393fd50520bf8e46179e173c77094e671b50e10d42aa61af4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:54 + docker inspect -f . ci-base-image-arm64 18:55:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:54 prd-ubuntu20.04-docker-arm64-4c-16g-19745 does not seem to be running inside a container 18:55:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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 ******** -e ******** ci-base-image-arm64 cat 18:55:56 $ docker top ef677c0d013d0628556e426703c2a18435a93d5ca0f53af27225d9e3039ed212 -eo pid,comm [Pipeline] { [Pipeline] sh 18:55:57 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 18:55:57 + make test 18:55:57 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:55:59 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:57:21 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:57:21 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 21.8% of statements 18:57:21 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:57:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:57:21 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:57:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:57:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:57:36 ./bin/test-attribution-txt.sh [Pipeline] echo 18:57:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:57:36 $ docker stop --time=1 ef677c0d013d0628556e426703c2a18435a93d5ca0f53af27225d9e3039ed212 18:57:38 $ docker rm -f ef677c0d013d0628556e426703c2a18435a93d5ca0f53af27225d9e3039ed212 [Pipeline] // withDockerContainer [Pipeline] sh 18:57:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:57:39 Warning: overwriting stash ‘coverage-report’ 18:57:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:57:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:57:40 + ls -al . 18:57:40 total 176 18:57:40 drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 18:55 . 18:57:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:53 .. 18:57:40 -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 18:53 .dockerignore 18:57:40 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 18:54 .git 18:57:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:53 .github 18:57:40 -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 18:53 .gitignore 18:57:40 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 18:53 .golangci.yml 18:57:40 -rw-rw-r-- 1 jenkins jenkins 8917 Jul 12 18:53 Attribution.txt 18:57:40 -rw-rw-r-- 1 jenkins jenkins 11365 Jul 12 18:53 CHANGELOG.md 18:57:40 -rw-rw-r-- 1 jenkins jenkins 1932 Jul 12 18:53 Dockerfile 18:57:40 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 18:53 GOVERNANCE.md 18:57:40 -rw-rw-r-- 1 jenkins jenkins 678 Jul 12 18:53 Jenkinsfile 18:57:40 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 18:53 LICENSE 18:57:40 -rw-rw-r-- 1 jenkins jenkins 1917 Jul 12 18:53 Makefile 18:57:40 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 18:53 OWNERS.md 18:57:40 -rw-rw-r-- 1 jenkins jenkins 2501 Jul 12 18:53 README.md 18:57:40 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 18:51 VERSION 18:57:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 18:53 bin 18:57:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:53 cmd 18:57:40 -rw-r--r-- 1 jenkins jenkins 17887 Jul 12 18:57 coverage.out 18:57:40 -rw-rw-r-- 1 jenkins jenkins 3314 Jul 12 18:53 go.mod 18:57:40 -rw-rw-r-- 1 jenkins jenkins 35265 Jul 12 18:53 go.sum 18:57:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 18:53 internal 18:57:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 18:53 mock 18:57:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:53 snap 18:57:40 -rw-rw-r-- 1 jenkins jenkins 227 Jul 12 18:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:41 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=61e81be6c27c518d4b28e84b37d0638227e030f7 --label arch=arm64 --label version=0.0.0 . 18:57:41 Sending build context to Docker daemon 3.177MB 18:57:41 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:57:41 Step 2/24 : FROM ${BASE} AS builder 18:57:41 ---> 348c57d7985e 18:57:41 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:57:41 ---> Running in 0b2de285ef75 18:57:41 Removing intermediate container 0b2de285ef75 18:57:41 ---> 7d709a05d42d 18:57:41 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 18:57:41 ---> Running in 837da2422706 18:57:42 Removing intermediate container 837da2422706 18:57:42 ---> 01b5cfed4623 18:57:42 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:57:42 ---> Running in 2b2eb0a3437e 18:57:43 Removing intermediate container 2b2eb0a3437e 18:57:43 ---> f33e0a1cb757 18:57:43 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:57:43 ---> Running in 4b3beb83a147 18:57:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:57:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:57:46 OK: 226 MiB in 55 packages 18:57:47 Removing intermediate container 4b3beb83a147 18:57:47 ---> 939d8fdbe80b 18:57:47 Step 7/24 : WORKDIR /device-mqtt-go 18:57:47 ---> Running in 03e1f4960633 18:57:47 Removing intermediate container 03e1f4960633 18:57:47 ---> bb5cd700c30b 18:57:47 Step 8/24 : COPY go.mod vendor* ./ 18:57:48 ---> b16defcf62a5 18:57:48 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:57:48 ---> Running in c0ed6f7641ed 18:57:50 Removing intermediate container c0ed6f7641ed 18:57:50 ---> 6f7b347f54b9 18:57:50 Step 10/24 : COPY . . 18:57:51 ---> 802d7a292876 18:57:51 Step 11/24 : ARG MAKE='make build' 18:57:51 ---> Running in c22dbbe0a4c9 18:57:51 Removing intermediate container c22dbbe0a4c9 18:57:51 ---> 469c8d86ae00 18:57:51 Step 12/24 : RUN $MAKE 18:57:51 ---> Running in a78a9be99699 18:57:52 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 18:59:59 Removing intermediate container a78a9be99699 18:59:59 ---> 72301fdb6848 18:59:59 Step 13/24 : FROM alpine:3.16 18:59:59 3.16: Pulling from library/alpine 18:59:59 b3c136eddcbf: Already exists 18:59:59 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 18:59:59 Status: Downloaded newer image for alpine:3.16 18:59:59 ---> 6e30ab57aeee 18:59:59 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:59:59 ---> Running in 0068cca36a30 18:59:59 Removing intermediate container 0068cca36a30 18:59:59 ---> d40d17444575 18:59:59 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 18:59:59 ---> Running in 63ce0c4b468a 18:59:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:59:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:59:59 (1/6) Installing dumb-init (1.2.5-r1) 18:59:59 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:59:59 (3/6) Installing libsodium (1.0.18-r0) 18:59:59 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:59:59 (5/6) Installing libzmq (4.3.4-r0) 18:59:59 (6/6) Installing zeromq (4.3.4-r0) 18:59:59 Executing busybox-1.35.0-r13.trigger 18:59:59 OK: 8 MiB in 20 packages 18:59:59 Removing intermediate container 63ce0c4b468a 18:59:59 ---> 4ee3998de9c4 18:59:59 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:59:59 ---> 3f2cf78e7cec 18:59:59 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:59:59 ---> 49e87bffda34 18:59:59 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:59:59 ---> 87edd1675664 18:59:59 Step 19/24 : EXPOSE 59982 18:59:59 ---> Running in af9b2c96f154 18:59:59 Removing intermediate container af9b2c96f154 18:59:59 ---> 88df74c524b8 18:59:59 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:59:59 ---> Running in 8d47e4ba458f 18:59:59 Removing intermediate container 8d47e4ba458f 18:59:59 ---> 07b30d5fb9ad 18:59:59 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:59:59 ---> Running in 80528022a0b0 18:59:59 Removing intermediate container 80528022a0b0 18:59:59 ---> d319648fbe73 18:59:59 Step 22/24 : LABEL arch=arm64 18:59:59 ---> Running in edec9f5e1d00 18:59:59 Removing intermediate container edec9f5e1d00 18:59:59 ---> 33f8ba18e6d5 18:59:59 Step 23/24 : LABEL git_sha=61e81be6c27c518d4b28e84b37d0638227e030f7 18:59:59 ---> Running in 2a37781578b3 18:59:59 Removing intermediate container 2a37781578b3 18:59:59 ---> 4f49233da0b8 18:59:59 Step 24/24 : LABEL version=0.0.0 18:59:59 ---> Running in e4da0e7d20d8 18:59:59 Removing intermediate container e4da0e7d20d8 18:59:59 ---> ffa4b663facd 18:59:59 [Warning] One or more build-args [ARCH] were not consumed 18:59:59 Successfully built ffa4b663facd 18:59:59 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:00 19:00:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:00 arm64: Pulling from edgex-lftools-log-publisher 19:00:00 8998bd30e6a1: Pulling fs layer 19:00:00 04944245beec: Pulling fs layer 19:00:00 699f458cf7ca: Pulling fs layer 19:00:00 765212b225bb: Pulling fs layer 19:00:00 f23df028b6ca: Pulling fs layer 19:00:00 d65c8cfc05b1: Pulling fs layer 19:00:00 2437ff75d9bd: Pulling fs layer 19:00:00 f23df028b6ca: Waiting 19:00:00 765212b225bb: Waiting 19:00:00 d65c8cfc05b1: Waiting 19:00:00 2437ff75d9bd: Waiting 19:00:01 04944245beec: Verifying Checksum 19:00:01 04944245beec: Download complete 19:00:01 765212b225bb: Verifying Checksum 19:00:01 765212b225bb: Download complete 19:00:01 f23df028b6ca: Verifying Checksum 19:00:01 f23df028b6ca: Download complete 19:00:01 d65c8cfc05b1: Verifying Checksum 19:00:01 d65c8cfc05b1: Download complete 19:00:01 699f458cf7ca: Verifying Checksum 19:00:01 699f458cf7ca: Download complete 19:00:01 8998bd30e6a1: Verifying Checksum 19:00:01 8998bd30e6a1: Download complete 19:00:03 2437ff75d9bd: Verifying Checksum 19:00:03 2437ff75d9bd: Download complete 19:00:05 8998bd30e6a1: Pull complete 19:00:05 04944245beec: Pull complete 19:00:07 699f458cf7ca: Pull complete 19:00:07 765212b225bb: Pull complete 19:00:07 f23df028b6ca: Pull complete 19:00:08 d65c8cfc05b1: Pull complete 19:00:23 2437ff75d9bd: Pull complete 19:00:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:00:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:23 prd-ubuntu20.04-docker-arm64-4c-16g-19745 does not seem to be running inside a container 19:00:23 $ 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-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:00:26 $ docker top ed6e4030251a334abec60f6895b48f125d165aee4ae9f4d8902d4f9a8711d450 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:27 ---> job-cost.sh 19:00:27 lf-activate-venv: SKIPPING 19:00:27 INFO: No Stack... 19:00:27 INFO: Retrieving Pricing Info for: v3-standard-4 19:00:28 INFO: Archiving Costs [Pipeline] sh 19:00:29 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 19:00:29 + cut -d, -f6 [Pipeline] lock 19:00:29 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-403-1-stack-cost] 19:00:29 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-403-1-stack-cost] did not exist. Created. 19:00:29 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-403-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:00:29 /w/workspace/device-mqtt-go/1@tmp/durable-29742b9d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:00:30 + echo total: 0.10999999940395355 [Pipeline] stash 19:00:30 Warning: overwriting stash ‘stack-cost’ 19:00:30 Stashed 1 file(s) [Pipeline] } 19:00:30 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-403-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:00:30 $ docker stop --time=1 ed6e4030251a334abec60f6895b48f125d165aee4ae9f4d8902d4f9a8711d450 19:00:32 $ docker rm -f ed6e4030251a334abec60f6895b48f125d165aee4ae9f4d8902d4f9a8711d450 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:00:33 provisioning config files... 19:00:33 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-403@tmp/config5545371357480563792tmp [Pipeline] { [Pipeline] sh 19:00:33 + set +x 19:00:33 + curl -s https://codecov.io/bash 19:00:33 + bash -s -- 19:00:33 19:00:33 _____ _ 19:00:33 / ____| | | 19:00:33 | | ___ __| | ___ ___ _____ __ 19:00:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:00:33 | |___| (_) | (_| | __/ (_| (_) \ V / 19:00:33 \_____\___/ \__,_|\___|\___\___/ \_/ 19:00:33 Bash-1.0.6 19:00:33 19:00:33 19:00:33 ==> git version 2.25.1 found 19:00:33 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:00:33 Release-Date: 2020-01-08 19:00:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:00:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:00:33 ==> Jenkins CI detected. 19:00:33 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-403 19:00:33 project root: . 19:00:33 --> token set from env 19:00:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:00:33 ==> Running gcov in . (disable via -X gcov) 19:00:33 ==> Python coveragepy not found 19:00:33 ==> Searching for coverage reports in: 19:00:33 + . 19:00:33 -> Found 1 reports 19:00:33 ==> Detecting git/mercurial file structure 19:00:33 ==> Reading reports 19:00:33 + ./coverage.out bytes=17887 19:00:33 ==> Appending adjustments 19:00:33 https://docs.codecov.io/docs/fixing-reports 19:00:33 + Found adjustments 19:00:33 ==> Gzipping contents 19:00:33 4.0K /tmp/codecov.O4PUI6.gz 19:00:33 ==> Uploading reports 19:00:33 url: https://codecov.io 19:00:33 query: branch=PR-403&commit=61e81be6c27c518d4b28e84b37d0638227e030f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-403%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=403&job=&cmd_args= 19:00:33 -> Pinging Codecov 19:00:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-403&commit=61e81be6c27c518d4b28e84b37d0638227e030f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-403%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=403&job=&cmd_args= 19:00:34 -> Uploading to 19:00:34 https://storage.googleapis.com/codecov/v4/raw/2022-07-12/7D719EC7BBE17E464838252E33014C33/61e81be6c27c518d4b28e84b37d0638227e030f7/90235d78-646c-4832-b05f-0fe48c30000b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T190033Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=41cf8d34148bd0e6598aad41b094c47fdf85876594398c736d7fd21ca9235305 19:00:34 % Total % Received % Xferd Average Speed Time Time Time Current 19:00:34 Dload Upload Total Spent Left Speed 19:00:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3220 0 0 100 3220 0 13879 --:--:-- --:--:-- --:--:-- 13939 19:00:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/61e81be6c27c518d4b28e84b37d0638227e030f7 [Pipeline] } 19:00:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:00:36 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-403/archives ] 19:00:36 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-403/archives 19:00:36 total 16 19:00:36 drwxr-xr-x 3 root root 4096 Jul 12 18:53 . 19:00:36 drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 18:53 .. 19:00:36 drwxr-xr-x 2 root root 4096 Jul 12 18:53 cost 19:00:36 -rw-r--r-- 1 root root 85 Jul 12 18:53 cost.csv 19:00:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-403/archives 19:00:36 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-403/archives 19:00:36 total 16 19:00:36 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 18:53 . 19:00:36 drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 18:53 .. 19:00:36 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 18:53 cost 19:00:36 -rw-r--r-- 1 jenkins jenkins 85 Jul 12 18:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:00:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:00:37 ---> package-listing.sh 19:00:37 ++ facter osfamily 19:00:37 ++ tr '[:upper:]' '[:lower:]' 19:00:37 + OS_FAMILY=debian 19:00:37 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-403 19:00:37 + START_PACKAGES=/tmp/packages_start.txt 19:00:37 + END_PACKAGES=/tmp/packages_end.txt 19:00:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:00:37 + PACKAGES=/tmp/packages_start.txt 19:00:37 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-403 ']' 19:00:37 + PACKAGES=/tmp/packages_end.txt 19:00:37 + case "${OS_FAMILY}" in 19:00:37 + dpkg -l 19:00:37 + grep '^ii' 19:00:37 + '[' -f /tmp/packages_start.txt ']' 19:00:37 + '[' -f /tmp/packages_end.txt ']' 19:00:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:00:37 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-403 ']' 19:00:37 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-403/archives/ 19:00:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-403/archives/ [Pipeline] echo 19:00:37 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-mqtt-go_PR-403/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:00:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:00:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:38 prd-ubuntu20.04-docker-8c-8g-19744 does not seem to be running inside a container 19:00:38 $ 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-mqtt-go_PR-403/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-mqtt-go_PR-403 -v /w/workspace/gexfoundry_device-mqtt-go_PR-403:/w/workspace/gexfoundry_device-mqtt-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-403@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-403@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 19:00:38 $ docker top 422e66008511d22fff90622d2b89537fcbc2e7b55748174c4de3edf5024259eb -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:39 + touch /tmp/pre-build-complete [Pipeline] sh 19:00:39 + mkdir -p /var/log/sysstat [Pipeline] sh 19:00:39 + ls /var/log/sa-host 19:00:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:00:40 provisioning config files... 19:00:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-403@tmp/config7453149656835578498tmp [Pipeline] { [Pipeline] echo 19:00:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:00:40 ---> create-netrc.sh [Pipeline] } 19:00:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:00:40 ---> python-tools-install.sh [Pipeline] echo 19:00:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:00:41 ---> sudo-logs.sh 19:00:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:00:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:00:41 ---> job-cost.sh 19:00:41 lf-activate-venv: SKIPPING 19:00:41 DEBUG: total: 0.2199999988079071 19:00:41 INFO: Retrieving Stack Cost... 19:00:41 INFO: Retrieving Pricing Info for: v3-standard-8 19:00:42 INFO: Archiving Costs [Pipeline] echo 19:00:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:00:42 ---> logs-deploy.sh 19:00:42 lf-activate-venv: SKIPPING 19:00:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-403/1 19:00:42 INFO: archiving workspace using pattern(s): 19:00:43 Archives upload complete. 19:00:44 INFO: archiving logs to Nexus 19:00:44 ---> uname -a: 19:00:44 Linux prd-ubuntu20-04-docker-8c-8g-19744 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 19:00:44 19:00:44 19:00:44 ---> lscpu: 19:00:44 Architecture: x86_64 19:00:44 CPU op-mode(s): 32-bit, 64-bit 19:00:44 Byte Order: Little Endian 19:00:44 Address sizes: 40 bits physical, 48 bits virtual 19:00:44 CPU(s): 8 19:00:44 On-line CPU(s) list: 0-7 19:00:44 Thread(s) per core: 1 19:00:44 Core(s) per socket: 1 19:00:44 Socket(s): 8 19:00:44 NUMA node(s): 1 19:00:44 Vendor ID: AuthenticAMD 19:00:44 CPU family: 23 19:00:44 Model: 49 19:00:44 Model name: AMD EPYC-Rome Processor 19:00:44 Stepping: 0 19:00:44 CPU MHz: 2799.976 19:00:44 BogoMIPS: 5599.95 19:00:44 Virtualization: AMD-V 19:00:44 Hypervisor vendor: KVM 19:00:44 Virtualization type: full 19:00:44 L1d cache: 256 KiB 19:00:44 L1i cache: 256 KiB 19:00:44 L2 cache: 4 MiB 19:00:44 L3 cache: 128 MiB 19:00:44 NUMA node0 CPU(s): 0-7 19:00:44 Vulnerability Itlb multihit: Not affected 19:00:44 Vulnerability L1tf: Not affected 19:00:44 Vulnerability Mds: Not affected 19:00:44 Vulnerability Meltdown: Not affected 19:00:44 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:00:44 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:00:44 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:00:44 Vulnerability Srbds: Not affected 19:00:44 Vulnerability Tsx async abort: Not affected 19:00:44 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 19:00:44 19:00:44 19:00:44 ---> nproc: 19:00:44 8 19:00:44 19:00:44 19:00:44 ---> df -h: 19:00:44 Filesystem Size Used Avail Use% Mounted on 19:00:44 overlay 155G 11G 145G 7% / 19:00:44 tmpfs 64M 0 64M 0% /dev 19:00:44 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:00:44 shm 64M 0 64M 0% /dev/shm 19:00:44 /dev/vda1 155G 11G 145G 7% /facter-os 19:00:44 19:00:44 19:00:44 ---> sar -b -r -n DEV: 19:00:44 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19744) 07/12/22 _x86_64_ (8 CPU) 19:00:44 19:00:44 18:50:51 LINUX RESTART (8 CPU) 19:00:44 19:00:44 18:51:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:00:44 18:52:01 335.64 57.65 277.99 0.00 7648.74 184809.90 0.00 19:00:44 18:53:01 218.45 1.23 217.21 0.00 32.66 61978.47 0.00 19:00:44 18:54:01 111.55 0.02 111.53 0.00 1.60 32886.92 0.00 19:00:44 18:55:01 2.32 0.00 2.32 0.00 0.00 28.01 0.00 19:00:44 18:56:01 1.67 0.02 1.65 0.00 0.13 18.26 0.00 19:00:44 18:57:01 2.03 0.00 2.03 0.00 0.00 35.99 0.00 19:00:44 18:58:01 1.00 0.00 1.00 0.00 0.00 11.60 0.00 19:00:44 18:59:01 1.57 0.00 1.57 0.00 0.00 18.40 0.00 19:00:44 19:00:01 3.15 0.87 2.28 0.00 18.39 29.72 0.00 19:00:44 Average: 74.78 6.55 68.23 0.00 843.08 30803.95 0.00 19:00:44 19:00:44 18:51:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:00:44 18:52:01 29104780 31767084 533932 1.62 93600 2850048 1936596 5.71 1031756 2378304 638940 19:00:44 18:53:01 28384456 31642208 639380 1.94 155068 3321072 2217744 6.54 1310560 2736004 5752 19:00:44 18:54:01 27787676 31766552 515596 1.57 165072 3980572 1759928 5.19 1231212 3359168 156 19:00:44 18:55:01 27788784 31767764 514172 1.56 165156 3980564 1759928 5.19 1230204 3359168 8 19:00:44 18:56:01 27791288 31770284 511520 1.56 165220 3980576 1759928 5.19 1227556 3359172 16 19:00:44 18:57:01 27791532 31770620 511192 1.55 165304 3980576 1759928 5.19 1227692 3359180 8 19:00:44 18:58:01 27799312 31778452 503300 1.53 165332 3980588 1759928 5.19 1220544 3359184 16 19:00:44 18:59:01 27799740 31778884 503012 1.53 165360 3980588 1759928 5.19 1220304 3359188 8 19:00:44 19:00:01 27803792 31784000 497952 1.51 165436 3981172 1793352 5.29 1215836 3359688 24 19:00:44 Average: 28005707 31758428 525562 1.60 156172 3781751 1834140 5.41 1212852 3181006 71659 19:00:44 19:00:44 18:51:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:00:44 18:52:01 docker0 6.00 5.46 0.54 46.28 0.00 0.00 0.00 0.00 19:00:44 18:52:01 lo 7.25 7.25 0.70 0.70 0.00 0.00 0.00 0.00 19:00:44 18:52:01 ens3 842.40 543.89 7557.14 110.82 0.00 0.00 0.00 0.00 19:00:44 18:53:01 veth7024019 0.03 0.10 0.00 0.01 0.00 0.00 0.00 0.00 19:00:44 18:53:01 docker0 110.45 135.04 8.81 1086.96 0.00 0.00 0.00 0.00 19:00:44 18:53:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 19:00:44 18:53:01 ens3 214.96 173.74 1133.00 81.52 0.00 0.00 0.00 0.00 19:00:44 18:54:01 docker0 2.68 5.15 0.17 57.98 0.00 0.00 0.00 0.00 19:00:44 18:54:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 19:00:44 18:54:01 ens3 139.78 103.35 2599.44 39.81 0.00 0.00 0.00 0.00 19:00:44 18:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:44 18:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:00:44 18:55:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 19:00:44 18:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:44 18:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:44 18:56:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 19:00:44 18:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:44 18:57:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:00:44 18:57:01 ens3 4.50 8.62 0.36 7.61 0.00 0.00 0.00 0.00 19:00:44 18:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:44 18:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:44 18:58:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:44 18:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:44 18:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:00:44 18:59:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 19:00:44 19:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:44 19:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:00:44 19:00:01 ens3 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 19:00:44 Average: docker0 13.25 16.20 1.06 132.51 0.00 0.00 0.00 0.00 19:00:44 Average: lo 1.09 1.09 0.10 0.10 0.00 0.00 0.00 0.00 19:00:44 Average: ens3 132.22 91.36 1242.68 26.48 0.00 0.00 0.00 0.00 19:00:44 19:00:44 19:00:44 ---> sar -P ALL: 19:00:44 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19744) 07/12/22 _x86_64_ (8 CPU) 19:00:44 19:00:44 18:50:51 LINUX RESTART (8 CPU) 19:00:44 19:00:44 18:51:02 CPU %user %nice %system %iowait %steal %idle 19:00:44 18:52:01 all 10.82 0.00 4.14 2.02 0.06 82.97 19:00:44 18:52:01 0 11.42 0.00 4.50 0.96 0.05 83.07 19:00:44 18:52:01 1 8.91 0.00 3.71 0.36 0.07 86.96 19:00:44 18:52:01 2 8.66 0.00 3.92 0.70 0.05 86.66 19:00:44 18:52:01 3 12.83 0.00 3.65 0.38 0.05 83.10 19:00:44 18:52:01 4 15.50 0.00 3.03 0.79 0.05 80.63 19:00:44 18:52:01 5 8.93 0.00 4.42 5.34 0.05 81.26 19:00:44 18:52:01 6 9.32 0.00 3.11 2.43 0.05 85.09 19:00:44 18:52:01 7 10.96 0.00 6.78 5.19 0.07 77.00 19:00:44 18:53:01 all 27.26 0.00 6.27 1.47 0.07 64.94 19:00:44 18:53:01 0 27.11 0.00 6.43 0.32 0.07 66.07 19:00:44 18:53:01 1 27.79 0.00 6.25 1.57 0.05 64.34 19:00:44 18:53:01 2 28.22 0.00 6.03 0.32 0.07 65.36 19:00:44 18:53:01 3 27.90 0.00 5.74 0.42 0.07 65.87 19:00:44 18:53:01 4 26.79 0.00 5.83 0.71 0.07 66.60 19:00:44 18:53:01 5 27.81 0.00 7.18 3.98 0.07 60.96 19:00:44 18:53:01 6 24.45 0.00 5.53 0.05 0.08 69.89 19:00:44 18:53:01 7 28.00 0.00 7.14 4.40 0.07 60.39 19:00:44 18:54:01 all 18.51 0.00 3.76 0.85 0.04 76.84 19:00:44 18:54:01 0 18.45 0.00 3.25 0.42 0.05 77.83 19:00:44 18:54:01 1 19.34 0.00 4.02 0.37 0.05 76.22 19:00:44 18:54:01 2 18.73 0.00 4.46 4.27 0.05 72.49 19:00:44 18:54:01 3 18.70 0.00 3.76 0.44 0.03 77.07 19:00:44 18:54:01 4 19.91 0.00 3.76 0.02 0.03 76.28 19:00:44 18:54:01 5 19.23 0.00 3.72 0.12 0.03 76.90 19:00:44 18:54:01 6 15.20 0.00 3.18 0.03 0.03 81.55 19:00:44 18:54:01 7 18.54 0.00 3.94 1.11 0.03 76.38 19:00:44 18:55:01 all 0.03 0.00 0.00 0.02 0.01 99.94 19:00:44 18:55:01 0 0.02 0.00 0.00 0.07 0.00 99.92 19:00:44 18:55:01 1 0.00 0.00 0.00 0.00 0.02 99.98 19:00:44 18:55:01 2 0.05 0.00 0.02 0.12 0.02 99.80 19:00:44 18:55:01 3 0.00 0.00 0.00 0.00 0.00 100.00 19:00:44 18:55:01 4 0.03 0.00 0.00 0.00 0.00 99.97 19:00:44 18:55:01 5 0.03 0.00 0.00 0.00 0.02 99.95 19:00:44 18:55:01 6 0.05 0.00 0.02 0.00 0.00 99.93 19:00:44 18:55:01 7 0.02 0.00 0.00 0.00 0.00 99.98 19:00:44 18:56:01 all 0.01 0.00 0.02 0.01 0.00 99.95 19:00:44 18:56:01 0 0.02 0.00 0.03 0.05 0.00 99.90 19:00:44 18:56:01 1 0.03 0.00 0.00 0.00 0.00 99.97 19:00:44 18:56:01 2 0.03 0.00 0.03 0.02 0.02 99.90 19:00:44 18:56:01 3 0.03 0.00 0.00 0.00 0.02 99.95 19:00:44 18:56:01 4 0.00 0.00 0.03 0.00 0.00 99.97 19:00:44 18:56:01 5 0.00 0.00 0.03 0.02 0.00 99.95 19:00:44 18:56:01 6 0.00 0.00 0.02 0.00 0.00 99.98 19:00:44 18:56:01 7 0.00 0.00 0.00 0.00 0.00 100.00 19:00:44 18:57:01 all 0.03 0.00 0.01 0.01 0.01 99.94 19:00:44 18:57:01 0 0.00 0.00 0.02 0.05 0.02 99.92 19:00:44 18:57:01 1 0.02 0.00 0.02 0.00 0.02 99.95 19:00:44 18:57:01 2 0.03 0.00 0.00 0.03 0.00 99.93 19:00:44 18:57:01 3 0.05 0.00 0.02 0.00 0.00 99.93 19:00:44 18:57:01 4 0.05 0.00 0.02 0.00 0.02 99.92 19:00:44 18:57:01 5 0.03 0.00 0.02 0.00 0.00 99.95 19:00:44 18:57:01 6 0.05 0.00 0.02 0.00 0.00 99.93 19:00:44 18:57:01 7 0.00 0.00 0.00 0.00 0.00 100.00 19:00:44 18:58:01 all 0.01 0.00 0.02 0.00 0.00 99.96 19:00:44 18:58:01 0 0.00 0.00 0.00 0.02 0.00 99.98 19:00:44 18:58:01 1 0.02 0.00 0.03 0.00 0.00 99.95 19:00:44 18:58:01 2 0.00 0.00 0.03 0.00 0.02 99.95 19:00:44 18:58:01 3 0.05 0.00 0.02 0.00 0.00 99.93 19:00:44 18:58:01 4 0.02 0.00 0.03 0.00 0.02 99.93 19:00:44 18:58:01 5 0.02 0.00 0.02 0.00 0.00 99.97 19:00:44 18:58:01 6 0.00 0.00 0.02 0.00 0.00 99.98 19:00:44 18:58:01 7 0.02 0.00 0.00 0.00 0.00 99.98 19:00:44 18:59:01 all 0.01 0.00 0.01 0.01 0.01 99.96 19:00:44 18:59:01 0 0.03 0.00 0.02 0.02 0.00 99.93 19:00:44 18:59:01 1 0.02 0.00 0.02 0.00 0.02 99.95 19:00:44 18:59:01 2 0.00 0.00 0.02 0.02 0.00 99.97 19:00:44 18:59:01 3 0.02 0.00 0.00 0.00 0.00 99.98 19:00:44 18:59:01 4 0.03 0.00 0.02 0.00 0.02 99.93 19:00:44 18:59:01 5 0.02 0.00 0.02 0.02 0.00 99.95 19:00:44 18:59:01 6 0.00 0.00 0.00 0.00 0.00 100.00 19:00:44 18:59:01 7 0.00 0.00 0.02 0.00 0.02 99.97 19:00:44 19:00:01 all 0.05 0.00 0.04 0.03 0.00 99.88 19:00:44 19:00:01 0 0.03 0.00 0.03 0.03 0.00 99.90 19:00:44 19:00:01 1 0.23 0.00 0.05 0.05 0.00 99.67 19:00:44 19:00:01 2 0.03 0.00 0.05 0.12 0.02 99.78 19:00:44 19:00:01 3 0.02 0.00 0.08 0.00 0.02 99.88 19:00:44 19:00:01 4 0.07 0.00 0.05 0.00 0.00 99.88 19:00:44 19:00:01 5 0.00 0.00 0.00 0.00 0.00 100.00 19:00:44 19:00:01 6 0.02 0.00 0.03 0.00 0.00 99.95 19:00:44 19:00:01 7 0.02 0.00 0.03 0.00 0.00 99.95 19:00:44 Average: all 6.25 0.00 1.57 0.48 0.02 91.67 19:00:44 Average: 0 6.31 0.00 1.57 0.21 0.02 91.89 19:00:44 Average: 1 6.21 0.00 1.55 0.26 0.02 91.96 19:00:44 Average: 2 6.15 0.00 1.60 0.62 0.03 91.61 19:00:44 Average: 3 6.56 0.00 1.46 0.14 0.02 91.82 19:00:44 Average: 4 6.87 0.00 1.41 0.17 0.02 91.54 19:00:44 Average: 5 6.19 0.00 1.70 1.04 0.02 91.05 19:00:44 Average: 6 5.40 0.00 1.31 0.27 0.02 92.99 19:00:44 Average: 7 6.33 0.00 1.96 1.17 0.02 90.52 19:00:44 19:00:44 19:00:44