Pull request #367 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f21ae3f10c1bd5bef0e0b485021b61c5d702b45e+cac5c8aff02eeff20ea0733b686feb688efb88bb (6bf4923f32f9acb2544459bc868e12e60fb3b3f3) 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-ssh1103599280329374762.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh7996967421491173053.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-367/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-367/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1233661868200146256.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh10754237750318925805.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-367/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-367/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2905433486498042027.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24986 in /w/workspace/gexfoundry_device-mqtt-go_PR-367 [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-367 # 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 cac5c8aff02eeff20ea0733b686feb688efb88bb into PR head commit f21ae3f10c1bd5bef0e0b485021b61c5d702b45e Merge succeeded, producing f21ae3f10c1bd5bef0e0b485021b61c5d702b45e Checking out Revision f21ae3f10c1bd5bef0e0b485021b61c5d702b45e (PR-367) > 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/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f21ae3f10c1bd5bef0e0b485021b61c5d702b45e # 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 cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f21ae3f10c1bd5bef0e0b485021b61c5d702b45e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 834c1a2eb117546942727c07f71b581afec85052 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T15:53:59.671Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T15:53:59.740Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T15:53:59.763Z] ========================================================= [2022-04-26T15:53:59.763Z] EdgeX Global Pipelines Version Info [2022-04-26T15:53:59.763Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:54:00.573Z] ------------------- [2022-04-26T15:54:00.573Z] stable info: [2022-04-26T15:54:00.573Z] ------------------- [2022-04-26T15:54:00.573Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T15:54:00.573Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T15:54:00.573Z] Message: update stable to v1.0.221 [2022-04-26T15:54:01.155Z] ------------------- [2022-04-26T15:54:01.155Z] experimental info: [2022-04-26T15:54:01.155Z] ------------------- [2022-04-26T15:54:01.155Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2022-04-26T15:54:01.155Z] Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db [2022-04-26T15:54:01.155Z] Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T15:54:01.275Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-26T15:54:01.286Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-26T15:54:01.300Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T15:54:01.311Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T15:54:01.324Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T15:54:01.341Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T15:54:01.352Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T15:54:01.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T15:54:01.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T15:54:01.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T15:54:01.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T15:54:01.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-26T15:54:01.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T15:54:01.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T15:54:01.469Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:54:01.483Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:54:01.497Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:54:01.514Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:54:01.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T15:54:01.558Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T15:54:01.575Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T15:54:01.593Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T15:54:01.605Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T15:54:01.616Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T15:54:01.631Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T15:54:01.646Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T15:54:01.659Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-367 [Pipeline] echo [2022-04-26T15:54:01.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-367 [Pipeline] echo [2022-04-26T15:54:01.687Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-367 [Pipeline] echo [2022-04-26T15:54:01.701Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [Pipeline] echo [2022-04-26T15:54:01.717Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f21ae3f [Pipeline] echo [2022-04-26T15:54:01.728Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T15:54:01.774Z] provisioning config files... [2022-04-26T15:54:01.802Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/config2274396653185775584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:54:02.122Z] ---> docker-login.sh [2022-04-26T15:54:02.122Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:54:02.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:02.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:02.646Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:02.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:02.646Z] [2022-04-26T15:54:02.646Z] Login Succeeded [2022-04-26T15:54:02.646Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:54:02.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:02.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:02.646Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:02.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:02.646Z] [2022-04-26T15:54:02.646Z] Login Succeeded [2022-04-26T15:54:02.646Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:54:02.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:02.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:02.906Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:02.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:02.906Z] [2022-04-26T15:54:02.906Z] Login Succeeded [2022-04-26T15:54:02.906Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:54:02.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:02.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:02.906Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:02.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:02.906Z] [2022-04-26T15:54:02.906Z] Login Succeeded [2022-04-26T15:54:02.906Z] docker.io [2022-04-26T15:54:03.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:03.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:03.439Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:03.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:03.439Z] [2022-04-26T15:54:03.439Z] Login Succeeded [2022-04-26T15:54:03.439Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:54:03.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T15:54:03.830Z] + git rev-list -1 --merges f21ae3f10c1bd5bef0e0b485021b61c5d702b45e~1..f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [Pipeline] echo [2022-04-26T15:54:03.869Z] -----------> git rev-list -1 --merges f21ae3f10c1bd5bef0e0b485021b61c5d702b45e~1..f21ae3f10c1bd5bef0e0b485021b61c5d702b45e f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [false] [Pipeline] sh [2022-04-26T15:54:04.166Z] + git log --format=format:%s -1 f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [Pipeline] echo [2022-04-26T15:54:04.182Z] ========================================================= [2022-04-26T15:54:04.182Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T15:54:04.182Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T15:54:04.535Z] + git log --format=format:%s -1 f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [Pipeline] echo [2022-04-26T15:54:04.547Z] [semverPrep] GIT_COMMIT: f21ae3f10c1bd5bef0e0b485021b61c5d702b45e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-04-26T15:54:04.559Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T15:54:04.942Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T15:54:04.942Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T15:54:04.942Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T15:54:04.942Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T15:54:04.942Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T15:54:04.942Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T15:54:04.942Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:05.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:54:05.300Z] [2022-04-26T15:54:05.300Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:05.599Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:54:05.599Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T15:54:05.599Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T15:54:05.599Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T15:54:05.599Z] 4c7163046ea9: Pulling fs layer [2022-04-26T15:54:05.599Z] 0c2d73faf560: Pulling fs layer [2022-04-26T15:54:05.599Z] 0c2d73faf560: Waiting [2022-04-26T15:54:05.599Z] 3e5f54012d9b: Verifying Checksum [2022-04-26T15:54:05.599Z] 3e5f54012d9b: Download complete [2022-04-26T15:54:05.599Z] a0d0a0d46f8b: Download complete [2022-04-26T15:54:05.599Z] 4c7163046ea9: Verifying Checksum [2022-04-26T15:54:05.599Z] 4c7163046ea9: Download complete [2022-04-26T15:54:05.599Z] 0c2d73faf560: Verifying Checksum [2022-04-26T15:54:05.599Z] 0c2d73faf560: Download complete [2022-04-26T15:54:05.858Z] a0d0a0d46f8b: Pull complete [2022-04-26T15:54:05.858Z] 3e5f54012d9b: Pull complete [2022-04-26T15:54:06.478Z] 4c7163046ea9: Pull complete [2022-04-26T15:54:06.478Z] 0c2d73faf560: Pull complete [2022-04-26T15:54:06.478Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T15:54:06.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:54:06.478Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T15:54:06.553Z] prd-ubuntu20.04-docker-8c-8g-24986 does not seem to be running inside a container [2022-04-26T15:54:06.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-367 -v /w/workspace/gexfoundry_device-mqtt-go_PR-367:/w/workspace/gexfoundry_device-mqtt-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-367@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:10004/edgex-devops/git-semver:latest cat [2022-04-26T15:54:07.679Z] $ docker top df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T15:54:07.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:54:07.781Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:54:07.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:54:07.915Z] $ docker exec df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc ssh-agent [2022-04-26T15:54:08.032Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXefdolN/agent.13 [2022-04-26T15:54:08.032Z] SSH_AGENT_PID=20 [2022-04-26T15:54:08.041Z] Running ssh-add (command line suppressed) [2022-04-26T15:54:08.165Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/private_key_3077736322548586218.key (/w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/private_key_3077736322548586218.key) [2022-04-26T15:54:08.177Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:54:08.474Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T15:54:08.494Z] $ docker exec --env ******** --env ******** df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc ssh-agent -k [2022-04-26T15:54:08.608Z] unset SSH_AUTH_SOCK; [2022-04-26T15:54:08.609Z] unset SSH_AGENT_PID; [2022-04-26T15:54:08.609Z] echo Agent pid 20 killed; [2022-04-26T15:54:08.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T15:54:08.641Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:54:08.641Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:54:08.773Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:54:08.782Z] $ docker exec df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc ssh-agent [2022-04-26T15:54:08.900Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMHNOil/agent.52 [2022-04-26T15:54:08.900Z] SSH_AGENT_PID=58 [2022-04-26T15:54:08.905Z] Running ssh-add (command line suppressed) [2022-04-26T15:54:09.033Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/private_key_908274154905288198.key (/w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/private_key_908274154905288198.key) [2022-04-26T15:54:09.046Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:54:09.333Z] + git semver init [2022-04-26T15:54:09.333Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T15:54:09.333Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-367/.git [2022-04-26T15:54:09.333Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-367 [2022-04-26T15:54:09.333Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T15:54:09.333Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T15:54:09.333Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T15:54:09.333Z] # $SEMVER_BRANCH = PR-367 [2022-04-26T15:54:09.333Z] # $SEMVER_TEMP = /tmp/semver-327978711 [2022-04-26T15:54:09.333Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-26T15:54:10.277Z] # '/tmp/semver-327978711' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-367/.semver' [2022-04-26T15:54:10.277Z] # -> Force: false [2022-04-26T15:54:10.277Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-367/.semver [Pipeline] } [2022-04-26T15:54:10.293Z] $ docker exec --env ******** --env ******** df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc ssh-agent -k [2022-04-26T15:54:10.425Z] unset SSH_AUTH_SOCK; [2022-04-26T15:54:10.426Z] unset SSH_AGENT_PID; [2022-04-26T15:54:10.426Z] echo Agent pid 58 killed; [2022-04-26T15:54:10.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T15:54:10.744Z] + git semver [Pipeline] } [2022-04-26T15:54:10.764Z] $ docker stop --time=1 df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc [2022-04-26T15:54:12.205Z] $ docker rm -f df2f2dc6883f4b51426d94672dbe4b946ea8b97b7569fe30630f3acb6770d9cc [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T15:54:12.551Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T15:54:12.894Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T15:54:12.898Z] [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 [2022-04-26T15:54:13.070Z] provisioning config files... [2022-04-26T15:54:13.082Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/config5501156863925642019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:54:13.384Z] ---> docker-login.sh [2022-04-26T15:54:13.384Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:54:13.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:13.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:13.384Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:13.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:13.384Z] [2022-04-26T15:54:13.384Z] Login Succeeded [2022-04-26T15:54:13.384Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:54:13.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:13.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:13.645Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:13.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:13.645Z] [2022-04-26T15:54:13.645Z] Login Succeeded [2022-04-26T15:54:13.645Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:54:13.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:13.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:13.645Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:13.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:13.645Z] [2022-04-26T15:54:13.645Z] Login Succeeded [2022-04-26T15:54:13.645Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:54:13.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:13.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:13.907Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:13.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:13.907Z] [2022-04-26T15:54:13.907Z] Login Succeeded [2022-04-26T15:54:13.907Z] docker.io [2022-04-26T15:54:13.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:14.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:14.170Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:14.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:14.170Z] [2022-04-26T15:54:14.170Z] Login Succeeded [2022-04-26T15:54:14.170Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:54:14.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T15:54:14.240Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T15:54:14.249Z] ========================================================= [2022-04-26T15:54:14.249Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T15:54:14.249Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:14.560Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-26T15:54:14.560Z] Sending build context to Docker daemon 5.822MB [2022-04-26T15:54:14.560Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:54:14.560Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T15:54:14.560Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T15:54:14.560Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T15:54:14.560Z] 666ba61612fd: Pulling fs layer [2022-04-26T15:54:14.560Z] 8ed8ca486205: Pulling fs layer [2022-04-26T15:54:14.560Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T15:54:14.560Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T15:54:14.560Z] ca2b28591e48: Pulling fs layer [2022-04-26T15:54:14.560Z] a51346096db8: Pulling fs layer [2022-04-26T15:54:14.560Z] daebc70d1ce1: Pulling fs layer [2022-04-26T15:54:14.560Z] 0e18a0eac166: Pulling fs layer [2022-04-26T15:54:14.560Z] 4fe6c5a15a65: Waiting [2022-04-26T15:54:14.560Z] ca2b28591e48: Waiting [2022-04-26T15:54:14.560Z] daebc70d1ce1: Waiting [2022-04-26T15:54:14.560Z] a51346096db8: Waiting [2022-04-26T15:54:14.560Z] 22a0e8bec74d: Waiting [2022-04-26T15:54:14.560Z] 0e18a0eac166: Waiting [2022-04-26T15:54:14.560Z] 8ed8ca486205: Verifying Checksum [2022-04-26T15:54:14.560Z] 8ed8ca486205: Download complete [2022-04-26T15:54:14.823Z] 666ba61612fd: Download complete [2022-04-26T15:54:14.823Z] 22a0e8bec74d: Verifying Checksum [2022-04-26T15:54:14.823Z] 22a0e8bec74d: Download complete [2022-04-26T15:54:14.823Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T15:54:14.823Z] 59bf1c3509f3: Download complete [2022-04-26T15:54:14.823Z] ca2b28591e48: Verifying Checksum [2022-04-26T15:54:14.823Z] a51346096db8: Verifying Checksum [2022-04-26T15:54:14.823Z] a51346096db8: Download complete [2022-04-26T15:54:14.823Z] daebc70d1ce1: Verifying Checksum [2022-04-26T15:54:14.823Z] daebc70d1ce1: Download complete [2022-04-26T15:54:14.823Z] 59bf1c3509f3: Pull complete [2022-04-26T15:54:15.086Z] 666ba61612fd: Pull complete [2022-04-26T15:54:15.086Z] 8ed8ca486205: Pull complete [2022-04-26T15:54:15.346Z] 0e18a0eac166: Verifying Checksum [2022-04-26T15:54:15.346Z] 0e18a0eac166: Download complete [2022-04-26T15:54:15.608Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T15:54:15.608Z] 4fe6c5a15a65: Download complete [2022-04-26T15:54:19.814Z] 4fe6c5a15a65: Pull complete [2022-04-26T15:54:20.073Z] 22a0e8bec74d: Pull complete [2022-04-26T15:54:20.073Z] ca2b28591e48: Pull complete [2022-04-26T15:54:20.073Z] a51346096db8: Pull complete [2022-04-26T15:54:20.332Z] daebc70d1ce1: Pull complete [2022-04-26T15:54:22.868Z] 0e18a0eac166: Pull complete [2022-04-26T15:54:22.868Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T15:54:22.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T15:54:22.868Z] ---> f018257e8ee9 [2022-04-26T15:54:22.868Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T15:54:24.783Z] ---> Running in 0ca8eec83860 [2022-04-26T15:54:24.783Z] Removing intermediate container 0ca8eec83860 [2022-04-26T15:54:24.783Z] ---> d68d04ac8f7f [2022-04-26T15:54:24.783Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T15:54:24.783Z] ---> Running in c15bbb757772 [2022-04-26T15:54:24.783Z] Removing intermediate container c15bbb757772 [2022-04-26T15:54:24.783Z] ---> b407eff9bb8f [2022-04-26T15:54:24.783Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:54:24.783Z] ---> Running in cdde10e65fb4 [2022-04-26T15:54:25.361Z] Removing intermediate container cdde10e65fb4 [2022-04-26T15:54:25.361Z] ---> 3d15e4e50109 [2022-04-26T15:54:25.361Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T15:54:25.625Z] ---> Running in 0cd485759d77 [2022-04-26T15:54:25.888Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:54:26.470Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:54:27.043Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T15:54:27.043Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T15:54:27.043Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T15:54:27.304Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T15:54:27.304Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T15:54:27.304Z] OK: 224 MiB in 56 packages [2022-04-26T15:54:27.875Z] Removing intermediate container 0cd485759d77 [2022-04-26T15:54:27.875Z] ---> 85a0fcd767d9 [2022-04-26T15:54:27.875Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-26T15:54:27.875Z] ---> Running in 02c3a427b699 [2022-04-26T15:54:27.875Z] Removing intermediate container 02c3a427b699 [2022-04-26T15:54:27.875Z] ---> 4c21c24c5169 [2022-04-26T15:54:27.875Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-26T15:54:28.014Z] Still waiting to schedule task [2022-04-26T15:54:28.014Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-26T15:54:28.137Z] ---> cd33dad3c636 [2022-04-26T15:54:28.137Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:54:28.137Z] ---> Running in ef34633a6d71 [2022-04-26T15:54:46.258Z] Removing intermediate container ef34633a6d71 [2022-04-26T15:54:46.258Z] ---> 1e023b2e6e2e [2022-04-26T15:54:46.258Z] Step 10/12 : COPY . . [2022-04-26T15:54:46.258Z] ---> 4b25082192ba [2022-04-26T15:54:46.258Z] Step 11/12 : ARG MAKE='make build' [2022-04-26T15:54:46.258Z] ---> Running in 788cbe465ea4 [2022-04-26T15:54:46.258Z] Removing intermediate container 788cbe465ea4 [2022-04-26T15:54:46.258Z] ---> 97eaa320e948 [2022-04-26T15:54:46.258Z] Step 12/12 : RUN $MAKE [2022-04-26T15:54:46.258Z] ---> Running in 623895f1b7d4 [2022-04-26T15:54:46.519Z] noop [2022-04-26T15:54:46.779Z] Removing intermediate container 623895f1b7d4 [2022-04-26T15:54:46.779Z] ---> 0e789134181c [2022-04-26T15:54:46.779Z] Successfully built 0e789134181c [2022-04-26T15:54:46.779Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:47.084Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:54:47.084Z] . [Pipeline] withDockerContainer [2022-04-26T15:54:47.155Z] prd-ubuntu20.04-docker-8c-8g-24986 does not seem to be running inside a container [2022-04-26T15:54:47.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-367 -v /w/workspace/gexfoundry_device-mqtt-go_PR-367:/w/workspace/gexfoundry_device-mqtt-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-367@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 [2022-04-26T15:54:47.666Z] $ docker top 8c55462db84c872df972b873e43648a7a81e910b16cbbc53ff9384781f1ef62f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T15:54:48.025Z] + go version [2022-04-26T15:54:48.025Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T15:54:48.044Z] $ docker stop --time=1 8c55462db84c872df972b873e43648a7a81e910b16cbbc53ff9384781f1ef62f [2022-04-26T15:54:49.319Z] $ docker rm -f 8c55462db84c872df972b873e43648a7a81e910b16cbbc53ff9384781f1ef62f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:49.727Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:54:49.727Z] . [Pipeline] withDockerContainer [2022-04-26T15:54:49.795Z] prd-ubuntu20.04-docker-8c-8g-24986 does not seem to be running inside a container [2022-04-26T15:54:49.842Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-367 -v /w/workspace/gexfoundry_device-mqtt-go_PR-367:/w/workspace/gexfoundry_device-mqtt-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-367@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 [2022-04-26T15:54:50.207Z] $ docker top 59e4b77948c15a01e33bd81a103aec7c92f1875a01f6a5e58626078b03181045 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T15:54:50.579Z] + make test [2022-04-26T15:54:50.579Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-26T15:54:50.839Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-26T15:55:00.832Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-26T15:55:00.832Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2022-04-26T15:55:00.832Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-26T15:55:08.969Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T15:55:12.259Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T15:55:12.259Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T15:55:12.259Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T15:55:12.535Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T15:55:12.552Z] $ docker stop --time=1 59e4b77948c15a01e33bd81a103aec7c92f1875a01f6a5e58626078b03181045 [2022-04-26T15:55:14.788Z] $ docker rm -f 59e4b77948c15a01e33bd81a103aec7c92f1875a01f6a5e58626078b03181045 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T15:55:15.288Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T15:55:15.377Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T15:55:16.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T15:55:16.429Z] + ls -al . [2022-04-26T15:55:16.429Z] total 196 [2022-04-26T15:55:16.429Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 15:55 . [2022-04-26T15:55:16.429Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:53 .. [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 15:53 .dockerignore [2022-04-26T15:55:16.429Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:53 .git [2022-04-26T15:55:16.429Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 .github [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 15:53 .gitignore [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 15:53 .golangci.yml [2022-04-26T15:55:16.429Z] drwx------ 3 jenkins jenkins 4096 Apr 26 15:54 .semver [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 26 15:53 Attribution.txt [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 26 15:53 CHANGELOG.md [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 15:53 Dockerfile [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 15:53 GOVERNANCE.md [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 15:53 Jenkinsfile [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 15:53 LICENSE [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 15:53 Makefile [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 15:53 OWNERS.md [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 26 15:53 README.md [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 15:54 VERSION [2022-04-26T15:55:16.429Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:53 bin [2022-04-26T15:55:16.429Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 cmd [2022-04-26T15:55:16.429Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 26 15:55 coverage.out [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 26 15:53 go.mod [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 54276 Apr 26 15:53 go.sum [2022-04-26T15:55:16.429Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 internal [2022-04-26T15:55:16.429Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:53 mock [2022-04-26T15:55:16.429Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:53 snap [2022-04-26T15:55:16.429Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 15:53 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:16.728Z] + 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=f21ae3f10c1bd5bef0e0b485021b61c5d702b45e --label arch=amd64 --label version=0.0.0 . [2022-04-26T15:55:16.728Z] Sending build context to Docker daemon 5.84MB [2022-04-26T15:55:16.729Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:55:16.729Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-26T15:55:16.729Z] ---> 0e789134181c [2022-04-26T15:55:16.729Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T15:55:16.729Z] ---> Running in 3ada1300c04a [2022-04-26T15:55:16.988Z] Removing intermediate container 3ada1300c04a [2022-04-26T15:55:16.988Z] ---> becda8b634ee [2022-04-26T15:55:16.988Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T15:55:16.988Z] ---> Running in baf29f869f93 [2022-04-26T15:55:16.988Z] Removing intermediate container baf29f869f93 [2022-04-26T15:55:16.988Z] ---> aad549489eaa [2022-04-26T15:55:16.988Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:55:17.247Z] ---> Running in 37fe7d99d594 [2022-04-26T15:55:17.816Z] Removing intermediate container 37fe7d99d594 [2022-04-26T15:55:17.816Z] ---> b3aa77ac4c48 [2022-04-26T15:55:17.816Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T15:55:17.816Z] ---> Running in 382f6ed61f3b [2022-04-26T15:55:18.078Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:55:19.021Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:55:19.282Z] OK: 224 MiB in 56 packages [2022-04-26T15:55:19.542Z] Removing intermediate container 382f6ed61f3b [2022-04-26T15:55:19.542Z] ---> 970158bccd1c [2022-04-26T15:55:19.542Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-26T15:55:19.542Z] ---> Running in 28da2998d3a7 [2022-04-26T15:55:19.542Z] Removing intermediate container 28da2998d3a7 [2022-04-26T15:55:19.542Z] ---> 173f2ef1e080 [2022-04-26T15:55:19.542Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-26T15:55:19.803Z] ---> b17bb657e658 [2022-04-26T15:55:19.803Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:55:19.803Z] ---> Running in 598d7ab4531d [2022-04-26T15:55:20.741Z] Removing intermediate container 598d7ab4531d [2022-04-26T15:55:20.741Z] ---> c6ac8c03b730 [2022-04-26T15:55:20.741Z] Step 10/24 : COPY . . [2022-04-26T15:55:21.000Z] ---> 92d05ab8a151 [2022-04-26T15:55:21.000Z] Step 11/24 : ARG MAKE='make build' [2022-04-26T15:55:21.000Z] ---> Running in 20b1987f3818 [2022-04-26T15:55:21.000Z] Removing intermediate container 20b1987f3818 [2022-04-26T15:55:21.000Z] ---> 8197bfe5b699 [2022-04-26T15:55:21.000Z] Step 12/24 : RUN $MAKE [2022-04-26T15:55:21.000Z] ---> Running in ce9dc62210a8 [2022-04-26T15:55:21.260Z] 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 [2022-04-26T15:55:43.216Z] Removing intermediate container ce9dc62210a8 [2022-04-26T15:55:43.216Z] ---> 1468a2ec2a3a [2022-04-26T15:55:43.216Z] Step 13/24 : FROM alpine:3.14 [2022-04-26T15:55:43.216Z] 3.14: Pulling from library/alpine [2022-04-26T15:55:43.216Z] 8663204ce13b: Pulling fs layer [2022-04-26T15:55:43.475Z] 8663204ce13b: Verifying Checksum [2022-04-26T15:55:43.475Z] 8663204ce13b: Download complete [2022-04-26T15:55:43.733Z] 8663204ce13b: Pull complete [2022-04-26T15:55:43.733Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T15:55:43.733Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T15:55:43.733Z] ---> e04c818066af [2022-04-26T15:55:43.733Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-26T15:55:43.733Z] ---> Running in 8ff05980f813 [2022-04-26T15:55:43.992Z] Removing intermediate container 8ff05980f813 [2022-04-26T15:55:43.992Z] ---> 457001ae81c7 [2022-04-26T15:55:43.992Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T15:55:43.992Z] ---> Running in ff05658293cb [2022-04-26T15:55:44.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:55:44.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:55:44.514Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T15:55:44.514Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T15:55:44.514Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T15:55:44.514Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T15:55:44.514Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T15:55:44.514Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T15:55:44.514Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T15:55:44.514Z] OK: 8 MiB in 20 packages [2022-04-26T15:55:45.086Z] Removing intermediate container ff05658293cb [2022-04-26T15:55:45.086Z] ---> accac38ea80b [2022-04-26T15:55:45.086Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-26T15:55:45.657Z] ---> b38985cb9f14 [2022-04-26T15:55:45.657Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-26T15:55:45.916Z] ---> 7c0a3be49eb4 [2022-04-26T15:55:45.916Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-26T15:55:46.176Z] ---> 67b19941cc65 [2022-04-26T15:55:46.176Z] Step 19/24 : EXPOSE 59982 [2022-04-26T15:55:46.176Z] ---> Running in 5ffe5b18586f [2022-04-26T15:55:46.176Z] Removing intermediate container 5ffe5b18586f [2022-04-26T15:55:46.176Z] ---> a1c62a38f9bb [2022-04-26T15:55:46.176Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-26T15:55:46.176Z] ---> Running in eef77b230634 [2022-04-26T15:55:46.437Z] Removing intermediate container eef77b230634 [2022-04-26T15:55:46.437Z] ---> 402fccf30c51 [2022-04-26T15:55:46.437Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T15:55:46.437Z] ---> Running in 0014ddfb47fd [2022-04-26T15:55:46.437Z] Removing intermediate container 0014ddfb47fd [2022-04-26T15:55:46.437Z] ---> 5a79e89a3f40 [2022-04-26T15:55:46.437Z] Step 22/24 : LABEL arch=amd64 [2022-04-26T15:55:46.437Z] ---> Running in 5851ee8e155a [2022-04-26T15:55:46.698Z] Removing intermediate container 5851ee8e155a [2022-04-26T15:55:46.698Z] ---> fc6a005cb662 [2022-04-26T15:55:46.698Z] Step 23/24 : LABEL git_sha=f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [2022-04-26T15:55:46.698Z] ---> Running in 49951ddc7d43 [2022-04-26T15:55:46.698Z] Removing intermediate container 49951ddc7d43 [2022-04-26T15:55:46.698Z] ---> b35e8682d5ba [2022-04-26T15:55:46.698Z] Step 24/24 : LABEL version=0.0.0 [2022-04-26T15:55:46.698Z] ---> Running in d8c47423cce9 [2022-04-26T15:55:46.959Z] Removing intermediate container d8c47423cce9 [2022-04-26T15:55:46.959Z] ---> 1f493acb1773 [2022-04-26T15:55:46.959Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T15:55:46.959Z] Successfully built 1f493acb1773 [2022-04-26T15:55:46.959Z] Successfully tagged device-mqtt:latest [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] sh [2022-04-26T15:55:47.377Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:55:47.377Z] [2022-04-26T15:55:47.377Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:47.675Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:55:47.675Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T15:55:47.675Z] 5eb5b503b376: Pulling fs layer [2022-04-26T15:55:47.675Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T15:55:47.675Z] ec43610c2a17: Pulling fs layer [2022-04-26T15:55:47.675Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T15:55:47.675Z] 33b1e0a273af: Pulling fs layer [2022-04-26T15:55:47.675Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T15:55:47.675Z] 2f39f015ded8: Pulling fs layer [2022-04-26T15:55:47.675Z] 3a2ae6a8a46f: Waiting [2022-04-26T15:55:47.675Z] 33b1e0a273af: Waiting [2022-04-26T15:55:47.675Z] 5d3b04190fa2: Waiting [2022-04-26T15:55:47.675Z] 2f39f015ded8: Waiting [2022-04-26T15:55:47.675Z] 5c69ac0246d0: Verifying Checksum [2022-04-26T15:55:47.675Z] 5c69ac0246d0: Download complete [2022-04-26T15:55:47.675Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T15:55:47.675Z] 33b1e0a273af: Verifying Checksum [2022-04-26T15:55:47.675Z] 33b1e0a273af: Download complete [2022-04-26T15:55:47.675Z] 5d3b04190fa2: Verifying Checksum [2022-04-26T15:55:47.675Z] 5d3b04190fa2: Download complete [2022-04-26T15:55:47.675Z] ec43610c2a17: Verifying Checksum [2022-04-26T15:55:47.675Z] ec43610c2a17: Download complete [2022-04-26T15:55:47.935Z] 5eb5b503b376: Verifying Checksum [2022-04-26T15:55:47.935Z] 5eb5b503b376: Download complete [2022-04-26T15:55:48.502Z] 2f39f015ded8: Download complete [2022-04-26T15:55:49.073Z] 5eb5b503b376: Pull complete [2022-04-26T15:55:49.334Z] 5c69ac0246d0: Pull complete [2022-04-26T15:55:49.905Z] ec43610c2a17: Pull complete [2022-04-26T15:55:49.905Z] 3a2ae6a8a46f: Pull complete [2022-04-26T15:55:49.905Z] 33b1e0a273af: Pull complete [2022-04-26T15:55:50.167Z] 5d3b04190fa2: Pull complete [2022-04-26T15:55:54.360Z] 2f39f015ded8: Pull complete [2022-04-26T15:55:54.360Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T15:55:54.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:55:54.360Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T15:55:54.427Z] prd-ubuntu20.04-docker-8c-8g-24986 does not seem to be running inside a container [2022-04-26T15:55:54.472Z] $ 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-367 -v /w/workspace/gexfoundry_device-mqtt-go_PR-367:/w/workspace/gexfoundry_device-mqtt-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-367@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 [2022-04-26T15:55:56.526Z] $ docker top 836835ce52d70913125a5f94fbb04ee0950e528694a961d404ad2e2a42bac072 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:55:56.906Z] ---> job-cost.sh [2022-04-26T15:55:56.906Z] lf-activate-venv: SKIPPING [2022-04-26T15:55:56.906Z] INFO: No Stack... [2022-04-26T15:55:57.165Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T15:55:57.733Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T15:55:58.025Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives/cost.csv [2022-04-26T15:55:58.025Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T15:55:58.044Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] [2022-04-26T15:55:58.055Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] did not exist. Created. [2022-04-26T15:55:58.055Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T15:55:58.360Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T15:55:58.391Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T15:55:58.398Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T15:55:58.420Z] $ docker stop --time=1 836835ce52d70913125a5f94fbb04ee0950e528694a961d404ad2e2a42bac072 [2022-04-26T15:55:59.569Z] $ docker rm -f 836835ce52d70913125a5f94fbb04ee0950e528694a961d404ad2e2a42bac072 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T16:44:52.120Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29903 in /w/workspace/gexfoundry_device-mqtt-go_PR-367 [Pipeline] { [Pipeline] ws [2022-04-26T16:44:52.133Z] Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout [2022-04-26T16:44:52.631Z] Selected Git installation does not exist. Using Default [2022-04-26T16:44:52.631Z] The recommended git tool is: NONE [2022-04-26T16:44:58.477Z] using credential edgex-jenkins-ssh [2022-04-26T16:44:58.491Z] Cloning the remote Git repository [2022-04-26T16:44:58.552Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-26T16:44:58.618Z] > git init /w/workspace/device-mqtt-go/3 # timeout=10 [2022-04-26T16:44:58.683Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-26T16:44:58.683Z] > git --version # timeout=10 [2022-04-26T16:44:58.703Z] > git --version # 'git version 2.25.1' [2022-04-26T16:44:58.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T16:44:58.823Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T16:44:59.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-26T16:44:59.926Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T16:44:59.953Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-26T16:44:59.985Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-26T16:44:59.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T16:45:00.002Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-26T16:45:00.586Z] Merging remotes/origin/main commit cac5c8aff02eeff20ea0733b686feb688efb88bb into PR head commit f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [2022-04-26T16:45:00.802Z] Merge succeeded, producing f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [2022-04-26T16:45:00.803Z] Checking out Revision f21ae3f10c1bd5bef0e0b485021b61c5d702b45e (PR-367) [2022-04-26T16:45:00.614Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T16:45:00.629Z] > git checkout -f f21ae3f10c1bd5bef0e0b485021b61c5d702b45e # timeout=10 [2022-04-26T16:45:00.716Z] > git remote # timeout=10 [2022-04-26T16:45:00.734Z] > git config --get remote.origin.url # timeout=10 [2022-04-26T16:45:00.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T16:45:00.765Z] > git merge cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 [2022-04-26T16:45:00.791Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-26T16:45:00.816Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T16:45:00.828Z] > git checkout -f f21ae3f10c1bd5bef0e0b485021b61c5d702b45e # timeout=10 [2022-04-26T16:45:05.020Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T16:45:05.920Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T16:45:05.920Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T16:45:05.920Z] Dload Upload Total Spent Left Speed [2022-04-26T16:45:05.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 71775 0 --:--:-- --:--:-- --:--:-- 71775 [Pipeline] sh [2022-04-26T16:45:06.470Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T16:45:06.819Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T16:45:06.819Z] + sudo tee /etc/docker/daemon.new [2022-04-26T16:45:06.819Z] { [2022-04-26T16:45:06.819Z] "registry-mirrors": [ [2022-04-26T16:45:06.819Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T16:45:06.819Z] ], [2022-04-26T16:45:06.819Z] "bip": "10.250.0.254/24", [2022-04-26T16:45:06.819Z] "hosts": [ [2022-04-26T16:45:06.819Z] "tcp://0.0.0.0:5555", [2022-04-26T16:45:06.819Z] "unix:///var/run/docker.sock" [2022-04-26T16:45:06.819Z] ], [2022-04-26T16:45:06.819Z] "mtu": 1458, [2022-04-26T16:45:06.819Z] "selinux-enabled": true, [2022-04-26T16:45:06.819Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T16:45:06.819Z] } [Pipeline] sh [2022-04-26T16:45:07.181Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T16:45:07.533Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:45:26.005Z] provisioning config files... [2022-04-26T16:45:26.029Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config7554770117782362533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:45:26.450Z] ---> docker-login.sh [2022-04-26T16:45:26.450Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:45:27.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:45:27.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:45:27.320Z] Configure a credential helper to remove this warning. See [2022-04-26T16:45:27.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:45:27.320Z] [2022-04-26T16:45:27.320Z] Login Succeeded [2022-04-26T16:45:27.320Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:45:27.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:45:27.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:45:27.597Z] Configure a credential helper to remove this warning. See [2022-04-26T16:45:27.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:45:27.597Z] [2022-04-26T16:45:27.597Z] Login Succeeded [2022-04-26T16:45:27.872Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:45:28.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:45:28.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:45:28.147Z] Configure a credential helper to remove this warning. See [2022-04-26T16:45:28.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:45:28.147Z] [2022-04-26T16:45:28.147Z] Login Succeeded [2022-04-26T16:45:28.147Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:45:28.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:45:28.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:45:28.706Z] Configure a credential helper to remove this warning. See [2022-04-26T16:45:28.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:45:28.706Z] [2022-04-26T16:45:28.706Z] Login Succeeded [2022-04-26T16:45:28.706Z] docker.io [2022-04-26T16:45:28.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:45:29.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:45:29.575Z] Configure a credential helper to remove this warning. See [2022-04-26T16:45:29.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:45:29.575Z] [2022-04-26T16:45:29.575Z] Login Succeeded [2022-04-26T16:45:29.575Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:45:29.593Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T16:45:30.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T16:45:30.124Z] ========================================================= [2022-04-26T16:45:30.124Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T16:45:30.124Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:45:30.478Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-26T16:45:30.753Z] Sending build context to Docker daemon 3.04MB [2022-04-26T16:45:30.753Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:45:30.753Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T16:45:31.032Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T16:45:31.032Z] 9b3977197b4f: Pulling fs layer [2022-04-26T16:45:31.032Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T16:45:31.032Z] 94645a83ff95: Pulling fs layer [2022-04-26T16:45:31.032Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T16:45:31.032Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T16:45:31.032Z] 3096ccb668a1: Pulling fs layer [2022-04-26T16:45:31.032Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T16:45:31.032Z] a4caa8a26152: Pulling fs layer [2022-04-26T16:45:31.032Z] 3f3a8bcf1eab: Waiting [2022-04-26T16:45:31.032Z] 0c92f367c5e7: Waiting [2022-04-26T16:45:31.032Z] 3096ccb668a1: Waiting [2022-04-26T16:45:31.032Z] e8cf19c19ddd: Waiting [2022-04-26T16:45:31.032Z] a4caa8a26152: Waiting [2022-04-26T16:45:31.032Z] 94645a83ff95: Verifying Checksum [2022-04-26T16:45:31.032Z] 94645a83ff95: Download complete [2022-04-26T16:45:31.032Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T16:45:31.032Z] 1a89e8eeedd5: Download complete [2022-04-26T16:45:31.032Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T16:45:31.032Z] 0c92f367c5e7: Download complete [2022-04-26T16:45:31.032Z] 9b3977197b4f: Verifying Checksum [2022-04-26T16:45:31.032Z] 9b3977197b4f: Download complete [2022-04-26T16:45:31.032Z] 3096ccb668a1: Verifying Checksum [2022-04-26T16:45:31.032Z] 3096ccb668a1: Download complete [2022-04-26T16:45:31.032Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T16:45:31.032Z] e8cf19c19ddd: Download complete [2022-04-26T16:45:31.641Z] 9b3977197b4f: Pull complete [2022-04-26T16:45:32.248Z] 1a89e8eeedd5: Pull complete [2022-04-26T16:45:32.524Z] 94645a83ff95: Pull complete [2022-04-26T16:45:33.125Z] a4caa8a26152: Verifying Checksum [2022-04-26T16:45:33.125Z] a4caa8a26152: Download complete [2022-04-26T16:45:33.724Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T16:45:33.724Z] 3f3a8bcf1eab: Download complete [2022-04-26T16:45:46.140Z] 3f3a8bcf1eab: Pull complete [2022-04-26T16:45:46.140Z] 0c92f367c5e7: Pull complete [2022-04-26T16:45:46.140Z] 3096ccb668a1: Pull complete [2022-04-26T16:45:46.140Z] e8cf19c19ddd: Pull complete [2022-04-26T16:45:52.868Z] a4caa8a26152: Pull complete [2022-04-26T16:45:52.868Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T16:45:52.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T16:45:52.868Z] ---> 725f1c02e7f9 [2022-04-26T16:45:52.868Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T16:45:53.149Z] ---> Running in 50d8c37856a7 [2022-04-26T16:45:53.423Z] Removing intermediate container 50d8c37856a7 [2022-04-26T16:45:53.423Z] ---> 87ed01c41b21 [2022-04-26T16:45:53.423Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T16:45:53.423Z] ---> Running in 7f84cbfef940 [2022-04-26T16:45:53.708Z] Removing intermediate container 7f84cbfef940 [2022-04-26T16:45:53.708Z] ---> 4593859418d0 [2022-04-26T16:45:53.708Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:45:53.987Z] ---> Running in 05f853ab901e [2022-04-26T16:45:55.981Z] Removing intermediate container 05f853ab901e [2022-04-26T16:45:55.981Z] ---> 76fd1df8454c [2022-04-26T16:45:55.981Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T16:45:55.981Z] ---> Running in 1e53b2862193 [2022-04-26T16:45:56.579Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T16:45:57.568Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T16:45:58.593Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T16:45:58.593Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T16:45:58.593Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T16:45:58.878Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T16:45:58.878Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T16:45:58.878Z] OK: 224 MiB in 56 packages [2022-04-26T16:45:59.863Z] Removing intermediate container 1e53b2862193 [2022-04-26T16:45:59.863Z] ---> 9aac08c7a181 [2022-04-26T16:45:59.863Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-26T16:46:00.138Z] ---> Running in 7a3b82c32090 [2022-04-26T16:46:00.411Z] Removing intermediate container 7a3b82c32090 [2022-04-26T16:46:00.411Z] ---> f8f7864aa725 [2022-04-26T16:46:00.411Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-26T16:46:01.007Z] ---> 69c7b9d0a9d3 [2022-04-26T16:46:01.007Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:46:01.007Z] ---> Running in 49ee4155610b [2022-04-26T16:46:48.004Z] Removing intermediate container 49ee4155610b [2022-04-26T16:46:48.004Z] ---> b04c0e49e807 [2022-04-26T16:46:48.004Z] Step 10/12 : COPY . . [2022-04-26T16:46:48.004Z] ---> 48f6f6094189 [2022-04-26T16:46:48.004Z] Step 11/12 : ARG MAKE='make build' [2022-04-26T16:46:48.004Z] ---> Running in b4663f695a74 [2022-04-26T16:46:48.004Z] Removing intermediate container b4663f695a74 [2022-04-26T16:46:48.004Z] ---> 40e492b028de [2022-04-26T16:46:48.004Z] Step 12/12 : RUN $MAKE [2022-04-26T16:46:48.004Z] ---> Running in 9d7517c6761e [2022-04-26T16:46:48.004Z] noop [2022-04-26T16:46:48.004Z] Removing intermediate container 9d7517c6761e [2022-04-26T16:46:48.004Z] ---> d90cba4972ea [2022-04-26T16:46:48.004Z] Successfully built d90cba4972ea [2022-04-26T16:46:48.004Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:46:48.351Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T16:46:48.351Z] . [Pipeline] withDockerContainer [2022-04-26T16:46:48.593Z] prd-ubuntu20.04-docker-arm64-4c-16g-29903 does not seem to be running inside a container [2022-04-26T16:46:48.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-26T16:46:49.943Z] $ docker top 57d61d3ef8d88eb2197c5c5c2115511ca6a2f4f4dde3770be4d1c31f9fa58a79 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T16:46:50.833Z] + go version [2022-04-26T16:46:50.833Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T16:46:50.867Z] $ docker stop --time=1 57d61d3ef8d88eb2197c5c5c2115511ca6a2f4f4dde3770be4d1c31f9fa58a79 [2022-04-26T16:46:52.480Z] $ docker rm -f 57d61d3ef8d88eb2197c5c5c2115511ca6a2f4f4dde3770be4d1c31f9fa58a79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:46:53.071Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T16:46:53.071Z] . [Pipeline] withDockerContainer [2022-04-26T16:46:53.291Z] prd-ubuntu20.04-docker-arm64-4c-16g-29903 does not seem to be running inside a container [2022-04-26T16:46:53.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-26T16:46:54.610Z] $ docker top fa3bb2e5450361e34c73333a4f1e4e91c209b0b9bba6e0ad3d20c66cba73f44d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T16:46:55.510Z] + make test [2022-04-26T16:46:55.510Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-26T16:46:56.962Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-26T16:48:18.855Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-26T16:48:18.855Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements [2022-04-26T16:48:18.855Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-26T16:48:18.855Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-26T16:48:18.855Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T16:48:41.076Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T16:48:41.076Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T16:48:41.076Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T16:48:41.100Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T16:48:41.124Z] $ docker stop --time=1 fa3bb2e5450361e34c73333a4f1e4e91c209b0b9bba6e0ad3d20c66cba73f44d [2022-04-26T16:48:42.856Z] $ docker rm -f fa3bb2e5450361e34c73333a4f1e4e91c209b0b9bba6e0ad3d20c66cba73f44d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T16:48:43.799Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T16:48:43.826Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T16:48:44.285Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T16:48:44.696Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T16:48:45.033Z] + ls -al . [2022-04-26T16:48:45.033Z] total 192 [2022-04-26T16:48:45.033Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 16:48 . [2022-04-26T16:48:45.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:44 .. [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 16:45 .dockerignore [2022-04-26T16:48:45.033Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 16:45 .git [2022-04-26T16:48:45.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:45 .github [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 16:45 .gitignore [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 16:45 .golangci.yml [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 26 16:45 Attribution.txt [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 26 16:45 CHANGELOG.md [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 16:45 Dockerfile [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 16:45 GOVERNANCE.md [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 16:45 Jenkinsfile [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 16:45 LICENSE [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 26 16:45 Makefile [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 16:45 OWNERS.md [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 26 16:45 README.md [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 15:54 VERSION [2022-04-26T16:48:45.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:45 bin [2022-04-26T16:48:45.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:45 cmd [2022-04-26T16:48:45.033Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 26 16:48 coverage.out [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 26 16:45 go.mod [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 54276 Apr 26 16:45 go.sum [2022-04-26T16:48:45.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:45 internal [2022-04-26T16:48:45.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:45 mock [2022-04-26T16:48:45.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:45 snap [2022-04-26T16:48:45.033Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 16:45 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:48:45.375Z] + 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=f21ae3f10c1bd5bef0e0b485021b61c5d702b45e --label arch=arm64 --label version=0.0.0 . [2022-04-26T16:48:45.653Z] Sending build context to Docker daemon 3.058MB [2022-04-26T16:48:45.653Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:48:45.653Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-26T16:48:45.653Z] ---> d90cba4972ea [2022-04-26T16:48:45.653Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T16:48:45.929Z] ---> Running in e6dbf1281afb [2022-04-26T16:48:46.206Z] Removing intermediate container e6dbf1281afb [2022-04-26T16:48:46.206Z] ---> 4073a151eefa [2022-04-26T16:48:46.206Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T16:48:46.206Z] ---> Running in 9e36d130c5ed [2022-04-26T16:48:46.485Z] Removing intermediate container 9e36d130c5ed [2022-04-26T16:48:46.485Z] ---> d6075e43c25b [2022-04-26T16:48:46.485Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:48:46.485Z] ---> Running in 40fec80de8d3 [2022-04-26T16:48:48.466Z] Removing intermediate container 40fec80de8d3 [2022-04-26T16:48:48.466Z] ---> 2a301bd0a35b [2022-04-26T16:48:48.466Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T16:48:48.466Z] ---> Running in 8dba3f627614 [2022-04-26T16:48:49.443Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T16:48:50.039Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T16:48:51.017Z] OK: 224 MiB in 56 packages [2022-04-26T16:48:52.005Z] Removing intermediate container 8dba3f627614 [2022-04-26T16:48:52.005Z] ---> 8e9a28f6d25b [2022-04-26T16:48:52.005Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-26T16:48:52.005Z] ---> Running in d1c713ef30a4 [2022-04-26T16:48:52.281Z] Removing intermediate container d1c713ef30a4 [2022-04-26T16:48:52.281Z] ---> f90782a9fa99 [2022-04-26T16:48:52.281Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-26T16:48:52.880Z] ---> 490953d4fa4b [2022-04-26T16:48:52.880Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:48:52.880Z] ---> Running in e348005cfb30 [2022-04-26T16:48:54.853Z] Removing intermediate container e348005cfb30 [2022-04-26T16:48:54.853Z] ---> 51fd2927f918 [2022-04-26T16:48:54.853Z] Step 10/24 : COPY . . [2022-04-26T16:48:55.448Z] ---> 339dbc74d5a0 [2022-04-26T16:48:55.448Z] Step 11/24 : ARG MAKE='make build' [2022-04-26T16:48:55.728Z] ---> Running in 6fd1f1c86d16 [2022-04-26T16:48:56.003Z] Removing intermediate container 6fd1f1c86d16 [2022-04-26T16:48:56.003Z] ---> aa46f1686f99 [2022-04-26T16:48:56.003Z] Step 12/24 : RUN $MAKE [2022-04-26T16:48:56.003Z] ---> Running in d5d0f7b980be [2022-04-26T16:48:56.987Z] 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 [2022-04-26T16:51:03.849Z] Removing intermediate container d5d0f7b980be [2022-04-26T16:51:03.849Z] ---> ac30d3c1597d [2022-04-26T16:51:03.849Z] Step 13/24 : FROM alpine:3.14 [2022-04-26T16:51:03.849Z] 3.14: Pulling from library/alpine [2022-04-26T16:51:03.849Z] 455c02918c45: Pulling fs layer [2022-04-26T16:51:03.849Z] 455c02918c45: Download complete [2022-04-26T16:51:03.849Z] 455c02918c45: Pull complete [2022-04-26T16:51:03.849Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T16:51:03.849Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T16:51:03.849Z] ---> ac73e934f311 [2022-04-26T16:51:03.849Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-26T16:51:03.849Z] ---> Running in 4850c1b9c22b [2022-04-26T16:51:03.849Z] Removing intermediate container 4850c1b9c22b [2022-04-26T16:51:03.849Z] ---> 2a12215a14c5 [2022-04-26T16:51:03.849Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T16:51:03.849Z] ---> Running in ad60e0eac5ad [2022-04-26T16:51:03.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-26T16:51:03.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-26T16:51:03.849Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T16:51:03.849Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T16:51:03.849Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T16:51:03.849Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T16:51:03.849Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T16:51:03.849Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T16:51:03.849Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T16:51:03.849Z] OK: 8 MiB in 20 packages [2022-04-26T16:51:03.849Z] Removing intermediate container ad60e0eac5ad [2022-04-26T16:51:03.849Z] ---> 9101781eb3be [2022-04-26T16:51:03.849Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-26T16:51:03.849Z] ---> 41f538661cec [2022-04-26T16:51:03.849Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-26T16:51:03.849Z] ---> 3296f5c57cbb [2022-04-26T16:51:03.849Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-26T16:51:03.849Z] ---> ca8b387142be [2022-04-26T16:51:03.849Z] Step 19/24 : EXPOSE 59982 [2022-04-26T16:51:03.849Z] ---> Running in 143fcfe55858 [2022-04-26T16:51:03.849Z] Removing intermediate container 143fcfe55858 [2022-04-26T16:51:03.849Z] ---> 231f5584b60f [2022-04-26T16:51:03.849Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-26T16:51:03.849Z] ---> Running in c5a85f1d72da [2022-04-26T16:51:03.849Z] Removing intermediate container c5a85f1d72da [2022-04-26T16:51:03.849Z] ---> a88a51b7e3c8 [2022-04-26T16:51:03.849Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T16:51:03.849Z] ---> Running in 4aaf21f84b5e [2022-04-26T16:51:03.849Z] Removing intermediate container 4aaf21f84b5e [2022-04-26T16:51:03.849Z] ---> f24fffbed682 [2022-04-26T16:51:03.849Z] Step 22/24 : LABEL arch=arm64 [2022-04-26T16:51:03.849Z] ---> Running in 2b0a41fc1d55 [2022-04-26T16:51:03.849Z] Removing intermediate container 2b0a41fc1d55 [2022-04-26T16:51:03.849Z] ---> f1b271dddd34 [2022-04-26T16:51:03.849Z] Step 23/24 : LABEL git_sha=f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [2022-04-26T16:51:03.849Z] ---> Running in 72f960093d17 [2022-04-26T16:51:03.849Z] Removing intermediate container 72f960093d17 [2022-04-26T16:51:03.849Z] ---> 9d9f12f8c4de [2022-04-26T16:51:03.849Z] Step 24/24 : LABEL version=0.0.0 [2022-04-26T16:51:03.849Z] ---> Running in 745322cb971c [2022-04-26T16:51:03.849Z] Removing intermediate container 745322cb971c [2022-04-26T16:51:03.849Z] ---> 66b85e23e8a9 [2022-04-26T16:51:03.849Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T16:51:03.849Z] Successfully built 66b85e23e8a9 [2022-04-26T16:51:03.849Z] Successfully tagged device-mqtt-arm64:latest [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] sh [2022-04-26T16:51:04.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:51:04.285Z] [2022-04-26T16:51:04.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:51:04.641Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:51:04.920Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T16:51:04.920Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T16:51:04.920Z] 04944245beec: Pulling fs layer [2022-04-26T16:51:04.920Z] 699f458cf7ca: Pulling fs layer [2022-04-26T16:51:04.920Z] 765212b225bb: Pulling fs layer [2022-04-26T16:51:04.920Z] f23df028b6ca: Pulling fs layer [2022-04-26T16:51:04.920Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T16:51:04.920Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T16:51:04.920Z] f23df028b6ca: Waiting [2022-04-26T16:51:04.920Z] d65c8cfc05b1: Waiting [2022-04-26T16:51:04.920Z] 2437ff75d9bd: Waiting [2022-04-26T16:51:04.920Z] 765212b225bb: Waiting [2022-04-26T16:51:04.920Z] 04944245beec: Download complete [2022-04-26T16:51:04.920Z] 765212b225bb: Verifying Checksum [2022-04-26T16:51:04.920Z] 765212b225bb: Download complete [2022-04-26T16:51:04.920Z] f23df028b6ca: Download complete [2022-04-26T16:51:04.920Z] d65c8cfc05b1: Verifying Checksum [2022-04-26T16:51:04.920Z] d65c8cfc05b1: Download complete [2022-04-26T16:51:05.195Z] 699f458cf7ca: Verifying Checksum [2022-04-26T16:51:05.195Z] 699f458cf7ca: Download complete [2022-04-26T16:51:05.470Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T16:51:05.470Z] 8998bd30e6a1: Download complete [2022-04-26T16:51:08.103Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T16:51:08.103Z] 2437ff75d9bd: Download complete [2022-04-26T16:51:10.089Z] 8998bd30e6a1: Pull complete [2022-04-26T16:51:10.365Z] 04944245beec: Pull complete [2022-04-26T16:51:11.809Z] 699f458cf7ca: Pull complete [2022-04-26T16:51:12.084Z] 765212b225bb: Pull complete [2022-04-26T16:51:13.065Z] f23df028b6ca: Pull complete [2022-04-26T16:51:13.065Z] d65c8cfc05b1: Pull complete [2022-04-26T16:51:28.178Z] 2437ff75d9bd: Pull complete [2022-04-26T16:51:28.178Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T16:51:28.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:51:28.178Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T16:51:28.418Z] prd-ubuntu20.04-docker-arm64-4c-16g-29903 does not seem to be running inside a container [2022-04-26T16:51:28.516Z] $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-26T16:51:31.071Z] $ docker top 1177cca22da3a43fc223c8d8b34f930f9ce80d604bde4bcd07681b24fdbe0df3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:51:31.987Z] ---> job-cost.sh [2022-04-26T16:51:31.987Z] lf-activate-venv: SKIPPING [2022-04-26T16:51:31.987Z] INFO: No Stack... [2022-04-26T16:51:32.583Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T16:51:33.179Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T16:51:33.849Z] + cat /w/workspace/device-mqtt-go/3/archives/cost.csv [2022-04-26T16:51:33.849Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T16:51:33.915Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] [2022-04-26T16:51:33.924Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] did not exist. Created. [2022-04-26T16:51:33.924Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T16:51:34.615Z] /w/workspace/device-mqtt-go/3@tmp/durable-def71aa6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T16:51:35.295Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T16:51:35.316Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T16:51:35.366Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T16:51:35.376Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-367-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T16:51:35.408Z] $ docker stop --time=1 1177cca22da3a43fc223c8d8b34f930f9ce80d604bde4bcd07681b24fdbe0df3 [2022-04-26T16:51:36.915Z] $ docker rm -f 1177cca22da3a43fc223c8d8b34f930f9ce80d604bde4bcd07681b24fdbe0df3 [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 [2022-04-26T16:51:37.442Z] provisioning config files... [2022-04-26T16:51:37.451Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/config7130657153755501330tmp [Pipeline] { [Pipeline] sh [2022-04-26T16:51:37.747Z] + set +x [2022-04-26T16:51:37.747Z] + curl -s https://codecov.io/bash [2022-04-26T16:51:37.747Z] + bash -s -- [2022-04-26T16:51:37.747Z] [2022-04-26T16:51:37.747Z] _____ _ [2022-04-26T16:51:37.747Z] / ____| | | [2022-04-26T16:51:37.747Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T16:51:37.747Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T16:51:37.747Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T16:51:37.747Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T16:51:37.747Z] Bash-1.0.6 [2022-04-26T16:51:37.747Z] [2022-04-26T16:51:37.747Z] [2022-04-26T16:51:37.747Z] ==> git version 2.25.1 found [2022-04-26T16:51:37.747Z] ==> 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 [2022-04-26T16:51:37.747Z] Release-Date: 2020-01-08 [2022-04-26T16:51:37.747Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-26T16:51:37.747Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T16:51:37.747Z] ==> Jenkins CI detected. [2022-04-26T16:51:37.747Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-367 [2022-04-26T16:51:37.747Z] project root: . [2022-04-26T16:51:37.747Z] --> token set from env [2022-04-26T16:51:37.747Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T16:51:37.747Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T16:51:37.747Z] ==> Python coveragepy not found [2022-04-26T16:51:37.747Z] ==> Searching for coverage reports in: [2022-04-26T16:51:37.747Z] + . [2022-04-26T16:51:37.747Z] -> Found 1 reports [2022-04-26T16:51:37.747Z] ==> Detecting git/mercurial file structure [2022-04-26T16:51:37.747Z] ==> Reading reports [2022-04-26T16:51:37.747Z] + ./coverage.out bytes=17887 [2022-04-26T16:51:37.747Z] ==> Appending adjustments [2022-04-26T16:51:37.747Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T16:51:38.007Z] + Found adjustments [2022-04-26T16:51:38.007Z] ==> Gzipping contents [2022-04-26T16:51:38.007Z] 4.0K /tmp/codecov.Hc4BV9.gz [2022-04-26T16:51:38.007Z] ==> Uploading reports [2022-04-26T16:51:38.007Z] url: https://codecov.io [2022-04-26T16:51:38.007Z] query: branch=PR-367&commit=f21ae3f10c1bd5bef0e0b485021b61c5d702b45e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-367%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=367&job=&cmd_args= [2022-04-26T16:51:38.007Z] -> Pinging Codecov [2022-04-26T16:51:38.007Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-367&commit=f21ae3f10c1bd5bef0e0b485021b61c5d702b45e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-367%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=367&job=&cmd_args= [2022-04-26T16:51:38.267Z] -> Uploading to [2022-04-26T16:51:38.267Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-26/7D719EC7BBE17E464838252E33014C33/f21ae3f10c1bd5bef0e0b485021b61c5d702b45e/03072bf1-809b-4507-9cb3-6c4b481e8ad7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T165138Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f53b39170fa5a9aaee16f2e92f0a7fdeba5f0d71255e7d702346602c756a99f3 [2022-04-26T16:51:38.267Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T16:51:38.267Z] Dload Upload Total Spent Left Speed [2022-04-26T16:51:38.528Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3244 0 0 100 3244 0 14612 --:--:-- --:--:-- --:--:-- 14547 100 3244 0 0 100 3244 0 11224 --:--:-- --:--:-- --:--:-- 11186 [2022-04-26T16:51:38.528Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f21ae3f10c1bd5bef0e0b485021b61c5d702b45e [Pipeline] } [2022-04-26T16:51:38.537Z] 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 [2022-04-26T16:51:39.325Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives ] [2022-04-26T16:51:39.326Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives [2022-04-26T16:51:39.326Z] total 16 [2022-04-26T16:51:39.326Z] drwxr-xr-x 3 root root 4096 Apr 26 15:55 . [2022-04-26T16:51:39.326Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 15:55 .. [2022-04-26T16:51:39.326Z] drwxr-xr-x 2 root root 4096 Apr 26 15:55 cost [2022-04-26T16:51:39.326Z] -rw-r--r-- 1 root root 85 Apr 26 15:55 cost.csv [2022-04-26T16:51:39.326Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives [2022-04-26T16:51:39.326Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives [2022-04-26T16:51:39.326Z] total 16 [2022-04-26T16:51:39.326Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:55 . [2022-04-26T16:51:39.326Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 15:55 .. [2022-04-26T16:51:39.326Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:55 cost [2022-04-26T16:51:39.326Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 26 15:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:51:39.622Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:51:40.492Z] ---> package-listing.sh [2022-04-26T16:51:40.492Z] ++ facter osfamily [2022-04-26T16:51:40.492Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T16:51:40.751Z] + OS_FAMILY=debian [2022-04-26T16:51:40.751Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-367 [2022-04-26T16:51:40.751Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T16:51:40.751Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T16:51:40.751Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T16:51:40.751Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T16:51:40.751Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-367 ']' [2022-04-26T16:51:40.751Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T16:51:40.751Z] + case "${OS_FAMILY}" in [2022-04-26T16:51:40.751Z] + dpkg -l [2022-04-26T16:51:40.751Z] + grep '^ii' [2022-04-26T16:51:40.751Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T16:51:40.751Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T16:51:40.751Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T16:51:40.751Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-367 ']' [2022-04-26T16:51:40.751Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives/ [2022-04-26T16:51:40.751Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-367/archives/ [Pipeline] echo [2022-04-26T16:51:40.763Z] 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-367/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-26T16:51:41.041Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:51:41.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:51:41.597Z] . [Pipeline] withDockerContainer [2022-04-26T16:51:41.664Z] prd-ubuntu20.04-docker-8c-8g-24986 does not seem to be running inside a container [2022-04-26T16:51:41.702Z] $ 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-367/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-367 -v /w/workspace/gexfoundry_device-mqtt-go_PR-367:/w/workspace/gexfoundry_device-mqtt-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-367@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 [2022-04-26T16:51:41.927Z] $ docker top 39d8f6d6f7fefa7deab4d811c4fe3055e48d94bd8ede0e99c76221620caf6b26 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T16:51:42.283Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T16:51:42.578Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T16:51:42.864Z] + ls /var/log/sa-host [2022-04-26T16:51:42.864Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:51:42.956Z] provisioning config files... [2022-04-26T16:51:42.964Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-367@tmp/config5698822950336145886tmp [Pipeline] { [Pipeline] echo [2022-04-26T16:51:42.977Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:51:43.261Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T16:51:43.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:51:43.610Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T16:51:43.620Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:51:43.908Z] ---> sudo-logs.sh [2022-04-26T16:51:43.908Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T16:51:43.929Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:51:44.213Z] ---> job-cost.sh [2022-04-26T16:51:44.213Z] lf-activate-venv: SKIPPING [2022-04-26T16:51:44.213Z] DEBUG: total: 0.2199999988079071 [2022-04-26T16:51:44.213Z] INFO: Retrieving Stack Cost... [2022-04-26T16:51:44.784Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T16:51:45.045Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T16:51:45.058Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:51:45.344Z] ---> logs-deploy.sh [2022-04-26T16:51:45.345Z] lf-activate-venv: SKIPPING [2022-04-26T16:51:45.345Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-367/3 [2022-04-26T16:51:45.345Z] INFO: archiving workspace using pattern(s): [2022-04-26T16:51:46.285Z] Archives upload complete. [2022-04-26T16:51:46.285Z] INFO: archiving logs to Nexus