jpwhitemn commented: recheck 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-ssh8401822116564038197.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-ssh2493624419532893598.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-ssh9130332292841101793.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-ssh3550437005948546871.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-ssh15339894629493083733.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-10659 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 390bcbeb808c8be77abba9815d85b3d5d8a833c6 Checking out Revision 390bcbeb808c8be77abba9815d85b3d5d8a833c6 (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 390bcbeb808c8be77abba9815d85b3d5d8a833c6 # timeout=10 Commit message: "Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-04T18:50:48.180Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-04T18:50:48.225Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-04T18:50:48.240Z] ========================================================= [2022-04-04T18:50:48.240Z] EdgeX Global Pipelines Version Info [2022-04-04T18:50:48.240Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e5e7c973100654825ea0c558627714c47227eb49 # timeout=10 [2022-04-04T18:50:49.008Z] ------------------- [2022-04-04T18:50:49.008Z] stable info: [2022-04-04T18:50:49.008Z] ------------------- [2022-04-04T18:50:49.008Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-04T18:50:49.008Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T18:50:49.008Z] Message: update stable to v1.0.221 [2022-04-04T18:50:49.589Z] ------------------- [2022-04-04T18:50:49.589Z] experimental info: [2022-04-04T18:50:49.589Z] ------------------- [2022-04-04T18:50:49.589Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-04T18:50:49.589Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T18:50:49.589Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-04T18:50:49.740Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-04T18:50:49.753Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-04T18:50:49.764Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-04T18:50:49.773Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-04T18:50:49.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-04T18:50:49.790Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-04T18:50:49.799Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-04T18:50:49.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-04T18:50:49.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-04T18:50:49.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-04T18:50:49.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-04T18:50:49.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-04T18:50:49.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-04T18:50:49.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-04T18:50:49.894Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T18:50:49.903Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T18:50:49.912Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T18:50:49.920Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T18:50:49.929Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-04T18:50:49.938Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-04T18:50:49.947Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-04T18:50:49.955Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-04T18:50:49.964Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-04T18:50:49.972Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-04T18:50:49.981Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-04T18:50:49.991Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-04T18:50:50.010Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-353 [Pipeline] echo [2022-04-04T18:50:50.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-353 [Pipeline] echo [2022-04-04T18:50:50.045Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-353 [Pipeline] echo [2022-04-04T18:50:50.055Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 390bcbeb808c8be77abba9815d85b3d5d8a833c6 [Pipeline] echo [2022-04-04T18:50:50.071Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 390bcbe [Pipeline] echo [2022-04-04T18:50:50.085Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T18:50:50.133Z] provisioning config files... [2022-04-04T18:50:50.148Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config5802035201913501910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T18:50:50.457Z] ---> docker-login.sh [2022-04-04T18:50:50.457Z] nexus3.edgexfoundry.org:10001 [2022-04-04T18:50:50.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:50:50.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:50:50.719Z] Configure a credential helper to remove this warning. See [2022-04-04T18:50:50.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:50:50.719Z] [2022-04-04T18:50:50.719Z] Login Succeeded [2022-04-04T18:50:50.719Z] nexus3.edgexfoundry.org:10002 [2022-04-04T18:50:50.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:50:50.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:50:50.978Z] Configure a credential helper to remove this warning. See [2022-04-04T18:50:50.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:50:50.978Z] [2022-04-04T18:50:50.978Z] Login Succeeded [2022-04-04T18:50:50.978Z] nexus3.edgexfoundry.org:10003 [2022-04-04T18:50:50.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:50:50.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:50:50.978Z] Configure a credential helper to remove this warning. See [2022-04-04T18:50:50.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:50:50.978Z] [2022-04-04T18:50:50.978Z] Login Succeeded [2022-04-04T18:50:50.978Z] nexus3.edgexfoundry.org:10004 [2022-04-04T18:50:51.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:50:51.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:50:51.241Z] Configure a credential helper to remove this warning. See [2022-04-04T18:50:51.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:50:51.241Z] [2022-04-04T18:50:51.241Z] Login Succeeded [2022-04-04T18:50:51.241Z] docker.io [2022-04-04T18:50:51.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:50:51.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:50:51.818Z] Configure a credential helper to remove this warning. See [2022-04-04T18:50:51.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:50:51.818Z] [2022-04-04T18:50:51.818Z] Login Succeeded [2022-04-04T18:50:51.818Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T18:50:51.827Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-04T18:50:52.212Z] + git rev-list -1 --merges 390bcbeb808c8be77abba9815d85b3d5d8a833c6~1..390bcbeb808c8be77abba9815d85b3d5d8a833c6 [Pipeline] echo [2022-04-04T18:50:52.246Z] -----------> git rev-list -1 --merges 390bcbeb808c8be77abba9815d85b3d5d8a833c6~1..390bcbeb808c8be77abba9815d85b3d5d8a833c6 390bcbeb808c8be77abba9815d85b3d5d8a833c6 [2022-04-04T18:50:52.246Z] 390bcbeb808c8be77abba9815d85b3d5d8a833c6 [false] [Pipeline] sh [2022-04-04T18:50:52.540Z] + git log --format=format:%s -1 390bcbeb808c8be77abba9815d85b3d5d8a833c6 [Pipeline] echo [2022-04-04T18:50:52.558Z] ========================================================= [2022-04-04T18:50:52.558Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-04T18:50:52.558Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T18:50:52.905Z] + git log --format=format:%s -1 390bcbeb808c8be77abba9815d85b3d5d8a833c6 [Pipeline] echo [2022-04-04T18:50:52.920Z] [semverPrep] GIT_COMMIT: 390bcbeb808c8be77abba9815d85b3d5d8a833c6, Commit Message: Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD [Pipeline] echo [2022-04-04T18:50:52.932Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-04T18:50:53.368Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-04T18:50:53.368Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-04T18:50:53.368Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-04T18:50:53.368Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-04T18:50:53.368Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-04T18:50:53.368Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-04T18:50:53.368Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-04T18:50:53.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T18:50:53.792Z] [2022-04-04T18:50:53.792Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T18:50:54.096Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T18:50:54.096Z] latest: Pulling from edgex-devops/git-semver [2022-04-04T18:50:54.096Z] a0d0a0d46f8b: Pulling fs layer [2022-04-04T18:50:54.096Z] 3e5f54012d9b: Pulling fs layer [2022-04-04T18:50:54.096Z] 4c7163046ea9: Pulling fs layer [2022-04-04T18:50:54.096Z] 0c2d73faf560: Pulling fs layer [2022-04-04T18:50:54.096Z] 0c2d73faf560: Waiting [2022-04-04T18:50:54.096Z] 3e5f54012d9b: Verifying Checksum [2022-04-04T18:50:54.096Z] 3e5f54012d9b: Download complete [2022-04-04T18:50:54.096Z] a0d0a0d46f8b: Download complete [2022-04-04T18:50:54.096Z] 0c2d73faf560: Verifying Checksum [2022-04-04T18:50:54.096Z] 0c2d73faf560: Download complete [2022-04-04T18:50:54.096Z] 4c7163046ea9: Verifying Checksum [2022-04-04T18:50:54.096Z] 4c7163046ea9: Download complete [2022-04-04T18:50:54.356Z] a0d0a0d46f8b: Pull complete [2022-04-04T18:50:54.356Z] 3e5f54012d9b: Pull complete [2022-04-04T18:50:54.615Z] 4c7163046ea9: Pull complete [2022-04-04T18:50:54.877Z] 0c2d73faf560: Pull complete [2022-04-04T18:50:54.877Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-04T18:50:54.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T18:50:54.877Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-04T18:50:55.055Z] prd-ubuntu20.04-docker-8c-8g-10659 does not seem to be running inside a container [2022-04-04T18:50:55.104Z] $ 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-04T18:50:55.779Z] $ docker top cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-04T18:50:55.875Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T18:50:55.875Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T18:50:56.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T18:50:56.013Z] $ docker exec cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e ssh-agent [2022-04-04T18:50:56.129Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJGKoke/agent.13 [2022-04-04T18:50:56.129Z] SSH_AGENT_PID=19 [2022-04-04T18:50:56.139Z] Running ssh-add (command line suppressed) [2022-04-04T18:50:56.269Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_2130107742277954623.key (/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_2130107742277954623.key) [2022-04-04T18:50:56.278Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T18:50:56.574Z] + git tag --points-at HEAD [Pipeline] } [2022-04-04T18:50:56.604Z] $ docker exec --env ******** --env ******** cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e ssh-agent -k [2022-04-04T18:50:56.714Z] unset SSH_AUTH_SOCK; [2022-04-04T18:50:56.715Z] unset SSH_AGENT_PID; [2022-04-04T18:50:56.715Z] echo Agent pid 19 killed; [2022-04-04T18:50:56.718Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-04T18:50:56.746Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T18:50:56.746Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T18:50:56.871Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T18:50:56.882Z] $ docker exec cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e ssh-agent [2022-04-04T18:50:57.001Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFfmCfK/agent.51 [2022-04-04T18:50:57.001Z] SSH_AGENT_PID=58 [2022-04-04T18:50:57.006Z] Running ssh-add (command line suppressed) [2022-04-04T18:50:57.124Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_8677819946592861967.key (/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/private_key_8677819946592861967.key) [2022-04-04T18:50:57.134Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T18:50:57.427Z] + git semver init [2022-04-04T18:50:57.427Z] # -> Open(): unable to determine branch for HEAD [2022-04-04T18:50:57.427Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-353/.git [2022-04-04T18:50:57.427Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-353 [2022-04-04T18:50:57.427Z] # $SEMVER_REMOTE_NAME = origin [2022-04-04T18:50:57.427Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-04T18:50:57.427Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-04T18:50:57.427Z] # $SEMVER_BRANCH = PR-353 [2022-04-04T18:50:57.427Z] # $SEMVER_TEMP = /tmp/semver-058847528 [2022-04-04T18:50:57.427Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-04T18:50:58.375Z] # '/tmp/semver-058847528' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-353/.semver' [2022-04-04T18:50:58.375Z] # -> Force: false [2022-04-04T18:50:58.375Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-353/.semver [Pipeline] } [2022-04-04T18:50:58.395Z] $ docker exec --env ******** --env ******** cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e ssh-agent -k [2022-04-04T18:50:58.500Z] unset SSH_AUTH_SOCK; [2022-04-04T18:50:58.501Z] unset SSH_AGENT_PID; [2022-04-04T18:50:58.501Z] echo Agent pid 58 killed; [2022-04-04T18:50:58.507Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-04T18:50:58.822Z] + git semver [Pipeline] } [2022-04-04T18:50:58.845Z] $ docker stop --time=1 cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e [2022-04-04T18:51:00.208Z] $ docker rm -f cfe084a3870087c11813d78cab883ddcd51baa8e8b8027708db51afcbcc6103e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T18:51:00.562Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-04T18:51:00.821Z] Stashed 1 file(s) [Pipeline] echo [2022-04-04T18:51:00.825Z] [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-04T18:51:01.009Z] provisioning config files... [2022-04-04T18:51:01.021Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config6821051448589062155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T18:51:01.325Z] ---> docker-login.sh [2022-04-04T18:51:01.325Z] nexus3.edgexfoundry.org:10001 [2022-04-04T18:51:01.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:51:01.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:51:01.325Z] Configure a credential helper to remove this warning. See [2022-04-04T18:51:01.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:51:01.325Z] [2022-04-04T18:51:01.325Z] Login Succeeded [2022-04-04T18:51:01.325Z] nexus3.edgexfoundry.org:10002 [2022-04-04T18:51:01.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:51:01.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:51:01.587Z] Configure a credential helper to remove this warning. See [2022-04-04T18:51:01.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:51:01.587Z] [2022-04-04T18:51:01.587Z] Login Succeeded [2022-04-04T18:51:01.587Z] nexus3.edgexfoundry.org:10003 [2022-04-04T18:51:01.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:51:01.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:51:01.587Z] Configure a credential helper to remove this warning. See [2022-04-04T18:51:01.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:51:01.587Z] [2022-04-04T18:51:01.587Z] Login Succeeded [2022-04-04T18:51:01.587Z] nexus3.edgexfoundry.org:10004 [2022-04-04T18:51:01.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:51:01.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:51:01.849Z] Configure a credential helper to remove this warning. See [2022-04-04T18:51:01.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:51:01.849Z] [2022-04-04T18:51:01.849Z] Login Succeeded [2022-04-04T18:51:01.849Z] docker.io [2022-04-04T18:51:01.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:51:02.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:51:02.111Z] Configure a credential helper to remove this warning. See [2022-04-04T18:51:02.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:51:02.111Z] [2022-04-04T18:51:02.111Z] Login Succeeded [2022-04-04T18:51:02.111Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T18:51:02.120Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T18:51:02.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T18:51:02.211Z] ========================================================= [2022-04-04T18:51:02.211Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-04T18:51:02.211Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T18:51:02.530Z] + 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-04T18:51:02.530Z] Sending build context to Docker daemon 5.842MB [2022-04-04T18:51:02.530Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T18:51:02.530Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-04T18:51:02.530Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-04T18:51:02.530Z] 59bf1c3509f3: Pulling fs layer [2022-04-04T18:51:02.530Z] 666ba61612fd: Pulling fs layer [2022-04-04T18:51:02.530Z] 8ed8ca486205: Pulling fs layer [2022-04-04T18:51:02.530Z] 4fe6c5a15a65: Pulling fs layer [2022-04-04T18:51:02.530Z] 22a0e8bec74d: Pulling fs layer [2022-04-04T18:51:02.530Z] 640e595b4fbd: Pulling fs layer [2022-04-04T18:51:02.530Z] 763cafe07f6e: Pulling fs layer [2022-04-04T18:51:02.530Z] 0c0b528cf693: Pulling fs layer [2022-04-04T18:51:02.530Z] 4fe6c5a15a65: Waiting [2022-04-04T18:51:02.530Z] 10935f4eaf8b: Pulling fs layer [2022-04-04T18:51:02.530Z] 22a0e8bec74d: Waiting [2022-04-04T18:51:02.530Z] 640e595b4fbd: Waiting [2022-04-04T18:51:02.530Z] 763cafe07f6e: Waiting [2022-04-04T18:51:02.530Z] 0c0b528cf693: Waiting [2022-04-04T18:51:02.530Z] 10935f4eaf8b: Waiting [2022-04-04T18:51:02.530Z] 8ed8ca486205: Verifying Checksum [2022-04-04T18:51:02.530Z] 8ed8ca486205: Download complete [2022-04-04T18:51:02.530Z] 666ba61612fd: Download complete [2022-04-04T18:51:02.796Z] 22a0e8bec74d: Verifying Checksum [2022-04-04T18:51:02.796Z] 22a0e8bec74d: Download complete [2022-04-04T18:51:02.796Z] 640e595b4fbd: Download complete [2022-04-04T18:51:02.796Z] 763cafe07f6e: Download complete [2022-04-04T18:51:02.796Z] 59bf1c3509f3: Verifying Checksum [2022-04-04T18:51:02.796Z] 0c0b528cf693: Verifying Checksum [2022-04-04T18:51:02.796Z] 0c0b528cf693: Download complete [2022-04-04T18:51:02.796Z] 59bf1c3509f3: Pull complete [2022-04-04T18:51:03.055Z] 666ba61612fd: Pull complete [2022-04-04T18:51:03.055Z] 8ed8ca486205: Pull complete [2022-04-04T18:51:03.317Z] 10935f4eaf8b: Verifying Checksum [2022-04-04T18:51:03.317Z] 10935f4eaf8b: Download complete [2022-04-04T18:51:03.317Z] 4fe6c5a15a65: Verifying Checksum [2022-04-04T18:51:03.317Z] 4fe6c5a15a65: Download complete [2022-04-04T18:51:07.514Z] 4fe6c5a15a65: Pull complete [2022-04-04T18:51:07.514Z] 22a0e8bec74d: Pull complete [2022-04-04T18:51:07.514Z] 640e595b4fbd: Pull complete [2022-04-04T18:51:07.514Z] 763cafe07f6e: Pull complete [2022-04-04T18:51:07.514Z] 0c0b528cf693: Pull complete [2022-04-04T18:51:09.423Z] 10935f4eaf8b: Pull complete [2022-04-04T18:51:09.423Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-04T18:51:09.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-04T18:51:09.423Z] ---> 99d49a6021b9 [2022-04-04T18:51:09.423Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T18:51:11.339Z] ---> Running in 7db838866291 [2022-04-04T18:51:11.339Z] Removing intermediate container 7db838866291 [2022-04-04T18:51:11.339Z] ---> 9a1e387edcd3 [2022-04-04T18:51:11.339Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T18:51:11.339Z] ---> Running in 971ce9ffde8d [2022-04-04T18:51:11.339Z] Removing intermediate container 971ce9ffde8d [2022-04-04T18:51:11.339Z] ---> d5d6d1460303 [2022-04-04T18:51:11.339Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T18:51:11.339Z] ---> Running in 0969a4879ec2 [2022-04-04T18:51:11.910Z] Removing intermediate container 0969a4879ec2 [2022-04-04T18:51:11.910Z] ---> 9dad3eb921a4 [2022-04-04T18:51:11.910Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T18:51:11.910Z] ---> Running in da703a59bbb8 [2022-04-04T18:51:12.172Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T18:51:13.113Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T18:51:13.373Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T18:51:13.635Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T18:51:13.635Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T18:51:13.635Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T18:51:13.898Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T18:51:13.898Z] OK: 224 MiB in 56 packages [2022-04-04T18:51:14.158Z] Removing intermediate container da703a59bbb8 [2022-04-04T18:51:14.158Z] ---> 13144c5a4af4 [2022-04-04T18:51:14.158Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-04T18:51:14.158Z] ---> Running in 741f7e46b6be [2022-04-04T18:51:14.416Z] Removing intermediate container 741f7e46b6be [2022-04-04T18:51:14.416Z] ---> b9774469f06b [2022-04-04T18:51:14.416Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-04T18:51:14.416Z] ---> d33c7a12f10a [2022-04-04T18:51:14.416Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T18:51:14.416Z] ---> Running in 7f9ab36b97cc [2022-04-04T18:51:15.958Z] Still waiting to schedule task [2022-04-04T18:51:15.959Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-04T18:51:40.991Z] Removing intermediate container 7f9ab36b97cc [2022-04-04T18:51:40.991Z] ---> 8b04fc43afdc [2022-04-04T18:51:40.991Z] Step 10/12 : COPY . . [2022-04-04T18:51:40.991Z] ---> aafa26dd2680 [2022-04-04T18:51:40.991Z] Step 11/12 : ARG MAKE='make build' [2022-04-04T18:51:40.991Z] ---> Running in 8fd4b9bb69db [2022-04-04T18:51:40.991Z] Removing intermediate container 8fd4b9bb69db [2022-04-04T18:51:40.991Z] ---> 8b046b67ee20 [2022-04-04T18:51:40.991Z] Step 12/12 : RUN $MAKE [2022-04-04T18:51:40.991Z] ---> Running in 06a056fa26a3 [2022-04-04T18:51:40.991Z] noop [2022-04-04T18:51:40.991Z] Removing intermediate container 06a056fa26a3 [2022-04-04T18:51:40.991Z] ---> 97b80fe8657c [2022-04-04T18:51:40.991Z] Successfully built 97b80fe8657c [2022-04-04T18:51:40.991Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T18:51:41.292Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T18:51:41.292Z] . [Pipeline] withDockerContainer [2022-04-04T18:51:41.364Z] prd-ubuntu20.04-docker-8c-8g-10659 does not seem to be running inside a container [2022-04-04T18:51:41.402Z] $ 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-04T18:51:41.796Z] $ docker top 70082dcc09a34ae015712630336de1edb1ade81426c15d29670f34ad3d9e9b89 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T18:51:42.156Z] + go version [2022-04-04T18:51:42.157Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-04T18:51:42.170Z] $ docker stop --time=1 70082dcc09a34ae015712630336de1edb1ade81426c15d29670f34ad3d9e9b89 [2022-04-04T18:51:43.456Z] $ docker rm -f 70082dcc09a34ae015712630336de1edb1ade81426c15d29670f34ad3d9e9b89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T18:51:43.874Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T18:51:43.874Z] . [Pipeline] withDockerContainer [2022-04-04T18:51:43.942Z] prd-ubuntu20.04-docker-8c-8g-10659 does not seem to be running inside a container [2022-04-04T18:51:43.976Z] $ 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-04T18:51:44.362Z] $ docker top 2c2b657041626ec87115ba4d39902eaba41d531355432966f1519312db1b888d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T18:51:44.732Z] + make test [2022-04-04T18:51:44.732Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-04T18:51:44.992Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-04T18:51:51.569Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-04T18:51:51.569Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 21.8% of statements [2022-04-04T18:51:51.569Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-04T18:51:56.857Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T18:51:59.407Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T18:51:59.407Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T18:51:59.407Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-04T18:51:59.995Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-04T18:52:00.011Z] $ docker stop --time=1 2c2b657041626ec87115ba4d39902eaba41d531355432966f1519312db1b888d [2022-04-04T18:52:01.742Z] $ docker rm -f 2c2b657041626ec87115ba4d39902eaba41d531355432966f1519312db1b888d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T18:52:02.143Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-04T18:52:02.177Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-04T18:52:03.205Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-04T18:52:03.507Z] + ls -al . [2022-04-04T18:52:03.507Z] total 188 [2022-04-04T18:52:03.507Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 18:51 . [2022-04-04T18:52:03.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 18:50 .. [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 4 18:50 .dockerignore [2022-04-04T18:52:03.507Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 18:50 .git [2022-04-04T18:52:03.507Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 18:50 .github [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 4 18:50 .gitignore [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 4 18:50 .golangci.yml [2022-04-04T18:52:03.507Z] drwx------ 3 jenkins jenkins 4096 Apr 4 18:50 .semver [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 4 18:50 Attribution.txt [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 4 18:50 CHANGELOG.md [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 4 18:50 Dockerfile [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 18:50 GOVERNANCE.md [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 4 18:50 Jenkinsfile [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 18:50 LICENSE [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 1531 Apr 4 18:50 Makefile [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 18:50 OWNERS.md [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 4 18:50 README.md [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 18:51 VERSION [2022-04-04T18:52:03.507Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 18:50 bin [2022-04-04T18:52:03.507Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 18:50 cmd [2022-04-04T18:52:03.507Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 4 18:51 coverage.out [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 4 18:50 go.mod [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 4 18:50 go.sum [2022-04-04T18:52:03.507Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 18:50 internal [2022-04-04T18:52:03.507Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 18:50 mock [2022-04-04T18:52:03.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 18:50 snap [2022-04-04T18:52:03.507Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 4 18:50 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-04T18:52:03.835Z] + 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=390bcbeb808c8be77abba9815d85b3d5d8a833c6 --label arch=amd64 --label version=0.0.0 . [2022-04-04T18:52:03.835Z] Sending build context to Docker daemon 5.86MB [2022-04-04T18:52:03.835Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T18:52:03.835Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-04T18:52:03.835Z] ---> 97b80fe8657c [2022-04-04T18:52:03.835Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T18:52:03.835Z] ---> Running in 7cd65e24bee5 [2022-04-04T18:52:04.107Z] Removing intermediate container 7cd65e24bee5 [2022-04-04T18:52:04.107Z] ---> 40415a44aeca [2022-04-04T18:52:04.107Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T18:52:04.107Z] ---> Running in 8dbbd5ae8495 [2022-04-04T18:52:04.107Z] Removing intermediate container 8dbbd5ae8495 [2022-04-04T18:52:04.107Z] ---> 192aea0a6604 [2022-04-04T18:52:04.107Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T18:52:04.107Z] ---> Running in 260e1643186d [2022-04-04T18:52:04.684Z] Removing intermediate container 260e1643186d [2022-04-04T18:52:04.684Z] ---> cc5b00e64a26 [2022-04-04T18:52:04.684Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T18:52:04.684Z] ---> Running in ead8af798258 [2022-04-04T18:52:04.945Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T18:52:05.886Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T18:52:06.148Z] OK: 224 MiB in 56 packages [2022-04-04T18:52:06.410Z] Removing intermediate container ead8af798258 [2022-04-04T18:52:06.410Z] ---> 675e511c1927 [2022-04-04T18:52:06.410Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-04T18:52:06.410Z] ---> Running in 1c1727e72f6c [2022-04-04T18:52:06.410Z] Removing intermediate container 1c1727e72f6c [2022-04-04T18:52:06.410Z] ---> 25ddd9cb0d94 [2022-04-04T18:52:06.410Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-04T18:52:06.674Z] ---> cdc02d2f8c59 [2022-04-04T18:52:06.674Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T18:52:06.674Z] ---> Running in 028db8b9ddfb [2022-04-04T18:52:07.244Z] Removing intermediate container 028db8b9ddfb [2022-04-04T18:52:07.244Z] ---> d09483613572 [2022-04-04T18:52:07.244Z] Step 10/24 : COPY . . [2022-04-04T18:52:07.507Z] ---> 2f4cb64d4898 [2022-04-04T18:52:07.507Z] Step 11/24 : ARG MAKE='make build' [2022-04-04T18:52:07.767Z] ---> Running in fa2b31632206 [2022-04-04T18:52:07.767Z] Removing intermediate container fa2b31632206 [2022-04-04T18:52:07.767Z] ---> 409095c85432 [2022-04-04T18:52:07.767Z] Step 12/24 : RUN $MAKE [2022-04-04T18:52:07.767Z] ---> Running in a3c0ecbd03c6 [2022-04-04T18:52:08.026Z] 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-04T18:52:16.154Z] Removing intermediate container a3c0ecbd03c6 [2022-04-04T18:52:16.154Z] ---> 22cae2891a62 [2022-04-04T18:52:16.154Z] Step 13/24 : FROM alpine:3.14 [2022-04-04T18:52:16.154Z] 3.14: Pulling from library/alpine [2022-04-04T18:52:16.154Z] cfab2db72209: Pulling fs layer [2022-04-04T18:52:16.154Z] cfab2db72209: Verifying Checksum [2022-04-04T18:52:16.154Z] cfab2db72209: Download complete [2022-04-04T18:52:16.154Z] cfab2db72209: Pull complete [2022-04-04T18:52:16.154Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-04T18:52:16.154Z] Status: Downloaded newer image for alpine:3.14 [2022-04-04T18:52:16.154Z] ---> 84b07dd2d1fd [2022-04-04T18:52:16.154Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-04T18:52:16.154Z] ---> Running in 61d6043e088b [2022-04-04T18:52:16.413Z] Removing intermediate container 61d6043e088b [2022-04-04T18:52:16.413Z] ---> 53beecbd069b [2022-04-04T18:52:16.413Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-04T18:52:16.413Z] ---> Running in 4c8db476efa5 [2022-04-04T18:52:16.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-04T18:52:16.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-04T18:52:16.933Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-04T18:52:16.933Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-04T18:52:16.933Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-04T18:52:16.933Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-04T18:52:16.933Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-04T18:52:16.933Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-04T18:52:16.933Z] Executing busybox-1.33.1-r6.trigger [2022-04-04T18:52:16.933Z] OK: 8 MiB in 20 packages [2022-04-04T18:52:17.559Z] Removing intermediate container 4c8db476efa5 [2022-04-04T18:52:17.559Z] ---> 7bd6c719e0be [2022-04-04T18:52:17.559Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-04T18:52:17.821Z] ---> f74f1d0ad2bb [2022-04-04T18:52:17.821Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-04T18:52:17.821Z] ---> 550c639c1912 [2022-04-04T18:52:17.821Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-04T18:52:18.081Z] ---> 5ff4e88952d4 [2022-04-04T18:52:18.081Z] Step 19/24 : EXPOSE 59982 [2022-04-04T18:52:18.081Z] ---> Running in d769e03db6d1 [2022-04-04T18:52:18.081Z] Removing intermediate container d769e03db6d1 [2022-04-04T18:52:18.081Z] ---> 738f8fa663e4 [2022-04-04T18:52:18.081Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-04T18:52:18.081Z] ---> Running in c81309e3ba2e [2022-04-04T18:52:18.341Z] Removing intermediate container c81309e3ba2e [2022-04-04T18:52:18.341Z] ---> ce64c6f83453 [2022-04-04T18:52:18.341Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-04T18:52:18.341Z] ---> Running in 2bf07185ef3a [2022-04-04T18:52:18.341Z] Removing intermediate container 2bf07185ef3a [2022-04-04T18:52:18.341Z] ---> ab8a88d9bd13 [2022-04-04T18:52:18.341Z] Step 22/24 : LABEL arch=amd64 [2022-04-04T18:52:18.341Z] ---> Running in 4ec47328e939 [2022-04-04T18:52:18.601Z] Removing intermediate container 4ec47328e939 [2022-04-04T18:52:18.601Z] ---> 1fa1cc03ea69 [2022-04-04T18:52:18.601Z] Step 23/24 : LABEL git_sha=390bcbeb808c8be77abba9815d85b3d5d8a833c6 [2022-04-04T18:52:18.601Z] ---> Running in 9aee040d4aae [2022-04-04T18:52:18.601Z] Removing intermediate container 9aee040d4aae [2022-04-04T18:52:18.601Z] ---> 40669d06f371 [2022-04-04T18:52:18.601Z] Step 24/24 : LABEL version=0.0.0 [2022-04-04T18:52:18.601Z] ---> Running in ded5003069c7 [2022-04-04T18:52:18.862Z] Removing intermediate container ded5003069c7 [2022-04-04T18:52:18.862Z] ---> a380fd171c65 [2022-04-04T18:52:18.862Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-04T18:52:18.862Z] Successfully built a380fd171c65 [2022-04-04T18:52:18.862Z] 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-04T18:52:19.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T18:52:19.280Z] [2022-04-04T18:52:19.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T18:52:19.585Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T18:52:19.585Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-04T18:52:19.585Z] 5eb5b503b376: Pulling fs layer [2022-04-04T18:52:19.585Z] 5c69ac0246d0: Pulling fs layer [2022-04-04T18:52:19.585Z] ec43610c2a17: Pulling fs layer [2022-04-04T18:52:19.585Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-04T18:52:19.585Z] 33b1e0a273af: Pulling fs layer [2022-04-04T18:52:19.585Z] 5d3b04190fa2: Pulling fs layer [2022-04-04T18:52:19.585Z] 2f39f015ded8: Pulling fs layer [2022-04-04T18:52:19.585Z] 33b1e0a273af: Waiting [2022-04-04T18:52:19.585Z] 5d3b04190fa2: Waiting [2022-04-04T18:52:19.585Z] 2f39f015ded8: Waiting [2022-04-04T18:52:19.585Z] 3a2ae6a8a46f: Waiting [2022-04-04T18:52:19.585Z] 5c69ac0246d0: Verifying Checksum [2022-04-04T18:52:19.585Z] 5c69ac0246d0: Download complete [2022-04-04T18:52:19.585Z] 3a2ae6a8a46f: Download complete [2022-04-04T18:52:19.585Z] ec43610c2a17: Verifying Checksum [2022-04-04T18:52:19.585Z] ec43610c2a17: Download complete [2022-04-04T18:52:19.585Z] 33b1e0a273af: Verifying Checksum [2022-04-04T18:52:19.585Z] 33b1e0a273af: Download complete [2022-04-04T18:52:19.585Z] 5d3b04190fa2: Verifying Checksum [2022-04-04T18:52:19.585Z] 5d3b04190fa2: Download complete [2022-04-04T18:52:19.846Z] 5eb5b503b376: Verifying Checksum [2022-04-04T18:52:19.846Z] 5eb5b503b376: Download complete [2022-04-04T18:52:20.415Z] 2f39f015ded8: Download complete [2022-04-04T18:52:20.985Z] 5eb5b503b376: Pull complete [2022-04-04T18:52:20.986Z] 5c69ac0246d0: Pull complete [2022-04-04T18:52:21.555Z] ec43610c2a17: Pull complete [2022-04-04T18:52:21.555Z] 3a2ae6a8a46f: Pull complete [2022-04-04T18:52:21.815Z] 33b1e0a273af: Pull complete [2022-04-04T18:52:21.815Z] 5d3b04190fa2: Pull complete [2022-04-04T18:52:26.012Z] 2f39f015ded8: Pull complete [2022-04-04T18:52:26.013Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-04T18:52:26.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T18:52:26.013Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-04T18:52:26.079Z] prd-ubuntu20.04-docker-8c-8g-10659 does not seem to be running inside a container [2022-04-04T18:52:26.112Z] $ 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-04T18:52:28.046Z] $ docker top d1927ee015348728d47824b26305f18e70d48ed91405afbf9099152d10d6795f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T18:52:28.470Z] ---> job-cost.sh [2022-04-04T18:52:28.470Z] lf-activate-venv: SKIPPING [2022-04-04T18:52:28.470Z] INFO: No Stack... [2022-04-04T18:52:28.730Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T18:52:29.300Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T18:52:29.586Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/cost.csv [2022-04-04T18:52:29.586Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T18:52:29.601Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] [2022-04-04T18:52:29.607Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] did not exist. Created. [2022-04-04T18:52:29.607Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T18:52:29.908Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-04T18:52:29.931Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T18:52:29.939Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T18:52:29.960Z] $ docker stop --time=1 d1927ee015348728d47824b26305f18e70d48ed91405afbf9099152d10d6795f [2022-04-04T18:52:31.134Z] $ docker rm -f d1927ee015348728d47824b26305f18e70d48ed91405afbf9099152d10d6795f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-04T18:52:48.625Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10660 in /w/workspace/gexfoundry_device-mqtt-go_PR-353 [Pipeline] { [Pipeline] ws [2022-04-04T18:52:48.640Z] Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout [2022-04-04T18:52:48.860Z] Selected Git installation does not exist. Using Default [2022-04-04T18:52:48.860Z] The recommended git tool is: NONE [2022-04-04T18:52:56.253Z] using credential edgex-jenkins-ssh [2022-04-04T18:52:56.277Z] Cloning the remote Git repository [2022-04-04T18:52:56.330Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-04T18:52:56.436Z] > git init /w/workspace/device-mqtt-go/3 # timeout=10 [2022-04-04T18:52:56.526Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-04T18:52:56.526Z] > git --version # timeout=10 [2022-04-04T18:52:56.555Z] > git --version # 'git version 2.25.1' [2022-04-04T18:52:56.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T18:52:56.699Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T18:52:58.133Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-04T18:52:58.164Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T18:52:58.235Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-04T18:52:58.284Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-04T18:52:58.285Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T18:52:58.301Z] > 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-04T18:52:58.985Z] Merging remotes/origin/main commit a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit c409dc4c3444d06408ccb922f0356585c36524ba [2022-04-04T18:52:59.310Z] Merge succeeded, producing 23979b14864c4d8b6460998dad3a6673d7111ecf [2022-04-04T18:52:59.310Z] Checking out Revision 23979b14864c4d8b6460998dad3a6673d7111ecf (PR-353) [2022-04-04T18:52:59.003Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T18:52:59.033Z] > git checkout -f c409dc4c3444d06408ccb922f0356585c36524ba # timeout=10 [2022-04-04T18:52:59.140Z] > git remote # timeout=10 [2022-04-04T18:52:59.182Z] > git config --get remote.origin.url # timeout=10 [2022-04-04T18:52:59.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T18:52:59.208Z] > git merge a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 [2022-04-04T18:52:59.279Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-04T18:52:59.317Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T18:52:59.400Z] > git checkout -f 23979b14864c4d8b6460998dad3a6673d7111ecf # timeout=10 [2022-04-04T18:53:03.633Z] Commit message: "Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD" [2022-04-04T18:53:03.658Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T18:53:03.643Z] > git rev-list --no-walk e5e7c973100654825ea0c558627714c47227eb49 # timeout=10 [2022-04-04T18:53:04.612Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-04T18:53:04.612Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T18:53:04.612Z] Dload Upload Total Spent Left Speed [2022-04-04T18:53:04.612Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46996 0 --:--:-- --:--:-- --:--:-- 47183 [Pipeline] sh [2022-04-04T18:53:05.131Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-04T18:53:05.471Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2022-04-04T18:53:05.471Z] sudo tee /etc/docker/daemon.new [2022-04-04T18:53:05.471Z] { [2022-04-04T18:53:05.471Z] "registry-mirrors": [ [2022-04-04T18:53:05.471Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-04T18:53:05.471Z] ], [2022-04-04T18:53:05.471Z] "bip": "10.250.0.254/24", [2022-04-04T18:53:05.471Z] "hosts": [ [2022-04-04T18:53:05.471Z] "tcp://0.0.0.0:5555", [2022-04-04T18:53:05.471Z] "unix:///var/run/docker.sock" [2022-04-04T18:53:05.471Z] ], [2022-04-04T18:53:05.471Z] "mtu": 1458, [2022-04-04T18:53:05.471Z] "selinux-enabled": true, [2022-04-04T18:53:05.471Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-04T18:53:05.471Z] } [Pipeline] sh [2022-04-04T18:53:05.817Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-04T18:53:06.162Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T18:53:24.564Z] provisioning config files... [2022-04-04T18:53:24.588Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config8013604942085729604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T18:53:24.951Z] ---> docker-login.sh [2022-04-04T18:53:24.951Z] nexus3.edgexfoundry.org:10001 [2022-04-04T18:53:25.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:53:25.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:53:25.831Z] Configure a credential helper to remove this warning. See [2022-04-04T18:53:25.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:53:25.831Z] [2022-04-04T18:53:25.831Z] Login Succeeded [2022-04-04T18:53:25.831Z] nexus3.edgexfoundry.org:10002 [2022-04-04T18:53:26.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:53:26.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:53:26.105Z] Configure a credential helper to remove this warning. See [2022-04-04T18:53:26.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:53:26.105Z] [2022-04-04T18:53:26.105Z] Login Succeeded [2022-04-04T18:53:26.105Z] nexus3.edgexfoundry.org:10003 [2022-04-04T18:53:26.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:53:26.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:53:26.700Z] Configure a credential helper to remove this warning. See [2022-04-04T18:53:26.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:53:26.700Z] [2022-04-04T18:53:26.700Z] Login Succeeded [2022-04-04T18:53:26.700Z] nexus3.edgexfoundry.org:10004 [2022-04-04T18:53:26.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:53:27.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:53:27.251Z] Configure a credential helper to remove this warning. See [2022-04-04T18:53:27.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:53:27.251Z] [2022-04-04T18:53:27.251Z] Login Succeeded [2022-04-04T18:53:27.251Z] docker.io [2022-04-04T18:53:27.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T18:53:28.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T18:53:28.115Z] Configure a credential helper to remove this warning. See [2022-04-04T18:53:28.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T18:53:28.115Z] [2022-04-04T18:53:28.115Z] Login Succeeded [2022-04-04T18:53:28.115Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T18:53:28.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T18:53:28.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T18:53:28.552Z] ========================================================= [2022-04-04T18:53:28.552Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-04T18:53:28.552Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T18:53:28.897Z] + 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-04T18:53:29.169Z] Sending build context to Docker daemon 3.069MB [2022-04-04T18:53:29.445Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T18:53:29.445Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-04T18:53:29.445Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-04T18:53:29.445Z] 9b3977197b4f: Pulling fs layer [2022-04-04T18:53:29.445Z] 1a89e8eeedd5: Pulling fs layer [2022-04-04T18:53:29.445Z] 94645a83ff95: Pulling fs layer [2022-04-04T18:53:29.445Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-04T18:53:29.445Z] 0c92f367c5e7: Pulling fs layer [2022-04-04T18:53:29.445Z] f7c0051592d6: Pulling fs layer [2022-04-04T18:53:29.445Z] a227ed2f7395: Pulling fs layer [2022-04-04T18:53:29.445Z] 7b1c46037f91: Pulling fs layer [2022-04-04T18:53:29.445Z] 3f3a8bcf1eab: Waiting [2022-04-04T18:53:29.445Z] 0c92f367c5e7: Waiting [2022-04-04T18:53:29.445Z] f7c0051592d6: Waiting [2022-04-04T18:53:29.445Z] a227ed2f7395: Waiting [2022-04-04T18:53:29.445Z] 7b1c46037f91: Waiting [2022-04-04T18:53:29.445Z] 94645a83ff95: Verifying Checksum [2022-04-04T18:53:29.445Z] 94645a83ff95: Download complete [2022-04-04T18:53:29.445Z] 1a89e8eeedd5: Download complete [2022-04-04T18:53:29.445Z] 0c92f367c5e7: Verifying Checksum [2022-04-04T18:53:29.445Z] 0c92f367c5e7: Download complete [2022-04-04T18:53:29.445Z] f7c0051592d6: Verifying Checksum [2022-04-04T18:53:29.445Z] f7c0051592d6: Download complete [2022-04-04T18:53:29.445Z] 9b3977197b4f: Verifying Checksum [2022-04-04T18:53:29.445Z] 9b3977197b4f: Download complete [2022-04-04T18:53:29.445Z] a227ed2f7395: Verifying Checksum [2022-04-04T18:53:29.445Z] a227ed2f7395: Download complete [2022-04-04T18:53:30.436Z] 9b3977197b4f: Pull complete [2022-04-04T18:53:30.712Z] 1a89e8eeedd5: Pull complete [2022-04-04T18:53:31.320Z] 94645a83ff95: Pull complete [2022-04-04T18:53:31.598Z] 7b1c46037f91: Verifying Checksum [2022-04-04T18:53:31.598Z] 7b1c46037f91: Download complete [2022-04-04T18:53:32.197Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-04T18:53:32.197Z] 3f3a8bcf1eab: Download complete [2022-04-04T18:53:44.599Z] 3f3a8bcf1eab: Pull complete [2022-04-04T18:53:44.599Z] 0c92f367c5e7: Pull complete [2022-04-04T18:53:44.878Z] f7c0051592d6: Pull complete [2022-04-04T18:53:45.154Z] a227ed2f7395: Pull complete [2022-04-04T18:53:51.896Z] 7b1c46037f91: Pull complete [2022-04-04T18:53:51.896Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-04T18:53:51.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-04T18:53:51.896Z] ---> f79e39bc4007 [2022-04-04T18:53:51.896Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T18:53:52.171Z] ---> Running in 5835fb6daa19 [2022-04-04T18:53:52.771Z] Removing intermediate container 5835fb6daa19 [2022-04-04T18:53:52.771Z] ---> 1e01a85eeccb [2022-04-04T18:53:52.771Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T18:53:52.771Z] ---> Running in aab4af558191 [2022-04-04T18:53:53.045Z] Removing intermediate container aab4af558191 [2022-04-04T18:53:53.045Z] ---> 9632059d0a9c [2022-04-04T18:53:53.045Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T18:53:53.045Z] ---> Running in 60ab6a02f166 [2022-04-04T18:53:55.018Z] Removing intermediate container 60ab6a02f166 [2022-04-04T18:53:55.018Z] ---> be25d391a62d [2022-04-04T18:53:55.018Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T18:53:55.018Z] ---> Running in 9472bbe8aef8 [2022-04-04T18:53:55.615Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T18:53:56.592Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T18:53:57.569Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T18:53:57.569Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T18:53:57.569Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T18:53:57.845Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T18:53:57.845Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T18:53:57.845Z] OK: 224 MiB in 56 packages [2022-04-04T18:53:58.835Z] Removing intermediate container 9472bbe8aef8 [2022-04-04T18:53:58.835Z] ---> 6aa3b0197cd4 [2022-04-04T18:53:58.835Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-04T18:53:58.835Z] ---> Running in 5aecbf878d88 [2022-04-04T18:53:59.108Z] Removing intermediate container 5aecbf878d88 [2022-04-04T18:53:59.108Z] ---> a25ec0cdf14f [2022-04-04T18:53:59.108Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-04T18:53:59.713Z] ---> d5cca2263daa [2022-04-04T18:53:59.713Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T18:53:59.713Z] ---> Running in 679742d2f11a [2022-04-04T18:55:21.526Z] Removing intermediate container 679742d2f11a [2022-04-04T18:55:21.526Z] ---> c476796d193c [2022-04-04T18:55:21.526Z] Step 10/12 : COPY . . [2022-04-04T18:55:21.526Z] ---> 643a8a89f2d5 [2022-04-04T18:55:21.526Z] Step 11/12 : ARG MAKE='make build' [2022-04-04T18:55:21.526Z] ---> Running in f5c7eeb9ce20 [2022-04-04T18:55:21.526Z] Removing intermediate container f5c7eeb9ce20 [2022-04-04T18:55:21.526Z] ---> bffb80b9c717 [2022-04-04T18:55:21.526Z] Step 12/12 : RUN $MAKE [2022-04-04T18:55:21.526Z] ---> Running in 1cdb7c5366f7 [2022-04-04T18:55:21.526Z] noop [2022-04-04T18:55:21.526Z] Removing intermediate container 1cdb7c5366f7 [2022-04-04T18:55:21.526Z] ---> 2833d9c5ca81 [2022-04-04T18:55:21.526Z] Successfully built 2833d9c5ca81 [2022-04-04T18:55:21.526Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T18:55:21.876Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T18:55:21.876Z] . [Pipeline] withDockerContainer [2022-04-04T18:55:22.117Z] prd-ubuntu20.04-docker-arm64-4c-16g-10660 does not seem to be running inside a container [2022-04-04T18:55:22.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-04T18:55:23.504Z] $ docker top 52cf716a0458d520afe34aafcb6fb690042cb682c39466aa3be1f4b072d13b78 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T18:55:24.405Z] + go version [2022-04-04T18:55:24.405Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-04T18:55:24.439Z] $ docker stop --time=1 52cf716a0458d520afe34aafcb6fb690042cb682c39466aa3be1f4b072d13b78 [2022-04-04T18:55:26.124Z] $ docker rm -f 52cf716a0458d520afe34aafcb6fb690042cb682c39466aa3be1f4b072d13b78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T18:55:27.014Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T18:55:27.014Z] . [Pipeline] withDockerContainer [2022-04-04T18:55:27.236Z] prd-ubuntu20.04-docker-arm64-4c-16g-10660 does not seem to be running inside a container [2022-04-04T18:55:27.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-04T18:55:28.597Z] $ docker top f459c5660816d4a5115f6a756a0ed25d86a1c34143b2bf3d124efbb5236ff603 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T18:55:29.501Z] + make test [2022-04-04T18:55:29.501Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-04T18:55:30.949Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-04T18:56:18.014Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-04T18:56:20.000Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 21.8% of statements [2022-04-04T18:56:20.000Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-04T18:56:20.274Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-04T18:56:20.274Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T18:56:38.627Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T18:56:38.627Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T18:56:38.627Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-04T18:56:41.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-04T18:56:41.300Z] $ docker stop --time=1 f459c5660816d4a5115f6a756a0ed25d86a1c34143b2bf3d124efbb5236ff603 [2022-04-04T18:56:43.046Z] $ docker rm -f f459c5660816d4a5115f6a756a0ed25d86a1c34143b2bf3d124efbb5236ff603 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T18:56:43.872Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-04T18:56:43.899Z] Warning: overwriting stash ‘coverage-report’ [2022-04-04T18:56:44.373Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T18:56:44.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-04T18:56:45.105Z] + ls -al . [2022-04-04T18:56:45.105Z] total 184 [2022-04-04T18:56:45.105Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 18:56 . [2022-04-04T18:56:45.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 18:52 .. [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 4 18:52 .dockerignore [2022-04-04T18:56:45.105Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 18:53 .git [2022-04-04T18:56:45.105Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 18:52 .github [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 4 18:52 .gitignore [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 4 18:52 .golangci.yml [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 4 18:52 Attribution.txt [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 4 18:52 CHANGELOG.md [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 4 18:52 Dockerfile [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 18:52 GOVERNANCE.md [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 4 18:52 Jenkinsfile [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 18:52 LICENSE [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 1531 Apr 4 18:52 Makefile [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 18:52 OWNERS.md [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 4 18:52 README.md [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 18:51 VERSION [2022-04-04T18:56:45.105Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 18:52 bin [2022-04-04T18:56:45.105Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 18:52 cmd [2022-04-04T18:56:45.105Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 4 18:56 coverage.out [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 4 18:52 go.mod [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 4 18:52 go.sum [2022-04-04T18:56:45.105Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 18:52 internal [2022-04-04T18:56:45.105Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 18:52 mock [2022-04-04T18:56:45.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 18:52 snap [2022-04-04T18:56:45.105Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 4 18:52 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-04T18:56:45.481Z] + 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=23979b14864c4d8b6460998dad3a6673d7111ecf --label arch=arm64 --label version=0.0.0 . [2022-04-04T18:56:45.767Z] Sending build context to Docker daemon 3.088MB [2022-04-04T18:56:46.053Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T18:56:46.053Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-04T18:56:46.053Z] ---> 2833d9c5ca81 [2022-04-04T18:56:46.053Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T18:56:46.053Z] ---> Running in f02c7c9fab92 [2022-04-04T18:56:46.703Z] Removing intermediate container f02c7c9fab92 [2022-04-04T18:56:46.703Z] ---> 7e9e4d2f9020 [2022-04-04T18:56:46.703Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T18:56:46.703Z] ---> Running in 7a505dfb3d71 [2022-04-04T18:56:46.989Z] Removing intermediate container 7a505dfb3d71 [2022-04-04T18:56:46.989Z] ---> 2de033b2d1d8 [2022-04-04T18:56:46.989Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T18:56:46.989Z] ---> Running in d8a2748f846d [2022-04-04T18:56:48.972Z] Removing intermediate container d8a2748f846d [2022-04-04T18:56:48.972Z] ---> 80c142ab121d [2022-04-04T18:56:48.972Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T18:56:48.972Z] ---> Running in 0aee3f189b6f [2022-04-04T18:56:49.952Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T18:56:50.545Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T18:56:51.524Z] OK: 224 MiB in 56 packages [2022-04-04T18:56:52.119Z] Removing intermediate container 0aee3f189b6f [2022-04-04T18:56:52.119Z] ---> 288474b9933d [2022-04-04T18:56:52.119Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-04T18:56:52.399Z] ---> Running in e60c6708b2eb [2022-04-04T18:56:52.673Z] Removing intermediate container e60c6708b2eb [2022-04-04T18:56:52.673Z] ---> 42f91f0bc6ce [2022-04-04T18:56:52.673Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-04T18:56:53.271Z] ---> 07fd33deafe9 [2022-04-04T18:56:53.271Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T18:56:53.271Z] ---> Running in 6a6b93bdb45e [2022-04-04T18:56:55.255Z] Removing intermediate container 6a6b93bdb45e [2022-04-04T18:56:55.255Z] ---> 59f10853ff49 [2022-04-04T18:56:55.255Z] Step 10/24 : COPY . . [2022-04-04T18:56:56.235Z] ---> 15578d6a8fd7 [2022-04-04T18:56:56.235Z] Step 11/24 : ARG MAKE='make build' [2022-04-04T18:56:56.235Z] ---> Running in ba951f92b46c [2022-04-04T18:56:56.508Z] Removing intermediate container ba951f92b46c [2022-04-04T18:56:56.508Z] ---> 8cc5ac5ab6e0 [2022-04-04T18:56:56.508Z] Step 12/24 : RUN $MAKE [2022-04-04T18:56:56.508Z] ---> Running in a8efa221c975 [2022-04-04T18:56:57.500Z] 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-04T18:57:36.539Z] Removing intermediate container a8efa221c975 [2022-04-04T18:57:36.539Z] ---> c15c96a5e23f [2022-04-04T18:57:36.539Z] Step 13/24 : FROM alpine:3.14 [2022-04-04T18:57:37.132Z] 3.14: Pulling from library/alpine [2022-04-04T18:57:37.407Z] 810d54c7e01b: Pulling fs layer [2022-04-04T18:57:37.680Z] 810d54c7e01b: Verifying Checksum [2022-04-04T18:57:37.680Z] 810d54c7e01b: Download complete [2022-04-04T18:57:37.965Z] 810d54c7e01b: Pull complete [2022-04-04T18:57:37.965Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-04T18:57:37.965Z] Status: Downloaded newer image for alpine:3.14 [2022-04-04T18:57:37.965Z] ---> cc3d11fa2d52 [2022-04-04T18:57:37.965Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-04T18:57:38.240Z] ---> Running in b4ef3c21f92a [2022-04-04T18:57:38.513Z] Removing intermediate container b4ef3c21f92a [2022-04-04T18:57:38.513Z] ---> bd6586bc8485 [2022-04-04T18:57:38.513Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-04T18:57:38.513Z] ---> Running in d20acebb5bbc [2022-04-04T18:57:39.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-04T18:57:39.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-04T18:57:40.734Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-04T18:57:40.734Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-04T18:57:40.734Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-04T18:57:40.734Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-04T18:57:40.734Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-04T18:57:40.734Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-04T18:57:40.734Z] Executing busybox-1.33.1-r6.trigger [2022-04-04T18:57:40.734Z] OK: 8 MiB in 20 packages [2022-04-04T18:57:41.716Z] Removing intermediate container d20acebb5bbc [2022-04-04T18:57:41.716Z] ---> 2c67a0df5366 [2022-04-04T18:57:41.716Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-04T18:57:42.695Z] ---> 905e5f72f4c7 [2022-04-04T18:57:42.695Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-04T18:57:43.293Z] ---> 4f26df4f7b23 [2022-04-04T18:57:43.293Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-04T18:57:43.885Z] ---> 0197f82764fc [2022-04-04T18:57:43.885Z] Step 19/24 : EXPOSE 59982 [2022-04-04T18:57:43.885Z] ---> Running in aa5bf2d8b0f8 [2022-04-04T18:57:44.157Z] Removing intermediate container aa5bf2d8b0f8 [2022-04-04T18:57:44.157Z] ---> a13330d26e2f [2022-04-04T18:57:44.157Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-04T18:57:44.157Z] ---> Running in d7d970062004 [2022-04-04T18:57:44.436Z] Removing intermediate container d7d970062004 [2022-04-04T18:57:44.436Z] ---> 0e2fbf9f58d0 [2022-04-04T18:57:44.436Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-04T18:57:44.436Z] ---> Running in 45d499e4e506 [2022-04-04T18:57:44.714Z] Removing intermediate container 45d499e4e506 [2022-04-04T18:57:44.714Z] ---> 428433655971 [2022-04-04T18:57:44.714Z] Step 22/24 : LABEL arch=arm64 [2022-04-04T18:57:44.992Z] ---> Running in 7d52f252a6ba [2022-04-04T18:57:45.270Z] Removing intermediate container 7d52f252a6ba [2022-04-04T18:57:45.271Z] ---> 9b537ddcba36 [2022-04-04T18:57:45.271Z] Step 23/24 : LABEL git_sha=23979b14864c4d8b6460998dad3a6673d7111ecf [2022-04-04T18:57:45.271Z] ---> Running in b109fb95936c [2022-04-04T18:57:45.546Z] Removing intermediate container b109fb95936c [2022-04-04T18:57:45.546Z] ---> 1ceb02984384 [2022-04-04T18:57:45.546Z] Step 24/24 : LABEL version=0.0.0 [2022-04-04T18:57:45.546Z] ---> Running in 5bccfbdc6490 [2022-04-04T18:57:45.823Z] Removing intermediate container 5bccfbdc6490 [2022-04-04T18:57:45.823Z] ---> 7f28cdfad16b [2022-04-04T18:57:45.823Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-04T18:57:45.823Z] Successfully built 7f28cdfad16b [2022-04-04T18:57:45.823Z] 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-04T18:57:46.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T18:57:46.247Z] [2022-04-04T18:57:46.247Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-04T18:57:46.596Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T18:57:46.870Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-04T18:57:46.870Z] 8998bd30e6a1: Pulling fs layer [2022-04-04T18:57:46.870Z] 04944245beec: Pulling fs layer [2022-04-04T18:57:46.870Z] 699f458cf7ca: Pulling fs layer [2022-04-04T18:57:46.870Z] 765212b225bb: Pulling fs layer [2022-04-04T18:57:46.870Z] f23df028b6ca: Pulling fs layer [2022-04-04T18:57:46.870Z] d65c8cfc05b1: Pulling fs layer [2022-04-04T18:57:46.870Z] 2437ff75d9bd: Pulling fs layer [2022-04-04T18:57:46.870Z] 765212b225bb: Waiting [2022-04-04T18:57:46.870Z] f23df028b6ca: Waiting [2022-04-04T18:57:46.870Z] d65c8cfc05b1: Waiting [2022-04-04T18:57:46.870Z] 2437ff75d9bd: Waiting [2022-04-04T18:57:46.870Z] 04944245beec: Verifying Checksum [2022-04-04T18:57:46.870Z] 04944245beec: Download complete [2022-04-04T18:57:46.870Z] 765212b225bb: Verifying Checksum [2022-04-04T18:57:46.870Z] 765212b225bb: Download complete [2022-04-04T18:57:46.870Z] f23df028b6ca: Verifying Checksum [2022-04-04T18:57:46.870Z] f23df028b6ca: Download complete [2022-04-04T18:57:46.870Z] d65c8cfc05b1: Download complete [2022-04-04T18:57:47.145Z] 699f458cf7ca: Verifying Checksum [2022-04-04T18:57:47.145Z] 699f458cf7ca: Download complete [2022-04-04T18:57:47.421Z] 8998bd30e6a1: Verifying Checksum [2022-04-04T18:57:47.421Z] 8998bd30e6a1: Download complete [2022-04-04T18:57:50.046Z] 2437ff75d9bd: Verifying Checksum [2022-04-04T18:57:50.046Z] 2437ff75d9bd: Download complete [2022-04-04T18:57:52.025Z] 8998bd30e6a1: Pull complete [2022-04-04T18:57:52.300Z] 04944245beec: Pull complete [2022-04-04T18:57:53.735Z] 699f458cf7ca: Pull complete [2022-04-04T18:57:54.010Z] 765212b225bb: Pull complete [2022-04-04T18:57:54.609Z] f23df028b6ca: Pull complete [2022-04-04T18:57:54.883Z] d65c8cfc05b1: Pull complete [2022-04-04T18:58:09.971Z] 2437ff75d9bd: Pull complete [2022-04-04T18:58:09.971Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-04T18:58:09.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T18:58:09.971Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-04T18:58:10.194Z] prd-ubuntu20.04-docker-arm64-4c-16g-10660 does not seem to be running inside a container [2022-04-04T18:58:10.287Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-04T18:58:12.706Z] $ docker top a2afb65e2c575ce1a0dfb338a0c5eda9af966321295d5d36a5f8907782f94136 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T18:58:13.612Z] ---> job-cost.sh [2022-04-04T18:58:13.612Z] lf-activate-venv: SKIPPING [2022-04-04T18:58:13.612Z] INFO: No Stack... [2022-04-04T18:58:13.884Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-04T18:58:14.858Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T18:58:15.520Z] + cat /w/workspace/device-mqtt-go/3/archives/cost.csv [2022-04-04T18:58:15.520Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T18:58:15.579Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] [2022-04-04T18:58:15.585Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] did not exist. Created. [2022-04-04T18:58:15.585Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T18:58:16.254Z] /w/workspace/device-mqtt-go/3@tmp/durable-35953955/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-04T18:58:16.921Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-04T18:58:16.949Z] Warning: overwriting stash ‘stack-cost’ [2022-04-04T18:58:16.993Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T18:58:17.000Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-353-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T18:58:17.029Z] $ docker stop --time=1 a2afb65e2c575ce1a0dfb338a0c5eda9af966321295d5d36a5f8907782f94136 [2022-04-04T18:58:18.501Z] $ docker rm -f a2afb65e2c575ce1a0dfb338a0c5eda9af966321295d5d36a5f8907782f94136 [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-04T18:58:18.937Z] provisioning config files... [2022-04-04T18:58:18.945Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config5496143315988198991tmp [Pipeline] { [Pipeline] sh [2022-04-04T18:58:19.244Z] + set +x [2022-04-04T18:58:19.245Z] + curl -s https://codecov.io/bash [2022-04-04T18:58:19.245Z] + bash -s -- [2022-04-04T18:58:19.245Z] [2022-04-04T18:58:19.245Z] _____ _ [2022-04-04T18:58:19.245Z] / ____| | | [2022-04-04T18:58:19.245Z] | | ___ __| | ___ ___ _____ __ [2022-04-04T18:58:19.245Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-04T18:58:19.245Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-04T18:58:19.245Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-04T18:58:19.245Z] Bash-1.0.6 [2022-04-04T18:58:19.245Z] [2022-04-04T18:58:19.245Z] [2022-04-04T18:58:19.245Z] ==> git version 2.25.1 found [2022-04-04T18:58:19.245Z] ==> 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-04T18:58:19.245Z] Release-Date: 2020-01-08 [2022-04-04T18:58:19.245Z] 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-04T18:58:19.245Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-04T18:58:19.245Z] ==> Jenkins CI detected. [2022-04-04T18:58:19.245Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-353 [2022-04-04T18:58:19.245Z] project root: . [2022-04-04T18:58:19.245Z] --> token set from env [2022-04-04T18:58:19.245Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-04T18:58:19.245Z] ==> Running gcov in . (disable via -X gcov) [2022-04-04T18:58:19.245Z] ==> Python coveragepy not found [2022-04-04T18:58:19.245Z] ==> Searching for coverage reports in: [2022-04-04T18:58:19.245Z] + . [2022-04-04T18:58:19.245Z] -> Found 1 reports [2022-04-04T18:58:19.245Z] ==> Detecting git/mercurial file structure [2022-04-04T18:58:19.245Z] ==> Reading reports [2022-04-04T18:58:19.245Z] + ./coverage.out bytes=17887 [2022-04-04T18:58:19.245Z] ==> Appending adjustments [2022-04-04T18:58:19.245Z] https://docs.codecov.io/docs/fixing-reports [2022-04-04T18:58:19.505Z] + Found adjustments [2022-04-04T18:58:19.505Z] ==> Gzipping contents [2022-04-04T18:58:19.505Z] 4.0K /tmp/codecov.IyAzB2.gz [2022-04-04T18:58:19.505Z] ==> Uploading reports [2022-04-04T18:58:19.505Z] url: https://codecov.io [2022-04-04T18:58:19.505Z] query: branch=PR-353&commit=390bcbeb808c8be77abba9815d85b3d5d8a833c6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-353%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=353&job=&cmd_args= [2022-04-04T18:58:19.505Z] -> Pinging Codecov [2022-04-04T18:58:19.505Z] 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=390bcbeb808c8be77abba9815d85b3d5d8a833c6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-353%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=353&job=&cmd_args= [2022-04-04T18:58:19.765Z] -> Uploading to [2022-04-04T18:58:19.765Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-04/7D719EC7BBE17E464838252E33014C33/390bcbeb808c8be77abba9815d85b3d5d8a833c6/e97987fc-8dd5-4837-a582-b02b0f9b6030.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220404T185819Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=65406b3fdab7f82a093671ac53b37fa69468306a9a9f61043e3e88ea78f5a8ac [2022-04-04T18:58:19.765Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T18:58:19.765Z] Dload Upload Total Spent Left Speed [2022-04-04T18:58:20.026Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 13872 --:--:-- --:--:-- --:--:-- 13872 [2022-04-04T18:58:20.026Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/390bcbeb808c8be77abba9815d85b3d5d8a833c6 [Pipeline] } [2022-04-04T18:58:20.035Z] 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-04T18:58:20.769Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives ] [2022-04-04T18:58:20.769Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives [2022-04-04T18:58:20.769Z] total 16 [2022-04-04T18:58:20.769Z] drwxr-xr-x 3 root root 4096 Apr 4 18:52 . [2022-04-04T18:58:20.769Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 4 18:52 .. [2022-04-04T18:58:20.769Z] drwxr-xr-x 2 root root 4096 Apr 4 18:52 cost [2022-04-04T18:58:20.769Z] -rw-r--r-- 1 root root 85 Apr 4 18:52 cost.csv [2022-04-04T18:58:20.769Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives [2022-04-04T18:58:20.769Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives [2022-04-04T18:58:20.769Z] total 16 [2022-04-04T18:58:20.769Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 18:52 . [2022-04-04T18:58:20.769Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 4 18:52 .. [2022-04-04T18:58:20.769Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 18:52 cost [2022-04-04T18:58:20.769Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 4 18:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-04T18:58:21.065Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T18:58:21.932Z] ---> package-listing.sh [2022-04-04T18:58:21.932Z] ++ facter osfamily [2022-04-04T18:58:21.932Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-04T18:58:22.191Z] + OS_FAMILY=debian [2022-04-04T18:58:22.191Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-353 [2022-04-04T18:58:22.191Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-04T18:58:22.191Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-04T18:58:22.191Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-04T18:58:22.191Z] + PACKAGES=/tmp/packages_start.txt [2022-04-04T18:58:22.191Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-353 ']' [2022-04-04T18:58:22.191Z] + PACKAGES=/tmp/packages_end.txt [2022-04-04T18:58:22.191Z] + case "${OS_FAMILY}" in [2022-04-04T18:58:22.191Z] + dpkg -l [2022-04-04T18:58:22.191Z] + grep '^ii' [2022-04-04T18:58:22.191Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-04T18:58:22.191Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-04T18:58:22.191Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-04T18:58:22.191Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-353 ']' [2022-04-04T18:58:22.191Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-353/archives/ [2022-04-04T18:58:22.191Z] + 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-04T18:58:22.202Z] 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-04T18:58:22.483Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-04T18:58:23.042Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T18:58:23.042Z] . [Pipeline] withDockerContainer [2022-04-04T18:58:23.109Z] prd-ubuntu20.04-docker-8c-8g-10659 does not seem to be running inside a container [2022-04-04T18:58:23.139Z] $ 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-04T18:58:23.357Z] $ docker top 5d18679d3ec506f0c9986204bee87c63d6e025936371d22311c01f110d7cf90a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T18:58:23.720Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-04T18:58:24.032Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-04T18:58:24.372Z] + ls /var/log/sa-host [2022-04-04T18:58:24.372Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T18:58:24.591Z] provisioning config files... [2022-04-04T18:58:24.600Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-353@tmp/config2826999563624666161tmp [Pipeline] { [Pipeline] echo [2022-04-04T18:58:24.615Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T18:58:24.902Z] ---> create-netrc.sh [Pipeline] } [2022-04-04T18:58:24.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-04T18:58:25.253Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-04T18:58:25.262Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T18:58:25.551Z] ---> sudo-logs.sh [2022-04-04T18:58:25.551Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-04T18:58:25.579Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T18:58:25.867Z] ---> job-cost.sh [2022-04-04T18:58:25.867Z] lf-activate-venv: SKIPPING [2022-04-04T18:58:25.867Z] DEBUG: total: 0.2199999988079071 [2022-04-04T18:58:25.867Z] INFO: Retrieving Stack Cost... [2022-04-04T18:58:26.439Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T18:58:26.700Z] INFO: Archiving Costs [Pipeline] echo [2022-04-04T18:58:26.717Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T18:58:27.004Z] ---> logs-deploy.sh [2022-04-04T18:58:27.004Z] lf-activate-venv: SKIPPING [2022-04-04T18:58:27.004Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-353/3 [2022-04-04T18:58:27.004Z] INFO: archiving workspace using pattern(s): [2022-04-04T18:58:27.943Z] Archives upload complete. [2022-04-04T18:58:27.943Z] INFO: archiving logs to Nexus