Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 75f7eebd2bc5be3489d7baaaa5b577d2ae38e9f9+a7b844beee09313a8b0584ee433be2eeca10ef2f (eab04041737260fd09f35047ed285d6381a94a61) 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-ssh3436149620019495704.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-ssh533725781538243171.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-351/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-351/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8262743422360857131.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-ssh10258377951164553178.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-351/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-351/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12714085614391553454.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-10515 in /w/workspace/gexfoundry_device-mqtt-go_PR-351 [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-351 # 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 75f7eebd2bc5be3489d7baaaa5b577d2ae38e9f9 Merge succeeded, producing 49d52516b6f0a99c8ff9c165605a311bab2941e7 Checking out Revision 49d52516b6f0a99c8ff9c165605a311bab2941e7 (PR-351) > 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/351/head:refs/remotes/origin/PR-351 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75f7eebd2bc5be3489d7baaaa5b577d2ae38e9f9 # 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 49d52516b6f0a99c8ff9c165605a311bab2941e7 # timeout=10 Commit message: "Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD" > git rev-list --no-walk 75f7eebd2bc5be3489d7baaaa5b577d2ae38e9f9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-02T03:18:20.229Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-02T03:18:20.279Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-02T03:18:20.295Z] ========================================================= [2022-04-02T03:18:20.295Z] EdgeX Global Pipelines Version Info [2022-04-02T03:18:20.295Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-02T03:18:21.048Z] ------------------- [2022-04-02T03:18:21.048Z] stable info: [2022-04-02T03:18:21.048Z] ------------------- [2022-04-02T03:18:21.048Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-02T03:18:21.048Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-02T03:18:21.048Z] Message: update stable to v1.0.221 [2022-04-02T03:18:21.623Z] ------------------- [2022-04-02T03:18:21.623Z] experimental info: [2022-04-02T03:18:21.623Z] ------------------- [2022-04-02T03:18:21.623Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-02T03:18:21.623Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-02T03:18:21.623Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-02T03:18:21.760Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-02T03:18:21.769Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-02T03:18:21.777Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-02T03:18:21.786Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-02T03:18:21.801Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-02T03:18:21.815Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-02T03:18:21.830Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-02T03:18:21.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-02T03:18:21.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-02T03:18:21.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-02T03:18:21.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-02T03:18:21.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-02T03:18:21.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-02T03:18:21.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-02T03:18:21.923Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-02T03:18:21.935Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-02T03:18:21.947Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-02T03:18:21.962Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-02T03:18:21.974Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-02T03:18:21.989Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-02T03:18:22.001Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-02T03:18:22.016Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-02T03:18:22.030Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-02T03:18:22.044Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-02T03:18:22.056Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-02T03:18:22.068Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-02T03:18:22.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-351 [Pipeline] echo [2022-04-02T03:18:22.091Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-351 [Pipeline] echo [2022-04-02T03:18:22.105Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-351 [Pipeline] echo [2022-04-02T03:18:22.117Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 49d52516b6f0a99c8ff9c165605a311bab2941e7 [Pipeline] echo [2022-04-02T03:18:22.132Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 49d5251 [Pipeline] echo [2022-04-02T03:18:22.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-02T03:18:22.190Z] provisioning config files... [2022-04-02T03:18:22.204Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp/config1883438398088494116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-02T03:18:22.519Z] ---> docker-login.sh [2022-04-02T03:18:22.519Z] nexus3.edgexfoundry.org:10001 [2022-04-02T03:18:22.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:18:22.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:18:22.780Z] Configure a credential helper to remove this warning. See [2022-04-02T03:18:22.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:18:22.780Z] [2022-04-02T03:18:22.780Z] Login Succeeded [2022-04-02T03:18:22.780Z] nexus3.edgexfoundry.org:10002 [2022-04-02T03:18:23.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:18:23.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:18:23.040Z] Configure a credential helper to remove this warning. See [2022-04-02T03:18:23.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:18:23.040Z] [2022-04-02T03:18:23.040Z] Login Succeeded [2022-04-02T03:18:23.040Z] nexus3.edgexfoundry.org:10003 [2022-04-02T03:18:23.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:18:23.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:18:23.302Z] Configure a credential helper to remove this warning. See [2022-04-02T03:18:23.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:18:23.302Z] [2022-04-02T03:18:23.302Z] Login Succeeded [2022-04-02T03:18:23.302Z] nexus3.edgexfoundry.org:10004 [2022-04-02T03:18:23.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:18:23.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:18:23.302Z] Configure a credential helper to remove this warning. See [2022-04-02T03:18:23.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:18:23.302Z] [2022-04-02T03:18:23.302Z] Login Succeeded [2022-04-02T03:18:23.302Z] docker.io [2022-04-02T03:18:23.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:18:23.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:18:23.824Z] Configure a credential helper to remove this warning. See [2022-04-02T03:18:23.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:18:23.824Z] [2022-04-02T03:18:23.824Z] Login Succeeded [2022-04-02T03:18:23.824Z] ---> docker-login.sh ends [Pipeline] } [2022-04-02T03:18:23.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-02T03:18:24.206Z] + git rev-list -1 --merges 49d52516b6f0a99c8ff9c165605a311bab2941e7~1..49d52516b6f0a99c8ff9c165605a311bab2941e7 [Pipeline] echo [2022-04-02T03:18:24.278Z] -----------> git rev-list -1 --merges 49d52516b6f0a99c8ff9c165605a311bab2941e7~1..49d52516b6f0a99c8ff9c165605a311bab2941e7 49d52516b6f0a99c8ff9c165605a311bab2941e7 [2022-04-02T03:18:24.278Z] 49d52516b6f0a99c8ff9c165605a311bab2941e7 [false] [Pipeline] sh [2022-04-02T03:18:24.566Z] + git log --format=format:%s -1 49d52516b6f0a99c8ff9c165605a311bab2941e7 [Pipeline] echo [2022-04-02T03:18:24.582Z] ========================================================= [2022-04-02T03:18:24.582Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-02T03:18:24.582Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-02T03:18:24.922Z] + git log --format=format:%s -1 49d52516b6f0a99c8ff9c165605a311bab2941e7 [Pipeline] echo [2022-04-02T03:18:24.935Z] [semverPrep] GIT_COMMIT: 49d52516b6f0a99c8ff9c165605a311bab2941e7, Commit Message: Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD [Pipeline] echo [2022-04-02T03:18:24.947Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-02T03:18:25.329Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-02T03:18:25.329Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-02T03:18:25.329Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-02T03:18:25.329Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-02T03:18:25.329Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-02T03:18:25.329Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-02T03:18:25.329Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-02T03:18:25.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-02T03:18:25.696Z] [2022-04-02T03:18:25.696Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-02T03:18:25.998Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-02T03:18:25.998Z] latest: Pulling from edgex-devops/git-semver [2022-04-02T03:18:25.998Z] a0d0a0d46f8b: Pulling fs layer [2022-04-02T03:18:25.998Z] 3e5f54012d9b: Pulling fs layer [2022-04-02T03:18:25.998Z] 4c7163046ea9: Pulling fs layer [2022-04-02T03:18:25.998Z] 0c2d73faf560: Pulling fs layer [2022-04-02T03:18:25.998Z] 0c2d73faf560: Waiting [2022-04-02T03:18:25.998Z] 3e5f54012d9b: Verifying Checksum [2022-04-02T03:18:25.998Z] 3e5f54012d9b: Download complete [2022-04-02T03:18:25.998Z] a0d0a0d46f8b: Download complete [2022-04-02T03:18:26.257Z] 4c7163046ea9: Verifying Checksum [2022-04-02T03:18:26.257Z] 4c7163046ea9: Download complete [2022-04-02T03:18:26.257Z] 0c2d73faf560: Verifying Checksum [2022-04-02T03:18:26.257Z] 0c2d73faf560: Download complete [2022-04-02T03:18:26.257Z] a0d0a0d46f8b: Pull complete [2022-04-02T03:18:26.257Z] 3e5f54012d9b: Pull complete [2022-04-02T03:18:26.518Z] 4c7163046ea9: Pull complete [2022-04-02T03:18:26.776Z] 0c2d73faf560: Pull complete [2022-04-02T03:18:26.776Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-02T03:18:26.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-02T03:18:26.776Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-02T03:18:26.845Z] prd-ubuntu20.04-docker-8c-8g-10515 does not seem to be running inside a container [2022-04-02T03:18:26.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-351 -v /w/workspace/gexfoundry_device-mqtt-go_PR-351:/w/workspace/gexfoundry_device-mqtt-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-351@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-02T03:18:27.534Z] $ docker top c6b0734051e228a7ace3e35691522d5d9ad47e73fa3a32b6c3373a257c0b65bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-02T03:18:27.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-02T03:18:27.627Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-02T03:18:27.755Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-02T03:18:27.765Z] $ docker exec c6b0734051e228a7ace3e35691522d5d9ad47e73fa3a32b6c3373a257c0b65bf ssh-agent [2022-04-02T03:18:27.879Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFBCdna/agent.14 [2022-04-02T03:18:27.879Z] SSH_AGENT_PID=20 [2022-04-02T03:18:27.887Z] Running ssh-add (command line suppressed) [2022-04-02T03:18:28.002Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp/private_key_7325156300611245186.key (/w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp/private_key_7325156300611245186.key) [2022-04-02T03:18:28.013Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-02T03:18:28.307Z] + git tag --points-at HEAD [Pipeline] } [2022-04-02T03:18:28.333Z] $ docker exec --env ******** --env ******** c6b0734051e228a7ace3e35691522d5d9ad47e73fa3a32b6c3373a257c0b65bf ssh-agent -k [2022-04-02T03:18:28.437Z] unset SSH_AUTH_SOCK; [2022-04-02T03:18:28.438Z] unset SSH_AGENT_PID; [2022-04-02T03:18:28.438Z] echo Agent pid 20 killed; [2022-04-02T03:18:28.446Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-02T03:18:28.468Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-02T03:18:28.468Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-02T03:18:28.588Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-02T03:18:28.597Z] $ docker exec c6b0734051e228a7ace3e35691522d5d9ad47e73fa3a32b6c3373a257c0b65bf ssh-agent [2022-04-02T03:18:28.724Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIKNgfM/agent.54 [2022-04-02T03:18:28.724Z] SSH_AGENT_PID=60 [2022-04-02T03:18:28.730Z] Running ssh-add (command line suppressed) [2022-04-02T03:18:28.850Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp/private_key_5052229885713302335.key (/w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp/private_key_5052229885713302335.key) [2022-04-02T03:18:28.858Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-02T03:18:29.153Z] + git semver init [2022-04-02T03:18:29.153Z] # -> Open(): unable to determine branch for HEAD [2022-04-02T03:18:29.153Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-351/.git [2022-04-02T03:18:29.153Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-351 [2022-04-02T03:18:29.153Z] # $SEMVER_REMOTE_NAME = origin [2022-04-02T03:18:29.153Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-02T03:18:29.153Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-02T03:18:29.153Z] # $SEMVER_BRANCH = PR-351 [2022-04-02T03:18:29.153Z] # $SEMVER_TEMP = /tmp/semver-650168088 [2022-04-02T03:18:29.153Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-02T03:18:30.099Z] # '/tmp/semver-650168088' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-351/.semver' [2022-04-02T03:18:30.099Z] # -> Force: false [2022-04-02T03:18:30.099Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-351/.semver [Pipeline] } [2022-04-02T03:18:30.117Z] $ docker exec --env ******** --env ******** c6b0734051e228a7ace3e35691522d5d9ad47e73fa3a32b6c3373a257c0b65bf ssh-agent -k [2022-04-02T03:18:30.234Z] unset SSH_AUTH_SOCK; [2022-04-02T03:18:30.235Z] unset SSH_AGENT_PID; [2022-04-02T03:18:30.235Z] echo Agent pid 60 killed; [2022-04-02T03:18:30.241Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-02T03:18:30.557Z] + git semver [Pipeline] } [2022-04-02T03:18:30.580Z] $ docker stop --time=1 c6b0734051e228a7ace3e35691522d5d9ad47e73fa3a32b6c3373a257c0b65bf [2022-04-02T03:18:31.936Z] $ docker rm -f c6b0734051e228a7ace3e35691522d5d9ad47e73fa3a32b6c3373a257c0b65bf [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-02T03:18:32.280Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-02T03:18:32.520Z] Stashed 1 file(s) [Pipeline] echo [2022-04-02T03:18:32.570Z] [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-02T03:18:32.702Z] provisioning config files... [2022-04-02T03:18:32.709Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp/config6882972154094345586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-02T03:18:33.006Z] ---> docker-login.sh [2022-04-02T03:18:33.006Z] nexus3.edgexfoundry.org:10001 [2022-04-02T03:18:33.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:18:33.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:18:33.006Z] Configure a credential helper to remove this warning. See [2022-04-02T03:18:33.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:18:33.006Z] [2022-04-02T03:18:33.006Z] Login Succeeded [2022-04-02T03:18:33.006Z] nexus3.edgexfoundry.org:10002 [2022-04-02T03:18:33.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:18:33.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:18:33.267Z] Configure a credential helper to remove this warning. See [2022-04-02T03:18:33.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:18:33.267Z] [2022-04-02T03:18:33.267Z] Login Succeeded [2022-04-02T03:18:33.267Z] nexus3.edgexfoundry.org:10003 [2022-04-02T03:18:33.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:18:33.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:18:33.267Z] Configure a credential helper to remove this warning. See [2022-04-02T03:18:33.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:18:33.267Z] [2022-04-02T03:18:33.267Z] Login Succeeded [2022-04-02T03:18:33.267Z] nexus3.edgexfoundry.org:10004 [2022-04-02T03:18:33.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:18:33.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:18:33.529Z] Configure a credential helper to remove this warning. See [2022-04-02T03:18:33.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:18:33.529Z] [2022-04-02T03:18:33.529Z] Login Succeeded [2022-04-02T03:18:33.529Z] docker.io [2022-04-02T03:18:33.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:18:33.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:18:33.790Z] Configure a credential helper to remove this warning. See [2022-04-02T03:18:33.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:18:33.790Z] [2022-04-02T03:18:33.790Z] Login Succeeded [2022-04-02T03:18:33.790Z] ---> docker-login.sh ends [Pipeline] } [2022-04-02T03:18:33.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-02T03:18:33.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-02T03:18:33.886Z] ========================================================= [2022-04-02T03:18:33.886Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-02T03:18:33.886Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-02T03:18:34.199Z] + 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-02T03:18:34.199Z] Sending build context to Docker daemon 5.79MB [2022-04-02T03:18:34.199Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-02T03:18:34.199Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-02T03:18:34.199Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-02T03:18:34.199Z] 59bf1c3509f3: Pulling fs layer [2022-04-02T03:18:34.199Z] 666ba61612fd: Pulling fs layer [2022-04-02T03:18:34.199Z] 8ed8ca486205: Pulling fs layer [2022-04-02T03:18:34.199Z] 4fe6c5a15a65: Pulling fs layer [2022-04-02T03:18:34.199Z] 22a0e8bec74d: Pulling fs layer [2022-04-02T03:18:34.199Z] 640e595b4fbd: Pulling fs layer [2022-04-02T03:18:34.199Z] 763cafe07f6e: Pulling fs layer [2022-04-02T03:18:34.199Z] 0c0b528cf693: Pulling fs layer [2022-04-02T03:18:34.199Z] 10935f4eaf8b: Pulling fs layer [2022-04-02T03:18:34.199Z] 4fe6c5a15a65: Waiting [2022-04-02T03:18:34.199Z] 763cafe07f6e: Waiting [2022-04-02T03:18:34.199Z] 22a0e8bec74d: Waiting [2022-04-02T03:18:34.199Z] 0c0b528cf693: Waiting [2022-04-02T03:18:34.199Z] 640e595b4fbd: Waiting [2022-04-02T03:18:34.199Z] 10935f4eaf8b: Waiting [2022-04-02T03:18:34.199Z] 8ed8ca486205: Verifying Checksum [2022-04-02T03:18:34.199Z] 8ed8ca486205: Download complete [2022-04-02T03:18:34.459Z] 666ba61612fd: Verifying Checksum [2022-04-02T03:18:34.459Z] 666ba61612fd: Download complete [2022-04-02T03:18:34.459Z] 22a0e8bec74d: Download complete [2022-04-02T03:18:34.459Z] 640e595b4fbd: Verifying Checksum [2022-04-02T03:18:34.459Z] 640e595b4fbd: Download complete [2022-04-02T03:18:34.459Z] 763cafe07f6e: Verifying Checksum [2022-04-02T03:18:34.459Z] 763cafe07f6e: Download complete [2022-04-02T03:18:34.720Z] 59bf1c3509f3: Verifying Checksum [2022-04-02T03:18:34.720Z] 59bf1c3509f3: Download complete [2022-04-02T03:18:34.720Z] 59bf1c3509f3: Pull complete [2022-04-02T03:18:34.720Z] 0c0b528cf693: Verifying Checksum [2022-04-02T03:18:34.720Z] 0c0b528cf693: Download complete [2022-04-02T03:18:34.987Z] 666ba61612fd: Pull complete [2022-04-02T03:18:34.987Z] 8ed8ca486205: Pull complete [2022-04-02T03:18:34.987Z] 4fe6c5a15a65: Verifying Checksum [2022-04-02T03:18:34.987Z] 4fe6c5a15a65: Download complete [2022-04-02T03:18:35.556Z] 10935f4eaf8b: Verifying Checksum [2022-04-02T03:18:35.556Z] 10935f4eaf8b: Download complete [2022-04-02T03:18:38.852Z] 4fe6c5a15a65: Pull complete [2022-04-02T03:18:38.852Z] 22a0e8bec74d: Pull complete [2022-04-02T03:18:39.114Z] 640e595b4fbd: Pull complete [2022-04-02T03:18:39.114Z] 763cafe07f6e: Pull complete [2022-04-02T03:18:39.375Z] 0c0b528cf693: Pull complete [2022-04-02T03:18:41.914Z] 10935f4eaf8b: Pull complete [2022-04-02T03:18:41.914Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-02T03:18:41.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-02T03:18:41.914Z] ---> 99d49a6021b9 [2022-04-02T03:18:41.914Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-02T03:18:42.861Z] ---> Running in 658c759b3c0d [2022-04-02T03:18:43.122Z] Removing intermediate container 658c759b3c0d [2022-04-02T03:18:43.122Z] ---> 74954d9f22d7 [2022-04-02T03:18:43.122Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-02T03:18:43.122Z] ---> Running in 120892aefbdc [2022-04-02T03:18:43.122Z] Removing intermediate container 120892aefbdc [2022-04-02T03:18:43.122Z] ---> eb1368255b76 [2022-04-02T03:18:43.122Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-02T03:18:43.122Z] ---> Running in 06bf0240cc8c [2022-04-02T03:18:43.692Z] Removing intermediate container 06bf0240cc8c [2022-04-02T03:18:43.692Z] ---> e649a7e83c60 [2022-04-02T03:18:43.692Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-02T03:18:43.692Z] ---> Running in a1f570cb338b [2022-04-02T03:18:44.268Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-02T03:18:44.839Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-02T03:18:45.410Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-02T03:18:45.410Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-02T03:18:45.410Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-02T03:18:45.672Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-02T03:18:45.672Z] Executing busybox-1.34.1-r3.trigger [2022-04-02T03:18:45.672Z] OK: 224 MiB in 56 packages [2022-04-02T03:18:46.243Z] Removing intermediate container a1f570cb338b [2022-04-02T03:18:46.243Z] ---> 9f24cdb56206 [2022-04-02T03:18:46.243Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-02T03:18:46.243Z] ---> Running in 9f81e9b7aa0a [2022-04-02T03:18:46.243Z] Removing intermediate container 9f81e9b7aa0a [2022-04-02T03:18:46.243Z] ---> 82ca5787c7a6 [2022-04-02T03:18:46.243Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-02T03:18:46.243Z] ---> 91efa3749340 [2022-04-02T03:18:46.243Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-02T03:18:46.503Z] ---> Running in dde7371d1063 [2022-04-02T03:18:47.656Z] Still waiting to schedule task [2022-04-02T03:18:47.657Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-10516’ is offline [2022-04-02T03:19:13.078Z] Removing intermediate container dde7371d1063 [2022-04-02T03:19:13.078Z] ---> 8abe491908dd [2022-04-02T03:19:13.078Z] Step 10/12 : COPY . . [2022-04-02T03:19:13.078Z] ---> b5fa5fd0b34a [2022-04-02T03:19:13.078Z] Step 11/12 : ARG MAKE='make build' [2022-04-02T03:19:13.078Z] ---> Running in 9be4c6611995 [2022-04-02T03:19:13.078Z] Removing intermediate container 9be4c6611995 [2022-04-02T03:19:13.078Z] ---> 1f5fd1ef633f [2022-04-02T03:19:13.078Z] Step 12/12 : RUN $MAKE [2022-04-02T03:19:13.078Z] ---> Running in 1ec135625709 [2022-04-02T03:19:13.078Z] noop [2022-04-02T03:19:13.078Z] Removing intermediate container 1ec135625709 [2022-04-02T03:19:13.078Z] ---> 732769bcdaf1 [2022-04-02T03:19:13.078Z] Successfully built 732769bcdaf1 [2022-04-02T03:19:13.078Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-02T03:19:13.380Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-02T03:19:13.380Z] . [Pipeline] withDockerContainer [2022-04-02T03:19:13.459Z] prd-ubuntu20.04-docker-8c-8g-10515 does not seem to be running inside a container [2022-04-02T03:19:13.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-351 -v /w/workspace/gexfoundry_device-mqtt-go_PR-351:/w/workspace/gexfoundry_device-mqtt-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-351@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 ******** ci-base-image-x86_64 cat [2022-04-02T03:19:13.939Z] $ docker top 58252e3837504ece842316927bdb4970a106e069ad4fc7b624a463fb5266e770 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-02T03:19:14.299Z] + go version [2022-04-02T03:19:14.299Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-02T03:19:14.318Z] $ docker stop --time=1 58252e3837504ece842316927bdb4970a106e069ad4fc7b624a463fb5266e770 [2022-04-02T03:19:15.657Z] $ docker rm -f 58252e3837504ece842316927bdb4970a106e069ad4fc7b624a463fb5266e770 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-02T03:19:16.075Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-02T03:19:16.075Z] . [Pipeline] withDockerContainer [2022-04-02T03:19:16.236Z] prd-ubuntu20.04-docker-8c-8g-10515 does not seem to be running inside a container [2022-04-02T03:19:16.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-351 -v /w/workspace/gexfoundry_device-mqtt-go_PR-351:/w/workspace/gexfoundry_device-mqtt-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-351@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 ******** ci-base-image-x86_64 cat [2022-04-02T03:19:16.681Z] $ docker top e4f7a3ffbca71342f95d866ba974d1265c60be362c10be305597c252fb8fa270 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-02T03:19:17.046Z] + make test [2022-04-02T03:19:17.046Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-02T03:19:17.307Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-02T03:19:25.439Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-02T03:19:25.439Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.5% of statements [2022-04-02T03:19:25.439Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-02T03:19:25.439Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-02T03:19:28.738Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-02T03:19:28.738Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-02T03:19:28.738Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-02T03:19:28.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-02T03:19:28.771Z] $ docker stop --time=1 e4f7a3ffbca71342f95d866ba974d1265c60be362c10be305597c252fb8fa270 [2022-04-02T03:19:30.351Z] $ docker rm -f e4f7a3ffbca71342f95d866ba974d1265c60be362c10be305597c252fb8fa270 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-02T03:19:30.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-02T03:19:30.793Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-02T03:19:31.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-02T03:19:31.670Z] + ls -al . [2022-04-02T03:19:31.670Z] total 184 [2022-04-02T03:19:31.670Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 2 03:19 . [2022-04-02T03:19:31.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 03:18 .. [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 2 03:18 .dockerignore [2022-04-02T03:19:31.670Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 2 03:18 .git [2022-04-02T03:19:31.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 03:18 .github [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 2 03:18 .gitignore [2022-04-02T03:19:31.670Z] drwx------ 3 jenkins jenkins 4096 Apr 2 03:18 .semver [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 2 03:18 Attribution.txt [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 2 03:18 CHANGELOG.md [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 2 03:18 Dockerfile [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 2 03:18 GOVERNANCE.md [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 2 03:18 Jenkinsfile [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 2 03:18 LICENSE [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 1030 Apr 2 03:18 Makefile [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 2 03:18 OWNERS.md [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 2 03:18 README.md [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 2 03:18 VERSION [2022-04-02T03:19:31.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 03:18 bin [2022-04-02T03:19:31.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 03:18 cmd [2022-04-02T03:19:31.670Z] -rw-r--r-- 1 jenkins jenkins 17452 Apr 2 03:19 coverage.out [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 2 03:18 go.mod [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 2 03:18 go.sum [2022-04-02T03:19:31.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 03:18 internal [2022-04-02T03:19:31.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 03:18 mock [2022-04-02T03:19:31.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 03:18 snap [2022-04-02T03:19:31.670Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 2 03:18 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-02T03:19:31.969Z] + 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=49d52516b6f0a99c8ff9c165605a311bab2941e7 --label arch=amd64 --label version=0.0.0 . [2022-04-02T03:19:31.969Z] Sending build context to Docker daemon 5.809MB [2022-04-02T03:19:31.969Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-02T03:19:31.969Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-02T03:19:31.969Z] ---> 732769bcdaf1 [2022-04-02T03:19:31.969Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-02T03:19:31.969Z] ---> Running in 1f8754ad9575 [2022-04-02T03:19:32.229Z] Removing intermediate container 1f8754ad9575 [2022-04-02T03:19:32.229Z] ---> 7c192d930786 [2022-04-02T03:19:32.229Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-02T03:19:32.229Z] ---> Running in 3574dfd7c8da [2022-04-02T03:19:32.229Z] Removing intermediate container 3574dfd7c8da [2022-04-02T03:19:32.229Z] ---> 5671fcfb3e5b [2022-04-02T03:19:32.229Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-02T03:19:32.229Z] ---> Running in 583339d0270c [2022-04-02T03:19:32.803Z] Removing intermediate container 583339d0270c [2022-04-02T03:19:32.803Z] ---> 39fc1448cc86 [2022-04-02T03:19:32.803Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-02T03:19:32.803Z] ---> Running in 2063668d6d96 [2022-04-02T03:19:33.062Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-02T03:19:34.007Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-02T03:19:34.267Z] OK: 224 MiB in 56 packages [2022-04-02T03:19:34.528Z] Removing intermediate container 2063668d6d96 [2022-04-02T03:19:34.528Z] ---> 1e5c6d43557a [2022-04-02T03:19:34.528Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-02T03:19:34.528Z] ---> Running in 5e3247ea1cd0 [2022-04-02T03:19:34.788Z] Removing intermediate container 5e3247ea1cd0 [2022-04-02T03:19:34.788Z] ---> c5a2621e93a6 [2022-04-02T03:19:34.788Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-02T03:19:34.788Z] ---> 5399ba15c59e [2022-04-02T03:19:34.788Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-02T03:19:34.788Z] ---> Running in 3206ae93c6dc [2022-04-02T03:19:35.726Z] Removing intermediate container 3206ae93c6dc [2022-04-02T03:19:35.726Z] ---> 2cfd399b4ffa [2022-04-02T03:19:35.726Z] Step 10/24 : COPY . . [2022-04-02T03:19:35.986Z] ---> 27b2d6a7d40f [2022-04-02T03:19:35.986Z] Step 11/24 : ARG MAKE='make build' [2022-04-02T03:19:35.986Z] ---> Running in 6e156e796fda [2022-04-02T03:19:35.986Z] Removing intermediate container 6e156e796fda [2022-04-02T03:19:35.986Z] ---> 9a1bfd58b94d [2022-04-02T03:19:35.986Z] Step 12/24 : RUN $MAKE [2022-04-02T03:19:35.986Z] ---> Running in ab1b425f7153 [2022-04-02T03:19:36.245Z] 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-02T03:19:44.367Z] Removing intermediate container ab1b425f7153 [2022-04-02T03:19:44.367Z] ---> 50663de59d39 [2022-04-02T03:19:44.367Z] Step 13/24 : FROM alpine:3.14 [2022-04-02T03:19:44.367Z] 3.14: Pulling from library/alpine [2022-04-02T03:19:44.627Z] cfab2db72209: Pulling fs layer [2022-04-02T03:19:44.627Z] cfab2db72209: Verifying Checksum [2022-04-02T03:19:44.627Z] cfab2db72209: Download complete [2022-04-02T03:19:44.887Z] cfab2db72209: Pull complete [2022-04-02T03:19:44.887Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-02T03:19:44.887Z] Status: Downloaded newer image for alpine:3.14 [2022-04-02T03:19:44.887Z] ---> 84b07dd2d1fd [2022-04-02T03:19:44.887Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-02T03:19:44.887Z] ---> Running in 2525ba1c71ef [2022-04-02T03:19:45.147Z] Removing intermediate container 2525ba1c71ef [2022-04-02T03:19:45.147Z] ---> f440097926aa [2022-04-02T03:19:45.147Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-02T03:19:45.147Z] ---> Running in 8b016d336ee4 [2022-04-02T03:19:45.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-02T03:19:45.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-02T03:19:45.667Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-02T03:19:45.667Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-02T03:19:45.667Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-02T03:19:45.667Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-02T03:19:45.667Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-02T03:19:45.667Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-02T03:19:45.667Z] Executing busybox-1.33.1-r6.trigger [2022-04-02T03:19:45.667Z] OK: 8 MiB in 20 packages [2022-04-02T03:19:45.929Z] Removing intermediate container 8b016d336ee4 [2022-04-02T03:19:45.929Z] ---> f6caf3057099 [2022-04-02T03:19:45.929Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-02T03:19:46.498Z] ---> 8e77eb26e4e8 [2022-04-02T03:19:46.498Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-02T03:19:46.498Z] ---> 5bf9c4c3429e [2022-04-02T03:19:46.498Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-02T03:19:46.757Z] ---> 2bfd37922fa7 [2022-04-02T03:19:46.757Z] Step 19/24 : EXPOSE 59982 [2022-04-02T03:19:46.757Z] ---> Running in 6b1565db9e13 [2022-04-02T03:19:46.757Z] Removing intermediate container 6b1565db9e13 [2022-04-02T03:19:46.757Z] ---> 6476fa0a5fd9 [2022-04-02T03:19:46.757Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-02T03:19:46.757Z] ---> Running in 55fb30e36412 [2022-04-02T03:19:47.018Z] Removing intermediate container 55fb30e36412 [2022-04-02T03:19:47.018Z] ---> 61f45c15eed7 [2022-04-02T03:19:47.018Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-02T03:19:47.018Z] ---> Running in 2945e07057df [2022-04-02T03:19:47.018Z] Removing intermediate container 2945e07057df [2022-04-02T03:19:47.018Z] ---> b3280b304292 [2022-04-02T03:19:47.018Z] Step 22/24 : LABEL arch=amd64 [2022-04-02T03:19:47.018Z] ---> Running in 3c6b5dfe71d7 [2022-04-02T03:19:47.279Z] Removing intermediate container 3c6b5dfe71d7 [2022-04-02T03:19:47.279Z] ---> bae5403706fa [2022-04-02T03:19:47.279Z] Step 23/24 : LABEL git_sha=49d52516b6f0a99c8ff9c165605a311bab2941e7 [2022-04-02T03:19:47.279Z] ---> Running in 835e6e626ed5 [2022-04-02T03:19:47.279Z] Removing intermediate container 835e6e626ed5 [2022-04-02T03:19:47.279Z] ---> 7fcddd783aa1 [2022-04-02T03:19:47.279Z] Step 24/24 : LABEL version=0.0.0 [2022-04-02T03:19:47.279Z] ---> Running in dd60489f7a5b [2022-04-02T03:19:47.542Z] Removing intermediate container dd60489f7a5b [2022-04-02T03:19:47.542Z] ---> 22a80d621102 [2022-04-02T03:19:47.542Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-02T03:19:47.542Z] Successfully built 22a80d621102 [2022-04-02T03:19:47.542Z] 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-02T03:19:47.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-02T03:19:47.987Z] [2022-04-02T03:19:47.987Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-02T03:19:48.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-02T03:19:48.289Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-02T03:19:48.289Z] 5eb5b503b376: Pulling fs layer [2022-04-02T03:19:48.289Z] 5c69ac0246d0: Pulling fs layer [2022-04-02T03:19:48.289Z] ec43610c2a17: Pulling fs layer [2022-04-02T03:19:48.289Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-02T03:19:48.289Z] 33b1e0a273af: Pulling fs layer [2022-04-02T03:19:48.289Z] 5d3b04190fa2: Pulling fs layer [2022-04-02T03:19:48.289Z] 2f39f015ded8: Pulling fs layer [2022-04-02T03:19:48.289Z] 33b1e0a273af: Waiting [2022-04-02T03:19:48.289Z] 3a2ae6a8a46f: Waiting [2022-04-02T03:19:48.289Z] 5d3b04190fa2: Waiting [2022-04-02T03:19:48.289Z] 2f39f015ded8: Waiting [2022-04-02T03:19:48.289Z] 5c69ac0246d0: Verifying Checksum [2022-04-02T03:19:48.289Z] 5c69ac0246d0: Download complete [2022-04-02T03:19:48.289Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-02T03:19:48.289Z] 3a2ae6a8a46f: Download complete [2022-04-02T03:19:48.289Z] 33b1e0a273af: Verifying Checksum [2022-04-02T03:19:48.289Z] 33b1e0a273af: Download complete [2022-04-02T03:19:48.289Z] 5d3b04190fa2: Download complete [2022-04-02T03:19:48.289Z] ec43610c2a17: Verifying Checksum [2022-04-02T03:19:48.289Z] ec43610c2a17: Download complete [2022-04-02T03:19:48.549Z] 5eb5b503b376: Verifying Checksum [2022-04-02T03:19:48.549Z] 5eb5b503b376: Download complete [2022-04-02T03:19:49.117Z] 2f39f015ded8: Download complete [2022-04-02T03:19:50.057Z] 5eb5b503b376: Pull complete [2022-04-02T03:19:50.057Z] 5c69ac0246d0: Pull complete [2022-04-02T03:19:50.627Z] ec43610c2a17: Pull complete [2022-04-02T03:19:50.627Z] 3a2ae6a8a46f: Pull complete [2022-04-02T03:19:50.886Z] 33b1e0a273af: Pull complete [2022-04-02T03:19:50.886Z] 5d3b04190fa2: Pull complete [2022-04-02T03:19:56.170Z] 2f39f015ded8: Pull complete [2022-04-02T03:19:56.170Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-02T03:19:56.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-02T03:19:56.170Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-02T03:19:56.249Z] prd-ubuntu20.04-docker-8c-8g-10515 does not seem to be running inside a container [2022-04-02T03:19:56.291Z] $ 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-351 -v /w/workspace/gexfoundry_device-mqtt-go_PR-351:/w/workspace/gexfoundry_device-mqtt-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-02T03:19:57.868Z] $ docker top b688289ae5a296e72031a4a87d67bbcd100986ab556ddedc9b83f526a600dfea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-02T03:19:58.259Z] ---> job-cost.sh [2022-04-02T03:19:58.259Z] lf-activate-venv: SKIPPING [2022-04-02T03:19:58.259Z] INFO: No Stack... [2022-04-02T03:19:58.520Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-02T03:19:59.092Z] INFO: Archiving Costs [Pipeline] sh [2022-04-02T03:19:59.392Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-351/archives/cost.csv [2022-04-02T03:19:59.392Z] + cut -d, -f6 [Pipeline] lock [2022-04-02T03:19:59.410Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-351-2-stack-cost] [2022-04-02T03:19:59.418Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-351-2-stack-cost] did not exist. Created. [2022-04-02T03:19:59.419Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-351-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-02T03:19:59.721Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-02T03:19:59.752Z] Stashed 1 file(s) [Pipeline] } [2022-04-02T03:19:59.759Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-351-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-02T03:19:59.787Z] $ docker stop --time=1 b688289ae5a296e72031a4a87d67bbcd100986ab556ddedc9b83f526a600dfea [2022-04-02T03:20:00.969Z] $ docker rm -f b688289ae5a296e72031a4a87d67bbcd100986ab556ddedc9b83f526a600dfea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-02T03:21:25.431Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10518 in /w/workspace/gexfoundry_device-mqtt-go_PR-351 [Pipeline] { [Pipeline] ws [2022-04-02T03:21:25.442Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-04-02T03:21:25.801Z] Selected Git installation does not exist. Using Default [2022-04-02T03:21:25.801Z] The recommended git tool is: NONE [2022-04-02T03:21:33.595Z] using credential edgex-jenkins-ssh [2022-04-02T03:21:33.613Z] Cloning the remote Git repository [2022-04-02T03:21:33.688Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-02T03:21:33.802Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-04-02T03:21:34.083Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-02T03:21:34.092Z] > git --version # timeout=10 [2022-04-02T03:21:34.158Z] > git --version # 'git version 2.25.1' [2022-04-02T03:21:34.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-02T03:21:34.313Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-02T03:21:35.557Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-02T03:21:35.583Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-02T03:21:35.611Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-02T03:21:35.650Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-02T03:21:35.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-02T03:21:35.665Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/351/head:refs/remotes/origin/PR-351 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-02T03:21:36.237Z] Merging remotes/origin/main commit a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit 75f7eebd2bc5be3489d7baaaa5b577d2ae38e9f9 [2022-04-02T03:21:36.624Z] Merge succeeded, producing a28d3f4a85a873dae2ad4024b6121a5b9ff2124a [2022-04-02T03:21:36.625Z] Checking out Revision a28d3f4a85a873dae2ad4024b6121a5b9ff2124a (PR-351) [2022-04-02T03:21:36.272Z] > git config core.sparsecheckout # timeout=10 [2022-04-02T03:21:36.302Z] > git checkout -f 75f7eebd2bc5be3489d7baaaa5b577d2ae38e9f9 # timeout=10 [2022-04-02T03:21:36.404Z] > git remote # timeout=10 [2022-04-02T03:21:36.458Z] > git config --get remote.origin.url # timeout=10 [2022-04-02T03:21:36.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-02T03:21:36.497Z] > git merge a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 [2022-04-02T03:21:36.584Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-02T03:21:36.639Z] > git config core.sparsecheckout # timeout=10 [2022-04-02T03:21:36.682Z] > git checkout -f a28d3f4a85a873dae2ad4024b6121a5b9ff2124a # timeout=10 [2022-04-02T03:21:41.108Z] Commit message: "Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD" [2022-04-02T03:21:41.125Z] > git rev-list --no-walk 75f7eebd2bc5be3489d7baaaa5b577d2ae38e9f9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-02T03:21:42.041Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-02T03:21:42.041Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-02T03:21:42.041Z] Dload Upload Total Spent Left Speed [2022-04-02T03:21:42.041Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2022-04-02T03:21:42.590Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-02T03:21:42.944Z] + sudo tee /etc/docker/daemon.new [2022-04-02T03:21:42.945Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-02T03:21:42.945Z] { [2022-04-02T03:21:42.945Z] "registry-mirrors": [ [2022-04-02T03:21:42.945Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-02T03:21:42.945Z] ], [2022-04-02T03:21:42.945Z] "bip": "10.250.0.254/24", [2022-04-02T03:21:42.945Z] "hosts": [ [2022-04-02T03:21:42.945Z] "tcp://0.0.0.0:5555", [2022-04-02T03:21:42.945Z] "unix:///var/run/docker.sock" [2022-04-02T03:21:42.945Z] ], [2022-04-02T03:21:42.945Z] "mtu": 1458, [2022-04-02T03:21:42.945Z] "selinux-enabled": true, [2022-04-02T03:21:42.945Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-02T03:21:42.945Z] } [Pipeline] sh [2022-04-02T03:21:43.297Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-02T03:21:43.653Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-02T03:22:02.069Z] provisioning config files... [2022-04-02T03:22:02.101Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config6575989895020121478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-02T03:22:02.477Z] ---> docker-login.sh [2022-04-02T03:22:02.477Z] nexus3.edgexfoundry.org:10001 [2022-04-02T03:22:03.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:22:03.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:22:03.351Z] Configure a credential helper to remove this warning. See [2022-04-02T03:22:03.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:22:03.351Z] [2022-04-02T03:22:03.351Z] Login Succeeded [2022-04-02T03:22:03.351Z] nexus3.edgexfoundry.org:10002 [2022-04-02T03:22:03.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:22:03.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:22:03.949Z] Configure a credential helper to remove this warning. See [2022-04-02T03:22:03.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:22:03.949Z] [2022-04-02T03:22:03.949Z] Login Succeeded [2022-04-02T03:22:03.949Z] nexus3.edgexfoundry.org:10003 [2022-04-02T03:22:04.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:22:04.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:22:04.501Z] Configure a credential helper to remove this warning. See [2022-04-02T03:22:04.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:22:04.501Z] [2022-04-02T03:22:04.501Z] Login Succeeded [2022-04-02T03:22:04.501Z] nexus3.edgexfoundry.org:10004 [2022-04-02T03:22:04.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:22:05.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:22:05.047Z] Configure a credential helper to remove this warning. See [2022-04-02T03:22:05.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:22:05.047Z] [2022-04-02T03:22:05.047Z] Login Succeeded [2022-04-02T03:22:05.047Z] docker.io [2022-04-02T03:22:05.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-02T03:22:05.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-02T03:22:05.593Z] Configure a credential helper to remove this warning. See [2022-04-02T03:22:05.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-02T03:22:05.593Z] [2022-04-02T03:22:05.593Z] Login Succeeded [2022-04-02T03:22:05.593Z] ---> docker-login.sh ends [Pipeline] } [2022-04-02T03:22:05.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-02T03:22:06.087Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-02T03:22:06.098Z] ========================================================= [2022-04-02T03:22:06.098Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-02T03:22:06.098Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-02T03:22:06.450Z] + 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-02T03:22:06.724Z] Sending build context to Docker daemon 3.018MB [2022-04-02T03:22:07.000Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-02T03:22:07.000Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-02T03:22:07.000Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-02T03:22:07.000Z] 9b3977197b4f: Pulling fs layer [2022-04-02T03:22:07.000Z] 1a89e8eeedd5: Pulling fs layer [2022-04-02T03:22:07.000Z] 94645a83ff95: Pulling fs layer [2022-04-02T03:22:07.000Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-02T03:22:07.000Z] 0c92f367c5e7: Pulling fs layer [2022-04-02T03:22:07.000Z] 3f3a8bcf1eab: Waiting [2022-04-02T03:22:07.000Z] f7c0051592d6: Pulling fs layer [2022-04-02T03:22:07.000Z] a227ed2f7395: Pulling fs layer [2022-04-02T03:22:07.000Z] 7b1c46037f91: Pulling fs layer [2022-04-02T03:22:07.000Z] 0c92f367c5e7: Waiting [2022-04-02T03:22:07.000Z] 7b1c46037f91: Waiting [2022-04-02T03:22:07.000Z] a227ed2f7395: Waiting [2022-04-02T03:22:07.001Z] 94645a83ff95: Verifying Checksum [2022-04-02T03:22:07.001Z] 94645a83ff95: Download complete [2022-04-02T03:22:07.001Z] 1a89e8eeedd5: Download complete [2022-04-02T03:22:07.001Z] 0c92f367c5e7: Verifying Checksum [2022-04-02T03:22:07.001Z] 0c92f367c5e7: Download complete [2022-04-02T03:22:07.001Z] f7c0051592d6: Verifying Checksum [2022-04-02T03:22:07.001Z] f7c0051592d6: Download complete [2022-04-02T03:22:07.001Z] a227ed2f7395: Verifying Checksum [2022-04-02T03:22:07.001Z] a227ed2f7395: Download complete [2022-04-02T03:22:07.001Z] 9b3977197b4f: Verifying Checksum [2022-04-02T03:22:07.001Z] 9b3977197b4f: Download complete [2022-04-02T03:22:08.009Z] 9b3977197b4f: Pull complete [2022-04-02T03:22:08.615Z] 1a89e8eeedd5: Pull complete [2022-04-02T03:22:08.894Z] 94645a83ff95: Pull complete [2022-04-02T03:22:09.177Z] 7b1c46037f91: Verifying Checksum [2022-04-02T03:22:09.776Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-02T03:22:09.776Z] 3f3a8bcf1eab: Download complete [2022-04-02T03:22:22.209Z] 3f3a8bcf1eab: Pull complete [2022-04-02T03:22:22.209Z] 0c92f367c5e7: Pull complete [2022-04-02T03:22:22.209Z] f7c0051592d6: Pull complete [2022-04-02T03:22:22.482Z] a227ed2f7395: Pull complete [2022-04-02T03:22:29.235Z] 7b1c46037f91: Pull complete [2022-04-02T03:22:29.235Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-02T03:22:29.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-02T03:22:29.235Z] ---> f79e39bc4007 [2022-04-02T03:22:29.235Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-02T03:22:29.834Z] ---> Running in ccff196f6e7a [2022-04-02T03:22:30.110Z] Removing intermediate container ccff196f6e7a [2022-04-02T03:22:30.110Z] ---> 01b8d7fe305c [2022-04-02T03:22:30.110Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-02T03:22:30.110Z] ---> Running in 5c3152461737 [2022-04-02T03:22:30.395Z] Removing intermediate container 5c3152461737 [2022-04-02T03:22:30.395Z] ---> e2552d7b7dfb [2022-04-02T03:22:30.395Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-02T03:22:30.669Z] ---> Running in e9b116d038b8 [2022-04-02T03:22:32.651Z] Removing intermediate container e9b116d038b8 [2022-04-02T03:22:32.651Z] ---> ec685e545b00 [2022-04-02T03:22:32.651Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-02T03:22:32.651Z] ---> Running in 840ce0c2248e [2022-04-02T03:22:33.631Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-02T03:22:34.611Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-02T03:22:35.598Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-02T03:22:35.598Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-02T03:22:35.598Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-02T03:22:35.872Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-02T03:22:35.872Z] Executing busybox-1.34.1-r3.trigger [2022-04-02T03:22:35.872Z] OK: 224 MiB in 56 packages [2022-04-02T03:22:37.321Z] Removing intermediate container 840ce0c2248e [2022-04-02T03:22:37.321Z] ---> 3a77cde96a28 [2022-04-02T03:22:37.321Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-02T03:22:37.321Z] ---> Running in e88197d684de [2022-04-02T03:22:37.321Z] Removing intermediate container e88197d684de [2022-04-02T03:22:37.321Z] ---> 50af24f05b29 [2022-04-02T03:22:37.321Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-02T03:22:37.923Z] ---> eb5ee69f075b [2022-04-02T03:22:37.923Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-02T03:22:38.209Z] ---> Running in 115ce1b37dbb [2022-04-02T03:24:00.033Z] Removing intermediate container 115ce1b37dbb [2022-04-02T03:24:00.033Z] ---> cbaec06318a0 [2022-04-02T03:24:00.033Z] Step 10/12 : COPY . . [2022-04-02T03:24:00.033Z] ---> 4c68a4ab42d5 [2022-04-02T03:24:00.033Z] Step 11/12 : ARG MAKE='make build' [2022-04-02T03:24:00.033Z] ---> Running in 4912fab524d6 [2022-04-02T03:24:00.033Z] Removing intermediate container 4912fab524d6 [2022-04-02T03:24:00.033Z] ---> caf8dc768030 [2022-04-02T03:24:00.033Z] Step 12/12 : RUN $MAKE [2022-04-02T03:24:00.033Z] ---> Running in 215a523e6509 [2022-04-02T03:24:00.033Z] noop [2022-04-02T03:24:00.033Z] Removing intermediate container 215a523e6509 [2022-04-02T03:24:00.033Z] ---> 88916aa47b58 [2022-04-02T03:24:00.033Z] Successfully built 88916aa47b58 [2022-04-02T03:24:00.033Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-02T03:24:00.391Z] + docker inspect -f . ci-base-image-arm64 [2022-04-02T03:24:00.391Z] . [Pipeline] withDockerContainer [2022-04-02T03:24:00.653Z] prd-ubuntu20.04-docker-arm64-4c-16g-10518 does not seem to be running inside a container [2022-04-02T03:24:00.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-02T03:24:02.228Z] $ docker top 6cff5e63e83847f46f4e0c79d20ebab3cb4bada5a82bcbdad6ec8c8016b1c6f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-02T03:24:03.166Z] + go version [2022-04-02T03:24:03.167Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-02T03:24:03.200Z] $ docker stop --time=1 6cff5e63e83847f46f4e0c79d20ebab3cb4bada5a82bcbdad6ec8c8016b1c6f9 [2022-04-02T03:24:04.889Z] $ docker rm -f 6cff5e63e83847f46f4e0c79d20ebab3cb4bada5a82bcbdad6ec8c8016b1c6f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-02T03:24:05.519Z] + docker inspect -f . ci-base-image-arm64 [2022-04-02T03:24:05.519Z] . [Pipeline] withDockerContainer [2022-04-02T03:24:05.784Z] prd-ubuntu20.04-docker-arm64-4c-16g-10518 does not seem to be running inside a container [2022-04-02T03:24:05.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-02T03:24:07.316Z] $ docker top 2e816ffa02e8c430663eb34f57f044898f74b2d358150a05ab269330b8fcd7a8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-02T03:24:08.287Z] + make test [2022-04-02T03:24:08.287Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-02T03:24:09.730Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-02T03:25:06.387Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-02T03:25:06.387Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.064s coverage: 22.5% of statements [2022-04-02T03:25:06.387Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-02T03:25:06.387Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-02T03:25:24.713Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-02T03:25:24.990Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-02T03:25:24.990Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-02T03:25:27.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-02T03:25:27.669Z] $ docker stop --time=1 2e816ffa02e8c430663eb34f57f044898f74b2d358150a05ab269330b8fcd7a8 [2022-04-02T03:25:29.485Z] $ docker rm -f 2e816ffa02e8c430663eb34f57f044898f74b2d358150a05ab269330b8fcd7a8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-02T03:25:30.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-02T03:25:30.339Z] Warning: overwriting stash ‘coverage-report’ [2022-04-02T03:25:30.846Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-02T03:25:31.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-02T03:25:31.575Z] + ls -al . [2022-04-02T03:25:31.575Z] total 180 [2022-04-02T03:25:31.575Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 2 03:25 . [2022-04-02T03:25:31.575Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 03:21 .. [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 2 03:21 .dockerignore [2022-04-02T03:25:31.575Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 2 03:21 .git [2022-04-02T03:25:31.575Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 03:21 .github [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 2 03:21 .gitignore [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 2 03:21 Attribution.txt [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 2 03:21 CHANGELOG.md [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 2 03:21 Dockerfile [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 2 03:21 GOVERNANCE.md [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 2 03:21 Jenkinsfile [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 2 03:21 LICENSE [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 1030 Apr 2 03:21 Makefile [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 2 03:21 OWNERS.md [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 2 03:21 README.md [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 2 03:18 VERSION [2022-04-02T03:25:31.575Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 03:21 bin [2022-04-02T03:25:31.575Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 03:21 cmd [2022-04-02T03:25:31.575Z] -rw-r--r-- 1 jenkins jenkins 17452 Apr 2 03:25 coverage.out [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 2 03:21 go.mod [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 2 03:21 go.sum [2022-04-02T03:25:31.575Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 03:21 internal [2022-04-02T03:25:31.575Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 03:21 mock [2022-04-02T03:25:31.575Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 03:21 snap [2022-04-02T03:25:31.575Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 2 03:21 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-02T03:25:31.921Z] + 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=a28d3f4a85a873dae2ad4024b6121a5b9ff2124a --label arch=arm64 --label version=0.0.0 . [2022-04-02T03:25:32.194Z] Sending build context to Docker daemon 3.037MB [2022-04-02T03:25:32.467Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-02T03:25:32.467Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-02T03:25:32.467Z] ---> 88916aa47b58 [2022-04-02T03:25:32.467Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-02T03:25:32.467Z] ---> Running in 84b0c56f7666 [2022-04-02T03:25:32.745Z] Removing intermediate container 84b0c56f7666 [2022-04-02T03:25:32.745Z] ---> 20fd075d69ee [2022-04-02T03:25:32.745Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-02T03:25:32.745Z] ---> Running in 561610d28202 [2022-04-02T03:25:33.353Z] Removing intermediate container 561610d28202 [2022-04-02T03:25:33.353Z] ---> 51f8f01a7750 [2022-04-02T03:25:33.353Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-02T03:25:33.353Z] ---> Running in d022e0de92a3 [2022-04-02T03:25:35.348Z] Removing intermediate container d022e0de92a3 [2022-04-02T03:25:35.348Z] ---> ce5f6de1c2e2 [2022-04-02T03:25:35.348Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-02T03:25:35.348Z] ---> Running in 5735e99051d0 [2022-04-02T03:25:35.949Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-02T03:25:36.927Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-02T03:25:37.913Z] OK: 224 MiB in 56 packages [2022-04-02T03:25:38.896Z] Removing intermediate container 5735e99051d0 [2022-04-02T03:25:38.896Z] ---> 87ae7da78262 [2022-04-02T03:25:38.896Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-02T03:25:38.896Z] ---> Running in 9359ae31179d [2022-04-02T03:25:39.169Z] Removing intermediate container 9359ae31179d [2022-04-02T03:25:39.169Z] ---> 94b581543288 [2022-04-02T03:25:39.169Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-02T03:25:39.762Z] ---> ce1b151afcc5 [2022-04-02T03:25:39.762Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-02T03:25:39.762Z] ---> Running in 512a7ca01746 [2022-04-02T03:25:41.745Z] Removing intermediate container 512a7ca01746 [2022-04-02T03:25:41.745Z] ---> efb19be3aab0 [2022-04-02T03:25:41.745Z] Step 10/24 : COPY . . [2022-04-02T03:25:42.723Z] ---> b8b4c4869241 [2022-04-02T03:25:42.723Z] Step 11/24 : ARG MAKE='make build' [2022-04-02T03:25:42.723Z] ---> Running in c5623f57551f [2022-04-02T03:25:42.998Z] Removing intermediate container c5623f57551f [2022-04-02T03:25:42.998Z] ---> 2060610264ca [2022-04-02T03:25:42.998Z] Step 12/24 : RUN $MAKE [2022-04-02T03:25:43.272Z] ---> Running in cdd04473aefa [2022-04-02T03:25:44.251Z] 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-02T03:26:31.280Z] Removing intermediate container cdd04473aefa [2022-04-02T03:26:31.280Z] ---> 2ea085e3c117 [2022-04-02T03:26:31.280Z] Step 13/24 : FROM alpine:3.14 [2022-04-02T03:26:31.280Z] 3.14: Pulling from library/alpine [2022-04-02T03:26:31.280Z] 810d54c7e01b: Pulling fs layer [2022-04-02T03:26:31.280Z] 810d54c7e01b: Verifying Checksum [2022-04-02T03:26:31.280Z] 810d54c7e01b: Download complete [2022-04-02T03:26:31.280Z] 810d54c7e01b: Pull complete [2022-04-02T03:26:31.280Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-02T03:26:31.280Z] Status: Downloaded newer image for alpine:3.14 [2022-04-02T03:26:31.280Z] ---> cc3d11fa2d52 [2022-04-02T03:26:31.280Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-02T03:26:31.280Z] ---> Running in ae38ca9de6e8 [2022-04-02T03:26:31.280Z] Removing intermediate container ae38ca9de6e8 [2022-04-02T03:26:31.280Z] ---> 427b2b63c820 [2022-04-02T03:26:31.280Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-02T03:26:31.280Z] ---> Running in db004e908b89 [2022-04-02T03:26:31.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-02T03:26:31.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-02T03:26:31.280Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-02T03:26:31.280Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-02T03:26:31.280Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-02T03:26:31.280Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-02T03:26:31.280Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-02T03:26:31.280Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-02T03:26:31.280Z] Executing busybox-1.33.1-r6.trigger [2022-04-02T03:26:31.280Z] OK: 8 MiB in 20 packages [2022-04-02T03:26:31.280Z] Removing intermediate container db004e908b89 [2022-04-02T03:26:31.280Z] ---> b6bcf362230f [2022-04-02T03:26:31.280Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-02T03:26:31.875Z] ---> e456f97f3272 [2022-04-02T03:26:31.875Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-02T03:26:32.475Z] ---> ae96f5a98809 [2022-04-02T03:26:32.475Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-02T03:26:33.071Z] ---> 38ad5c6258bf [2022-04-02T03:26:33.071Z] Step 19/24 : EXPOSE 59982 [2022-04-02T03:26:33.071Z] ---> Running in e6c87432bb6d [2022-04-02T03:26:33.347Z] Removing intermediate container e6c87432bb6d [2022-04-02T03:26:33.347Z] ---> 968e8b972283 [2022-04-02T03:26:33.347Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-02T03:26:33.347Z] ---> Running in b43311c89fb5 [2022-04-02T03:26:33.627Z] Removing intermediate container b43311c89fb5 [2022-04-02T03:26:33.627Z] ---> 2435dd6a8f76 [2022-04-02T03:26:33.627Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-02T03:26:33.913Z] ---> Running in 06bc9513bfdd [2022-04-02T03:26:34.199Z] Removing intermediate container 06bc9513bfdd [2022-04-02T03:26:34.199Z] ---> 24f53650c642 [2022-04-02T03:26:34.199Z] Step 22/24 : LABEL arch=arm64 [2022-04-02T03:26:34.199Z] ---> Running in 79f397da43f0 [2022-04-02T03:26:34.477Z] Removing intermediate container 79f397da43f0 [2022-04-02T03:26:34.477Z] ---> 34105d28c2e1 [2022-04-02T03:26:34.477Z] Step 23/24 : LABEL git_sha=a28d3f4a85a873dae2ad4024b6121a5b9ff2124a [2022-04-02T03:26:34.477Z] ---> Running in 0b6af360ffc6 [2022-04-02T03:26:35.078Z] Removing intermediate container 0b6af360ffc6 [2022-04-02T03:26:35.078Z] ---> 2231e193d3ee [2022-04-02T03:26:35.078Z] Step 24/24 : LABEL version=0.0.0 [2022-04-02T03:26:35.078Z] ---> Running in c45d78414409 [2022-04-02T03:26:35.353Z] Removing intermediate container c45d78414409 [2022-04-02T03:26:35.353Z] ---> 591e357502b9 [2022-04-02T03:26:35.353Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-02T03:26:35.353Z] Successfully built 591e357502b9 [2022-04-02T03:26:35.353Z] 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-02T03:26:35.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-02T03:26:35.822Z] [2022-04-02T03:26:35.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-02T03:26:36.177Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-02T03:26:36.456Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-02T03:26:36.456Z] 8998bd30e6a1: Pulling fs layer [2022-04-02T03:26:36.456Z] 04944245beec: Pulling fs layer [2022-04-02T03:26:36.456Z] 699f458cf7ca: Pulling fs layer [2022-04-02T03:26:36.456Z] 765212b225bb: Pulling fs layer [2022-04-02T03:26:36.456Z] f23df028b6ca: Pulling fs layer [2022-04-02T03:26:36.456Z] d65c8cfc05b1: Pulling fs layer [2022-04-02T03:26:36.456Z] 2437ff75d9bd: Pulling fs layer [2022-04-02T03:26:36.456Z] 765212b225bb: Waiting [2022-04-02T03:26:36.456Z] f23df028b6ca: Waiting [2022-04-02T03:26:36.456Z] d65c8cfc05b1: Waiting [2022-04-02T03:26:36.456Z] 2437ff75d9bd: Waiting [2022-04-02T03:26:36.456Z] 04944245beec: Verifying Checksum [2022-04-02T03:26:36.456Z] 04944245beec: Download complete [2022-04-02T03:26:36.456Z] 765212b225bb: Verifying Checksum [2022-04-02T03:26:36.456Z] 765212b225bb: Download complete [2022-04-02T03:26:36.456Z] f23df028b6ca: Verifying Checksum [2022-04-02T03:26:36.456Z] f23df028b6ca: Download complete [2022-04-02T03:26:36.456Z] d65c8cfc05b1: Verifying Checksum [2022-04-02T03:26:36.456Z] d65c8cfc05b1: Download complete [2022-04-02T03:26:36.733Z] 699f458cf7ca: Verifying Checksum [2022-04-02T03:26:36.733Z] 699f458cf7ca: Download complete [2022-04-02T03:26:37.012Z] 8998bd30e6a1: Verifying Checksum [2022-04-02T03:26:37.012Z] 8998bd30e6a1: Download complete [2022-04-02T03:26:39.659Z] 2437ff75d9bd: Verifying Checksum [2022-04-02T03:26:39.659Z] 2437ff75d9bd: Download complete [2022-04-02T03:26:41.114Z] 8998bd30e6a1: Pull complete [2022-04-02T03:26:41.711Z] 04944245beec: Pull complete [2022-04-02T03:26:43.161Z] 699f458cf7ca: Pull complete [2022-04-02T03:26:43.436Z] 765212b225bb: Pull complete [2022-04-02T03:26:44.419Z] f23df028b6ca: Pull complete [2022-04-02T03:26:44.693Z] d65c8cfc05b1: Pull complete [2022-04-02T03:26:59.893Z] 2437ff75d9bd: Pull complete [2022-04-02T03:26:59.893Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-02T03:26:59.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-02T03:26:59.893Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-02T03:27:00.138Z] prd-ubuntu20.04-docker-arm64-4c-16g-10518 does not seem to be running inside a container [2022-04-02T03:27:00.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-02T03:27:02.756Z] $ docker top 4922b9efd9529d518b84d8a75b869b7f001a706b6aaa8bd1e3245ab6db625648 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-02T03:27:03.681Z] ---> job-cost.sh [2022-04-02T03:27:03.681Z] lf-activate-venv: SKIPPING [2022-04-02T03:27:03.681Z] INFO: No Stack... [2022-04-02T03:27:03.953Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-02T03:27:04.936Z] INFO: Archiving Costs [Pipeline] sh [2022-04-02T03:27:05.612Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2022-04-02T03:27:05.612Z] + cut -d, -f6 [Pipeline] lock [2022-04-02T03:27:05.675Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-351-2-stack-cost] [2022-04-02T03:27:05.682Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-351-2-stack-cost] did not exist. Created. [2022-04-02T03:27:05.682Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-351-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-02T03:27:06.352Z] /w/workspace/device-mqtt-go/2@tmp/durable-fbf50761/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-02T03:27:07.029Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-02T03:27:07.052Z] Warning: overwriting stash ‘stack-cost’ [2022-04-02T03:27:07.100Z] Stashed 1 file(s) [Pipeline] } [2022-04-02T03:27:07.106Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-351-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-02T03:27:07.133Z] $ docker stop --time=1 4922b9efd9529d518b84d8a75b869b7f001a706b6aaa8bd1e3245ab6db625648 [2022-04-02T03:27:08.648Z] $ docker rm -f 4922b9efd9529d518b84d8a75b869b7f001a706b6aaa8bd1e3245ab6db625648 [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-02T03:27:09.097Z] provisioning config files... [2022-04-02T03:27:09.107Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp/config1457072019945423109tmp [Pipeline] { [Pipeline] sh [2022-04-02T03:27:09.404Z] + set +x [2022-04-02T03:27:09.404Z] + + bashcurl -s -s -- https://codecov.io/bash [2022-04-02T03:27:09.404Z] [2022-04-02T03:27:09.404Z] [2022-04-02T03:27:09.404Z] _____ _ [2022-04-02T03:27:09.404Z] / ____| | | [2022-04-02T03:27:09.405Z] | | ___ __| | ___ ___ _____ __ [2022-04-02T03:27:09.405Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-02T03:27:09.405Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-02T03:27:09.405Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-02T03:27:09.405Z] Bash-1.0.6 [2022-04-02T03:27:09.405Z] [2022-04-02T03:27:09.405Z] [2022-04-02T03:27:09.405Z] ==> git version 2.25.1 found [2022-04-02T03:27:09.405Z] ==> 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-02T03:27:09.405Z] Release-Date: 2020-01-08 [2022-04-02T03:27:09.405Z] 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-02T03:27:09.405Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-02T03:27:09.405Z] ==> Jenkins CI detected. [2022-04-02T03:27:09.405Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-351 [2022-04-02T03:27:09.405Z] project root: . [2022-04-02T03:27:09.405Z] --> token set from env [2022-04-02T03:27:09.405Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-02T03:27:09.405Z] ==> Running gcov in . (disable via -X gcov) [2022-04-02T03:27:09.405Z] ==> Python coveragepy not found [2022-04-02T03:27:09.405Z] ==> Searching for coverage reports in: [2022-04-02T03:27:09.405Z] + . [2022-04-02T03:27:09.405Z] -> Found 1 reports [2022-04-02T03:27:09.405Z] ==> Detecting git/mercurial file structure [2022-04-02T03:27:09.405Z] ==> Reading reports [2022-04-02T03:27:09.405Z] + ./coverage.out bytes=17452 [2022-04-02T03:27:09.405Z] ==> Appending adjustments [2022-04-02T03:27:09.405Z] https://docs.codecov.io/docs/fixing-reports [2022-04-02T03:27:09.666Z] + Found adjustments [2022-04-02T03:27:09.666Z] ==> Gzipping contents [2022-04-02T03:27:09.666Z] 4.0K /tmp/codecov.chmIHq.gz [2022-04-02T03:27:09.666Z] ==> Uploading reports [2022-04-02T03:27:09.666Z] url: https://codecov.io [2022-04-02T03:27:09.666Z] query: branch=PR-351&commit=49d52516b6f0a99c8ff9c165605a311bab2941e7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-351%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=351&job=&cmd_args= [2022-04-02T03:27:09.666Z] -> Pinging Codecov [2022-04-02T03:27:09.666Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-351&commit=49d52516b6f0a99c8ff9c165605a311bab2941e7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-351%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=351&job=&cmd_args= [2022-04-02T03:27:09.928Z] -> Uploading to [2022-04-02T03:27:09.928Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-02/7D719EC7BBE17E464838252E33014C33/49d52516b6f0a99c8ff9c165605a311bab2941e7/859c3adc-e21a-40ed-8ecd-de82e9f4af3c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220402%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220402T032709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cad682abbb8ebb0f0be81e2bbff43f5968cce53507414933bb9f06d1c2253abf [2022-04-02T03:27:09.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-02T03:27:09.928Z] Dload Upload Total Spent Left Speed [2022-04-02T03:27:10.188Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3194 0 0 100 3194 0 15733 --:--:-- --:--:-- --:--:-- 15656 100 3194 0 0 100 3194 0 14070 --:--:-- --:--:-- --:--:-- 14008 [2022-04-02T03:27:10.188Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/49d52516b6f0a99c8ff9c165605a311bab2941e7 [Pipeline] } [2022-04-02T03:27:10.196Z] 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-02T03:27:10.891Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-351/archives ] [2022-04-02T03:27:10.891Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-351/archives [2022-04-02T03:27:10.891Z] total 16 [2022-04-02T03:27:10.891Z] drwxr-xr-x 3 root root 4096 Apr 2 03:19 . [2022-04-02T03:27:10.891Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 2 03:19 .. [2022-04-02T03:27:10.891Z] drwxr-xr-x 2 root root 4096 Apr 2 03:19 cost [2022-04-02T03:27:10.891Z] -rw-r--r-- 1 root root 85 Apr 2 03:19 cost.csv [2022-04-02T03:27:10.891Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-351/archives [2022-04-02T03:27:10.891Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-351/archives [2022-04-02T03:27:10.891Z] total 16 [2022-04-02T03:27:10.891Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 2 03:19 . [2022-04-02T03:27:10.891Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 2 03:19 .. [2022-04-02T03:27:10.891Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 2 03:19 cost [2022-04-02T03:27:10.891Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 2 03:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-02T03:27:11.264Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-02T03:27:12.132Z] ---> package-listing.sh [2022-04-02T03:27:12.132Z] ++ facter osfamily [2022-04-02T03:27:12.132Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-02T03:27:12.393Z] + OS_FAMILY=debian [2022-04-02T03:27:12.393Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-351 [2022-04-02T03:27:12.393Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-02T03:27:12.393Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-02T03:27:12.393Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-02T03:27:12.393Z] + PACKAGES=/tmp/packages_start.txt [2022-04-02T03:27:12.393Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-351 ']' [2022-04-02T03:27:12.393Z] + PACKAGES=/tmp/packages_end.txt [2022-04-02T03:27:12.393Z] + case "${OS_FAMILY}" in [2022-04-02T03:27:12.393Z] + dpkg -l [2022-04-02T03:27:12.393Z] + grep '^ii' [2022-04-02T03:27:12.393Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-02T03:27:12.393Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-02T03:27:12.393Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-02T03:27:12.393Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-351 ']' [2022-04-02T03:27:12.393Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-351/archives/ [2022-04-02T03:27:12.393Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-351/archives/ [Pipeline] echo [2022-04-02T03:27:12.406Z] 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-351/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-02T03:27:12.692Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-02T03:27:13.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-02T03:27:13.256Z] . [Pipeline] withDockerContainer [2022-04-02T03:27:13.327Z] prd-ubuntu20.04-docker-8c-8g-10515 does not seem to be running inside a container [2022-04-02T03:27:13.369Z] $ 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-351/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-351 -v /w/workspace/gexfoundry_device-mqtt-go_PR-351:/w/workspace/gexfoundry_device-mqtt-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-351@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-02T03:27:13.605Z] $ docker top 1b96f50ca8ef2c749fec4f9864ba506be9e1414336a05f7fb572fb6e2f62ff3b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-02T03:27:13.975Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-02T03:27:14.268Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-02T03:27:14.563Z] + ls /var/log/sa-host [2022-04-02T03:27:14.563Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-02T03:27:14.651Z] provisioning config files... [2022-04-02T03:27:14.658Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-351@tmp/config3064210714470643768tmp [Pipeline] { [Pipeline] echo [2022-04-02T03:27:14.672Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-02T03:27:14.964Z] ---> create-netrc.sh [Pipeline] } [2022-04-02T03:27:14.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-02T03:27:15.301Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-02T03:27:15.313Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-02T03:27:15.604Z] ---> sudo-logs.sh [2022-04-02T03:27:15.604Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-02T03:27:15.632Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-02T03:27:15.914Z] ---> job-cost.sh [2022-04-02T03:27:15.914Z] lf-activate-venv: SKIPPING [2022-04-02T03:27:15.914Z] DEBUG: total: 0.2199999988079071 [2022-04-02T03:27:15.914Z] INFO: Retrieving Stack Cost... [2022-04-02T03:27:16.174Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-02T03:27:16.747Z] INFO: Archiving Costs [Pipeline] echo [2022-04-02T03:27:16.761Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-02T03:27:17.044Z] ---> logs-deploy.sh [2022-04-02T03:27:17.044Z] lf-activate-venv: SKIPPING [2022-04-02T03:27:17.044Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-351/2 [2022-04-02T03:27:17.044Z] INFO: archiving workspace using pattern(s): [2022-04-02T03:27:17.985Z] Archives upload complete. [2022-04-02T03:27:17.985Z] INFO: archiving logs to Nexus