Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 911c04381f0c199884a51156653d77c167c4116f+6a0d17f3443cfc2038c22736989c6b24159166ee (c31f5e5c5a622d1ac8aa9de29d1d2e5e782eea0b) 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-ssh10921368641455415506.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-ssh2993214197310800786.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-354/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-354/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1312081490556338276.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-ssh17258843910988892329.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-354/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-354/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18394622267133076707.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10888 in /w/workspace/gexfoundry_device-mqtt-go_PR-354 [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-354 # 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 6a0d17f3443cfc2038c22736989c6b24159166ee into PR head commit 911c04381f0c199884a51156653d77c167c4116f Merge succeeded, producing 8c4cffcb06d8bea3495ca339020850b67768dbc4 Checking out Revision 8c4cffcb06d8bea3495ca339020850b67768dbc4 (PR-354) > 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/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 911c04381f0c199884a51156653d77c167c4116f # 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 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c4cffcb06d8bea3495ca339020850b67768dbc4 # timeout=10 Commit message: "Merge commit '6a0d17f3443cfc2038c22736989c6b24159166ee' into HEAD" > git rev-list --no-walk 911c04381f0c199884a51156653d77c167c4116f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-06T03:18:46.385Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-06T03:18:46.465Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-06T03:18:46.491Z] ========================================================= [2022-04-06T03:18:46.491Z] EdgeX Global Pipelines Version Info [2022-04-06T03:18:46.491Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:18:47.277Z] ------------------- [2022-04-06T03:18:47.277Z] stable info: [2022-04-06T03:18:47.277Z] ------------------- [2022-04-06T03:18:47.277Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-06T03:18:47.277Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T03:18:47.277Z] Message: update stable to v1.0.221 [2022-04-06T03:18:47.852Z] ------------------- [2022-04-06T03:18:47.852Z] experimental info: [2022-04-06T03:18:47.852Z] ------------------- [2022-04-06T03:18:47.852Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-06T03:18:47.852Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T03:18:47.852Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-06T03:18:48.020Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-06T03:18:48.037Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-06T03:18:48.053Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-06T03:18:48.070Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-06T03:18:48.087Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-06T03:18:48.104Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-06T03:18:48.122Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-06T03:18:48.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-06T03:18:48.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-06T03:18:48.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-06T03:18:48.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-06T03:18:48.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-06T03:18:48.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-06T03:18:48.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-06T03:18:48.252Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T03:18:48.268Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T03:18:48.284Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T03:18:48.302Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T03:18:48.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-06T03:18:48.341Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-06T03:18:48.357Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-06T03:18:48.377Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-06T03:18:48.395Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-06T03:18:48.415Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-06T03:18:48.434Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-06T03:18:48.451Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-06T03:18:48.469Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo [2022-04-06T03:18:48.489Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo [2022-04-06T03:18:48.504Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo [2022-04-06T03:18:48.520Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c4cffcb06d8bea3495ca339020850b67768dbc4 [Pipeline] echo [2022-04-06T03:18:48.535Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c4cffc [Pipeline] echo [2022-04-06T03:18:48.551Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T03:18:48.589Z] provisioning config files... [2022-04-06T03:18:48.605Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/config3435302789752550045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:18:48.931Z] ---> docker-login.sh [2022-04-06T03:18:48.931Z] nexus3.edgexfoundry.org:10001 [2022-04-06T03:18:49.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:49.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:49.193Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:49.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:49.193Z] [2022-04-06T03:18:49.193Z] Login Succeeded [2022-04-06T03:18:49.193Z] nexus3.edgexfoundry.org:10002 [2022-04-06T03:18:49.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:49.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:49.456Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:49.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:49.456Z] [2022-04-06T03:18:49.456Z] Login Succeeded [2022-04-06T03:18:49.456Z] nexus3.edgexfoundry.org:10003 [2022-04-06T03:18:49.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:49.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:49.456Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:49.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:49.456Z] [2022-04-06T03:18:49.456Z] Login Succeeded [2022-04-06T03:18:49.456Z] nexus3.edgexfoundry.org:10004 [2022-04-06T03:18:49.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:49.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:49.717Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:49.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:49.717Z] [2022-04-06T03:18:49.717Z] Login Succeeded [2022-04-06T03:18:49.717Z] docker.io [2022-04-06T03:18:49.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:49.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:49.980Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:49.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:49.980Z] [2022-04-06T03:18:49.980Z] Login Succeeded [2022-04-06T03:18:49.980Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T03:18:49.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-06T03:18:50.375Z] + git rev-list -1 --merges 8c4cffcb06d8bea3495ca339020850b67768dbc4~1..8c4cffcb06d8bea3495ca339020850b67768dbc4 [Pipeline] echo [2022-04-06T03:18:50.477Z] -----------> git rev-list -1 --merges 8c4cffcb06d8bea3495ca339020850b67768dbc4~1..8c4cffcb06d8bea3495ca339020850b67768dbc4 8c4cffcb06d8bea3495ca339020850b67768dbc4 [2022-04-06T03:18:50.477Z] 8c4cffcb06d8bea3495ca339020850b67768dbc4 [false] [Pipeline] sh [2022-04-06T03:18:50.780Z] + git log --format=format:%s -1 8c4cffcb06d8bea3495ca339020850b67768dbc4 [Pipeline] echo [2022-04-06T03:18:50.796Z] ========================================================= [2022-04-06T03:18:50.796Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-06T03:18:50.796Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T03:18:51.148Z] + git log --format=format:%s -1 8c4cffcb06d8bea3495ca339020850b67768dbc4 [Pipeline] echo [2022-04-06T03:18:51.161Z] [semverPrep] GIT_COMMIT: 8c4cffcb06d8bea3495ca339020850b67768dbc4, Commit Message: Merge commit '6a0d17f3443cfc2038c22736989c6b24159166ee' into HEAD [Pipeline] echo [2022-04-06T03:18:51.172Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-06T03:18:51.609Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T03:18:51.609Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-06T03:18:51.609Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-06T03:18:51.609Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-06T03:18:51.609Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-06T03:18:51.609Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-06T03:18:51.609Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:18:51.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T03:18:51.990Z] [2022-04-06T03:18:51.990Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:18:52.297Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T03:18:52.297Z] latest: Pulling from edgex-devops/git-semver [2022-04-06T03:18:52.297Z] a0d0a0d46f8b: Pulling fs layer [2022-04-06T03:18:52.297Z] 3e5f54012d9b: Pulling fs layer [2022-04-06T03:18:52.297Z] 4c7163046ea9: Pulling fs layer [2022-04-06T03:18:52.297Z] 0c2d73faf560: Pulling fs layer [2022-04-06T03:18:52.297Z] 0c2d73faf560: Waiting [2022-04-06T03:18:52.297Z] 3e5f54012d9b: Verifying Checksum [2022-04-06T03:18:52.297Z] 3e5f54012d9b: Download complete [2022-04-06T03:18:52.297Z] a0d0a0d46f8b: Verifying Checksum [2022-04-06T03:18:52.297Z] a0d0a0d46f8b: Download complete [2022-04-06T03:18:52.297Z] 4c7163046ea9: Verifying Checksum [2022-04-06T03:18:52.297Z] 4c7163046ea9: Download complete [2022-04-06T03:18:52.557Z] 0c2d73faf560: Verifying Checksum [2022-04-06T03:18:52.557Z] 0c2d73faf560: Download complete [2022-04-06T03:18:52.557Z] a0d0a0d46f8b: Pull complete [2022-04-06T03:18:52.557Z] 3e5f54012d9b: Pull complete [2022-04-06T03:18:53.134Z] 4c7163046ea9: Pull complete [2022-04-06T03:18:53.134Z] 0c2d73faf560: Pull complete [2022-04-06T03:18:53.134Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-06T03:18:53.134Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T03:18:53.134Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-06T03:18:53.209Z] prd-ubuntu20.04-docker-8c-8g-10888 does not seem to be running inside a container [2022-04-06T03:18:53.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@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-06T03:18:53.940Z] $ docker top b440f1c89566fbb4808fcaac4c41a6978e148f2d293321aa43de6a273c809550 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T03:18:54.056Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T03:18:54.056Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T03:18:54.199Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T03:18:54.207Z] $ docker exec b440f1c89566fbb4808fcaac4c41a6978e148f2d293321aa43de6a273c809550 ssh-agent [2022-04-06T03:18:54.340Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHdmDed/agent.15 [2022-04-06T03:18:54.340Z] SSH_AGENT_PID=21 [2022-04-06T03:18:54.348Z] Running ssh-add (command line suppressed) [2022-04-06T03:18:54.462Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/private_key_2156159760010930330.key (/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/private_key_2156159760010930330.key) [2022-04-06T03:18:54.474Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T03:18:54.768Z] + git tag --points-at HEAD [Pipeline] } [2022-04-06T03:18:54.805Z] $ docker exec --env ******** --env ******** b440f1c89566fbb4808fcaac4c41a6978e148f2d293321aa43de6a273c809550 ssh-agent -k [2022-04-06T03:18:54.920Z] unset SSH_AUTH_SOCK; [2022-04-06T03:18:54.921Z] unset SSH_AGENT_PID; [2022-04-06T03:18:54.921Z] echo Agent pid 21 killed; [2022-04-06T03:18:54.929Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-06T03:18:54.954Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T03:18:54.954Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T03:18:55.104Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T03:18:55.111Z] $ docker exec b440f1c89566fbb4808fcaac4c41a6978e148f2d293321aa43de6a273c809550 ssh-agent [2022-04-06T03:18:55.236Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJlOnBf/agent.54 [2022-04-06T03:18:55.236Z] SSH_AGENT_PID=60 [2022-04-06T03:18:55.242Z] Running ssh-add (command line suppressed) [2022-04-06T03:18:55.390Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/private_key_8398981831725641767.key (/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/private_key_8398981831725641767.key) [2022-04-06T03:18:55.408Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T03:18:55.702Z] + git semver init [2022-04-06T03:18:55.702Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T03:18:55.702Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-354/.git [2022-04-06T03:18:55.702Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-354 [2022-04-06T03:18:55.702Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T03:18:55.702Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T03:18:55.702Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T03:18:55.702Z] # $SEMVER_BRANCH = PR-354 [2022-04-06T03:18:55.702Z] # $SEMVER_TEMP = /tmp/semver-344952554 [2022-04-06T03:18:55.702Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-06T03:18:56.651Z] # '/tmp/semver-344952554' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-354/.semver' [2022-04-06T03:18:56.651Z] # -> Force: false [2022-04-06T03:18:56.651Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-354/.semver [Pipeline] } [2022-04-06T03:18:56.667Z] $ docker exec --env ******** --env ******** b440f1c89566fbb4808fcaac4c41a6978e148f2d293321aa43de6a273c809550 ssh-agent -k [2022-04-06T03:18:56.788Z] unset SSH_AUTH_SOCK; [2022-04-06T03:18:56.788Z] unset SSH_AGENT_PID; [2022-04-06T03:18:56.788Z] echo Agent pid 60 killed; [2022-04-06T03:18:56.794Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T03:18:57.116Z] + git semver [Pipeline] } [2022-04-06T03:18:57.135Z] $ docker stop --time=1 b440f1c89566fbb4808fcaac4c41a6978e148f2d293321aa43de6a273c809550 [2022-04-06T03:18:58.529Z] $ docker rm -f b440f1c89566fbb4808fcaac4c41a6978e148f2d293321aa43de6a273c809550 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T03:18:58.888Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-06T03:18:59.158Z] Stashed 1 file(s) [Pipeline] echo [2022-04-06T03:18:59.162Z] [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-06T03:18:59.364Z] provisioning config files... [2022-04-06T03:18:59.376Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/config1614092888225804961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:18:59.683Z] ---> docker-login.sh [2022-04-06T03:18:59.683Z] nexus3.edgexfoundry.org:10001 [2022-04-06T03:18:59.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:59.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:59.683Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:59.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:59.683Z] [2022-04-06T03:18:59.683Z] Login Succeeded [2022-04-06T03:18:59.683Z] nexus3.edgexfoundry.org:10002 [2022-04-06T03:18:59.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:59.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:59.945Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:59.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:59.945Z] [2022-04-06T03:18:59.945Z] Login Succeeded [2022-04-06T03:18:59.945Z] nexus3.edgexfoundry.org:10003 [2022-04-06T03:18:59.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:18:59.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:18:59.945Z] Configure a credential helper to remove this warning. See [2022-04-06T03:18:59.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:18:59.945Z] [2022-04-06T03:18:59.945Z] Login Succeeded [2022-04-06T03:18:59.945Z] nexus3.edgexfoundry.org:10004 [2022-04-06T03:19:00.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:19:00.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:19:00.207Z] Configure a credential helper to remove this warning. See [2022-04-06T03:19:00.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:19:00.207Z] [2022-04-06T03:19:00.207Z] Login Succeeded [2022-04-06T03:19:00.207Z] docker.io [2022-04-06T03:19:00.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:19:00.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:19:00.778Z] Configure a credential helper to remove this warning. See [2022-04-06T03:19:00.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:19:00.778Z] [2022-04-06T03:19:00.778Z] Login Succeeded [2022-04-06T03:19:00.778Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T03:19:00.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T03:19:00.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T03:19:00.861Z] ========================================================= [2022-04-06T03:19:00.861Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-06T03:19:00.861Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:19:01.175Z] + 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-06T03:19:01.175Z] Sending build context to Docker daemon 5.816MB [2022-04-06T03:19:01.175Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T03:19:01.175Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T03:19:01.175Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-06T03:19:01.175Z] 59bf1c3509f3: Pulling fs layer [2022-04-06T03:19:01.175Z] 666ba61612fd: Pulling fs layer [2022-04-06T03:19:01.175Z] 8ed8ca486205: Pulling fs layer [2022-04-06T03:19:01.175Z] 4fe6c5a15a65: Pulling fs layer [2022-04-06T03:19:01.175Z] 22a0e8bec74d: Pulling fs layer [2022-04-06T03:19:01.175Z] 640e595b4fbd: Pulling fs layer [2022-04-06T03:19:01.175Z] 763cafe07f6e: Pulling fs layer [2022-04-06T03:19:01.175Z] 0c0b528cf693: Pulling fs layer [2022-04-06T03:19:01.175Z] 10935f4eaf8b: Pulling fs layer [2022-04-06T03:19:01.175Z] 4fe6c5a15a65: Waiting [2022-04-06T03:19:01.175Z] 22a0e8bec74d: Waiting [2022-04-06T03:19:01.175Z] 0c0b528cf693: Waiting [2022-04-06T03:19:01.175Z] 10935f4eaf8b: Waiting [2022-04-06T03:19:01.175Z] 640e595b4fbd: Waiting [2022-04-06T03:19:01.175Z] 763cafe07f6e: Waiting [2022-04-06T03:19:01.175Z] 8ed8ca486205: Verifying Checksum [2022-04-06T03:19:01.175Z] 8ed8ca486205: Download complete [2022-04-06T03:19:01.175Z] 666ba61612fd: Download complete [2022-04-06T03:19:01.437Z] 22a0e8bec74d: Verifying Checksum [2022-04-06T03:19:01.437Z] 22a0e8bec74d: Download complete [2022-04-06T03:19:01.437Z] 640e595b4fbd: Download complete [2022-04-06T03:19:01.437Z] 763cafe07f6e: Download complete [2022-04-06T03:19:01.437Z] 59bf1c3509f3: Verifying Checksum [2022-04-06T03:19:01.437Z] 0c0b528cf693: Verifying Checksum [2022-04-06T03:19:01.437Z] 59bf1c3509f3: Pull complete [2022-04-06T03:19:01.700Z] 666ba61612fd: Pull complete [2022-04-06T03:19:01.700Z] 8ed8ca486205: Pull complete [2022-04-06T03:19:01.961Z] 10935f4eaf8b: Download complete [2022-04-06T03:19:02.222Z] 4fe6c5a15a65: Verifying Checksum [2022-04-06T03:19:02.222Z] 4fe6c5a15a65: Download complete [2022-04-06T03:19:06.422Z] 4fe6c5a15a65: Pull complete [2022-04-06T03:19:06.422Z] 22a0e8bec74d: Pull complete [2022-04-06T03:19:06.422Z] 640e595b4fbd: Pull complete [2022-04-06T03:19:06.684Z] 763cafe07f6e: Pull complete [2022-04-06T03:19:06.684Z] 0c0b528cf693: Pull complete [2022-04-06T03:19:09.239Z] 10935f4eaf8b: Pull complete [2022-04-06T03:19:09.239Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-06T03:19:09.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-06T03:19:09.239Z] ---> 99d49a6021b9 [2022-04-06T03:19:09.239Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T03:19:10.637Z] ---> Running in 0efdda2a0b5f [2022-04-06T03:19:10.637Z] Removing intermediate container 0efdda2a0b5f [2022-04-06T03:19:10.637Z] ---> 3ff4b7aff7a1 [2022-04-06T03:19:10.637Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T03:19:10.637Z] ---> Running in 5a65ae57a19c [2022-04-06T03:19:10.898Z] Removing intermediate container 5a65ae57a19c [2022-04-06T03:19:10.898Z] ---> bf9d9b37e24f [2022-04-06T03:19:10.898Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T03:19:10.898Z] ---> Running in 6d76615df6af [2022-04-06T03:19:11.471Z] Removing intermediate container 6d76615df6af [2022-04-06T03:19:11.471Z] ---> 9e1a67c45472 [2022-04-06T03:19:11.472Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T03:19:11.472Z] ---> Running in d08264bf1fc1 [2022-04-06T03:19:11.736Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T03:19:12.683Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T03:19:12.948Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T03:19:12.948Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T03:19:12.948Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T03:19:13.209Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T03:19:13.209Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T03:19:13.209Z] OK: 224 MiB in 56 packages [2022-04-06T03:19:13.778Z] Removing intermediate container d08264bf1fc1 [2022-04-06T03:19:13.778Z] ---> 8b20c62acde7 [2022-04-06T03:19:13.778Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-06T03:19:13.778Z] ---> Running in 17a6e9f3665e [2022-04-06T03:19:14.039Z] Removing intermediate container 17a6e9f3665e [2022-04-06T03:19:14.039Z] ---> bf67fab9d4f0 [2022-04-06T03:19:14.039Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-06T03:19:14.039Z] ---> 2ce06845c0a9 [2022-04-06T03:19:14.039Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T03:19:14.039Z] ---> Running in d3a7862cd9fa [2022-04-06T03:19:14.304Z] Still waiting to schedule task [2022-04-06T03:19:14.304Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-06T03:19:40.624Z] Removing intermediate container d3a7862cd9fa [2022-04-06T03:19:40.624Z] ---> 40803a877be3 [2022-04-06T03:19:40.624Z] Step 10/12 : COPY . . [2022-04-06T03:19:40.624Z] ---> e898344416c1 [2022-04-06T03:19:40.624Z] Step 11/12 : ARG MAKE='make build' [2022-04-06T03:19:40.624Z] ---> Running in 97e9a10ebdea [2022-04-06T03:19:40.624Z] Removing intermediate container 97e9a10ebdea [2022-04-06T03:19:40.624Z] ---> 04f41e9e82c3 [2022-04-06T03:19:40.624Z] Step 12/12 : RUN $MAKE [2022-04-06T03:19:40.624Z] ---> Running in 5ce808dd233f [2022-04-06T03:19:40.624Z] noop [2022-04-06T03:19:40.624Z] Removing intermediate container 5ce808dd233f [2022-04-06T03:19:40.624Z] ---> 4d88d7207bb7 [2022-04-06T03:19:40.624Z] Successfully built 4d88d7207bb7 [2022-04-06T03:19:40.624Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:19:40.926Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T03:19:40.926Z] . [Pipeline] withDockerContainer [2022-04-06T03:19:41.006Z] prd-ubuntu20.04-docker-8c-8g-10888 does not seem to be running inside a container [2022-04-06T03:19:41.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@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-06T03:19:41.433Z] $ docker top cbcd73a967342183d30a4fd18c4581957ac754aee4b13e3aab64e7a54fb53823 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T03:19:41.792Z] + go version [2022-04-06T03:19:41.792Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-06T03:19:41.809Z] $ docker stop --time=1 cbcd73a967342183d30a4fd18c4581957ac754aee4b13e3aab64e7a54fb53823 [2022-04-06T03:19:43.114Z] $ docker rm -f cbcd73a967342183d30a4fd18c4581957ac754aee4b13e3aab64e7a54fb53823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:19:43.560Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T03:19:43.560Z] . [Pipeline] withDockerContainer [2022-04-06T03:19:43.633Z] prd-ubuntu20.04-docker-8c-8g-10888 does not seem to be running inside a container [2022-04-06T03:19:43.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@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-06T03:19:44.135Z] $ docker top cff2801e8c2cae21c3ae4efcc1d4fd8a351bd94203dba5117fe1b77616399087 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T03:19:44.527Z] + make test [2022-04-06T03:19:44.527Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-06T03:19:44.787Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-06T03:19:51.362Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-06T03:19:51.935Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2022-04-06T03:19:51.935Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-06T03:19:58.520Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T03:20:01.058Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T03:20:01.058Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T03:20:01.058Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T03:20:01.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T03:20:01.351Z] $ docker stop --time=1 cff2801e8c2cae21c3ae4efcc1d4fd8a351bd94203dba5117fe1b77616399087 [2022-04-06T03:20:03.051Z] $ docker rm -f cff2801e8c2cae21c3ae4efcc1d4fd8a351bd94203dba5117fe1b77616399087 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T03:20:03.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T03:20:03.520Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-06T03:20:04.141Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T03:20:04.436Z] + ls -al . [2022-04-06T03:20:04.436Z] total 188 [2022-04-06T03:20:04.436Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 03:20 . [2022-04-06T03:20:04.436Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:18 .. [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 03:18 .dockerignore [2022-04-06T03:20:04.436Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 03:18 .git [2022-04-06T03:20:04.436Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:18 .github [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 03:18 .gitignore [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 03:18 .golangci.yml [2022-04-06T03:20:04.436Z] drwx------ 3 jenkins jenkins 4096 Apr 6 03:18 .semver [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 6 03:18 Attribution.txt [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 6 03:18 CHANGELOG.md [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 6 03:18 Dockerfile [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 03:18 GOVERNANCE.md [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 6 03:18 Jenkinsfile [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 03:18 LICENSE [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 1531 Apr 6 03:18 Makefile [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 03:18 OWNERS.md [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 6 03:18 README.md [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 03:18 VERSION [2022-04-06T03:20:04.436Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:18 bin [2022-04-06T03:20:04.436Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:18 cmd [2022-04-06T03:20:04.436Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 6 03:19 coverage.out [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 6 03:18 go.mod [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 6 03:18 go.sum [2022-04-06T03:20:04.436Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:18 internal [2022-04-06T03:20:04.436Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:18 mock [2022-04-06T03:20:04.436Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:18 snap [2022-04-06T03:20:04.436Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 6 03:18 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:20:04.740Z] + 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=8c4cffcb06d8bea3495ca339020850b67768dbc4 --label arch=amd64 --label version=0.0.0 . [2022-04-06T03:20:04.740Z] Sending build context to Docker daemon 5.834MB [2022-04-06T03:20:04.740Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T03:20:04.740Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-06T03:20:04.740Z] ---> 4d88d7207bb7 [2022-04-06T03:20:04.740Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T03:20:04.740Z] ---> Running in 7cdd4fe73deb [2022-04-06T03:20:05.001Z] Removing intermediate container 7cdd4fe73deb [2022-04-06T03:20:05.001Z] ---> e81939aeb3c2 [2022-04-06T03:20:05.001Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T03:20:05.001Z] ---> Running in 64d079c18b06 [2022-04-06T03:20:05.001Z] Removing intermediate container 64d079c18b06 [2022-04-06T03:20:05.001Z] ---> 810aa74e18f8 [2022-04-06T03:20:05.001Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T03:20:05.264Z] ---> Running in e3a4199c2c30 [2022-04-06T03:20:05.837Z] Removing intermediate container e3a4199c2c30 [2022-04-06T03:20:05.837Z] ---> 667538a4b0a3 [2022-04-06T03:20:05.837Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T03:20:05.837Z] ---> Running in 30fe585a480b [2022-04-06T03:20:06.100Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T03:20:07.050Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T03:20:07.312Z] OK: 224 MiB in 56 packages [2022-04-06T03:20:07.572Z] Removing intermediate container 30fe585a480b [2022-04-06T03:20:07.573Z] ---> e56d75777e3f [2022-04-06T03:20:07.573Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-06T03:20:07.573Z] ---> Running in 398fefd78768 [2022-04-06T03:20:07.835Z] Removing intermediate container 398fefd78768 [2022-04-06T03:20:07.835Z] ---> bbe52c0de616 [2022-04-06T03:20:07.835Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-06T03:20:07.835Z] ---> 90ba316dc6ee [2022-04-06T03:20:07.835Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T03:20:08.097Z] ---> Running in 976863a80c57 [2022-04-06T03:20:08.671Z] Removing intermediate container 976863a80c57 [2022-04-06T03:20:08.671Z] ---> cc3ba5a9ee5a [2022-04-06T03:20:08.671Z] Step 10/24 : COPY . . [2022-04-06T03:20:08.932Z] ---> 5c3db3629436 [2022-04-06T03:20:08.932Z] Step 11/24 : ARG MAKE='make build' [2022-04-06T03:20:08.932Z] ---> Running in 8b05deb36ae5 [2022-04-06T03:20:09.193Z] Removing intermediate container 8b05deb36ae5 [2022-04-06T03:20:09.193Z] ---> 7c9072c5c633 [2022-04-06T03:20:09.193Z] Step 12/24 : RUN $MAKE [2022-04-06T03:20:09.193Z] ---> Running in f642d195054f [2022-04-06T03:20:09.460Z] 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-06T03:20:17.589Z] Removing intermediate container f642d195054f [2022-04-06T03:20:17.589Z] ---> 9173ffaac7ec [2022-04-06T03:20:17.589Z] Step 13/24 : FROM alpine:3.14 [2022-04-06T03:20:17.849Z] 3.14: Pulling from library/alpine [2022-04-06T03:20:18.109Z] 8663204ce13b: Pulling fs layer [2022-04-06T03:20:18.397Z] 8663204ce13b: Verifying Checksum [2022-04-06T03:20:18.397Z] 8663204ce13b: Download complete [2022-04-06T03:20:18.397Z] 8663204ce13b: Pull complete [2022-04-06T03:20:18.397Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T03:20:18.397Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T03:20:18.397Z] ---> e04c818066af [2022-04-06T03:20:18.397Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-06T03:20:18.662Z] ---> Running in b0f10fb16323 [2022-04-06T03:20:18.662Z] Removing intermediate container b0f10fb16323 [2022-04-06T03:20:18.662Z] ---> 12b8cb652f8f [2022-04-06T03:20:18.662Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T03:20:18.662Z] ---> Running in 76b0a51b6596 [2022-04-06T03:20:18.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-06T03:20:19.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-06T03:20:19.185Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T03:20:19.185Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T03:20:19.185Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T03:20:19.447Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T03:20:19.447Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T03:20:19.447Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T03:20:19.447Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T03:20:19.447Z] OK: 8 MiB in 20 packages [2022-04-06T03:20:19.709Z] Removing intermediate container 76b0a51b6596 [2022-04-06T03:20:19.709Z] ---> f7ced0cebea7 [2022-04-06T03:20:19.709Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-06T03:20:20.283Z] ---> be0035c3e484 [2022-04-06T03:20:20.283Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-06T03:20:20.283Z] ---> 407e60c11090 [2022-04-06T03:20:20.283Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-06T03:20:20.553Z] ---> 139a9b6d00f1 [2022-04-06T03:20:20.553Z] Step 19/24 : EXPOSE 59982 [2022-04-06T03:20:20.553Z] ---> Running in 56a6568f73b7 [2022-04-06T03:20:20.553Z] Removing intermediate container 56a6568f73b7 [2022-04-06T03:20:20.553Z] ---> ef48c934a4ab [2022-04-06T03:20:20.553Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-06T03:20:20.814Z] ---> Running in 6e463ca28063 [2022-04-06T03:20:20.815Z] Removing intermediate container 6e463ca28063 [2022-04-06T03:20:20.815Z] ---> c68b282b0808 [2022-04-06T03:20:20.815Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-06T03:20:20.815Z] ---> Running in 6f8c82f95b59 [2022-04-06T03:20:21.084Z] Removing intermediate container 6f8c82f95b59 [2022-04-06T03:20:21.084Z] ---> b56963a6b3ee [2022-04-06T03:20:21.084Z] Step 22/24 : LABEL arch=amd64 [2022-04-06T03:20:21.084Z] ---> Running in 129860901d6d [2022-04-06T03:20:21.084Z] Removing intermediate container 129860901d6d [2022-04-06T03:20:21.084Z] ---> 29c8cd0cf307 [2022-04-06T03:20:21.084Z] Step 23/24 : LABEL git_sha=8c4cffcb06d8bea3495ca339020850b67768dbc4 [2022-04-06T03:20:21.084Z] ---> Running in 961928ac8f0c [2022-04-06T03:20:21.347Z] Removing intermediate container 961928ac8f0c [2022-04-06T03:20:21.347Z] ---> 75035e9d0c3d [2022-04-06T03:20:21.347Z] Step 24/24 : LABEL version=0.0.0 [2022-04-06T03:20:21.347Z] ---> Running in 69769a680f91 [2022-04-06T03:20:21.347Z] Removing intermediate container 69769a680f91 [2022-04-06T03:20:21.347Z] ---> 8fc575d72e5f [2022-04-06T03:20:21.347Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T03:20:21.347Z] Successfully built 8fc575d72e5f [2022-04-06T03:20:21.347Z] 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-06T03:20:21.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T03:20:21.802Z] [2022-04-06T03:20:21.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:20:22.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T03:20:22.115Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-06T03:20:22.115Z] 5eb5b503b376: Pulling fs layer [2022-04-06T03:20:22.115Z] 5c69ac0246d0: Pulling fs layer [2022-04-06T03:20:22.115Z] ec43610c2a17: Pulling fs layer [2022-04-06T03:20:22.115Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-06T03:20:22.115Z] 33b1e0a273af: Pulling fs layer [2022-04-06T03:20:22.115Z] 5d3b04190fa2: Pulling fs layer [2022-04-06T03:20:22.115Z] 2f39f015ded8: Pulling fs layer [2022-04-06T03:20:22.115Z] 3a2ae6a8a46f: Waiting [2022-04-06T03:20:22.115Z] 33b1e0a273af: Waiting [2022-04-06T03:20:22.115Z] 5d3b04190fa2: Waiting [2022-04-06T03:20:22.116Z] 2f39f015ded8: Waiting [2022-04-06T03:20:22.116Z] 5c69ac0246d0: Verifying Checksum [2022-04-06T03:20:22.116Z] 5c69ac0246d0: Download complete [2022-04-06T03:20:22.116Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-06T03:20:22.116Z] 3a2ae6a8a46f: Download complete [2022-04-06T03:20:22.116Z] ec43610c2a17: Verifying Checksum [2022-04-06T03:20:22.116Z] ec43610c2a17: Download complete [2022-04-06T03:20:22.116Z] 33b1e0a273af: Verifying Checksum [2022-04-06T03:20:22.116Z] 5d3b04190fa2: Verifying Checksum [2022-04-06T03:20:22.116Z] 5d3b04190fa2: Download complete [2022-04-06T03:20:22.377Z] 5eb5b503b376: Verifying Checksum [2022-04-06T03:20:22.377Z] 5eb5b503b376: Download complete [2022-04-06T03:20:22.948Z] 2f39f015ded8: Download complete [2022-04-06T03:20:23.891Z] 5eb5b503b376: Pull complete [2022-04-06T03:20:23.891Z] 5c69ac0246d0: Pull complete [2022-04-06T03:20:24.464Z] ec43610c2a17: Pull complete [2022-04-06T03:20:24.464Z] 3a2ae6a8a46f: Pull complete [2022-04-06T03:20:24.727Z] 33b1e0a273af: Pull complete [2022-04-06T03:20:24.989Z] 5d3b04190fa2: Pull complete [2022-04-06T03:20:30.277Z] 2f39f015ded8: Pull complete [2022-04-06T03:20:30.277Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-06T03:20:30.277Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T03:20:30.277Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-06T03:20:30.353Z] prd-ubuntu20.04-docker-8c-8g-10888 does not seem to be running inside a container [2022-04-06T03:20:30.407Z] $ 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-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@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-06T03:20:32.140Z] $ docker top 03981324bb27e06b45bb118d3b8ec090cf998d95272c2333e7d682575331aaae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:20:32.548Z] ---> job-cost.sh [2022-04-06T03:20:32.548Z] lf-activate-venv: SKIPPING [2022-04-06T03:20:32.548Z] INFO: No Stack... [2022-04-06T03:20:33.125Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T03:20:33.388Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T03:20:33.693Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives/cost.csv [2022-04-06T03:20:33.693Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T03:20:33.710Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-354-2-stack-cost] [2022-04-06T03:20:33.718Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-354-2-stack-cost] did not exist. Created. [2022-04-06T03:20:33.718Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-354-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T03:20:34.038Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-06T03:20:34.074Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T03:20:34.082Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-354-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T03:20:34.107Z] $ docker stop --time=1 03981324bb27e06b45bb118d3b8ec090cf998d95272c2333e7d682575331aaae [2022-04-06T03:20:35.291Z] $ docker rm -f 03981324bb27e06b45bb118d3b8ec090cf998d95272c2333e7d682575331aaae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-06T03:25:04.277Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10935 in /w/workspace/gexfoundry_device-mqtt-go_PR-354 [Pipeline] { [Pipeline] ws [2022-04-06T03:25:04.291Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-04-06T03:25:05.307Z] Selected Git installation does not exist. Using Default [2022-04-06T03:25:05.307Z] The recommended git tool is: NONE [2022-04-06T03:25:13.383Z] using credential edgex-jenkins-ssh [2022-04-06T03:25:13.403Z] Cloning the remote Git repository [2022-04-06T03:25:13.493Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-06T03:25:13.602Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-04-06T03:25:13.709Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-06T03:25:13.710Z] > git --version # timeout=10 [2022-04-06T03:25:13.735Z] > git --version # 'git version 2.25.1' [2022-04-06T03:25:13.738Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T03:25:13.839Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T03:25:15.082Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-06T03:25:15.109Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T03:25:15.145Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-06T03:25:15.202Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-06T03:25:15.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T03:25:15.225Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-06T03:25:15.827Z] Merging remotes/origin/main commit 6a0d17f3443cfc2038c22736989c6b24159166ee into PR head commit 911c04381f0c199884a51156653d77c167c4116f [2022-04-06T03:25:16.160Z] Merge succeeded, producing 81351c7289f5d2c72ab1e62f8fe65e547d64a544 [2022-04-06T03:25:16.160Z] Checking out Revision 81351c7289f5d2c72ab1e62f8fe65e547d64a544 (PR-354) [2022-04-06T03:25:15.856Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T03:25:15.881Z] > git checkout -f 911c04381f0c199884a51156653d77c167c4116f # timeout=10 [2022-04-06T03:25:15.985Z] > git remote # timeout=10 [2022-04-06T03:25:16.008Z] > git config --get remote.origin.url # timeout=10 [2022-04-06T03:25:16.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T03:25:16.061Z] > git merge 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 [2022-04-06T03:25:16.136Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-06T03:25:16.174Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T03:25:16.199Z] > git checkout -f 81351c7289f5d2c72ab1e62f8fe65e547d64a544 # timeout=10 [2022-04-06T03:25:20.889Z] Commit message: "Merge commit '6a0d17f3443cfc2038c22736989c6b24159166ee' into HEAD" [2022-04-06T03:25:20.907Z] > git rev-list --no-walk 911c04381f0c199884a51156653d77c167c4116f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T03:25:21.879Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-06T03:25:21.879Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T03:25:21.879Z] Dload Upload Total Spent Left Speed [2022-04-06T03:25:21.879Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2022-04-06T03:25:22.428Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-06T03:25:22.785Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-06T03:25:22.785Z] + sudo tee /etc/docker/daemon.new [2022-04-06T03:25:22.785Z] { [2022-04-06T03:25:22.785Z] "registry-mirrors": [ [2022-04-06T03:25:22.785Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-06T03:25:22.785Z] ], [2022-04-06T03:25:22.785Z] "bip": "10.250.0.254/24", [2022-04-06T03:25:22.785Z] "hosts": [ [2022-04-06T03:25:22.785Z] "tcp://0.0.0.0:5555", [2022-04-06T03:25:22.785Z] "unix:///var/run/docker.sock" [2022-04-06T03:25:22.785Z] ], [2022-04-06T03:25:22.785Z] "mtu": 1458, [2022-04-06T03:25:22.785Z] "selinux-enabled": true, [2022-04-06T03:25:22.785Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-06T03:25:22.785Z] } [Pipeline] sh [2022-04-06T03:25:23.151Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-06T03:25:23.509Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T03:25:41.892Z] provisioning config files... [2022-04-06T03:25:41.922Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config9128600931136144411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:25:42.487Z] ---> docker-login.sh [2022-04-06T03:25:42.487Z] nexus3.edgexfoundry.org:10001 [2022-04-06T03:25:43.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:25:43.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:25:43.759Z] Configure a credential helper to remove this warning. See [2022-04-06T03:25:43.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:25:43.759Z] [2022-04-06T03:25:43.759Z] Login Succeeded [2022-04-06T03:25:43.759Z] nexus3.edgexfoundry.org:10002 [2022-04-06T03:25:44.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:25:44.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:25:44.360Z] Configure a credential helper to remove this warning. See [2022-04-06T03:25:44.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:25:44.360Z] [2022-04-06T03:25:44.360Z] Login Succeeded [2022-04-06T03:25:44.360Z] nexus3.edgexfoundry.org:10003 [2022-04-06T03:25:44.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:25:44.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:25:44.910Z] Configure a credential helper to remove this warning. See [2022-04-06T03:25:44.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:25:44.910Z] [2022-04-06T03:25:44.910Z] Login Succeeded [2022-04-06T03:25:44.910Z] nexus3.edgexfoundry.org:10004 [2022-04-06T03:25:45.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:25:45.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:25:45.457Z] Configure a credential helper to remove this warning. See [2022-04-06T03:25:45.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:25:45.457Z] [2022-04-06T03:25:45.457Z] Login Succeeded [2022-04-06T03:25:45.457Z] docker.io [2022-04-06T03:25:45.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T03:25:46.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T03:25:46.004Z] Configure a credential helper to remove this warning. See [2022-04-06T03:25:46.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T03:25:46.004Z] [2022-04-06T03:25:46.004Z] Login Succeeded [2022-04-06T03:25:46.278Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T03:25:46.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T03:25:46.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T03:25:46.622Z] ========================================================= [2022-04-06T03:25:46.622Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-06T03:25:46.622Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:25:46.985Z] + 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-06T03:25:47.584Z] Sending build context to Docker daemon 3.032MB [2022-04-06T03:25:47.584Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T03:25:47.584Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T03:25:47.584Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-06T03:25:47.584Z] 9b3977197b4f: Pulling fs layer [2022-04-06T03:25:47.584Z] 1a89e8eeedd5: Pulling fs layer [2022-04-06T03:25:47.584Z] 94645a83ff95: Pulling fs layer [2022-04-06T03:25:47.584Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-06T03:25:47.584Z] 0c92f367c5e7: Pulling fs layer [2022-04-06T03:25:47.584Z] f7c0051592d6: Pulling fs layer [2022-04-06T03:25:47.584Z] a227ed2f7395: Pulling fs layer [2022-04-06T03:25:47.584Z] 7b1c46037f91: Pulling fs layer [2022-04-06T03:25:47.584Z] 3f3a8bcf1eab: Waiting [2022-04-06T03:25:47.584Z] 0c92f367c5e7: Waiting [2022-04-06T03:25:47.584Z] f7c0051592d6: Waiting [2022-04-06T03:25:47.584Z] a227ed2f7395: Waiting [2022-04-06T03:25:47.584Z] 7b1c46037f91: Waiting [2022-04-06T03:25:47.864Z] 94645a83ff95: Download complete [2022-04-06T03:25:47.864Z] 1a89e8eeedd5: Verifying Checksum [2022-04-06T03:25:47.864Z] 1a89e8eeedd5: Download complete [2022-04-06T03:25:47.864Z] 0c92f367c5e7: Verifying Checksum [2022-04-06T03:25:47.864Z] 0c92f367c5e7: Download complete [2022-04-06T03:25:47.864Z] f7c0051592d6: Verifying Checksum [2022-04-06T03:25:47.864Z] f7c0051592d6: Download complete [2022-04-06T03:25:47.864Z] 9b3977197b4f: Download complete [2022-04-06T03:25:47.864Z] a227ed2f7395: Verifying Checksum [2022-04-06T03:25:47.864Z] a227ed2f7395: Download complete [2022-04-06T03:25:48.870Z] 9b3977197b4f: Pull complete [2022-04-06T03:25:49.153Z] 1a89e8eeedd5: Pull complete [2022-04-06T03:25:49.767Z] 94645a83ff95: Pull complete [2022-04-06T03:25:50.052Z] 7b1c46037f91: Verifying Checksum [2022-04-06T03:25:50.052Z] 7b1c46037f91: Download complete [2022-04-06T03:25:50.657Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-06T03:25:50.657Z] 3f3a8bcf1eab: Download complete [2022-04-06T03:26:05.788Z] 3f3a8bcf1eab: Pull complete [2022-04-06T03:26:05.788Z] 0c92f367c5e7: Pull complete [2022-04-06T03:26:05.788Z] f7c0051592d6: Pull complete [2022-04-06T03:26:05.788Z] a227ed2f7395: Pull complete [2022-04-06T03:26:11.258Z] 7b1c46037f91: Pull complete [2022-04-06T03:26:11.258Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-06T03:26:11.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-06T03:26:11.259Z] ---> f79e39bc4007 [2022-04-06T03:26:11.259Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T03:26:12.710Z] ---> Running in e4709a4ffd59 [2022-04-06T03:26:12.988Z] Removing intermediate container e4709a4ffd59 [2022-04-06T03:26:12.988Z] ---> 274621726113 [2022-04-06T03:26:12.988Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T03:26:12.988Z] ---> Running in b30faa0889bd [2022-04-06T03:26:13.266Z] Removing intermediate container b30faa0889bd [2022-04-06T03:26:13.266Z] ---> 23325dc8529e [2022-04-06T03:26:13.266Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T03:26:13.553Z] ---> Running in 72a09a83fd8b [2022-04-06T03:26:17.875Z] Removing intermediate container 72a09a83fd8b [2022-04-06T03:26:17.875Z] ---> 49eeab776948 [2022-04-06T03:26:17.875Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T03:26:17.875Z] ---> Running in 22ff8669cbf4 [2022-04-06T03:26:19.314Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T03:26:19.911Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T03:26:20.904Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T03:26:20.904Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T03:26:21.179Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T03:26:21.179Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T03:26:21.455Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T03:26:21.455Z] OK: 224 MiB in 56 packages [2022-04-06T03:26:22.448Z] Removing intermediate container 22ff8669cbf4 [2022-04-06T03:26:22.448Z] ---> 2afd47222519 [2022-04-06T03:26:22.448Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-06T03:26:22.448Z] ---> Running in 5fe6ce76362d [2022-04-06T03:26:22.723Z] Removing intermediate container 5fe6ce76362d [2022-04-06T03:26:22.723Z] ---> 0d74907b8f42 [2022-04-06T03:26:22.723Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-06T03:26:23.325Z] ---> bd9e9cddba94 [2022-04-06T03:26:23.325Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T03:26:23.604Z] ---> Running in a07d941f2f3e [2022-04-06T03:27:45.441Z] Removing intermediate container a07d941f2f3e [2022-04-06T03:27:45.441Z] ---> 91dd0c0758f1 [2022-04-06T03:27:45.441Z] Step 10/12 : COPY . . [2022-04-06T03:27:45.441Z] ---> 079399ebfa72 [2022-04-06T03:27:45.441Z] Step 11/12 : ARG MAKE='make build' [2022-04-06T03:27:45.441Z] ---> Running in 3edd9f17a0ad [2022-04-06T03:27:45.441Z] Removing intermediate container 3edd9f17a0ad [2022-04-06T03:27:45.441Z] ---> 71ad664feb1e [2022-04-06T03:27:45.441Z] Step 12/12 : RUN $MAKE [2022-04-06T03:27:45.441Z] ---> Running in b5e8ece40af5 [2022-04-06T03:27:45.441Z] noop [2022-04-06T03:27:46.036Z] Removing intermediate container b5e8ece40af5 [2022-04-06T03:27:46.036Z] ---> d5c6cd9b7e24 [2022-04-06T03:27:46.036Z] Successfully built d5c6cd9b7e24 [2022-04-06T03:27:46.036Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:27:46.386Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T03:27:46.386Z] . [Pipeline] withDockerContainer [2022-04-06T03:27:46.630Z] prd-ubuntu20.04-docker-arm64-4c-16g-10935 does not seem to be running inside a container [2022-04-06T03:27:46.721Z] $ 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-06T03:27:48.115Z] $ docker top 877942a8d70ca14c88ad7ea60242f7d7fdf4a4586e908f9d00eadf86e628f184 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T03:27:49.105Z] + go version [2022-04-06T03:27:49.105Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-06T03:27:49.139Z] $ docker stop --time=1 877942a8d70ca14c88ad7ea60242f7d7fdf4a4586e908f9d00eadf86e628f184 [2022-04-06T03:27:50.862Z] $ docker rm -f 877942a8d70ca14c88ad7ea60242f7d7fdf4a4586e908f9d00eadf86e628f184 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:27:51.503Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T03:27:51.503Z] . [Pipeline] withDockerContainer [2022-04-06T03:27:51.743Z] prd-ubuntu20.04-docker-arm64-4c-16g-10935 does not seem to be running inside a container [2022-04-06T03:27:51.842Z] $ 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-06T03:27:53.250Z] $ docker top c33f192b6ef22c0ed238443d1f5a70c56220a46b4c25e0d91c6d5c57c909631e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T03:27:54.208Z] + make test [2022-04-06T03:27:54.208Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-06T03:27:55.660Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-06T03:28:52.279Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-06T03:28:52.553Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements [2022-04-06T03:28:52.554Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-06T03:28:52.829Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-06T03:28:52.829Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T03:29:15.059Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T03:29:15.060Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T03:29:15.060Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T03:29:15.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T03:29:15.371Z] $ docker stop --time=1 c33f192b6ef22c0ed238443d1f5a70c56220a46b4c25e0d91c6d5c57c909631e [2022-04-06T03:29:17.175Z] $ docker rm -f c33f192b6ef22c0ed238443d1f5a70c56220a46b4c25e0d91c6d5c57c909631e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T03:29:18.013Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T03:29:18.040Z] Warning: overwriting stash ‘coverage-report’ [2022-04-06T03:29:18.547Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T03:29:18.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T03:29:19.325Z] + ls -al . [2022-04-06T03:29:19.325Z] total 184 [2022-04-06T03:29:19.325Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 03:29 . [2022-04-06T03:29:19.325Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:25 .. [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 03:25 .dockerignore [2022-04-06T03:29:19.325Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 03:25 .git [2022-04-06T03:29:19.325Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:25 .github [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 03:25 .gitignore [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 03:25 .golangci.yml [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 6 03:25 Attribution.txt [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 6 03:25 CHANGELOG.md [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 6 03:25 Dockerfile [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 03:25 GOVERNANCE.md [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 6 03:25 Jenkinsfile [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 03:25 LICENSE [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 1531 Apr 6 03:25 Makefile [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 03:25 OWNERS.md [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 6 03:25 README.md [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 03:18 VERSION [2022-04-06T03:29:19.325Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:25 bin [2022-04-06T03:29:19.325Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:25 cmd [2022-04-06T03:29:19.325Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 6 03:28 coverage.out [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 6 03:25 go.mod [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 6 03:25 go.sum [2022-04-06T03:29:19.325Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:25 internal [2022-04-06T03:29:19.325Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:25 mock [2022-04-06T03:29:19.325Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:25 snap [2022-04-06T03:29:19.325Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 6 03:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:29:19.694Z] + 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=81351c7289f5d2c72ab1e62f8fe65e547d64a544 --label arch=arm64 --label version=0.0.0 . [2022-04-06T03:29:20.015Z] Sending build context to Docker daemon 3.05MB [2022-04-06T03:29:20.015Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T03:29:20.015Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-06T03:29:20.015Z] ---> d5c6cd9b7e24 [2022-04-06T03:29:20.015Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T03:29:20.305Z] ---> Running in 17881e41f085 [2022-04-06T03:29:20.602Z] Removing intermediate container 17881e41f085 [2022-04-06T03:29:20.602Z] ---> 6d06c9363ed3 [2022-04-06T03:29:20.602Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T03:29:20.877Z] ---> Running in 3721a236fbf9 [2022-04-06T03:29:21.159Z] Removing intermediate container 3721a236fbf9 [2022-04-06T03:29:21.159Z] ---> 0674b35d01dd [2022-04-06T03:29:21.159Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T03:29:21.159Z] ---> Running in cf0bc77f78a2 [2022-04-06T03:29:23.137Z] Removing intermediate container cf0bc77f78a2 [2022-04-06T03:29:23.138Z] ---> d819c3e369be [2022-04-06T03:29:23.138Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T03:29:23.138Z] ---> Running in 1a2c3e50b1ba [2022-04-06T03:29:24.114Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T03:29:24.707Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T03:29:26.139Z] OK: 224 MiB in 56 packages [2022-04-06T03:29:26.734Z] Removing intermediate container 1a2c3e50b1ba [2022-04-06T03:29:26.734Z] ---> 2bc771f2b2b6 [2022-04-06T03:29:26.734Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-06T03:29:26.734Z] ---> Running in 5d0a114b5444 [2022-04-06T03:29:27.011Z] Removing intermediate container 5d0a114b5444 [2022-04-06T03:29:27.011Z] ---> 2524dec63e62 [2022-04-06T03:29:27.011Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-06T03:29:27.609Z] ---> 4e63ff86c27b [2022-04-06T03:29:27.609Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T03:29:27.609Z] ---> Running in 10f2db2f687f [2022-04-06T03:29:30.288Z] Removing intermediate container 10f2db2f687f [2022-04-06T03:29:30.288Z] ---> 899ef46efe74 [2022-04-06T03:29:30.288Z] Step 10/24 : COPY . . [2022-04-06T03:29:30.900Z] ---> 7362fd4bfdb2 [2022-04-06T03:29:30.900Z] Step 11/24 : ARG MAKE='make build' [2022-04-06T03:29:31.188Z] ---> Running in 688be6132ee6 [2022-04-06T03:29:31.470Z] Removing intermediate container 688be6132ee6 [2022-04-06T03:29:31.470Z] ---> 2ccc7bd8cc7a [2022-04-06T03:29:31.470Z] Step 12/24 : RUN $MAKE [2022-04-06T03:29:31.470Z] ---> Running in 6f9754ddedcb [2022-04-06T03:29:32.922Z] 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-06T03:30:19.959Z] Removing intermediate container 6f9754ddedcb [2022-04-06T03:30:19.959Z] ---> 534d6d6027fb [2022-04-06T03:30:19.959Z] Step 13/24 : FROM alpine:3.14 [2022-04-06T03:30:19.959Z] 3.14: Pulling from library/alpine [2022-04-06T03:30:19.959Z] 455c02918c45: Pulling fs layer [2022-04-06T03:30:19.959Z] 455c02918c45: Verifying Checksum [2022-04-06T03:30:19.959Z] 455c02918c45: Download complete [2022-04-06T03:30:19.959Z] 455c02918c45: Pull complete [2022-04-06T03:30:19.959Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T03:30:19.959Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T03:30:19.959Z] ---> ac73e934f311 [2022-04-06T03:30:19.959Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-06T03:30:19.959Z] ---> Running in 3b8a59eae227 [2022-04-06T03:30:19.959Z] Removing intermediate container 3b8a59eae227 [2022-04-06T03:30:19.959Z] ---> 713a217b3d1e [2022-04-06T03:30:19.959Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T03:30:19.959Z] ---> Running in fa8b873db4af [2022-04-06T03:30:19.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-06T03:30:20.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-06T03:30:20.821Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T03:30:21.092Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T03:30:21.092Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T03:30:21.092Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T03:30:21.092Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T03:30:21.092Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T03:30:21.092Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T03:30:21.092Z] OK: 8 MiB in 20 packages [2022-04-06T03:30:22.080Z] Removing intermediate container fa8b873db4af [2022-04-06T03:30:22.080Z] ---> 89ce3553d8e5 [2022-04-06T03:30:22.080Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-06T03:30:23.061Z] ---> 0bd870fec18b [2022-04-06T03:30:23.061Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-06T03:30:23.336Z] ---> 662053a6af14 [2022-04-06T03:30:23.336Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-06T03:30:23.942Z] ---> eeb2ecf2ab5d [2022-04-06T03:30:23.942Z] Step 19/24 : EXPOSE 59982 [2022-04-06T03:30:24.216Z] ---> Running in 08f39bb1bc78 [2022-04-06T03:30:24.491Z] Removing intermediate container 08f39bb1bc78 [2022-04-06T03:30:24.491Z] ---> 5bc9e619d686 [2022-04-06T03:30:24.491Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-06T03:30:24.491Z] ---> Running in e14d0b8697d6 [2022-04-06T03:30:24.767Z] Removing intermediate container e14d0b8697d6 [2022-04-06T03:30:24.767Z] ---> 11bcb28d3e36 [2022-04-06T03:30:24.767Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-06T03:30:25.053Z] ---> Running in 44a6187620e7 [2022-04-06T03:30:25.328Z] Removing intermediate container 44a6187620e7 [2022-04-06T03:30:25.328Z] ---> 7c3345da5350 [2022-04-06T03:30:25.328Z] Step 22/24 : LABEL arch=arm64 [2022-04-06T03:30:25.328Z] ---> Running in 0dcde6c1ec79 [2022-04-06T03:30:25.603Z] Removing intermediate container 0dcde6c1ec79 [2022-04-06T03:30:25.603Z] ---> 9c24e08a89c7 [2022-04-06T03:30:25.603Z] Step 23/24 : LABEL git_sha=81351c7289f5d2c72ab1e62f8fe65e547d64a544 [2022-04-06T03:30:25.603Z] ---> Running in 2fe276231a27 [2022-04-06T03:30:26.202Z] Removing intermediate container 2fe276231a27 [2022-04-06T03:30:26.202Z] ---> 2b55593d836f [2022-04-06T03:30:26.202Z] Step 24/24 : LABEL version=0.0.0 [2022-04-06T03:30:26.202Z] ---> Running in a50915521611 [2022-04-06T03:30:26.473Z] Removing intermediate container a50915521611 [2022-04-06T03:30:26.473Z] ---> 6de815dba602 [2022-04-06T03:30:26.473Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T03:30:26.473Z] Successfully built 6de815dba602 [2022-04-06T03:30:26.473Z] 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-06T03:30:26.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T03:30:26.902Z] [2022-04-06T03:30:26.902Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:30:27.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T03:30:27.520Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-06T03:30:27.520Z] 8998bd30e6a1: Pulling fs layer [2022-04-06T03:30:27.520Z] 04944245beec: Pulling fs layer [2022-04-06T03:30:27.520Z] 699f458cf7ca: Pulling fs layer [2022-04-06T03:30:27.520Z] 765212b225bb: Pulling fs layer [2022-04-06T03:30:27.520Z] f23df028b6ca: Pulling fs layer [2022-04-06T03:30:27.520Z] d65c8cfc05b1: Pulling fs layer [2022-04-06T03:30:27.520Z] 2437ff75d9bd: Pulling fs layer [2022-04-06T03:30:27.520Z] f23df028b6ca: Waiting [2022-04-06T03:30:27.520Z] 765212b225bb: Waiting [2022-04-06T03:30:27.520Z] d65c8cfc05b1: Waiting [2022-04-06T03:30:27.520Z] 2437ff75d9bd: Waiting [2022-04-06T03:30:27.520Z] 04944245beec: Verifying Checksum [2022-04-06T03:30:27.520Z] 04944245beec: Download complete [2022-04-06T03:30:27.520Z] 765212b225bb: Verifying Checksum [2022-04-06T03:30:27.520Z] 765212b225bb: Download complete [2022-04-06T03:30:27.520Z] f23df028b6ca: Verifying Checksum [2022-04-06T03:30:27.520Z] f23df028b6ca: Download complete [2022-04-06T03:30:27.520Z] d65c8cfc05b1: Verifying Checksum [2022-04-06T03:30:27.520Z] d65c8cfc05b1: Download complete [2022-04-06T03:30:27.800Z] 699f458cf7ca: Verifying Checksum [2022-04-06T03:30:27.800Z] 699f458cf7ca: Download complete [2022-04-06T03:30:28.074Z] 8998bd30e6a1: Verifying Checksum [2022-04-06T03:30:28.074Z] 8998bd30e6a1: Download complete [2022-04-06T03:30:30.701Z] 2437ff75d9bd: Verifying Checksum [2022-04-06T03:30:30.701Z] 2437ff75d9bd: Download complete [2022-04-06T03:30:32.681Z] 8998bd30e6a1: Pull complete [2022-04-06T03:30:32.956Z] 04944245beec: Pull complete [2022-04-06T03:30:34.392Z] 699f458cf7ca: Pull complete [2022-04-06T03:30:34.666Z] 765212b225bb: Pull complete [2022-04-06T03:30:35.641Z] f23df028b6ca: Pull complete [2022-04-06T03:30:35.912Z] d65c8cfc05b1: Pull complete [2022-04-06T03:30:50.995Z] 2437ff75d9bd: Pull complete [2022-04-06T03:30:50.995Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-06T03:30:50.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T03:30:50.995Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-06T03:30:51.260Z] prd-ubuntu20.04-docker-arm64-4c-16g-10935 does not seem to be running inside a container [2022-04-06T03:30:51.354Z] $ 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-06T03:30:54.289Z] $ docker top dad8b14a6a00f7abe03f6f7d1f4d2806ac7fddac35c31a52cb01199fa2c8b7ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:30:55.236Z] ---> job-cost.sh [2022-04-06T03:30:55.236Z] lf-activate-venv: SKIPPING [2022-04-06T03:30:55.236Z] INFO: No Stack... [2022-04-06T03:30:55.834Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-06T03:30:56.813Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T03:30:57.494Z] + + catcut /w/workspace/device-mqtt-go/2/archives/cost.csv [2022-04-06T03:30:57.495Z] -d, -f6 [Pipeline] lock [2022-04-06T03:30:57.565Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-354-2-stack-cost] [2022-04-06T03:30:57.572Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-354-2-stack-cost] did not exist. Created. [2022-04-06T03:30:57.572Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-354-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T03:30:58.258Z] /w/workspace/device-mqtt-go/2@tmp/durable-2d4bdb91/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-06T03:30:58.939Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-06T03:30:58.965Z] Warning: overwriting stash ‘stack-cost’ [2022-04-06T03:30:59.011Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T03:30:59.018Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-354-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T03:30:59.045Z] $ docker stop --time=1 dad8b14a6a00f7abe03f6f7d1f4d2806ac7fddac35c31a52cb01199fa2c8b7ee [2022-04-06T03:31:00.574Z] $ docker rm -f dad8b14a6a00f7abe03f6f7d1f4d2806ac7fddac35c31a52cb01199fa2c8b7ee [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-06T03:31:01.111Z] provisioning config files... [2022-04-06T03:31:01.119Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/config4894379897301269212tmp [Pipeline] { [Pipeline] sh [2022-04-06T03:31:01.422Z] + set +x [2022-04-06T03:31:01.422Z] + curl -s https://codecov.io/bash [2022-04-06T03:31:01.422Z] + bash -s -- [2022-04-06T03:31:01.422Z] [2022-04-06T03:31:01.422Z] _____ _ [2022-04-06T03:31:01.422Z] / ____| | | [2022-04-06T03:31:01.422Z] | | ___ __| | ___ ___ _____ __ [2022-04-06T03:31:01.422Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-06T03:31:01.422Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-06T03:31:01.422Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-06T03:31:01.422Z] Bash-1.0.6 [2022-04-06T03:31:01.422Z] [2022-04-06T03:31:01.422Z] [2022-04-06T03:31:01.422Z] ==> git version 2.25.1 found [2022-04-06T03:31:01.422Z] ==> 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-06T03:31:01.422Z] Release-Date: 2020-01-08 [2022-04-06T03:31:01.422Z] 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-06T03:31:01.422Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-06T03:31:01.422Z] ==> Jenkins CI detected. [2022-04-06T03:31:01.422Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-354 [2022-04-06T03:31:01.422Z] project root: . [2022-04-06T03:31:01.422Z] --> token set from env [2022-04-06T03:31:01.423Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-06T03:31:01.423Z] ==> Running gcov in . (disable via -X gcov) [2022-04-06T03:31:01.423Z] ==> Python coveragepy not found [2022-04-06T03:31:01.423Z] ==> Searching for coverage reports in: [2022-04-06T03:31:01.423Z] + . [2022-04-06T03:31:01.423Z] -> Found 1 reports [2022-04-06T03:31:01.423Z] ==> Detecting git/mercurial file structure [2022-04-06T03:31:01.423Z] ==> Reading reports [2022-04-06T03:31:01.423Z] + ./coverage.out bytes=17887 [2022-04-06T03:31:01.423Z] ==> Appending adjustments [2022-04-06T03:31:01.423Z] https://docs.codecov.io/docs/fixing-reports [2022-04-06T03:31:01.684Z] + Found adjustments [2022-04-06T03:31:01.684Z] ==> Gzipping contents [2022-04-06T03:31:01.684Z] 4.0K /tmp/codecov.Ms8kfe.gz [2022-04-06T03:31:01.684Z] ==> Uploading reports [2022-04-06T03:31:01.684Z] url: https://codecov.io [2022-04-06T03:31:01.684Z] query: branch=PR-354&commit=8c4cffcb06d8bea3495ca339020850b67768dbc4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-354%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=354&job=&cmd_args= [2022-04-06T03:31:01.684Z] -> Pinging Codecov [2022-04-06T03:31:01.684Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-354&commit=8c4cffcb06d8bea3495ca339020850b67768dbc4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-354%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=354&job=&cmd_args= [2022-04-06T03:31:01.945Z] -> Uploading to [2022-04-06T03:31:01.945Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-06/7D719EC7BBE17E464838252E33014C33/8c4cffcb06d8bea3495ca339020850b67768dbc4/25738372-dd5c-4d4d-a14f-96fe6c448238.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T033101Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c99fbdf59d8f98656ea88e953f616aa53b88578cf57df59c29314affd089abb [2022-04-06T03:31:01.945Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T03:31:01.945Z] Dload Upload Total Spent Left Speed [2022-04-06T03:31:02.207Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 16059 --:--:-- --:--:-- --:--:-- 15980 100 3260 0 0 100 3260 0 14618 --:--:-- --:--:-- --:--:-- 14553 [2022-04-06T03:31:02.207Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/8c4cffcb06d8bea3495ca339020850b67768dbc4 [Pipeline] } [2022-04-06T03:31:02.215Z] 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-06T03:31:02.900Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives ] [2022-04-06T03:31:02.900Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives [2022-04-06T03:31:02.900Z] total 16 [2022-04-06T03:31:02.900Z] drwxr-xr-x 3 root root 4096 Apr 6 03:20 . [2022-04-06T03:31:02.900Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 03:20 .. [2022-04-06T03:31:02.900Z] drwxr-xr-x 2 root root 4096 Apr 6 03:20 cost [2022-04-06T03:31:02.900Z] -rw-r--r-- 1 root root 85 Apr 6 03:20 cost.csv [2022-04-06T03:31:02.900Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives [2022-04-06T03:31:02.900Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives [2022-04-06T03:31:02.900Z] total 16 [2022-04-06T03:31:02.900Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 03:20 . [2022-04-06T03:31:02.900Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 03:20 .. [2022-04-06T03:31:02.900Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 03:20 cost [2022-04-06T03:31:02.900Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 6 03:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:31:03.200Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:31:04.085Z] ---> package-listing.sh [2022-04-06T03:31:04.086Z] ++ facter osfamily [2022-04-06T03:31:04.086Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-06T03:31:04.346Z] + OS_FAMILY=debian [2022-04-06T03:31:04.346Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-354 [2022-04-06T03:31:04.346Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-06T03:31:04.346Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-06T03:31:04.346Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-06T03:31:04.346Z] + PACKAGES=/tmp/packages_start.txt [2022-04-06T03:31:04.346Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-354 ']' [2022-04-06T03:31:04.346Z] + PACKAGES=/tmp/packages_end.txt [2022-04-06T03:31:04.346Z] + case "${OS_FAMILY}" in [2022-04-06T03:31:04.346Z] + dpkg -l [2022-04-06T03:31:04.346Z] + grep '^ii' [2022-04-06T03:31:04.346Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-06T03:31:04.346Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-06T03:31:04.346Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-06T03:31:04.346Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-354 ']' [2022-04-06T03:31:04.346Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives/ [2022-04-06T03:31:04.346Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives/ [Pipeline] echo [2022-04-06T03:31:04.360Z] 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-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-06T03:31:04.643Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-06T03:31:05.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T03:31:05.202Z] . [Pipeline] withDockerContainer [2022-04-06T03:31:05.270Z] prd-ubuntu20.04-docker-8c-8g-10888 does not seem to be running inside a container [2022-04-06T03:31:05.309Z] $ 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-354/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-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@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-06T03:31:05.534Z] $ docker top 4eebe3a3ce8b13a5694838225e2b3fb9fb020c900802d8b3261a535911753eb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T03:31:05.891Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-06T03:31:06.188Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-06T03:31:06.474Z] + ls /var/log/sa-host [2022-04-06T03:31:06.474Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T03:31:06.559Z] provisioning config files... [2022-04-06T03:31:06.569Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/config4304725791489953856tmp [Pipeline] { [Pipeline] echo [2022-04-06T03:31:06.583Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:31:06.868Z] ---> create-netrc.sh [Pipeline] } [2022-04-06T03:31:06.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:31:07.204Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-06T03:31:07.214Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:31:07.508Z] ---> sudo-logs.sh [2022-04-06T03:31:07.508Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-06T03:31:07.533Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:31:07.821Z] ---> job-cost.sh [2022-04-06T03:31:07.822Z] lf-activate-venv: SKIPPING [2022-04-06T03:31:07.822Z] DEBUG: total: 0.2199999988079071 [2022-04-06T03:31:07.822Z] INFO: Retrieving Stack Cost... [2022-04-06T03:31:08.394Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T03:31:08.656Z] INFO: Archiving Costs [Pipeline] echo [2022-04-06T03:31:08.673Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T03:31:08.962Z] ---> logs-deploy.sh [2022-04-06T03:31:08.962Z] lf-activate-venv: SKIPPING [2022-04-06T03:31:08.962Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-354/2 [2022-04-06T03:31:08.962Z] INFO: archiving workspace using pattern(s): [2022-04-06T03:31:09.903Z] Archives upload complete. [2022-04-06T03:31:09.903Z] INFO: archiving logs to Nexus