Pull request #353 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from c409dc4c3444d06408ccb922f0356585c36524ba+a7b844beee09313a8b0584ee433be2eeca10ef2f (b12de28e78468b7e00ac962280434fe2a12bf55c) 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-ssh15275380147119495574.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-ssh7628641653255489424.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-353/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-353/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13243579770816046764.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-ssh6745482269125835059.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-353/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-353/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10913757652570248149.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10479 in /w/workspace/gexfoundry_device-mqtt-go_PR-353 [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-353 # 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 a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit c409dc4c3444d06408ccb922f0356585c36524ba Merge succeeded, producing 53f2f83d35fec0e60b00c2efc646e117ed81c56f Checking out Revision 53f2f83d35fec0e60b00c2efc646e117ed81c56f (PR-353) > 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/353/head:refs/remotes/origin/PR-353 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c409dc4c3444d06408ccb922f0356585c36524ba # 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 a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53f2f83d35fec0e60b00c2efc646e117ed81c56f # timeout=10 Commit message: "Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD" > git rev-list --no-walk 7afb35db2f8decbe3b7924e0d1777d040cf3d8d2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-01T18:08:48.654Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-01T18:08:48.710Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-01T18:08:48.722Z] ========================================================= [2022-04-01T18:08:48.722Z] EdgeX Global Pipelines Version Info [2022-04-01T18:08:48.722Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-01T18:08:49.478Z] ------------------- [2022-04-01T18:08:49.478Z] stable info: [2022-04-01T18:08:49.478Z] ------------------- [2022-04-01T18:08:49.478Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-01T18:08:49.478Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-01T18:08:49.478Z] Message: update stable to v1.0.221 [2022-04-01T18:08:50.051Z] ------------------- [2022-04-01T18:08:50.051Z] experimental info: [2022-04-01T18:08:50.051Z] ------------------- [2022-04-01T18:08:50.051Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-01T18:08:50.051Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-01T18:08:50.051Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-01T18:08:50.186Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-01T18:08:50.200Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-01T18:08:50.215Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-01T18:08:50.228Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-01T18:08:50.243Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-01T18:08:50.259Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-01T18:08:50.277Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-01T18:08:50.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-01T18:08:50.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-01T18:08:50.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-01T18:08:50.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-01T18:08:50.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-01T18:08:50.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-01T18:08:50.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-01T18:08:50.382Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-01T18:08:50.397Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-01T18:08:50.411Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-01T18:08:50.425Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-01T18:08:50.437Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-01T18:08:50.450Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-01T18:08:50.466Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-01T18:08:50.484Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-01T18:08:50.504Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-01T18:08:50.518Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-01T18:08:50.535Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-01T18:08:50.549Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-01T18:08:50.562Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-353 [Pipeline] echo [2022-04-01T18:08:50.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-353 [Pipeline] echo [2022-04-01T18:08:50.593Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-353 [Pipeline] echo [2022-04-01T18:08:50.605Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53f2f83d35fec0e60b00c2efc646e117ed81c56f [Pipeline] echo [2022-04-01T18:08:50.619Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53f2f83 [Pipeline] echo [2022-04-01T18:08:50.635Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T18:08:50.679Z] provisioning config files... [2022-04-01T18:08:50.694Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config7502999233313659115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T18:08:51.003Z] ---> docker-login.sh [2022-04-01T18:08:51.003Z] nexus3.edgexfoundry.org:10001 [2022-04-01T18:08:51.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:08:51.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:08:51.269Z] Configure a credential helper to remove this warning. See [2022-04-01T18:08:51.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:08:51.269Z] [2022-04-01T18:08:51.269Z] Login Succeeded [2022-04-01T18:08:51.269Z] nexus3.edgexfoundry.org:10002 [2022-04-01T18:08:51.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:08:51.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:08:51.534Z] Configure a credential helper to remove this warning. See [2022-04-01T18:08:51.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:08:51.534Z] [2022-04-01T18:08:51.534Z] Login Succeeded [2022-04-01T18:08:51.534Z] nexus3.edgexfoundry.org:10003 [2022-04-01T18:08:51.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:08:51.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:08:51.534Z] Configure a credential helper to remove this warning. See [2022-04-01T18:08:51.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:08:51.534Z] [2022-04-01T18:08:51.534Z] Login Succeeded [2022-04-01T18:08:51.534Z] nexus3.edgexfoundry.org:10004 [2022-04-01T18:08:51.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:08:51.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:08:51.795Z] Configure a credential helper to remove this warning. See [2022-04-01T18:08:51.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:08:51.795Z] [2022-04-01T18:08:51.795Z] Login Succeeded [2022-04-01T18:08:51.795Z] docker.io [2022-04-01T18:08:51.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:08:52.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:08:52.370Z] Configure a credential helper to remove this warning. See [2022-04-01T18:08:52.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:08:52.370Z] [2022-04-01T18:08:52.370Z] Login Succeeded [2022-04-01T18:08:52.370Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T18:08:52.378Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-01T18:08:52.766Z] + git rev-list -1 --merges 53f2f83d35fec0e60b00c2efc646e117ed81c56f~1..53f2f83d35fec0e60b00c2efc646e117ed81c56f [Pipeline] echo [2022-04-01T18:08:52.873Z] -----------> git rev-list -1 --merges 53f2f83d35fec0e60b00c2efc646e117ed81c56f~1..53f2f83d35fec0e60b00c2efc646e117ed81c56f 53f2f83d35fec0e60b00c2efc646e117ed81c56f [2022-04-01T18:08:52.873Z] 53f2f83d35fec0e60b00c2efc646e117ed81c56f [false] [Pipeline] sh [2022-04-01T18:08:53.171Z] + git log --format=format:%s -1 53f2f83d35fec0e60b00c2efc646e117ed81c56f [Pipeline] echo [2022-04-01T18:08:53.189Z] ========================================================= [2022-04-01T18:08:53.189Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-01T18:08:53.189Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T18:08:53.539Z] + git log --format=format:%s -1 53f2f83d35fec0e60b00c2efc646e117ed81c56f [Pipeline] echo [2022-04-01T18:08:53.555Z] [semverPrep] GIT_COMMIT: 53f2f83d35fec0e60b00c2efc646e117ed81c56f, Commit Message: Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD [Pipeline] echo [2022-04-01T18:08:53.565Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-01T18:08:53.956Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-01T18:08:53.957Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-01T18:08:53.957Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-01T18:08:53.957Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-01T18:08:53.957Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-01T18:08:53.957Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-01T18:08:53.957Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-01T18:08:54.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T18:08:54.315Z] [2022-04-01T18:08:54.315Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T18:08:54.618Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T18:08:54.618Z] latest: Pulling from edgex-devops/git-semver [2022-04-01T18:08:54.618Z] a0d0a0d46f8b: Pulling fs layer [2022-04-01T18:08:54.618Z] 3e5f54012d9b: Pulling fs layer [2022-04-01T18:08:54.618Z] 4c7163046ea9: Pulling fs layer [2022-04-01T18:08:54.618Z] 0c2d73faf560: Pulling fs layer [2022-04-01T18:08:54.618Z] 0c2d73faf560: Waiting [2022-04-01T18:08:54.618Z] 3e5f54012d9b: Verifying Checksum [2022-04-01T18:08:54.618Z] 3e5f54012d9b: Download complete [2022-04-01T18:08:54.618Z] a0d0a0d46f8b: Download complete [2022-04-01T18:08:54.618Z] 0c2d73faf560: Verifying Checksum [2022-04-01T18:08:54.619Z] 0c2d73faf560: Download complete [2022-04-01T18:08:54.619Z] 4c7163046ea9: Verifying Checksum [2022-04-01T18:08:54.619Z] 4c7163046ea9: Download complete [2022-04-01T18:08:54.880Z] a0d0a0d46f8b: Pull complete [2022-04-01T18:08:54.880Z] 3e5f54012d9b: Pull complete [2022-04-01T18:08:55.142Z] 4c7163046ea9: Pull complete [2022-04-01T18:08:55.402Z] 0c2d73faf560: Pull complete [2022-04-01T18:08:55.402Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-01T18:08:55.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T18:08:55.402Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-01T18:08:55.483Z] prd-ubuntu20.04-docker-8c-8g-10479 does not seem to be running inside a container [2022-04-01T18:08:55.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@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:10004/edgex-devops/git-semver:latest cat [2022-04-01T18:08:56.213Z] $ docker top 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-01T18:08:56.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T18:08:56.316Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T18:08:56.445Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T18:08:56.453Z] $ docker exec 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 ssh-agent [2022-04-01T18:08:56.580Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeCjAlN/agent.14 [2022-04-01T18:08:56.580Z] SSH_AGENT_PID=21 [2022-04-01T18:08:56.589Z] Running ssh-add (command line suppressed) [2022-04-01T18:08:56.734Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_7492638062658044649.key (/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_7492638062658044649.key) [2022-04-01T18:08:56.748Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T18:08:57.053Z] + git tag --points-at HEAD [Pipeline] } [2022-04-01T18:08:57.080Z] $ docker exec --env ******** --env ******** 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 ssh-agent -k [2022-04-01T18:08:57.194Z] unset SSH_AUTH_SOCK; [2022-04-01T18:08:57.195Z] unset SSH_AGENT_PID; [2022-04-01T18:08:57.195Z] echo Agent pid 21 killed; [2022-04-01T18:08:57.202Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-01T18:08:57.230Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T18:08:57.230Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T18:08:57.354Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T18:08:57.362Z] $ docker exec 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 ssh-agent [2022-04-01T18:08:57.481Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOjKLpH/agent.54 [2022-04-01T18:08:57.481Z] SSH_AGENT_PID=60 [2022-04-01T18:08:57.488Z] Running ssh-add (command line suppressed) [2022-04-01T18:08:57.597Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_7362117553296615942.key (/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_7362117553296615942.key) [2022-04-01T18:08:57.609Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T18:08:57.906Z] + git semver init [2022-04-01T18:08:57.906Z] # -> Open(): unable to determine branch for HEAD [2022-04-01T18:08:57.906Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-353/.git [2022-04-01T18:08:57.906Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-353 [2022-04-01T18:08:57.906Z] # $SEMVER_REMOTE_NAME = origin [2022-04-01T18:08:57.906Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-01T18:08:57.906Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-01T18:08:57.906Z] # $SEMVER_BRANCH = PR-353 [2022-04-01T18:08:57.906Z] # $SEMVER_TEMP = /tmp/semver-539156326 [2022-04-01T18:08:57.906Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-01T18:08:58.850Z] # '/tmp/semver-539156326' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-353/.semver' [2022-04-01T18:08:58.850Z] # -> Force: false [2022-04-01T18:08:58.850Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-353/.semver [Pipeline] } [2022-04-01T18:08:58.868Z] $ docker exec --env ******** --env ******** 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 ssh-agent -k [2022-04-01T18:08:58.982Z] unset SSH_AUTH_SOCK; [2022-04-01T18:08:58.982Z] unset SSH_AGENT_PID; [2022-04-01T18:08:58.983Z] echo Agent pid 60 killed; [2022-04-01T18:08:58.993Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-01T18:08:59.310Z] + git semver [Pipeline] } [2022-04-01T18:08:59.330Z] $ docker stop --time=1 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 [2022-04-01T18:09:00.689Z] $ docker rm -f 443785ed03909f9d4507695c015d30c29c9fcc9c3222675d08c8ece8a9c5e237 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T18:09:01.047Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-01T18:09:01.322Z] Stashed 1 file(s) [Pipeline] echo [2022-04-01T18:09:01.326Z] [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-01T18:09:01.445Z] provisioning config files... [2022-04-01T18:09:01.456Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config8626230067793044218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T18:09:01.764Z] ---> docker-login.sh [2022-04-01T18:09:01.764Z] nexus3.edgexfoundry.org:10001 [2022-04-01T18:09:01.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:09:01.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:09:01.764Z] Configure a credential helper to remove this warning. See [2022-04-01T18:09:01.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:09:01.764Z] [2022-04-01T18:09:01.764Z] Login Succeeded [2022-04-01T18:09:01.764Z] nexus3.edgexfoundry.org:10002 [2022-04-01T18:09:01.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:09:02.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:09:02.025Z] Configure a credential helper to remove this warning. See [2022-04-01T18:09:02.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:09:02.025Z] [2022-04-01T18:09:02.025Z] Login Succeeded [2022-04-01T18:09:02.025Z] nexus3.edgexfoundry.org:10003 [2022-04-01T18:09:02.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:09:02.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:09:02.026Z] Configure a credential helper to remove this warning. See [2022-04-01T18:09:02.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:09:02.026Z] [2022-04-01T18:09:02.026Z] Login Succeeded [2022-04-01T18:09:02.026Z] nexus3.edgexfoundry.org:10004 [2022-04-01T18:09:02.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:09:02.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:09:02.286Z] Configure a credential helper to remove this warning. See [2022-04-01T18:09:02.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:09:02.286Z] [2022-04-01T18:09:02.286Z] Login Succeeded [2022-04-01T18:09:02.286Z] docker.io [2022-04-01T18:09:02.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:09:02.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:09:02.546Z] Configure a credential helper to remove this warning. See [2022-04-01T18:09:02.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:09:02.546Z] [2022-04-01T18:09:02.546Z] Login Succeeded [2022-04-01T18:09:02.546Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T18:09:02.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-01T18:09:02.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T18:09:02.637Z] ========================================================= [2022-04-01T18:09:02.637Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-01T18:09:02.637Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-01T18:09:02.964Z] + 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-01T18:09:02.964Z] Sending build context to Docker daemon 5.838MB [2022-04-01T18:09:02.964Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T18:09:02.964Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-01T18:09:02.964Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-01T18:09:02.964Z] 59bf1c3509f3: Pulling fs layer [2022-04-01T18:09:02.964Z] 666ba61612fd: Pulling fs layer [2022-04-01T18:09:02.964Z] 8ed8ca486205: Pulling fs layer [2022-04-01T18:09:02.964Z] 4fe6c5a15a65: Pulling fs layer [2022-04-01T18:09:02.964Z] 22a0e8bec74d: Pulling fs layer [2022-04-01T18:09:02.964Z] 640e595b4fbd: Pulling fs layer [2022-04-01T18:09:02.964Z] 763cafe07f6e: Pulling fs layer [2022-04-01T18:09:02.964Z] 0c0b528cf693: Pulling fs layer [2022-04-01T18:09:02.964Z] 10935f4eaf8b: Pulling fs layer [2022-04-01T18:09:02.964Z] 4fe6c5a15a65: Waiting [2022-04-01T18:09:02.964Z] 22a0e8bec74d: Waiting [2022-04-01T18:09:02.964Z] 10935f4eaf8b: Waiting [2022-04-01T18:09:02.964Z] 640e595b4fbd: Waiting [2022-04-01T18:09:02.964Z] 0c0b528cf693: Waiting [2022-04-01T18:09:02.964Z] 763cafe07f6e: Waiting [2022-04-01T18:09:02.964Z] 8ed8ca486205: Download complete [2022-04-01T18:09:02.964Z] 666ba61612fd: Download complete [2022-04-01T18:09:02.964Z] 22a0e8bec74d: Verifying Checksum [2022-04-01T18:09:02.964Z] 22a0e8bec74d: Download complete [2022-04-01T18:09:02.964Z] 640e595b4fbd: Verifying Checksum [2022-04-01T18:09:02.964Z] 640e595b4fbd: Download complete [2022-04-01T18:09:02.964Z] 59bf1c3509f3: Verifying Checksum [2022-04-01T18:09:02.964Z] 59bf1c3509f3: Download complete [2022-04-01T18:09:03.227Z] 763cafe07f6e: Verifying Checksum [2022-04-01T18:09:03.228Z] 763cafe07f6e: Download complete [2022-04-01T18:09:03.228Z] 0c0b528cf693: Verifying Checksum [2022-04-01T18:09:03.228Z] 0c0b528cf693: Download complete [2022-04-01T18:09:03.228Z] 59bf1c3509f3: Pull complete [2022-04-01T18:09:03.493Z] 666ba61612fd: Pull complete [2022-04-01T18:09:03.493Z] 8ed8ca486205: Pull complete [2022-04-01T18:09:03.753Z] 10935f4eaf8b: Verifying Checksum [2022-04-01T18:09:03.753Z] 10935f4eaf8b: Download complete [2022-04-01T18:09:03.753Z] 4fe6c5a15a65: Verifying Checksum [2022-04-01T18:09:03.753Z] 4fe6c5a15a65: Download complete [2022-04-01T18:09:07.950Z] 4fe6c5a15a65: Pull complete [2022-04-01T18:09:07.950Z] 22a0e8bec74d: Pull complete [2022-04-01T18:09:07.950Z] 640e595b4fbd: Pull complete [2022-04-01T18:09:07.950Z] 763cafe07f6e: Pull complete [2022-04-01T18:09:07.950Z] 0c0b528cf693: Pull complete [2022-04-01T18:09:09.858Z] 10935f4eaf8b: Pull complete [2022-04-01T18:09:09.858Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-01T18:09:09.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-01T18:09:09.858Z] ---> 99d49a6021b9 [2022-04-01T18:09:09.858Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T18:09:11.247Z] ---> Running in 5f3af3fb34ee [2022-04-01T18:09:11.247Z] Removing intermediate container 5f3af3fb34ee [2022-04-01T18:09:11.247Z] ---> 5d96a690b4b9 [2022-04-01T18:09:11.247Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T18:09:11.247Z] ---> Running in 238fda949af2 [2022-04-01T18:09:11.507Z] Removing intermediate container 238fda949af2 [2022-04-01T18:09:11.507Z] ---> ffa216c5bc82 [2022-04-01T18:09:11.507Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T18:09:11.507Z] ---> Running in 5c2fabb25c75 [2022-04-01T18:09:12.080Z] Removing intermediate container 5c2fabb25c75 [2022-04-01T18:09:12.080Z] ---> 29d0d2ac75de [2022-04-01T18:09:12.080Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T18:09:12.080Z] ---> Running in d5dde87b4854 [2022-04-01T18:09:12.340Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-01T18:09:13.281Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-01T18:09:13.549Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-01T18:09:13.549Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-01T18:09:13.811Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-01T18:09:13.811Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-01T18:09:13.811Z] Executing busybox-1.34.1-r3.trigger [2022-04-01T18:09:13.811Z] OK: 224 MiB in 56 packages [2022-04-01T18:09:14.381Z] Removing intermediate container d5dde87b4854 [2022-04-01T18:09:14.381Z] ---> bb7fb4f7f019 [2022-04-01T18:09:14.381Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-01T18:09:14.381Z] ---> Running in 2700ab11b5c8 [2022-04-01T18:09:14.381Z] Removing intermediate container 2700ab11b5c8 [2022-04-01T18:09:14.381Z] ---> 32f95859b1d4 [2022-04-01T18:09:14.381Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-01T18:09:14.642Z] ---> 75c81e367fc1 [2022-04-01T18:09:14.642Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T18:09:14.642Z] ---> Running in fd570bdf84a3 [2022-04-01T18:09:16.411Z] Still waiting to schedule task [2022-04-01T18:09:16.411Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-10475’ is offline [2022-04-01T18:09:36.662Z] Removing intermediate container fd570bdf84a3 [2022-04-01T18:09:36.662Z] ---> 5a92b0bcb598 [2022-04-01T18:09:36.662Z] Step 10/12 : COPY . . [2022-04-01T18:09:36.662Z] ---> 6bb2c55802e8 [2022-04-01T18:09:36.662Z] Step 11/12 : ARG MAKE='make build' [2022-04-01T18:09:36.662Z] ---> Running in 2ef3061f5564 [2022-04-01T18:09:36.662Z] Removing intermediate container 2ef3061f5564 [2022-04-01T18:09:36.662Z] ---> 2b99235d03b6 [2022-04-01T18:09:36.662Z] Step 12/12 : RUN $MAKE [2022-04-01T18:09:36.662Z] ---> Running in ca3ef6db9032 [2022-04-01T18:09:36.662Z] noop [2022-04-01T18:09:36.662Z] Removing intermediate container ca3ef6db9032 [2022-04-01T18:09:36.662Z] ---> 639b523886dc [2022-04-01T18:09:36.662Z] Successfully built 639b523886dc [2022-04-01T18:09:36.662Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T18:09:36.985Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-01T18:09:36.985Z] . [Pipeline] withDockerContainer [2022-04-01T18:09:37.058Z] prd-ubuntu20.04-docker-8c-8g-10479 does not seem to be running inside a container [2022-04-01T18:09:37.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-01T18:09:37.514Z] $ docker top 174d8a2ca03670d699b63daf337b0b2d10379c4950b47e66cd0810fbf4181010 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T18:09:37.871Z] + go version [2022-04-01T18:09:37.871Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-01T18:09:37.889Z] $ docker stop --time=1 174d8a2ca03670d699b63daf337b0b2d10379c4950b47e66cd0810fbf4181010 [2022-04-01T18:09:39.182Z] $ docker rm -f 174d8a2ca03670d699b63daf337b0b2d10379c4950b47e66cd0810fbf4181010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T18:09:39.570Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-01T18:09:39.570Z] . [Pipeline] withDockerContainer [2022-04-01T18:09:39.644Z] prd-ubuntu20.04-docker-8c-8g-10479 does not seem to be running inside a container [2022-04-01T18:09:39.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-01T18:09:40.158Z] $ docker top b1b161aacd3d467c810bbb31b2bb6e0c9b2dec65b0fa18aff71e8ed9e24af094 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-01T18:09:40.534Z] + make test [2022-04-01T18:09:40.535Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-01T18:09:40.794Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-01T18:09:47.376Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-01T18:09:47.636Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2022-04-01T18:09:47.636Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-01T18:09:52.923Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-01T18:09:55.464Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-01T18:09:55.464Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-01T18:09:55.464Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-01T18:09:55.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-01T18:09:55.758Z] $ docker stop --time=1 b1b161aacd3d467c810bbb31b2bb6e0c9b2dec65b0fa18aff71e8ed9e24af094 [2022-04-01T18:09:57.464Z] $ docker rm -f b1b161aacd3d467c810bbb31b2bb6e0c9b2dec65b0fa18aff71e8ed9e24af094 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T18:09:57.873Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-01T18:09:57.911Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-01T18:09:58.490Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-01T18:09:58.781Z] + ls -al . [2022-04-01T18:09:58.781Z] total 188 [2022-04-01T18:09:58.781Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 1 18:09 . [2022-04-01T18:09:58.781Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:08 .. [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 18:08 .dockerignore [2022-04-01T18:09:58.781Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 18:08 .git [2022-04-01T18:09:58.781Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:08 .github [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 1 18:08 .gitignore [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 1 18:08 .golangci.yml [2022-04-01T18:09:58.781Z] drwx------ 3 jenkins jenkins 4096 Apr 1 18:08 .semver [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 1 18:08 Attribution.txt [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 1 18:08 CHANGELOG.md [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 1 18:08 Dockerfile [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 18:08 GOVERNANCE.md [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 1 18:08 Jenkinsfile [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 18:08 LICENSE [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 1531 Apr 1 18:08 Makefile [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 1 18:08 OWNERS.md [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 1 18:08 README.md [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 18:09 VERSION [2022-04-01T18:09:58.781Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:08 bin [2022-04-01T18:09:58.781Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:08 cmd [2022-04-01T18:09:58.781Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 1 18:09 coverage.out [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 1 18:08 go.mod [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 1 18:08 go.sum [2022-04-01T18:09:58.781Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:08 internal [2022-04-01T18:09:58.781Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:08 mock [2022-04-01T18:09:58.781Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:08 snap [2022-04-01T18:09:58.781Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 1 18:08 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-01T18:09:59.077Z] + 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=53f2f83d35fec0e60b00c2efc646e117ed81c56f --label arch=amd64 --label version=0.0.0 . [2022-04-01T18:09:59.077Z] Sending build context to Docker daemon 5.857MB [2022-04-01T18:09:59.077Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T18:09:59.077Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-01T18:09:59.077Z] ---> 639b523886dc [2022-04-01T18:09:59.077Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T18:09:59.077Z] ---> Running in 4b516c8bc944 [2022-04-01T18:09:59.337Z] Removing intermediate container 4b516c8bc944 [2022-04-01T18:09:59.337Z] ---> 450c4a32409f [2022-04-01T18:09:59.337Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T18:09:59.337Z] ---> Running in 10e6e8b328db [2022-04-01T18:09:59.337Z] Removing intermediate container 10e6e8b328db [2022-04-01T18:09:59.337Z] ---> b7ed489473b2 [2022-04-01T18:09:59.337Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T18:09:59.337Z] ---> Running in ed7a09e00d33 [2022-04-01T18:10:00.284Z] Removing intermediate container ed7a09e00d33 [2022-04-01T18:10:00.284Z] ---> 49b5cded2421 [2022-04-01T18:10:00.284Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T18:10:00.284Z] ---> Running in bb8144188186 [2022-04-01T18:10:00.284Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-01T18:10:01.225Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-01T18:10:01.486Z] OK: 224 MiB in 56 packages [2022-04-01T18:10:01.745Z] Removing intermediate container bb8144188186 [2022-04-01T18:10:01.745Z] ---> 2a82e9d25ac0 [2022-04-01T18:10:01.745Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-01T18:10:01.745Z] ---> Running in 1916c5fec019 [2022-04-01T18:10:02.010Z] Removing intermediate container 1916c5fec019 [2022-04-01T18:10:02.010Z] ---> c7ee4205e8ac [2022-04-01T18:10:02.010Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-01T18:10:02.010Z] ---> 33a8c49faf93 [2022-04-01T18:10:02.010Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T18:10:02.282Z] ---> Running in 43b3ee7fe55a [2022-04-01T18:10:02.861Z] Removing intermediate container 43b3ee7fe55a [2022-04-01T18:10:02.861Z] ---> 26fc78987393 [2022-04-01T18:10:02.861Z] Step 10/24 : COPY . . [2022-04-01T18:10:03.121Z] ---> 791f383fb829 [2022-04-01T18:10:03.121Z] Step 11/24 : ARG MAKE='make build' [2022-04-01T18:10:03.121Z] ---> Running in 03e0e99fc7fd [2022-04-01T18:10:03.121Z] Removing intermediate container 03e0e99fc7fd [2022-04-01T18:10:03.121Z] ---> 3d57dbe693fb [2022-04-01T18:10:03.121Z] Step 12/24 : RUN $MAKE [2022-04-01T18:10:03.380Z] ---> Running in 623e112bcb9c [2022-04-01T18:10:03.639Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-04-01T18:10:11.768Z] Removing intermediate container 623e112bcb9c [2022-04-01T18:10:11.768Z] ---> 65a7897697b5 [2022-04-01T18:10:11.768Z] Step 13/24 : FROM alpine:3.14 [2022-04-01T18:10:11.768Z] 3.14: Pulling from library/alpine [2022-04-01T18:10:11.768Z] cfab2db72209: Pulling fs layer [2022-04-01T18:10:11.768Z] cfab2db72209: Verifying Checksum [2022-04-01T18:10:11.768Z] cfab2db72209: Download complete [2022-04-01T18:10:12.028Z] cfab2db72209: Pull complete [2022-04-01T18:10:12.028Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-01T18:10:12.028Z] Status: Downloaded newer image for alpine:3.14 [2022-04-01T18:10:12.028Z] ---> 84b07dd2d1fd [2022-04-01T18:10:12.028Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-01T18:10:12.028Z] ---> Running in 3543bfa05a63 [2022-04-01T18:10:12.287Z] Removing intermediate container 3543bfa05a63 [2022-04-01T18:10:12.287Z] ---> 3cf96a59be2b [2022-04-01T18:10:12.287Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-01T18:10:12.287Z] ---> Running in ea0bd5c5641f [2022-04-01T18:10:12.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-01T18:10:12.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-01T18:10:12.809Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-01T18:10:12.809Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-01T18:10:12.809Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-01T18:10:12.809Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-01T18:10:12.809Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-01T18:10:12.809Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-01T18:10:12.809Z] Executing busybox-1.33.1-r6.trigger [2022-04-01T18:10:12.809Z] OK: 8 MiB in 20 packages [2022-04-01T18:10:13.379Z] Removing intermediate container ea0bd5c5641f [2022-04-01T18:10:13.379Z] ---> 62d62f163e8f [2022-04-01T18:10:13.379Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-01T18:10:13.639Z] ---> a577e45d02de [2022-04-01T18:10:13.639Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-01T18:10:13.898Z] ---> 641700b30c2e [2022-04-01T18:10:13.898Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-01T18:10:13.898Z] ---> 02020a536923 [2022-04-01T18:10:13.898Z] Step 19/24 : EXPOSE 59982 [2022-04-01T18:10:13.898Z] ---> Running in a0d11c581a35 [2022-04-01T18:10:14.157Z] Removing intermediate container a0d11c581a35 [2022-04-01T18:10:14.157Z] ---> 01fe5bcba82b [2022-04-01T18:10:14.157Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-01T18:10:14.157Z] ---> Running in 99ec952ab753 [2022-04-01T18:10:14.157Z] Removing intermediate container 99ec952ab753 [2022-04-01T18:10:14.157Z] ---> 43e78c78d93b [2022-04-01T18:10:14.157Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-01T18:10:14.157Z] ---> Running in a7e13bce5d5a [2022-04-01T18:10:14.432Z] Removing intermediate container a7e13bce5d5a [2022-04-01T18:10:14.432Z] ---> 85d6794cad4a [2022-04-01T18:10:14.432Z] Step 22/24 : LABEL arch=amd64 [2022-04-01T18:10:14.432Z] ---> Running in 5f0ecd64e95a [2022-04-01T18:10:14.432Z] Removing intermediate container 5f0ecd64e95a [2022-04-01T18:10:14.432Z] ---> 5a0112460dc4 [2022-04-01T18:10:14.432Z] Step 23/24 : LABEL git_sha=53f2f83d35fec0e60b00c2efc646e117ed81c56f [2022-04-01T18:10:14.432Z] ---> Running in e79a4c043f28 [2022-04-01T18:10:14.432Z] Removing intermediate container e79a4c043f28 [2022-04-01T18:10:14.432Z] ---> d84604d4f08a [2022-04-01T18:10:14.432Z] Step 24/24 : LABEL version=0.0.0 [2022-04-01T18:10:14.693Z] ---> Running in 1a8228592603 [2022-04-01T18:10:14.693Z] Removing intermediate container 1a8228592603 [2022-04-01T18:10:14.693Z] ---> 8327f3fe99a3 [2022-04-01T18:10:14.693Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-01T18:10:14.693Z] Successfully built 8327f3fe99a3 [2022-04-01T18:10:14.693Z] 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-01T18:10:15.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T18:10:15.138Z] [2022-04-01T18:10:15.138Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T18:10:15.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T18:10:15.441Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-01T18:10:15.441Z] 5eb5b503b376: Pulling fs layer [2022-04-01T18:10:15.441Z] 5c69ac0246d0: Pulling fs layer [2022-04-01T18:10:15.441Z] ec43610c2a17: Pulling fs layer [2022-04-01T18:10:15.441Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-01T18:10:15.441Z] 33b1e0a273af: Pulling fs layer [2022-04-01T18:10:15.441Z] 5d3b04190fa2: Pulling fs layer [2022-04-01T18:10:15.441Z] 2f39f015ded8: Pulling fs layer [2022-04-01T18:10:15.441Z] 3a2ae6a8a46f: Waiting [2022-04-01T18:10:15.441Z] 33b1e0a273af: Waiting [2022-04-01T18:10:15.441Z] 5c69ac0246d0: Download complete [2022-04-01T18:10:15.441Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-01T18:10:15.441Z] 3a2ae6a8a46f: Download complete [2022-04-01T18:10:15.441Z] 33b1e0a273af: Verifying Checksum [2022-04-01T18:10:15.441Z] 33b1e0a273af: Download complete [2022-04-01T18:10:15.441Z] 5d3b04190fa2: Verifying Checksum [2022-04-01T18:10:15.441Z] 5d3b04190fa2: Download complete [2022-04-01T18:10:15.441Z] ec43610c2a17: Verifying Checksum [2022-04-01T18:10:15.701Z] 5eb5b503b376: Verifying Checksum [2022-04-01T18:10:15.701Z] 5eb5b503b376: Download complete [2022-04-01T18:10:16.268Z] 2f39f015ded8: Verifying Checksum [2022-04-01T18:10:16.268Z] 2f39f015ded8: Download complete [2022-04-01T18:10:16.837Z] 5eb5b503b376: Pull complete [2022-04-01T18:10:17.097Z] 5c69ac0246d0: Pull complete [2022-04-01T18:10:17.671Z] ec43610c2a17: Pull complete [2022-04-01T18:10:17.671Z] 3a2ae6a8a46f: Pull complete [2022-04-01T18:10:17.671Z] 33b1e0a273af: Pull complete [2022-04-01T18:10:17.932Z] 5d3b04190fa2: Pull complete [2022-04-01T18:10:22.127Z] 2f39f015ded8: Pull complete [2022-04-01T18:10:22.127Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-01T18:10:22.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T18:10:22.127Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-01T18:10:22.192Z] prd-ubuntu20.04-docker-8c-8g-10479 does not seem to be running inside a container [2022-04-01T18:10:22.232Z] $ 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-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-01T18:10:23.874Z] $ docker top 7c53d3fb82113d4c5d3742c9b983423324b8021de18dcbc1b63315c856a10b7f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T18:10:24.279Z] ---> job-cost.sh [2022-04-01T18:10:24.279Z] lf-activate-venv: SKIPPING [2022-04-01T18:10:24.279Z] INFO: No Stack... [2022-04-01T18:10:24.849Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-01T18:10:25.109Z] INFO: Archiving Costs [Pipeline] sh [2022-04-01T18:10:25.405Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/cost.csv [2022-04-01T18:10:25.405Z] + cut -d, -f6 [Pipeline] lock [2022-04-01T18:10:25.420Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] [2022-04-01T18:10:25.427Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] did not exist. Created. [2022-04-01T18:10:25.428Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-01T18:10:25.735Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-01T18:10:25.765Z] Stashed 1 file(s) [Pipeline] } [2022-04-01T18:10:25.771Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-01T18:10:25.800Z] $ docker stop --time=1 7c53d3fb82113d4c5d3742c9b983423324b8021de18dcbc1b63315c856a10b7f [2022-04-01T18:10:26.960Z] $ docker rm -f 7c53d3fb82113d4c5d3742c9b983423324b8021de18dcbc1b63315c856a10b7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-01T18:11:56.691Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10481 in /w/workspace/gexfoundry_device-mqtt-go_PR-353 [Pipeline] { [Pipeline] ws [2022-04-01T18:11:56.705Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-04-01T18:11:57.045Z] Selected Git installation does not exist. Using Default [2022-04-01T18:11:57.045Z] The recommended git tool is: NONE [2022-04-01T18:12:04.468Z] using credential edgex-jenkins-ssh [2022-04-01T18:12:04.488Z] Cloning the remote Git repository [2022-04-01T18:12:04.554Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-01T18:12:04.800Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-04-01T18:12:05.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-01T18:12:05.065Z] > git --version # timeout=10 [2022-04-01T18:12:05.152Z] > git --version # 'git version 2.25.1' [2022-04-01T18:12:05.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-01T18:12:05.242Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-01T18:12:06.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-01T18:12:06.418Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-01T18:12:06.447Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-01T18:12:06.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-01T18:12:06.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-01T18:12:06.507Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-01T18:12:07.126Z] Merging remotes/origin/main commit a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit c409dc4c3444d06408ccb922f0356585c36524ba [2022-04-01T18:12:07.429Z] Merge succeeded, producing e5e7c973100654825ea0c558627714c47227eb49 [2022-04-01T18:12:07.429Z] Checking out Revision e5e7c973100654825ea0c558627714c47227eb49 (PR-353) [2022-04-01T18:12:07.152Z] > git config core.sparsecheckout # timeout=10 [2022-04-01T18:12:07.172Z] > git checkout -f c409dc4c3444d06408ccb922f0356585c36524ba # timeout=10 [2022-04-01T18:12:07.272Z] > git remote # timeout=10 [2022-04-01T18:12:07.312Z] > git config --get remote.origin.url # timeout=10 [2022-04-01T18:12:07.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-01T18:12:07.344Z] > git merge a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 [2022-04-01T18:12:07.404Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-01T18:12:07.443Z] > git config core.sparsecheckout # timeout=10 [2022-04-01T18:12:07.478Z] > git checkout -f e5e7c973100654825ea0c558627714c47227eb49 # timeout=10 [2022-04-01T18:12:11.797Z] Commit message: "Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD" [2022-04-01T18:12:11.811Z] > git rev-list --no-walk 7afb35db2f8decbe3b7924e0d1777d040cf3d8d2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T18:12:12.699Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-01T18:12:12.699Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-01T18:12:12.699Z] Dload Upload Total Spent Left Speed [2022-04-01T18:12:12.699Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 231k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh [2022-04-01T18:12:13.228Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-01T18:12:13.572Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-01T18:12:13.572Z] + sudo tee /etc/docker/daemon.new [2022-04-01T18:12:13.572Z] { [2022-04-01T18:12:13.572Z] "registry-mirrors": [ [2022-04-01T18:12:13.572Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-01T18:12:13.572Z] ], [2022-04-01T18:12:13.572Z] "bip": "10.250.0.254/24", [2022-04-01T18:12:13.572Z] "hosts": [ [2022-04-01T18:12:13.572Z] "tcp://0.0.0.0:5555", [2022-04-01T18:12:13.572Z] "unix:///var/run/docker.sock" [2022-04-01T18:12:13.572Z] ], [2022-04-01T18:12:13.572Z] "mtu": 1458, [2022-04-01T18:12:13.572Z] "selinux-enabled": true, [2022-04-01T18:12:13.572Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-01T18:12:13.572Z] } [Pipeline] sh [2022-04-01T18:12:13.920Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-01T18:12:14.356Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T18:12:32.719Z] provisioning config files... [2022-04-01T18:12:32.744Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config3969435228993390137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T18:12:33.102Z] ---> docker-login.sh [2022-04-01T18:12:33.102Z] nexus3.edgexfoundry.org:10001 [2022-04-01T18:12:33.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:12:33.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:12:33.971Z] Configure a credential helper to remove this warning. See [2022-04-01T18:12:33.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:12:33.971Z] [2022-04-01T18:12:33.971Z] Login Succeeded [2022-04-01T18:12:33.971Z] nexus3.edgexfoundry.org:10002 [2022-04-01T18:12:34.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:12:34.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:12:34.243Z] Configure a credential helper to remove this warning. See [2022-04-01T18:12:34.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:12:34.243Z] [2022-04-01T18:12:34.243Z] Login Succeeded [2022-04-01T18:12:34.243Z] nexus3.edgexfoundry.org:10003 [2022-04-01T18:12:34.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:12:34.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:12:34.836Z] Configure a credential helper to remove this warning. See [2022-04-01T18:12:34.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:12:34.836Z] [2022-04-01T18:12:34.836Z] Login Succeeded [2022-04-01T18:12:34.836Z] nexus3.edgexfoundry.org:10004 [2022-04-01T18:12:35.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:12:35.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:12:35.385Z] Configure a credential helper to remove this warning. See [2022-04-01T18:12:35.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:12:35.385Z] [2022-04-01T18:12:35.385Z] Login Succeeded [2022-04-01T18:12:35.385Z] docker.io [2022-04-01T18:12:35.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T18:12:35.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T18:12:35.927Z] Configure a credential helper to remove this warning. See [2022-04-01T18:12:35.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T18:12:35.927Z] [2022-04-01T18:12:35.927Z] Login Succeeded [2022-04-01T18:12:35.927Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T18:12:35.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-01T18:12:36.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T18:12:36.484Z] ========================================================= [2022-04-01T18:12:36.484Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-01T18:12:36.484Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-01T18:12:36.824Z] + 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-01T18:12:37.097Z] Sending build context to Docker daemon 3.066MB [2022-04-01T18:12:37.097Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T18:12:37.097Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-01T18:12:37.384Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-01T18:12:37.384Z] 9b3977197b4f: Pulling fs layer [2022-04-01T18:12:37.384Z] 1a89e8eeedd5: Pulling fs layer [2022-04-01T18:12:37.384Z] 94645a83ff95: Pulling fs layer [2022-04-01T18:12:37.384Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-01T18:12:37.384Z] 0c92f367c5e7: Pulling fs layer [2022-04-01T18:12:37.384Z] f7c0051592d6: Pulling fs layer [2022-04-01T18:12:37.384Z] a227ed2f7395: Pulling fs layer [2022-04-01T18:12:37.384Z] 7b1c46037f91: Pulling fs layer [2022-04-01T18:12:37.384Z] 0c92f367c5e7: Waiting [2022-04-01T18:12:37.384Z] f7c0051592d6: Waiting [2022-04-01T18:12:37.384Z] a227ed2f7395: Waiting [2022-04-01T18:12:37.384Z] 7b1c46037f91: Waiting [2022-04-01T18:12:37.384Z] 3f3a8bcf1eab: Waiting [2022-04-01T18:12:37.384Z] 94645a83ff95: Verifying Checksum [2022-04-01T18:12:37.384Z] 94645a83ff95: Download complete [2022-04-01T18:12:37.384Z] 1a89e8eeedd5: Download complete [2022-04-01T18:12:37.384Z] 0c92f367c5e7: Verifying Checksum [2022-04-01T18:12:37.384Z] 0c92f367c5e7: Download complete [2022-04-01T18:12:37.384Z] f7c0051592d6: Verifying Checksum [2022-04-01T18:12:37.384Z] f7c0051592d6: Download complete [2022-04-01T18:12:37.384Z] 9b3977197b4f: Verifying Checksum [2022-04-01T18:12:37.384Z] a227ed2f7395: Verifying Checksum [2022-04-01T18:12:37.384Z] a227ed2f7395: Download complete [2022-04-01T18:12:38.380Z] 9b3977197b4f: Pull complete [2022-04-01T18:12:38.987Z] 1a89e8eeedd5: Pull complete [2022-04-01T18:12:39.262Z] 94645a83ff95: Pull complete [2022-04-01T18:12:39.538Z] 7b1c46037f91: Verifying Checksum [2022-04-01T18:12:39.538Z] 7b1c46037f91: Download complete [2022-04-01T18:12:40.148Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-01T18:12:40.148Z] 3f3a8bcf1eab: Download complete [2022-04-01T18:12:52.577Z] 3f3a8bcf1eab: Pull complete [2022-04-01T18:12:52.577Z] 0c92f367c5e7: Pull complete [2022-04-01T18:12:52.577Z] f7c0051592d6: Pull complete [2022-04-01T18:12:52.853Z] a227ed2f7395: Pull complete [2022-04-01T18:12:59.583Z] 7b1c46037f91: Pull complete [2022-04-01T18:12:59.583Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-01T18:12:59.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-01T18:12:59.583Z] ---> f79e39bc4007 [2022-04-01T18:12:59.583Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T18:12:59.857Z] ---> Running in 295bc0e04cd1 [2022-04-01T18:13:00.129Z] Removing intermediate container 295bc0e04cd1 [2022-04-01T18:13:00.129Z] ---> c736f9d7e9a1 [2022-04-01T18:13:00.129Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T18:13:00.129Z] ---> Running in 7a1dfca4bca1 [2022-04-01T18:13:00.405Z] Removing intermediate container 7a1dfca4bca1 [2022-04-01T18:13:00.405Z] ---> a7db39d72644 [2022-04-01T18:13:00.405Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T18:13:00.685Z] ---> Running in c12efbe012ae [2022-04-01T18:13:02.686Z] Removing intermediate container c12efbe012ae [2022-04-01T18:13:02.686Z] ---> ca796672ea94 [2022-04-01T18:13:02.686Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T18:13:02.686Z] ---> Running in eae3afe51066 [2022-04-01T18:13:03.675Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-01T18:13:04.657Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-01T18:13:05.255Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-01T18:13:05.255Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-01T18:13:05.529Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-01T18:13:05.529Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-01T18:13:05.803Z] Executing busybox-1.34.1-r3.trigger [2022-04-01T18:13:05.803Z] OK: 224 MiB in 56 packages [2022-04-01T18:13:06.791Z] Removing intermediate container eae3afe51066 [2022-04-01T18:13:06.791Z] ---> 89a794753a59 [2022-04-01T18:13:06.791Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-01T18:13:06.791Z] ---> Running in b6961aacb968 [2022-04-01T18:13:07.066Z] Removing intermediate container b6961aacb968 [2022-04-01T18:13:07.066Z] ---> f64b0913b6ee [2022-04-01T18:13:07.066Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-01T18:13:07.664Z] ---> 9d1701741952 [2022-04-01T18:13:07.664Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T18:13:07.664Z] ---> Running in 2276a46d6cb1 [2022-04-01T18:14:29.535Z] Removing intermediate container 2276a46d6cb1 [2022-04-01T18:14:29.535Z] ---> fd746816c227 [2022-04-01T18:14:29.535Z] Step 10/12 : COPY . . [2022-04-01T18:14:29.535Z] ---> ee6323e5c81f [2022-04-01T18:14:29.535Z] Step 11/12 : ARG MAKE='make build' [2022-04-01T18:14:29.535Z] ---> Running in 689a36e46a12 [2022-04-01T18:14:29.535Z] Removing intermediate container 689a36e46a12 [2022-04-01T18:14:29.535Z] ---> 68eceb638587 [2022-04-01T18:14:29.535Z] Step 12/12 : RUN $MAKE [2022-04-01T18:14:29.535Z] ---> Running in 533e4eb8a1e1 [2022-04-01T18:14:29.535Z] noop [2022-04-01T18:14:29.535Z] Removing intermediate container 533e4eb8a1e1 [2022-04-01T18:14:29.535Z] ---> f830a1596664 [2022-04-01T18:14:29.535Z] Successfully built f830a1596664 [2022-04-01T18:14:29.535Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T18:14:29.888Z] + docker inspect -f . ci-base-image-arm64 [2022-04-01T18:14:29.888Z] . [Pipeline] withDockerContainer [2022-04-01T18:14:30.161Z] prd-ubuntu20.04-docker-arm64-4c-16g-10481 does not seem to be running inside a container [2022-04-01T18:14:30.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-01T18:14:31.636Z] $ docker top 647611f5306b85da7314425469862ff6f3638ec17022936f36557f2e16067309 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T18:14:32.577Z] + go version [2022-04-01T18:14:32.577Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-01T18:14:32.612Z] $ docker stop --time=1 647611f5306b85da7314425469862ff6f3638ec17022936f36557f2e16067309 [2022-04-01T18:14:34.301Z] $ docker rm -f 647611f5306b85da7314425469862ff6f3638ec17022936f36557f2e16067309 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T18:14:34.933Z] + docker inspect -f . ci-base-image-arm64 [2022-04-01T18:14:34.933Z] . [Pipeline] withDockerContainer [2022-04-01T18:14:35.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-10481 does not seem to be running inside a container [2022-04-01T18:14:35.269Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-01T18:14:36.689Z] $ docker top 8bea1f49a0d74fe83282ea0411f55713f7de449fb78195ad7e16ca2212c24adf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-01T18:14:37.624Z] + make test [2022-04-01T18:14:37.624Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-01T18:14:39.069Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-01T18:15:35.682Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-01T18:15:35.682Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements [2022-04-01T18:15:35.682Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-01T18:15:35.682Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-01T18:15:35.682Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-01T18:15:50.792Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-01T18:15:51.067Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-01T18:15:51.067Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-01T18:15:53.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-01T18:15:53.737Z] $ docker stop --time=1 8bea1f49a0d74fe83282ea0411f55713f7de449fb78195ad7e16ca2212c24adf [2022-04-01T18:15:55.485Z] $ docker rm -f 8bea1f49a0d74fe83282ea0411f55713f7de449fb78195ad7e16ca2212c24adf [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T18:15:56.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-01T18:15:56.331Z] Warning: overwriting stash ‘coverage-report’ [2022-04-01T18:15:56.784Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T18:15:57.177Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-01T18:15:57.515Z] + ls -al . [2022-04-01T18:15:57.515Z] total 184 [2022-04-01T18:15:57.515Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 18:15 . [2022-04-01T18:15:57.515Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:12 .. [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 18:12 .dockerignore [2022-04-01T18:15:57.515Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 18:12 .git [2022-04-01T18:15:57.515Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:12 .github [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 1 18:12 .gitignore [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 1 18:12 .golangci.yml [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 1 18:12 Attribution.txt [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 1 18:12 CHANGELOG.md [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 1 18:12 Dockerfile [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 18:12 GOVERNANCE.md [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 1 18:12 Jenkinsfile [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 18:12 LICENSE [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 1531 Apr 1 18:12 Makefile [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 1 18:12 OWNERS.md [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 1 18:12 README.md [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 18:09 VERSION [2022-04-01T18:15:57.515Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:12 bin [2022-04-01T18:15:57.515Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:12 cmd [2022-04-01T18:15:57.515Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 1 18:15 coverage.out [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 1 18:12 go.mod [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 1 18:12 go.sum [2022-04-01T18:15:57.515Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 18:12 internal [2022-04-01T18:15:57.515Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 18:12 mock [2022-04-01T18:15:57.515Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 18:12 snap [2022-04-01T18:15:57.515Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 1 18:12 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-01T18:15:57.854Z] + 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=e5e7c973100654825ea0c558627714c47227eb49 --label arch=arm64 --label version=0.0.0 . [2022-04-01T18:15:58.126Z] Sending build context to Docker daemon 3.084MB [2022-04-01T18:15:58.405Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T18:15:58.405Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-01T18:15:58.405Z] ---> f830a1596664 [2022-04-01T18:15:58.405Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T18:15:58.405Z] ---> Running in 6c451622624d [2022-04-01T18:15:58.678Z] Removing intermediate container 6c451622624d [2022-04-01T18:15:58.678Z] ---> a853fab21cd9 [2022-04-01T18:15:58.678Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T18:15:58.678Z] ---> Running in fd892dff7f66 [2022-04-01T18:15:58.953Z] Removing intermediate container fd892dff7f66 [2022-04-01T18:15:58.953Z] ---> ef0c67185009 [2022-04-01T18:15:58.953Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T18:15:59.233Z] ---> Running in 6587d55e95f1 [2022-04-01T18:16:00.679Z] Removing intermediate container 6587d55e95f1 [2022-04-01T18:16:00.679Z] ---> 815de3f34e93 [2022-04-01T18:16:00.679Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T18:16:00.952Z] ---> Running in 94681b46bb6e [2022-04-01T18:16:01.954Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-01T18:16:02.933Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-01T18:16:03.528Z] OK: 224 MiB in 56 packages [2022-04-01T18:16:04.518Z] Removing intermediate container 94681b46bb6e [2022-04-01T18:16:04.518Z] ---> d334be71672f [2022-04-01T18:16:04.518Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-01T18:16:04.518Z] ---> Running in e557ca6f5c27 [2022-04-01T18:16:04.792Z] Removing intermediate container e557ca6f5c27 [2022-04-01T18:16:04.792Z] ---> 92095148aef7 [2022-04-01T18:16:04.792Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-01T18:16:05.389Z] ---> fa09e90219c1 [2022-04-01T18:16:05.389Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T18:16:05.389Z] ---> Running in 8fb5a614b868 [2022-04-01T18:16:07.368Z] Removing intermediate container 8fb5a614b868 [2022-04-01T18:16:07.368Z] ---> d76296ea8013 [2022-04-01T18:16:07.368Z] Step 10/24 : COPY . . [2022-04-01T18:16:08.350Z] ---> e885881a9029 [2022-04-01T18:16:08.350Z] Step 11/24 : ARG MAKE='make build' [2022-04-01T18:16:08.350Z] ---> Running in 00896fb3236f [2022-04-01T18:16:08.625Z] Removing intermediate container 00896fb3236f [2022-04-01T18:16:08.625Z] ---> 458a52a39d5f [2022-04-01T18:16:08.625Z] Step 12/24 : RUN $MAKE [2022-04-01T18:16:08.625Z] ---> Running in 35eed623a5a8 [2022-04-01T18:16:09.609Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-04-01T18:16:48.634Z] Removing intermediate container 35eed623a5a8 [2022-04-01T18:16:48.634Z] ---> 7ca73e058e14 [2022-04-01T18:16:48.634Z] Step 13/24 : FROM alpine:3.14 [2022-04-01T18:16:49.611Z] 3.14: Pulling from library/alpine [2022-04-01T18:16:49.611Z] 810d54c7e01b: Pulling fs layer [2022-04-01T18:16:49.886Z] 810d54c7e01b: Verifying Checksum [2022-04-01T18:16:49.886Z] 810d54c7e01b: Download complete [2022-04-01T18:16:50.484Z] 810d54c7e01b: Pull complete [2022-04-01T18:16:50.484Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-01T18:16:50.484Z] Status: Downloaded newer image for alpine:3.14 [2022-04-01T18:16:50.484Z] ---> cc3d11fa2d52 [2022-04-01T18:16:50.484Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-01T18:16:50.484Z] ---> Running in c6c591c3ef86 [2022-04-01T18:16:50.761Z] Removing intermediate container c6c591c3ef86 [2022-04-01T18:16:50.761Z] ---> 99049c22a375 [2022-04-01T18:16:50.761Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-01T18:16:51.042Z] ---> Running in d06000c6855c [2022-04-01T18:16:52.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-01T18:16:52.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-01T18:16:53.003Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-01T18:16:53.003Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-01T18:16:53.003Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-01T18:16:53.003Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-01T18:16:53.003Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-01T18:16:53.003Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-01T18:16:53.003Z] Executing busybox-1.33.1-r6.trigger [2022-04-01T18:16:53.003Z] OK: 8 MiB in 20 packages [2022-04-01T18:16:53.993Z] Removing intermediate container d06000c6855c [2022-04-01T18:16:53.993Z] ---> 72624bed9f96 [2022-04-01T18:16:53.993Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-01T18:16:54.989Z] ---> a7c30dcf11fc [2022-04-01T18:16:54.989Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-01T18:16:55.267Z] ---> d06993ba9ab7 [2022-04-01T18:16:55.267Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-01T18:16:55.868Z] ---> f2b31e31ba76 [2022-04-01T18:16:55.868Z] Step 19/24 : EXPOSE 59982 [2022-04-01T18:16:55.868Z] ---> Running in b28a774e0951 [2022-04-01T18:16:56.142Z] Removing intermediate container b28a774e0951 [2022-04-01T18:16:56.142Z] ---> f0c906514e6b [2022-04-01T18:16:56.142Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-01T18:16:56.418Z] ---> Running in 5f5b372bb906 [2022-04-01T18:16:56.693Z] Removing intermediate container 5f5b372bb906 [2022-04-01T18:16:56.693Z] ---> a33f0b54409d [2022-04-01T18:16:56.693Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-01T18:16:56.693Z] ---> Running in 871bfd0287ac [2022-04-01T18:16:56.971Z] Removing intermediate container 871bfd0287ac [2022-04-01T18:16:56.971Z] ---> af3655968948 [2022-04-01T18:16:56.971Z] Step 22/24 : LABEL arch=arm64 [2022-04-01T18:16:57.251Z] ---> Running in 68c5f0208010 [2022-04-01T18:16:57.525Z] Removing intermediate container 68c5f0208010 [2022-04-01T18:16:57.525Z] ---> 9bf123c3278f [2022-04-01T18:16:57.525Z] Step 23/24 : LABEL git_sha=e5e7c973100654825ea0c558627714c47227eb49 [2022-04-01T18:16:57.525Z] ---> Running in cdac0e17d73c [2022-04-01T18:16:57.798Z] Removing intermediate container cdac0e17d73c [2022-04-01T18:16:57.798Z] ---> a26a434f431c [2022-04-01T18:16:57.798Z] Step 24/24 : LABEL version=0.0.0 [2022-04-01T18:16:57.798Z] ---> Running in 18a46b2b96fb [2022-04-01T18:16:58.073Z] Removing intermediate container 18a46b2b96fb [2022-04-01T18:16:58.073Z] ---> f6bcc44169fa [2022-04-01T18:16:58.073Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-01T18:16:58.073Z] Successfully built f6bcc44169fa [2022-04-01T18:16:58.073Z] 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-01T18:16:58.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T18:16:58.765Z] [2022-04-01T18:16:58.765Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-01T18:16:59.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T18:16:59.395Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-01T18:16:59.395Z] 8998bd30e6a1: Pulling fs layer [2022-04-01T18:16:59.395Z] 04944245beec: Pulling fs layer [2022-04-01T18:16:59.395Z] 699f458cf7ca: Pulling fs layer [2022-04-01T18:16:59.395Z] 765212b225bb: Pulling fs layer [2022-04-01T18:16:59.395Z] f23df028b6ca: Pulling fs layer [2022-04-01T18:16:59.395Z] d65c8cfc05b1: Pulling fs layer [2022-04-01T18:16:59.395Z] 2437ff75d9bd: Pulling fs layer [2022-04-01T18:16:59.395Z] 765212b225bb: Waiting [2022-04-01T18:16:59.395Z] f23df028b6ca: Waiting [2022-04-01T18:16:59.395Z] d65c8cfc05b1: Waiting [2022-04-01T18:16:59.395Z] 2437ff75d9bd: Waiting [2022-04-01T18:16:59.395Z] 04944245beec: Verifying Checksum [2022-04-01T18:16:59.395Z] 04944245beec: Download complete [2022-04-01T18:16:59.395Z] 765212b225bb: Verifying Checksum [2022-04-01T18:16:59.395Z] 765212b225bb: Download complete [2022-04-01T18:16:59.395Z] f23df028b6ca: Verifying Checksum [2022-04-01T18:16:59.395Z] f23df028b6ca: Download complete [2022-04-01T18:16:59.395Z] d65c8cfc05b1: Verifying Checksum [2022-04-01T18:16:59.395Z] d65c8cfc05b1: Download complete [2022-04-01T18:16:59.673Z] 699f458cf7ca: Verifying Checksum [2022-04-01T18:16:59.673Z] 699f458cf7ca: Download complete [2022-04-01T18:16:59.949Z] 8998bd30e6a1: Verifying Checksum [2022-04-01T18:16:59.949Z] 8998bd30e6a1: Download complete [2022-04-01T18:17:02.579Z] 2437ff75d9bd: Verifying Checksum [2022-04-01T18:17:02.579Z] 2437ff75d9bd: Download complete [2022-04-01T18:17:04.563Z] 8998bd30e6a1: Pull complete [2022-04-01T18:17:04.842Z] 04944245beec: Pull complete [2022-04-01T18:17:06.280Z] 699f458cf7ca: Pull complete [2022-04-01T18:17:06.280Z] 765212b225bb: Pull complete [2022-04-01T18:17:07.262Z] f23df028b6ca: Pull complete [2022-04-01T18:17:07.535Z] d65c8cfc05b1: Pull complete [2022-04-01T18:17:22.622Z] 2437ff75d9bd: Pull complete [2022-04-01T18:17:22.622Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-01T18:17:22.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T18:17:22.622Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-01T18:17:22.847Z] prd-ubuntu20.04-docker-arm64-4c-16g-10481 does not seem to be running inside a container [2022-04-01T18:17:22.951Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-01T18:17:25.398Z] $ docker top 3d5dcd3d2fc82a0fd5ebada766c6690b5a1d54ec5574ee35052cfc207de62827 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T18:17:26.339Z] ---> job-cost.sh [2022-04-01T18:17:26.339Z] lf-activate-venv: SKIPPING [2022-04-01T18:17:26.339Z] INFO: No Stack... [2022-04-01T18:17:26.936Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-01T18:17:27.532Z] INFO: Archiving Costs [Pipeline] sh [2022-04-01T18:17:28.204Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2022-04-01T18:17:28.204Z] + cut -d, -f6 [Pipeline] lock [2022-04-01T18:17:28.274Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] [2022-04-01T18:17:28.281Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] did not exist. Created. [2022-04-01T18:17:28.281Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-01T18:17:28.960Z] /w/workspace/device-mqtt-go/2@tmp/durable-98911a7d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-01T18:17:29.642Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-01T18:17:29.665Z] Warning: overwriting stash ‘stack-cost’ [2022-04-01T18:17:29.712Z] Stashed 1 file(s) [Pipeline] } [2022-04-01T18:17:29.719Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-01T18:17:29.754Z] $ docker stop --time=1 3d5dcd3d2fc82a0fd5ebada766c6690b5a1d54ec5574ee35052cfc207de62827 [2022-04-01T18:17:31.250Z] $ docker rm -f 3d5dcd3d2fc82a0fd5ebada766c6690b5a1d54ec5574ee35052cfc207de62827 [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-01T18:17:31.695Z] provisioning config files... [2022-04-01T18:17:31.704Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config323510572939141968tmp [Pipeline] { [Pipeline] sh [2022-04-01T18:17:32.004Z] + set +x [2022-04-01T18:17:32.004Z] + curl -s https://codecov.io/bash [2022-04-01T18:17:32.004Z] + bash -s -- [2022-04-01T18:17:32.004Z] [2022-04-01T18:17:32.004Z] _____ _ [2022-04-01T18:17:32.004Z] / ____| | | [2022-04-01T18:17:32.004Z] | | ___ __| | ___ ___ _____ __ [2022-04-01T18:17:32.004Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-01T18:17:32.004Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-01T18:17:32.004Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-01T18:17:32.004Z] Bash-1.0.6 [2022-04-01T18:17:32.004Z] [2022-04-01T18:17:32.004Z] [2022-04-01T18:17:32.004Z] ==> git version 2.25.1 found [2022-04-01T18:17:32.004Z] ==> 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-01T18:17:32.004Z] Release-Date: 2020-01-08 [2022-04-01T18:17:32.004Z] 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-01T18:17:32.004Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-01T18:17:32.004Z] ==> Jenkins CI detected. [2022-04-01T18:17:32.004Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-353 [2022-04-01T18:17:32.004Z] project root: . [2022-04-01T18:17:32.004Z] --> token set from env [2022-04-01T18:17:32.004Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-01T18:17:32.004Z] ==> Running gcov in . (disable via -X gcov) [2022-04-01T18:17:32.004Z] ==> Python coveragepy not found [2022-04-01T18:17:32.004Z] ==> Searching for coverage reports in: [2022-04-01T18:17:32.004Z] + . [2022-04-01T18:17:32.004Z] -> Found 1 reports [2022-04-01T18:17:32.004Z] ==> Detecting git/mercurial file structure [2022-04-01T18:17:32.004Z] ==> Reading reports [2022-04-01T18:17:32.004Z] + ./coverage.out bytes=17887 [2022-04-01T18:17:32.004Z] ==> Appending adjustments [2022-04-01T18:17:32.004Z] https://docs.codecov.io/docs/fixing-reports [2022-04-01T18:17:32.265Z] + Found adjustments [2022-04-01T18:17:32.265Z] ==> Gzipping contents [2022-04-01T18:17:32.265Z] 4.0K /tmp/codecov.kLHy6a.gz [2022-04-01T18:17:32.265Z] ==> Uploading reports [2022-04-01T18:17:32.265Z] url: https://codecov.io [2022-04-01T18:17:32.265Z] query: branch=PR-353&commit=53f2f83d35fec0e60b00c2efc646e117ed81c56f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-353%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=353&job=&cmd_args= [2022-04-01T18:17:32.265Z] -> Pinging Codecov [2022-04-01T18:17:32.265Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-353&commit=53f2f83d35fec0e60b00c2efc646e117ed81c56f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-353%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=353&job=&cmd_args= [2022-04-01T18:17:32.526Z] -> Uploading to [2022-04-01T18:17:32.526Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-01/7D719EC7BBE17E464838252E33014C33/53f2f83d35fec0e60b00c2efc646e117ed81c56f/2756d324-668c-46b2-b500-4d8cc33c2ca9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220401T181732Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0132d13494288675eee01a5ec7196a6d402ad7e294fd39b8bf93ef23ff4545c0 [2022-04-01T18:17:32.526Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-01T18:17:32.526Z] Dload Upload Total Spent Left Speed [2022-04-01T18:17:32.787Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3256 0 0 100 3256 0 16039 --:--:-- --:--:-- --:--:-- 15960 100 3256 0 0 100 3256 0 12718 --:--:-- --:--:-- --:--:-- 12669 [2022-04-01T18:17:32.787Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/53f2f83d35fec0e60b00c2efc646e117ed81c56f [Pipeline] } [2022-04-01T18:17:32.795Z] 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-01T18:17:33.505Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives ] [2022-04-01T18:17:33.505Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives [2022-04-01T18:17:33.505Z] total 16 [2022-04-01T18:17:33.505Z] drwxr-xr-x 3 root root 4096 Apr 1 18:10 . [2022-04-01T18:17:33.505Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 1 18:10 .. [2022-04-01T18:17:33.505Z] drwxr-xr-x 2 root root 4096 Apr 1 18:10 cost [2022-04-01T18:17:33.505Z] -rw-r--r-- 1 root root 85 Apr 1 18:10 cost.csv [2022-04-01T18:17:33.505Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives [2022-04-01T18:17:33.505Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives [2022-04-01T18:17:33.505Z] total 16 [2022-04-01T18:17:33.505Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 1 18:10 . [2022-04-01T18:17:33.505Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 1 18:10 .. [2022-04-01T18:17:33.505Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 1 18:10 cost [2022-04-01T18:17:33.505Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 1 18:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-01T18:17:33.799Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T18:17:34.687Z] ---> package-listing.sh [2022-04-01T18:17:34.687Z] ++ facter osfamily [2022-04-01T18:17:34.687Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-01T18:17:34.972Z] + OS_FAMILY=debian [2022-04-01T18:17:34.972Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-353 [2022-04-01T18:17:34.972Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-01T18:17:34.972Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-01T18:17:34.972Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-01T18:17:34.972Z] + PACKAGES=/tmp/packages_start.txt [2022-04-01T18:17:34.972Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-353 ']' [2022-04-01T18:17:34.972Z] + PACKAGES=/tmp/packages_end.txt [2022-04-01T18:17:34.972Z] + case "${OS_FAMILY}" in [2022-04-01T18:17:34.972Z] + dpkg -l [2022-04-01T18:17:34.972Z] + grep '^ii' [2022-04-01T18:17:34.972Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-01T18:17:34.972Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-01T18:17:34.972Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-01T18:17:34.972Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-353 ']' [2022-04-01T18:17:34.972Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/ [2022-04-01T18:17:34.972Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/ [Pipeline] echo [2022-04-01T18:17:35.016Z] 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-353/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-01T18:17:35.353Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-01T18:17:35.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T18:17:35.920Z] . [Pipeline] withDockerContainer [2022-04-01T18:17:35.985Z] prd-ubuntu20.04-docker-8c-8g-10479 does not seem to be running inside a container [2022-04-01T18:17:36.027Z] $ 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-353/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-353 -v /w/workspace/gexfoundry_device-mqtt-go_PR-353:/w/workspace/gexfoundry_device-mqtt-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-01T18:17:36.255Z] $ docker top 8998f8c119dde0fdcad1532db3e2fe9a79c115335db96bd1c0493ab505c80589 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T18:17:36.609Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-01T18:17:36.900Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-01T18:17:37.193Z] + ls /var/log/sa-host [2022-04-01T18:17:37.193Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T18:17:37.282Z] provisioning config files... [2022-04-01T18:17:37.291Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config4747587439720332590tmp [Pipeline] { [Pipeline] echo [2022-04-01T18:17:37.304Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T18:17:37.595Z] ---> create-netrc.sh [Pipeline] } [2022-04-01T18:17:37.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-01T18:17:37.928Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-01T18:17:37.939Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T18:17:38.227Z] ---> sudo-logs.sh [2022-04-01T18:17:38.227Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-01T18:17:38.257Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T18:17:38.545Z] ---> job-cost.sh [2022-04-01T18:17:38.545Z] lf-activate-venv: SKIPPING [2022-04-01T18:17:38.545Z] DEBUG: total: 0.2199999988079071 [2022-04-01T18:17:38.545Z] INFO: Retrieving Stack Cost... [2022-04-01T18:17:38.805Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-01T18:17:39.376Z] INFO: Archiving Costs [Pipeline] echo [2022-04-01T18:17:39.392Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T18:17:39.681Z] ---> logs-deploy.sh [2022-04-01T18:17:39.681Z] lf-activate-venv: SKIPPING [2022-04-01T18:17:39.681Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-353/2 [2022-04-01T18:17:39.681Z] INFO: archiving workspace using pattern(s): [2022-04-01T18:17:40.625Z] Archives upload complete. [2022-04-01T18:17:40.625Z] INFO: archiving logs to Nexus