Pull request #378 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 2c827a9d98d942daa042874c4a261230ad0958f3+9e5ff16ea29b888a79edc386c2a8af4882824547 (be19fdc29e9996e7094a4d9c7a44d5a7cd38c6de) 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-ssh16883783276625709967.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh3017418657750591759.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-378/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-378/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8210630747088232026.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh4276191652634313148.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-378/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-378/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6212102560565016433.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 ‘prd-ubuntu20.04-docker-8c-8g-44842’ Running on prd-ubuntu20.04-docker-8c-8g-44844 in /w/workspace/gexfoundry_device-mqtt-go_PR-378 [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-378 # 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 9e5ff16ea29b888a79edc386c2a8af4882824547 into PR head commit 2c827a9d98d942daa042874c4a261230ad0958f3 Merge succeeded, producing 2c827a9d98d942daa042874c4a261230ad0958f3 Checking out Revision 2c827a9d98d942daa042874c4a261230ad0958f3 (PR-378) > 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/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c827a9d98d942daa042874c4a261230ad0958f3 # 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 9e5ff16ea29b888a79edc386c2a8af4882824547 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c827a9d98d942daa042874c4a261230ad0958f3 # timeout=10 Commit message: "docs: additions to CHANGELOG" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T06:27:35.001Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 2653758dea4219ff41005db205ea611b60315acb # timeout=10 [Pipeline] withCredentials [2022-05-10T06:27:35.065Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T06:27:35.082Z] ========================================================= [2022-05-10T06:27:35.082Z] EdgeX Global Pipelines Version Info [2022-05-10T06:27:35.082Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:27:35.865Z] ------------------- [2022-05-10T06:27:35.865Z] stable info: [2022-05-10T06:27:35.865Z] ------------------- [2022-05-10T06:27:35.865Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T06:27:35.865Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T06:27:35.865Z] Message: update stable to v1.0.227 [2022-05-10T06:27:36.438Z] ------------------- [2022-05-10T06:27:36.438Z] experimental info: [2022-05-10T06:27:36.438Z] ------------------- [2022-05-10T06:27:36.438Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T06:27:36.438Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T06:27:36.438Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T06:27:36.592Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-05-10T06:27:36.608Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-05-10T06:27:36.624Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T06:27:36.641Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T06:27:36.655Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T06:27:36.668Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T06:27:36.680Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T06:27:36.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T06:27:36.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T06:27:36.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T06:27:36.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T06:27:36.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-05-10T06:27:36.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T06:27:36.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T06:27:36.798Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T06:27:36.815Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T06:27:36.830Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T06:27:36.848Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T06:27:36.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T06:27:36.889Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T06:27:36.902Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T06:27:36.914Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T06:27:36.929Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T06:27:36.944Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T06:27:36.956Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T06:27:36.968Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T06:27:36.981Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-378 [Pipeline] echo [2022-05-10T06:27:36.992Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-378 [Pipeline] echo [2022-05-10T06:27:37.012Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-378 [Pipeline] echo [2022-05-10T06:27:37.030Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c827a9d98d942daa042874c4a261230ad0958f3 [Pipeline] echo [2022-05-10T06:27:37.047Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c827a9 [Pipeline] echo [2022-05-10T06:27:37.066Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T06:27:37.109Z] provisioning config files... [2022-05-10T06:27:37.125Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config6436533804318202172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:27:37.443Z] ---> docker-login.sh [2022-05-10T06:27:37.443Z] nexus3.edgexfoundry.org:10001 [2022-05-10T06:27:37.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:27:37.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:27:37.705Z] Configure a credential helper to remove this warning. See [2022-05-10T06:27:37.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:27:37.705Z] [2022-05-10T06:27:37.705Z] Login Succeeded [2022-05-10T06:27:37.705Z] nexus3.edgexfoundry.org:10002 [2022-05-10T06:27:37.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:27:37.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:27:37.967Z] Configure a credential helper to remove this warning. See [2022-05-10T06:27:37.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:27:37.967Z] [2022-05-10T06:27:37.967Z] Login Succeeded [2022-05-10T06:27:37.967Z] nexus3.edgexfoundry.org:10003 [2022-05-10T06:27:37.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:27:37.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:27:37.967Z] Configure a credential helper to remove this warning. See [2022-05-10T06:27:37.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:27:37.967Z] [2022-05-10T06:27:37.967Z] Login Succeeded [2022-05-10T06:27:37.967Z] nexus3.edgexfoundry.org:10004 [2022-05-10T06:27:38.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:27:38.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:27:38.228Z] Configure a credential helper to remove this warning. See [2022-05-10T06:27:38.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:27:38.228Z] [2022-05-10T06:27:38.228Z] Login Succeeded [2022-05-10T06:27:38.228Z] docker.io [2022-05-10T06:27:38.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:27:38.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:27:38.803Z] Configure a credential helper to remove this warning. See [2022-05-10T06:27:38.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:27:38.803Z] [2022-05-10T06:27:38.803Z] Login Succeeded [2022-05-10T06:27:38.803Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T06:27:38.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T06:27:39.190Z] + git rev-list -1 --merges 2c827a9d98d942daa042874c4a261230ad0958f3~1..2c827a9d98d942daa042874c4a261230ad0958f3 [Pipeline] echo [2022-05-10T06:27:39.229Z] -----------> git rev-list -1 --merges 2c827a9d98d942daa042874c4a261230ad0958f3~1..2c827a9d98d942daa042874c4a261230ad0958f3 2c827a9d98d942daa042874c4a261230ad0958f3 [false] [Pipeline] sh [2022-05-10T06:27:39.523Z] + git log --format=format:%s -1 2c827a9d98d942daa042874c4a261230ad0958f3 [Pipeline] echo [2022-05-10T06:27:39.540Z] ========================================================= [2022-05-10T06:27:39.540Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T06:27:39.540Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T06:27:39.886Z] + git log --format=format:%s -1 2c827a9d98d942daa042874c4a261230ad0958f3 [Pipeline] echo [2022-05-10T06:27:39.905Z] [semverPrep] GIT_COMMIT: 2c827a9d98d942daa042874c4a261230ad0958f3, Commit Message: docs: additions to CHANGELOG [Pipeline] echo [2022-05-10T06:27:39.916Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T06:27:40.345Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T06:27:40.345Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T06:27:40.345Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T06:27:40.345Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T06:27:40.345Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T06:27:40.345Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T06:27:40.345Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:27:40.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T06:27:40.782Z] [2022-05-10T06:27:40.782Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:27:41.094Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T06:27:41.094Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T06:27:41.094Z] 1fe172e4850f: Pulling fs layer [2022-05-10T06:27:41.094Z] caf521ccaac6: Pulling fs layer [2022-05-10T06:27:41.094Z] 3ead6fa29328: Pulling fs layer [2022-05-10T06:27:41.094Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T06:27:41.094Z] a8d5f1318db7: Pulling fs layer [2022-05-10T06:27:41.094Z] c427282e49a2: Pulling fs layer [2022-05-10T06:27:41.094Z] 1827001aaf11: Pulling fs layer [2022-05-10T06:27:41.094Z] 0714d37db230: Pulling fs layer [2022-05-10T06:27:41.094Z] ac28cf19c067: Pulling fs layer [2022-05-10T06:27:41.094Z] ca983d60f3e2: Pulling fs layer [2022-05-10T06:27:41.094Z] 9f894cec8388: Pulling fs layer [2022-05-10T06:27:41.094Z] 5c2a1cbceb83: Waiting [2022-05-10T06:27:41.094Z] a8d5f1318db7: Waiting [2022-05-10T06:27:41.094Z] 0714d37db230: Waiting [2022-05-10T06:27:41.094Z] 9f894cec8388: Waiting [2022-05-10T06:27:41.094Z] c427282e49a2: Waiting [2022-05-10T06:27:41.094Z] ac28cf19c067: Waiting [2022-05-10T06:27:41.094Z] 1827001aaf11: Waiting [2022-05-10T06:27:41.094Z] ca983d60f3e2: Waiting [2022-05-10T06:27:41.094Z] caf521ccaac6: Verifying Checksum [2022-05-10T06:27:41.094Z] caf521ccaac6: Download complete [2022-05-10T06:27:41.094Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T06:27:41.094Z] 5c2a1cbceb83: Download complete [2022-05-10T06:27:41.357Z] a8d5f1318db7: Verifying Checksum [2022-05-10T06:27:41.357Z] a8d5f1318db7: Download complete [2022-05-10T06:27:41.357Z] 3ead6fa29328: Verifying Checksum [2022-05-10T06:27:41.357Z] 3ead6fa29328: Download complete [2022-05-10T06:27:41.357Z] c427282e49a2: Verifying Checksum [2022-05-10T06:27:41.357Z] 0714d37db230: Download complete [2022-05-10T06:27:41.357Z] ac28cf19c067: Download complete [2022-05-10T06:27:41.357Z] ca983d60f3e2: Download complete [2022-05-10T06:27:41.357Z] 9f894cec8388: Download complete [2022-05-10T06:27:41.357Z] 1fe172e4850f: Download complete [2022-05-10T06:27:41.621Z] 1827001aaf11: Verifying Checksum [2022-05-10T06:27:41.621Z] 1827001aaf11: Download complete [2022-05-10T06:27:43.015Z] 1fe172e4850f: Pull complete [2022-05-10T06:27:43.015Z] caf521ccaac6: Pull complete [2022-05-10T06:27:43.590Z] 3ead6fa29328: Pull complete [2022-05-10T06:27:43.590Z] 5c2a1cbceb83: Pull complete [2022-05-10T06:27:44.161Z] a8d5f1318db7: Pull complete [2022-05-10T06:27:44.161Z] c427282e49a2: Pull complete [2022-05-10T06:27:46.087Z] 1827001aaf11: Pull complete [2022-05-10T06:27:46.348Z] 0714d37db230: Pull complete [2022-05-10T06:27:46.612Z] ac28cf19c067: Pull complete [2022-05-10T06:27:46.612Z] ca983d60f3e2: Pull complete [2022-05-10T06:27:46.612Z] 9f894cec8388: Pull complete [2022-05-10T06:27:46.612Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T06:27:46.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T06:27:46.612Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T06:27:46.696Z] prd-ubuntu20.04-docker-8c-8g-44844 does not seem to be running inside a container [2022-05-10T06:27:46.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@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-devops/py-git-semver:latest cat [2022-05-10T06:27:50.449Z] $ docker top 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 -eo pid,comm [2022-05-10T06:27:50.507Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-10T06:27:50.507Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T06:27:50.542Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T06:27:50.542Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T06:27:50.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T06:27:50.697Z] $ docker exec 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 ssh-agent [2022-05-10T06:27:50.822Z] SSH_AUTH_SOCK=/tmp/ssh-7687eUY7d3OZ/agent.34 [2022-05-10T06:27:50.822Z] SSH_AGENT_PID=40 [2022-05-10T06:27:50.831Z] Running ssh-add (command line suppressed) [2022-05-10T06:27:50.973Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_2106486420154420255.key (/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_2106486420154420255.key) [2022-05-10T06:27:50.972Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T06:27:51.265Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T06:27:51.297Z] $ docker exec --env ******** --env ******** 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 ssh-agent -k [2022-05-10T06:27:51.411Z] unset SSH_AUTH_SOCK; [2022-05-10T06:27:51.412Z] unset SSH_AGENT_PID; [2022-05-10T06:27:51.412Z] echo Agent pid 40 killed; [2022-05-10T06:27:51.408Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T06:27:51.439Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T06:27:51.439Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T06:27:51.563Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T06:27:51.584Z] $ docker exec 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 ssh-agent [2022-05-10T06:27:51.698Z] SSH_AUTH_SOCK=/tmp/ssh-ROaZyknkvbpg/agent.72 [2022-05-10T06:27:51.698Z] SSH_AGENT_PID=79 [2022-05-10T06:27:51.703Z] Running ssh-add (command line suppressed) [2022-05-10T06:27:51.840Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_1960513198599897801.key (/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_1960513198599897801.key) [2022-05-10T06:27:51.841Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T06:27:52.138Z] + git semver init [2022-05-10T06:27:52.400Z] 2022-05-10 06:27:52,358 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T06:27:52.400Z] 2022-05-10 06:27:52,359 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver [2022-05-10T06:27:52.400Z] 2022-05-10 06:27:52,359 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver [2022-05-10T06:27:52.400Z] 2022-05-10 06:27:52,360 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378, universal_newlines=False, shell=None, istream=None) [2022-05-10T06:27:53.344Z] 2022-05-10 06:27:53,169 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.git/info/exclude [2022-05-10T06:27:53.344Z] 2022-05-10 06:27:53,169 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 with force:False [2022-05-10T06:27:53.345Z] 2022-05-10 06:27:53,170 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 [2022-05-10T06:27:53.345Z] 2022-05-10 06:27:53,174 [execute] INFO git cat-file --batch-check [2022-05-10T06:27:53.345Z] 2022-05-10 06:27:53,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T06:27:53.345Z] 2022-05-10 06:27:53,180 [execute] INFO git cat-file --batch [2022-05-10T06:27:53.345Z] 2022-05-10 06:27:53,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T06:27:53.345Z] 2022-05-10 06:27:53,186 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 [2022-05-10T06:27:53.345Z] 0.0.0 [Pipeline] } [2022-05-10T06:27:53.373Z] $ docker exec --env ******** --env ******** 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 ssh-agent -k [2022-05-10T06:27:53.484Z] unset SSH_AUTH_SOCK; [2022-05-10T06:27:53.485Z] unset SSH_AGENT_PID; [2022-05-10T06:27:53.485Z] echo Agent pid 79 killed; [2022-05-10T06:27:53.481Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T06:27:53.796Z] + git semver [Pipeline] } [2022-05-10T06:27:54.099Z] $ docker stop --time=1 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 [2022-05-10T06:27:55.491Z] $ docker rm -f 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T06:27:55.847Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T06:27:56.115Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T06:27:56.119Z] [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-05-10T06:27:56.281Z] provisioning config files... [2022-05-10T06:27:56.292Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config4057720539823321930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:27:56.599Z] ---> docker-login.sh [2022-05-10T06:27:56.599Z] nexus3.edgexfoundry.org:10001 [2022-05-10T06:27:56.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:27:56.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:27:56.599Z] Configure a credential helper to remove this warning. See [2022-05-10T06:27:56.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:27:56.599Z] [2022-05-10T06:27:56.599Z] Login Succeeded [2022-05-10T06:27:56.599Z] nexus3.edgexfoundry.org:10002 [2022-05-10T06:27:56.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:27:56.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:27:56.861Z] Configure a credential helper to remove this warning. See [2022-05-10T06:27:56.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:27:56.861Z] [2022-05-10T06:27:56.861Z] Login Succeeded [2022-05-10T06:27:56.861Z] nexus3.edgexfoundry.org:10003 [2022-05-10T06:27:56.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:27:56.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:27:56.861Z] Configure a credential helper to remove this warning. See [2022-05-10T06:27:56.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:27:56.861Z] [2022-05-10T06:27:56.861Z] Login Succeeded [2022-05-10T06:27:56.861Z] nexus3.edgexfoundry.org:10004 [2022-05-10T06:27:57.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:27:57.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:27:57.123Z] Configure a credential helper to remove this warning. See [2022-05-10T06:27:57.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:27:57.123Z] [2022-05-10T06:27:57.123Z] Login Succeeded [2022-05-10T06:27:57.123Z] docker.io [2022-05-10T06:27:57.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:27:57.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:27:57.387Z] Configure a credential helper to remove this warning. See [2022-05-10T06:27:57.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:27:57.387Z] [2022-05-10T06:27:57.387Z] Login Succeeded [2022-05-10T06:27:57.387Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T06:27:57.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T06:27:57.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T06:27:57.481Z] ========================================================= [2022-05-10T06:27:57.481Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T06:27:57.481Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:27:57.794Z] + 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-05-10T06:27:57.794Z] Sending build context to Docker daemon 5.882MB [2022-05-10T06:27:57.794Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T06:27:57.794Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T06:27:57.794Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T06:27:57.794Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T06:27:57.794Z] 666ba61612fd: Pulling fs layer [2022-05-10T06:27:57.794Z] 8ed8ca486205: Pulling fs layer [2022-05-10T06:27:57.794Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T06:27:57.794Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T06:27:57.794Z] ca2b28591e48: Pulling fs layer [2022-05-10T06:27:57.794Z] a51346096db8: Pulling fs layer [2022-05-10T06:27:57.794Z] daebc70d1ce1: Pulling fs layer [2022-05-10T06:27:57.794Z] 0e18a0eac166: Pulling fs layer [2022-05-10T06:27:57.794Z] ca2b28591e48: Waiting [2022-05-10T06:27:57.794Z] daebc70d1ce1: Waiting [2022-05-10T06:27:57.794Z] a51346096db8: Waiting [2022-05-10T06:27:57.794Z] 0e18a0eac166: Waiting [2022-05-10T06:27:57.794Z] 4fe6c5a15a65: Waiting [2022-05-10T06:27:57.794Z] 22a0e8bec74d: Waiting [2022-05-10T06:27:57.794Z] 8ed8ca486205: Verifying Checksum [2022-05-10T06:27:57.794Z] 8ed8ca486205: Download complete [2022-05-10T06:27:57.794Z] 666ba61612fd: Download complete [2022-05-10T06:27:58.056Z] 22a0e8bec74d: Download complete [2022-05-10T06:27:58.056Z] 59bf1c3509f3: Download complete [2022-05-10T06:27:58.056Z] ca2b28591e48: Verifying Checksum [2022-05-10T06:27:58.056Z] ca2b28591e48: Download complete [2022-05-10T06:27:58.056Z] a51346096db8: Verifying Checksum [2022-05-10T06:27:58.056Z] a51346096db8: Download complete [2022-05-10T06:27:58.056Z] daebc70d1ce1: Download complete [2022-05-10T06:27:58.056Z] 59bf1c3509f3: Pull complete [2022-05-10T06:27:58.318Z] 666ba61612fd: Pull complete [2022-05-10T06:27:58.318Z] 8ed8ca486205: Pull complete [2022-05-10T06:27:58.891Z] 0e18a0eac166: Verifying Checksum [2022-05-10T06:27:58.891Z] 0e18a0eac166: Download complete [2022-05-10T06:27:58.891Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T06:27:58.891Z] 4fe6c5a15a65: Download complete [2022-05-10T06:28:03.097Z] 4fe6c5a15a65: Pull complete [2022-05-10T06:28:03.097Z] 22a0e8bec74d: Pull complete [2022-05-10T06:28:03.097Z] ca2b28591e48: Pull complete [2022-05-10T06:28:03.097Z] a51346096db8: Pull complete [2022-05-10T06:28:03.097Z] daebc70d1ce1: Pull complete [2022-05-10T06:28:05.640Z] 0e18a0eac166: Pull complete [2022-05-10T06:28:05.640Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T06:28:05.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T06:28:05.640Z] ---> f018257e8ee9 [2022-05-10T06:28:05.640Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T06:28:07.029Z] ---> Running in 5c433a5b022d [2022-05-10T06:28:07.289Z] Removing intermediate container 5c433a5b022d [2022-05-10T06:28:07.289Z] ---> eaa64c501105 [2022-05-10T06:28:07.289Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T06:28:07.289Z] ---> Running in 4caf7eb0f884 [2022-05-10T06:28:07.289Z] Removing intermediate container 4caf7eb0f884 [2022-05-10T06:28:07.289Z] ---> 7b51b11a0639 [2022-05-10T06:28:07.289Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:28:07.550Z] ---> Running in 1ba944eb87b5 [2022-05-10T06:28:08.127Z] Removing intermediate container 1ba944eb87b5 [2022-05-10T06:28:08.127Z] ---> 95afa2bbeb93 [2022-05-10T06:28:08.127Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T06:28:08.127Z] ---> Running in 01f01837594b [2022-05-10T06:28:08.388Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T06:28:09.331Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T06:28:09.591Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T06:28:09.591Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T06:28:09.591Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T06:28:09.852Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T06:28:09.852Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T06:28:09.852Z] OK: 224 MiB in 56 packages [2022-05-10T06:28:10.422Z] Removing intermediate container 01f01837594b [2022-05-10T06:28:10.422Z] ---> c1d7228cbf72 [2022-05-10T06:28:10.422Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-10T06:28:10.422Z] ---> Running in 656c07b506c6 [2022-05-10T06:28:10.422Z] Removing intermediate container 656c07b506c6 [2022-05-10T06:28:10.422Z] ---> 2f63fe385ae4 [2022-05-10T06:28:10.422Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-10T06:28:10.683Z] ---> 425ff061920f [2022-05-10T06:28:10.683Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T06:28:10.683Z] ---> Running in 9a505d851daf [2022-05-10T06:28:11.227Z] Still waiting to schedule task [2022-05-10T06:28:11.227Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-44843’ is offline [2022-05-10T06:28:28.796Z] Removing intermediate container 9a505d851daf [2022-05-10T06:28:28.797Z] ---> 8fb9440e4c2f [2022-05-10T06:28:28.797Z] Step 10/12 : COPY . . [2022-05-10T06:28:28.797Z] ---> 7c46fec9b0b8 [2022-05-10T06:28:28.797Z] Step 11/12 : ARG MAKE='make build' [2022-05-10T06:28:28.797Z] ---> Running in 80ca99ac3fbc [2022-05-10T06:28:28.797Z] Removing intermediate container 80ca99ac3fbc [2022-05-10T06:28:28.797Z] ---> f4508755407a [2022-05-10T06:28:28.797Z] Step 12/12 : RUN $MAKE [2022-05-10T06:28:29.059Z] ---> Running in 1bec04d961ce [2022-05-10T06:28:29.320Z] noop [2022-05-10T06:28:29.580Z] Removing intermediate container 1bec04d961ce [2022-05-10T06:28:29.580Z] ---> d9e5b8dc5f2b [2022-05-10T06:28:29.580Z] Successfully built d9e5b8dc5f2b [2022-05-10T06:28:29.580Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:28:29.878Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T06:28:29.878Z] . [Pipeline] withDockerContainer [2022-05-10T06:28:29.947Z] prd-ubuntu20.04-docker-8c-8g-44844 does not seem to be running inside a container [2022-05-10T06:28:29.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T06:28:30.399Z] $ docker top 2bce63f8b56706996fb582970e645f26aa71dd7d2af83323bb7571fe9215629a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T06:28:30.754Z] + go version [2022-05-10T06:28:30.755Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T06:28:30.775Z] $ docker stop --time=1 2bce63f8b56706996fb582970e645f26aa71dd7d2af83323bb7571fe9215629a [2022-05-10T06:28:32.044Z] $ docker rm -f 2bce63f8b56706996fb582970e645f26aa71dd7d2af83323bb7571fe9215629a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:28:32.452Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T06:28:32.452Z] . [Pipeline] withDockerContainer [2022-05-10T06:28:32.548Z] prd-ubuntu20.04-docker-8c-8g-44844 does not seem to be running inside a container [2022-05-10T06:28:32.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T06:28:33.146Z] $ docker top 31e2eb19acf3f0fa03a5a1a9208bbdc298fdb31d18441e969073f9b4e81e764d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T06:28:33.570Z] + make test [2022-05-10T06:28:33.570Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T06:28:34.139Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-10T06:28:44.129Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-10T06:28:44.129Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-05-10T06:28:44.129Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-10T06:28:52.346Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T06:28:54.884Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T06:28:54.884Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T06:28:54.884Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T06:28:55.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T06:28:55.489Z] $ docker stop --time=1 31e2eb19acf3f0fa03a5a1a9208bbdc298fdb31d18441e969073f9b4e81e764d [2022-05-10T06:28:57.315Z] $ docker rm -f 31e2eb19acf3f0fa03a5a1a9208bbdc298fdb31d18441e969073f9b4e81e764d [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T06:28:57.760Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T06:28:57.804Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T06:28:58.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T06:28:58.776Z] + ls -al . [2022-05-10T06:28:58.776Z] total 180 [2022-05-10T06:28:58.776Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:28 . [2022-05-10T06:28:58.776Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:27 .. [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:27 .dockerignore [2022-05-10T06:28:58.776Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:27 .git [2022-05-10T06:28:58.776Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:27 .github [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 06:27 .gitignore [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:27 .golangci.yml [2022-05-10T06:28:58.776Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:27 .semver [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 10 06:27 Attribution.txt [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 10 06:27 CHANGELOG.md [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 06:27 Dockerfile [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:27 GOVERNANCE.md [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 678 May 10 06:27 Jenkinsfile [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:27 LICENSE [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 06:27 Makefile [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 06:27 OWNERS.md [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 10 06:27 README.md [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:27 VERSION [2022-05-10T06:28:58.776Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:27 bin [2022-05-10T06:28:58.776Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:27 cmd [2022-05-10T06:28:58.776Z] -rw-r--r-- 1 jenkins jenkins 17887 May 10 06:28 coverage.out [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 3309 May 10 06:27 go.mod [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 35490 May 10 06:27 go.sum [2022-05-10T06:28:58.776Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:27 internal [2022-05-10T06:28:58.776Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:27 mock [2022-05-10T06:28:58.776Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:27 snap [2022-05-10T06:28:58.776Z] -rw-rw-r-- 1 jenkins jenkins 227 May 10 06:27 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:28:59.077Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2c827a9d98d942daa042874c4a261230ad0958f3 --label arch=amd64 --label version=0.0.0 . [2022-05-10T06:28:59.077Z] Sending build context to Docker daemon 5.9MB [2022-05-10T06:28:59.077Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T06:28:59.077Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-10T06:28:59.077Z] ---> d9e5b8dc5f2b [2022-05-10T06:28:59.077Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T06:28:59.338Z] ---> Running in 6b91bc41514c [2022-05-10T06:28:59.338Z] Removing intermediate container 6b91bc41514c [2022-05-10T06:28:59.338Z] ---> 8537e4708324 [2022-05-10T06:28:59.338Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T06:28:59.338Z] ---> Running in 53dd3814caaf [2022-05-10T06:28:59.338Z] Removing intermediate container 53dd3814caaf [2022-05-10T06:28:59.338Z] ---> 90ca5a11aa3a [2022-05-10T06:28:59.338Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:28:59.598Z] ---> Running in b9dc090547f0 [2022-05-10T06:29:00.171Z] Removing intermediate container b9dc090547f0 [2022-05-10T06:29:00.171Z] ---> c22eb481814e [2022-05-10T06:29:00.171Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T06:29:00.431Z] ---> Running in 0be77c86dd39 [2022-05-10T06:29:00.693Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T06:29:01.636Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T06:29:01.896Z] OK: 224 MiB in 56 packages [2022-05-10T06:29:02.467Z] Removing intermediate container 0be77c86dd39 [2022-05-10T06:29:02.467Z] ---> 7c9f5ec69935 [2022-05-10T06:29:02.467Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-10T06:29:02.467Z] ---> Running in c8ebe7dd82ee [2022-05-10T06:29:02.730Z] Removing intermediate container c8ebe7dd82ee [2022-05-10T06:29:02.730Z] ---> ce418b4c97ef [2022-05-10T06:29:02.730Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-10T06:29:02.991Z] ---> 27cb335d88ef [2022-05-10T06:29:02.991Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T06:29:02.991Z] ---> Running in 2b30b6ae2eb1 [2022-05-10T06:29:03.560Z] Removing intermediate container 2b30b6ae2eb1 [2022-05-10T06:29:03.560Z] ---> 4d740357aaac [2022-05-10T06:29:03.560Z] Step 10/24 : COPY . . [2022-05-10T06:29:04.129Z] ---> f1df84ebef58 [2022-05-10T06:29:04.129Z] Step 11/24 : ARG MAKE='make build' [2022-05-10T06:29:04.129Z] ---> Running in 4524f49bfbf9 [2022-05-10T06:29:04.129Z] Removing intermediate container 4524f49bfbf9 [2022-05-10T06:29:04.129Z] ---> 0ac983de352c [2022-05-10T06:29:04.129Z] Step 12/24 : RUN $MAKE [2022-05-10T06:29:04.129Z] ---> Running in e6ef7a6acfe9 [2022-05-10T06:29:04.389Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-05-10T06:29:26.344Z] Removing intermediate container e6ef7a6acfe9 [2022-05-10T06:29:26.344Z] ---> b6e7210d7e22 [2022-05-10T06:29:26.344Z] Step 13/24 : FROM alpine:3.14 [2022-05-10T06:29:26.344Z] 3.14: Pulling from library/alpine [2022-05-10T06:29:26.344Z] 8663204ce13b: Pulling fs layer [2022-05-10T06:29:26.344Z] error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/e0/e04c818066afe78a0c9379f62ec65aece28566024fd348242de92760293454b8/data?verify=1652167164-9p1lOmZqcuMCVVD9I%2BIjip%2BArgs%3D": dial tcp: lookup production.cloudflare.docker.com: device or resource busy [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:29:26.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T06:29:26.737Z] [2022-05-10T06:29:26.737Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:29:27.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T06:29:27.038Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T06:29:27.038Z] 5eb5b503b376: Pulling fs layer [2022-05-10T06:29:27.038Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T06:29:27.038Z] ec43610c2a17: Pulling fs layer [2022-05-10T06:29:27.038Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T06:29:27.038Z] 33b1e0a273af: Pulling fs layer [2022-05-10T06:29:27.038Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T06:29:27.038Z] 2f39f015ded8: Pulling fs layer [2022-05-10T06:29:27.038Z] 5d3b04190fa2: Waiting [2022-05-10T06:29:27.038Z] 33b1e0a273af: Waiting [2022-05-10T06:29:27.038Z] 3a2ae6a8a46f: Waiting [2022-05-10T06:29:27.038Z] 2f39f015ded8: Waiting [2022-05-10T06:29:27.038Z] 5c69ac0246d0: Verifying Checksum [2022-05-10T06:29:27.038Z] 5c69ac0246d0: Download complete [2022-05-10T06:29:27.038Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T06:29:27.038Z] 3a2ae6a8a46f: Download complete [2022-05-10T06:29:27.038Z] 33b1e0a273af: Verifying Checksum [2022-05-10T06:29:27.038Z] 33b1e0a273af: Download complete [2022-05-10T06:29:27.297Z] ec43610c2a17: Verifying Checksum [2022-05-10T06:29:27.297Z] ec43610c2a17: Download complete [2022-05-10T06:29:27.297Z] 5d3b04190fa2: Download complete [2022-05-10T06:29:27.297Z] 5eb5b503b376: Verifying Checksum [2022-05-10T06:29:27.297Z] 5eb5b503b376: Download complete [2022-05-10T06:29:27.867Z] 2f39f015ded8: Download complete [2022-05-10T06:29:28.436Z] 5eb5b503b376: Pull complete [2022-05-10T06:29:28.695Z] 5c69ac0246d0: Pull complete [2022-05-10T06:29:29.262Z] ec43610c2a17: Pull complete [2022-05-10T06:29:29.262Z] 3a2ae6a8a46f: Pull complete [2022-05-10T06:29:29.521Z] 33b1e0a273af: Pull complete [2022-05-10T06:29:29.521Z] 5d3b04190fa2: Pull complete [2022-05-10T06:29:34.803Z] 2f39f015ded8: Pull complete [2022-05-10T06:29:34.803Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T06:29:34.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T06:29:34.803Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T06:29:34.875Z] prd-ubuntu20.04-docker-8c-8g-44844 does not seem to be running inside a container [2022-05-10T06:29:34.919Z] $ 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-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T06:29:37.461Z] $ docker top 5488993eedc12aa51923b33bec2b7a6f1a9c10bdd90afba1c598fffd935dc9fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:29:37.885Z] ---> job-cost.sh [2022-05-10T06:29:37.885Z] lf-activate-venv: SKIPPING [2022-05-10T06:29:37.885Z] INFO: No Stack... [2022-05-10T06:29:38.144Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T06:29:38.714Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T06:29:39.009Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/cost.csv [2022-05-10T06:29:39.009Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T06:29:39.023Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] [2022-05-10T06:29:39.029Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] did not exist. Created. [2022-05-10T06:29:39.029Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T06:29:39.330Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T06:29:39.367Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T06:29:39.373Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T06:29:39.396Z] $ docker stop --time=1 5488993eedc12aa51923b33bec2b7a6f1a9c10bdd90afba1c598fffd935dc9fa [2022-05-10T06:29:40.569Z] $ docker rm -f 5488993eedc12aa51923b33bec2b7a6f1a9c10bdd90afba1c598fffd935dc9fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T06:29:40.685Z] Failed in branch amd64 [2022-05-10T06:29:53.791Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-44848 in /w/workspace/gexfoundry_device-mqtt-go_PR-378 [Pipeline] { [Pipeline] ws [2022-05-10T06:29:53.808Z] Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout [2022-05-10T06:29:54.075Z] Selected Git installation does not exist. Using Default [2022-05-10T06:29:54.075Z] The recommended git tool is: NONE [2022-05-10T06:30:00.085Z] using credential edgex-jenkins-ssh [2022-05-10T06:30:00.104Z] Cloning the remote Git repository [2022-05-10T06:30:00.188Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-10T06:30:00.273Z] > git init /w/workspace/device-mqtt-go/4 # timeout=10 [2022-05-10T06:30:00.378Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-10T06:30:00.379Z] > git --version # timeout=10 [2022-05-10T06:30:00.402Z] > git --version # 'git version 2.25.1' [2022-05-10T06:30:00.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T06:30:00.477Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T06:30:01.550Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-05-10T06:30:01.614Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T06:30:01.648Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-05-10T06:30:02.566Z] Merging remotes/origin/main commit 9e5ff16ea29b888a79edc386c2a8af4882824547 into PR head commit 2c827a9d98d942daa042874c4a261230ad0958f3 [2022-05-10T06:30:02.778Z] Merge succeeded, producing 2c827a9d98d942daa042874c4a261230ad0958f3 [2022-05-10T06:30:02.779Z] Checking out Revision 2c827a9d98d942daa042874c4a261230ad0958f3 (PR-378) [2022-05-10T06:30:01.711Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-10T06:30:01.712Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T06:30:01.741Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-10T06:30:02.593Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T06:30:02.618Z] > git checkout -f 2c827a9d98d942daa042874c4a261230ad0958f3 # timeout=10 [2022-05-10T06:30:02.704Z] > git remote # timeout=10 [2022-05-10T06:30:02.721Z] > git config --get remote.origin.url # timeout=10 [2022-05-10T06:30:02.737Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T06:30:02.748Z] > git merge 9e5ff16ea29b888a79edc386c2a8af4882824547 # timeout=10 [2022-05-10T06:30:02.771Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-10T06:30:02.792Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T06:30:02.805Z] > git checkout -f 2c827a9d98d942daa042874c4a261230ad0958f3 # timeout=10 [2022-05-10T06:30:06.969Z] Commit message: "docs: additions to CHANGELOG" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T06:30:07.810Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T06:30:07.810Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T06:30:07.810Z] Dload Upload Total Spent Left Speed [2022-05-10T06:30:07.810Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 96284 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh [2022-05-10T06:30:08.311Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T06:30:08.651Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-05-10T06:30:08.651Z] /etc/docker/daemon.new [2022-05-10T06:30:08.651Z] { [2022-05-10T06:30:08.651Z] "registry-mirrors": [ [2022-05-10T06:30:08.651Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T06:30:08.651Z] ], [2022-05-10T06:30:08.651Z] "bip": "10.250.0.254/24", [2022-05-10T06:30:08.651Z] "hosts": [ [2022-05-10T06:30:08.651Z] "tcp://0.0.0.0:5555", [2022-05-10T06:30:08.651Z] "unix:///var/run/docker.sock" [2022-05-10T06:30:08.651Z] ], [2022-05-10T06:30:08.651Z] "mtu": 1458, [2022-05-10T06:30:08.651Z] "selinux-enabled": true, [2022-05-10T06:30:08.651Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T06:30:08.651Z] } [Pipeline] sh [2022-05-10T06:30:09.086Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T06:30:09.505Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T06:30:27.878Z] provisioning config files... [2022-05-10T06:30:27.902Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config5156213153733092664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:30:28.262Z] ---> docker-login.sh [2022-05-10T06:30:28.262Z] nexus3.edgexfoundry.org:10001 [2022-05-10T06:30:28.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:30:29.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:30:29.130Z] Configure a credential helper to remove this warning. See [2022-05-10T06:30:29.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:30:29.130Z] [2022-05-10T06:30:29.130Z] Login Succeeded [2022-05-10T06:30:29.130Z] nexus3.edgexfoundry.org:10002 [2022-05-10T06:30:29.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:30:29.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:30:29.403Z] Configure a credential helper to remove this warning. See [2022-05-10T06:30:29.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:30:29.403Z] [2022-05-10T06:30:29.403Z] Login Succeeded [2022-05-10T06:30:29.403Z] nexus3.edgexfoundry.org:10003 [2022-05-10T06:30:29.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:30:29.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:30:29.955Z] Configure a credential helper to remove this warning. See [2022-05-10T06:30:29.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:30:29.955Z] [2022-05-10T06:30:29.955Z] Login Succeeded [2022-05-10T06:30:29.955Z] nexus3.edgexfoundry.org:10004 [2022-05-10T06:30:30.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:30:30.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:30:30.231Z] Configure a credential helper to remove this warning. See [2022-05-10T06:30:30.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:30:30.231Z] [2022-05-10T06:30:30.231Z] Login Succeeded [2022-05-10T06:30:30.504Z] docker.io [2022-05-10T06:30:30.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T06:30:31.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T06:30:31.049Z] Configure a credential helper to remove this warning. See [2022-05-10T06:30:31.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T06:30:31.049Z] [2022-05-10T06:30:31.049Z] Login Succeeded [2022-05-10T06:30:31.049Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T06:30:31.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T06:30:31.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T06:30:31.652Z] ========================================================= [2022-05-10T06:30:31.652Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T06:30:31.652Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:30:32.012Z] + 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-05-10T06:30:32.288Z] Sending build context to Docker daemon 3.057MB [2022-05-10T06:30:32.288Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T06:30:32.288Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T06:30:32.572Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T06:30:32.572Z] 9b3977197b4f: Pulling fs layer [2022-05-10T06:30:32.572Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T06:30:32.572Z] 94645a83ff95: Pulling fs layer [2022-05-10T06:30:32.572Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T06:30:32.572Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T06:30:32.572Z] 3096ccb668a1: Pulling fs layer [2022-05-10T06:30:32.572Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T06:30:32.572Z] a4caa8a26152: Pulling fs layer [2022-05-10T06:30:32.572Z] 0c92f367c5e7: Waiting [2022-05-10T06:30:32.572Z] 3096ccb668a1: Waiting [2022-05-10T06:30:32.572Z] a4caa8a26152: Waiting [2022-05-10T06:30:32.572Z] e8cf19c19ddd: Waiting [2022-05-10T06:30:32.572Z] 3f3a8bcf1eab: Waiting [2022-05-10T06:30:32.572Z] 94645a83ff95: Verifying Checksum [2022-05-10T06:30:32.572Z] 94645a83ff95: Download complete [2022-05-10T06:30:32.572Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T06:30:32.572Z] 1a89e8eeedd5: Download complete [2022-05-10T06:30:32.572Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T06:30:32.572Z] 0c92f367c5e7: Download complete [2022-05-10T06:30:32.572Z] 3096ccb668a1: Verifying Checksum [2022-05-10T06:30:32.572Z] 3096ccb668a1: Download complete [2022-05-10T06:30:32.572Z] 9b3977197b4f: Download complete [2022-05-10T06:30:32.572Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T06:30:32.572Z] e8cf19c19ddd: Download complete [2022-05-10T06:30:33.587Z] 9b3977197b4f: Pull complete [2022-05-10T06:30:34.192Z] 1a89e8eeedd5: Pull complete [2022-05-10T06:30:34.466Z] 94645a83ff95: Pull complete [2022-05-10T06:30:34.745Z] a4caa8a26152: Verifying Checksum [2022-05-10T06:30:34.745Z] a4caa8a26152: Download complete [2022-05-10T06:30:35.347Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T06:30:35.347Z] 3f3a8bcf1eab: Download complete [2022-05-10T06:30:47.768Z] 3f3a8bcf1eab: Pull complete [2022-05-10T06:30:48.043Z] 0c92f367c5e7: Pull complete [2022-05-10T06:30:48.319Z] 3096ccb668a1: Pull complete [2022-05-10T06:30:48.590Z] e8cf19c19ddd: Pull complete [2022-05-10T06:30:55.302Z] a4caa8a26152: Pull complete [2022-05-10T06:30:55.303Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T06:30:55.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T06:30:55.303Z] ---> 725f1c02e7f9 [2022-05-10T06:30:55.303Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T06:30:56.755Z] ---> Running in acaff05eccb0 [2022-05-10T06:30:57.030Z] Removing intermediate container acaff05eccb0 [2022-05-10T06:30:57.030Z] ---> 5f32bf07cf77 [2022-05-10T06:30:57.030Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T06:30:57.030Z] ---> Running in 77c911eea37b [2022-05-10T06:30:57.634Z] Removing intermediate container 77c911eea37b [2022-05-10T06:30:57.634Z] ---> dd91f9a5acd5 [2022-05-10T06:30:57.634Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:30:57.634Z] ---> Running in 10618850d689 [2022-05-10T06:31:01.060Z] Removing intermediate container 10618850d689 [2022-05-10T06:31:01.060Z] ---> 4922174a2d12 [2022-05-10T06:31:01.060Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T06:31:01.060Z] ---> Running in 349bad3cf0ae [2022-05-10T06:31:02.041Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T06:31:03.032Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T06:31:04.015Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T06:31:04.015Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T06:31:04.015Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T06:31:04.292Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T06:31:04.292Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T06:31:04.580Z] OK: 224 MiB in 56 packages [2022-05-10T06:31:05.581Z] Removing intermediate container 349bad3cf0ae [2022-05-10T06:31:05.581Z] ---> dd43b9f37bf5 [2022-05-10T06:31:05.581Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-10T06:31:05.581Z] ---> Running in 894e60497113 [2022-05-10T06:31:06.192Z] Removing intermediate container 894e60497113 [2022-05-10T06:31:06.192Z] ---> f1ceddcd47a8 [2022-05-10T06:31:06.192Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-10T06:31:06.794Z] ---> 1c10c9ab18c5 [2022-05-10T06:31:06.794Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T06:31:06.794Z] ---> Running in 91f9b75ed983 [2022-05-10T06:31:53.801Z] Removing intermediate container 91f9b75ed983 [2022-05-10T06:31:53.801Z] ---> ce9480439e3b [2022-05-10T06:31:53.801Z] Step 10/12 : COPY . . [2022-05-10T06:31:53.801Z] ---> 1e1d1522802b [2022-05-10T06:31:53.801Z] Step 11/12 : ARG MAKE='make build' [2022-05-10T06:31:53.801Z] ---> Running in 2ea5b690e312 [2022-05-10T06:31:53.801Z] Removing intermediate container 2ea5b690e312 [2022-05-10T06:31:53.801Z] ---> 50323e4df294 [2022-05-10T06:31:53.801Z] Step 12/12 : RUN $MAKE [2022-05-10T06:31:53.801Z] ---> Running in 585dee9642bb [2022-05-10T06:31:54.791Z] noop [2022-05-10T06:31:55.787Z] Removing intermediate container 585dee9642bb [2022-05-10T06:31:55.787Z] ---> 7167f985dbde [2022-05-10T06:31:55.787Z] Successfully built 7167f985dbde [2022-05-10T06:31:55.787Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:31:56.154Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T06:31:56.154Z] . [Pipeline] withDockerContainer [2022-05-10T06:31:56.429Z] prd-ubuntu20.04-docker-arm64-4c-16g-44848 does not seem to be running inside a container [2022-05-10T06:31:56.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T06:31:58.041Z] $ docker top c653d00af3a2e8584be9e3e3655ed98bd65ff568a46b1ade1ac212ef19f2924b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T06:31:59.029Z] + go version [2022-05-10T06:31:59.029Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T06:31:59.063Z] $ docker stop --time=1 c653d00af3a2e8584be9e3e3655ed98bd65ff568a46b1ade1ac212ef19f2924b [2022-05-10T06:32:00.773Z] $ docker rm -f c653d00af3a2e8584be9e3e3655ed98bd65ff568a46b1ade1ac212ef19f2924b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:32:01.436Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T06:32:01.436Z] . [Pipeline] withDockerContainer [2022-05-10T06:32:01.705Z] prd-ubuntu20.04-docker-arm64-4c-16g-44848 does not seem to be running inside a container [2022-05-10T06:32:01.816Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T06:32:03.278Z] $ docker top 04f862c59506b03ac1d0f3c6a6c76cab7bdee4dce25fea72f4d4095cfc0d05b4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T06:32:04.259Z] + make test [2022-05-10T06:32:04.259Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T06:32:06.256Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-10T06:33:43.216Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-10T06:33:43.216Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.078s coverage: 21.8% of statements [2022-05-10T06:33:43.216Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-10T06:33:43.216Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T06:33:43.216Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T06:34:10.089Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T06:34:10.089Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T06:34:10.089Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T06:34:10.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T06:34:10.131Z] $ docker stop --time=1 04f862c59506b03ac1d0f3c6a6c76cab7bdee4dce25fea72f4d4095cfc0d05b4 [2022-05-10T06:34:11.925Z] $ docker rm -f 04f862c59506b03ac1d0f3c6a6c76cab7bdee4dce25fea72f4d4095cfc0d05b4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T06:34:12.996Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T06:34:13.022Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T06:34:13.535Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T06:34:13.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T06:34:14.286Z] + ls -al . [2022-05-10T06:34:14.286Z] total 176 [2022-05-10T06:34:14.286Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 06:34 . [2022-05-10T06:34:14.286Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:30 .. [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:30 .dockerignore [2022-05-10T06:34:14.286Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:30 .git [2022-05-10T06:34:14.286Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:30 .github [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 06:30 .gitignore [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:30 .golangci.yml [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 10 06:30 Attribution.txt [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 10 06:30 CHANGELOG.md [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 06:30 Dockerfile [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:30 GOVERNANCE.md [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 678 May 10 06:30 Jenkinsfile [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:30 LICENSE [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 06:30 Makefile [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 06:30 OWNERS.md [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 10 06:30 README.md [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:27 VERSION [2022-05-10T06:34:14.286Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:30 bin [2022-05-10T06:34:14.286Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:30 cmd [2022-05-10T06:34:14.286Z] -rw-r--r-- 1 jenkins jenkins 17887 May 10 06:33 coverage.out [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 3309 May 10 06:30 go.mod [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 35490 May 10 06:30 go.sum [2022-05-10T06:34:14.286Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:30 internal [2022-05-10T06:34:14.286Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:30 mock [2022-05-10T06:34:14.286Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:30 snap [2022-05-10T06:34:14.286Z] -rw-rw-r-- 1 jenkins jenkins 227 May 10 06:30 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:34:14.634Z] + 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=2c827a9d98d942daa042874c4a261230ad0958f3 --label arch=arm64 --label version=0.0.0 . [2022-05-10T06:34:14.907Z] Sending build context to Docker daemon 3.076MB [2022-05-10T06:34:15.182Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T06:34:15.182Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-10T06:34:15.182Z] ---> 7167f985dbde [2022-05-10T06:34:15.182Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T06:34:15.182Z] ---> Running in f113f020de4b [2022-05-10T06:34:15.463Z] Removing intermediate container f113f020de4b [2022-05-10T06:34:15.463Z] ---> d05188595fe7 [2022-05-10T06:34:15.463Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T06:34:15.463Z] ---> Running in 89eddb38d602 [2022-05-10T06:34:16.068Z] Removing intermediate container 89eddb38d602 [2022-05-10T06:34:16.068Z] ---> 3f9060e3e52a [2022-05-10T06:34:16.068Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T06:34:16.068Z] ---> Running in ad3a29279abb [2022-05-10T06:34:18.046Z] Removing intermediate container ad3a29279abb [2022-05-10T06:34:18.046Z] ---> bc2fd15743f1 [2022-05-10T06:34:18.046Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T06:34:18.046Z] ---> Running in 62f928c3eeee [2022-05-10T06:34:19.031Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T06:34:20.015Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T06:34:21.000Z] OK: 224 MiB in 56 packages [2022-05-10T06:34:21.601Z] Removing intermediate container 62f928c3eeee [2022-05-10T06:34:21.601Z] ---> 6eb2830b2d4d [2022-05-10T06:34:21.601Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-10T06:34:21.876Z] ---> Running in 9717a6a1882b [2022-05-10T06:34:22.149Z] Removing intermediate container 9717a6a1882b [2022-05-10T06:34:22.149Z] ---> 2f2f3f8453e0 [2022-05-10T06:34:22.149Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-10T06:34:22.746Z] ---> 078e360ee2f0 [2022-05-10T06:34:22.746Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T06:34:22.746Z] ---> Running in acaa5a9aaf6a [2022-05-10T06:34:24.731Z] Removing intermediate container acaa5a9aaf6a [2022-05-10T06:34:24.731Z] ---> c2d70536efb4 [2022-05-10T06:34:24.731Z] Step 10/24 : COPY . . [2022-05-10T06:34:25.709Z] ---> f5a2ac4e6cf0 [2022-05-10T06:34:25.709Z] Step 11/24 : ARG MAKE='make build' [2022-05-10T06:34:25.709Z] ---> Running in 90e8a6ad64d4 [2022-05-10T06:34:25.988Z] Removing intermediate container 90e8a6ad64d4 [2022-05-10T06:34:25.988Z] ---> cd9cfd2e7e28 [2022-05-10T06:34:25.988Z] Step 12/24 : RUN $MAKE [2022-05-10T06:34:25.988Z] ---> Running in 4117da1f0e1f [2022-05-10T06:34:26.970Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-05-10T06:37:03.907Z] Removing intermediate container 4117da1f0e1f [2022-05-10T06:37:03.907Z] ---> 13560f5664cb [2022-05-10T06:37:03.907Z] Step 13/24 : FROM alpine:3.14 [2022-05-10T06:37:03.907Z] 3.14: Pulling from library/alpine [2022-05-10T06:37:03.907Z] 455c02918c45: Pulling fs layer [2022-05-10T06:37:03.907Z] 455c02918c45: Verifying Checksum [2022-05-10T06:37:03.907Z] 455c02918c45: Download complete [2022-05-10T06:37:03.907Z] 455c02918c45: Pull complete [2022-05-10T06:37:03.907Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T06:37:03.907Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T06:37:03.907Z] ---> ac73e934f311 [2022-05-10T06:37:03.907Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-10T06:37:03.907Z] ---> Running in 477ae76e8e64 [2022-05-10T06:37:03.907Z] Removing intermediate container 477ae76e8e64 [2022-05-10T06:37:03.907Z] ---> 87068f5d96f3 [2022-05-10T06:37:03.907Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T06:37:03.907Z] ---> Running in cedb64327994 [2022-05-10T06:37:03.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T06:37:03.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T06:37:03.907Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T06:37:03.907Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T06:37:03.907Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T06:37:03.907Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T06:37:03.907Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T06:37:03.907Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T06:37:03.907Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T06:37:03.907Z] OK: 8 MiB in 20 packages [2022-05-10T06:37:03.907Z] Removing intermediate container cedb64327994 [2022-05-10T06:37:03.907Z] ---> 656a9e82ed00 [2022-05-10T06:37:03.907Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-10T06:37:03.907Z] ---> 07f2d9a5d13b [2022-05-10T06:37:03.907Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-10T06:37:03.907Z] ---> 5f6d7f76cfb9 [2022-05-10T06:37:03.907Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-10T06:37:03.907Z] ---> a214336e4968 [2022-05-10T06:37:03.907Z] Step 19/24 : EXPOSE 59982 [2022-05-10T06:37:03.907Z] ---> Running in 11eca6ad19bf [2022-05-10T06:37:03.907Z] Removing intermediate container 11eca6ad19bf [2022-05-10T06:37:03.907Z] ---> 4b25967b1dc8 [2022-05-10T06:37:03.907Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-10T06:37:03.907Z] ---> Running in 8a146438d7db [2022-05-10T06:37:03.907Z] Removing intermediate container 8a146438d7db [2022-05-10T06:37:03.907Z] ---> f180c82da643 [2022-05-10T06:37:03.907Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T06:37:03.907Z] ---> Running in e6843c4ab69e [2022-05-10T06:37:03.907Z] Removing intermediate container e6843c4ab69e [2022-05-10T06:37:03.907Z] ---> f347a3f3c450 [2022-05-10T06:37:03.907Z] Step 22/24 : LABEL arch=arm64 [2022-05-10T06:37:03.907Z] ---> Running in 08c9b44537da [2022-05-10T06:37:03.907Z] Removing intermediate container 08c9b44537da [2022-05-10T06:37:03.907Z] ---> 551f372a555f [2022-05-10T06:37:03.907Z] Step 23/24 : LABEL git_sha=2c827a9d98d942daa042874c4a261230ad0958f3 [2022-05-10T06:37:03.907Z] ---> Running in 27b105556244 [2022-05-10T06:37:03.907Z] Removing intermediate container 27b105556244 [2022-05-10T06:37:03.907Z] ---> 6e389dc508f5 [2022-05-10T06:37:03.907Z] Step 24/24 : LABEL version=0.0.0 [2022-05-10T06:37:03.907Z] ---> Running in 29106ac4cc83 [2022-05-10T06:37:03.907Z] Removing intermediate container 29106ac4cc83 [2022-05-10T06:37:03.907Z] ---> b50ec462341c [2022-05-10T06:37:03.907Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T06:37:03.907Z] Successfully built b50ec462341c [2022-05-10T06:37:03.907Z] 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-05-10T06:37:04.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T06:37:04.390Z] [2022-05-10T06:37:04.390Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:37:04.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T06:37:05.030Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T06:37:05.030Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T06:37:05.030Z] 04944245beec: Pulling fs layer [2022-05-10T06:37:05.030Z] 699f458cf7ca: Pulling fs layer [2022-05-10T06:37:05.030Z] 765212b225bb: Pulling fs layer [2022-05-10T06:37:05.030Z] f23df028b6ca: Pulling fs layer [2022-05-10T06:37:05.030Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T06:37:05.030Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T06:37:05.030Z] 765212b225bb: Waiting [2022-05-10T06:37:05.030Z] f23df028b6ca: Waiting [2022-05-10T06:37:05.030Z] 2437ff75d9bd: Waiting [2022-05-10T06:37:05.030Z] d65c8cfc05b1: Waiting [2022-05-10T06:37:05.030Z] 04944245beec: Verifying Checksum [2022-05-10T06:37:05.030Z] 04944245beec: Download complete [2022-05-10T06:37:05.030Z] 765212b225bb: Verifying Checksum [2022-05-10T06:37:05.030Z] 765212b225bb: Download complete [2022-05-10T06:37:05.030Z] f23df028b6ca: Verifying Checksum [2022-05-10T06:37:05.030Z] f23df028b6ca: Download complete [2022-05-10T06:37:05.030Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T06:37:05.030Z] d65c8cfc05b1: Download complete [2022-05-10T06:37:05.307Z] 699f458cf7ca: Verifying Checksum [2022-05-10T06:37:05.307Z] 699f458cf7ca: Download complete [2022-05-10T06:37:05.584Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T06:37:05.584Z] 8998bd30e6a1: Download complete [2022-05-10T06:37:08.226Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T06:37:08.226Z] 2437ff75d9bd: Download complete [2022-05-10T06:37:10.216Z] 8998bd30e6a1: Pull complete [2022-05-10T06:37:10.821Z] 04944245beec: Pull complete [2022-05-10T06:37:12.265Z] 699f458cf7ca: Pull complete [2022-05-10T06:37:12.541Z] 765212b225bb: Pull complete [2022-05-10T06:37:13.527Z] f23df028b6ca: Pull complete [2022-05-10T06:37:13.527Z] d65c8cfc05b1: Pull complete [2022-05-10T06:37:28.617Z] 2437ff75d9bd: Pull complete [2022-05-10T06:37:28.617Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T06:37:28.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T06:37:28.617Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T06:37:28.877Z] prd-ubuntu20.04-docker-arm64-4c-16g-44848 does not seem to be running inside a container [2022-05-10T06:37:28.976Z] $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T06:37:31.829Z] $ docker top 945cadd9f410725c6899129ec6c8c818dfacfb7604d414610a41ccc3a2921e8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:37:32.749Z] ---> job-cost.sh [2022-05-10T06:37:32.749Z] lf-activate-venv: SKIPPING [2022-05-10T06:37:32.749Z] INFO: No Stack... [2022-05-10T06:37:33.344Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T06:37:33.939Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T06:37:34.619Z] + cat /w/workspace/device-mqtt-go/4/archives/cost.csv [2022-05-10T06:37:34.619Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T06:37:34.693Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] [2022-05-10T06:37:34.698Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] did not exist. Created. [2022-05-10T06:37:34.698Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T06:37:35.382Z] /w/workspace/device-mqtt-go/4@tmp/durable-b763ba41/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T06:37:36.074Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T06:37:36.102Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T06:37:36.159Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T06:37:36.172Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T06:37:36.199Z] $ docker stop --time=1 945cadd9f410725c6899129ec6c8c818dfacfb7604d414610a41ccc3a2921e8c [2022-05-10T06:37:37.743Z] $ docker rm -f 945cadd9f410725c6899129ec6c8c818dfacfb7604d414610a41ccc3a2921e8c [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-05-10T06:37:38.712Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives ] [2022-05-10T06:37:38.713Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives [2022-05-10T06:37:38.713Z] total 16 [2022-05-10T06:37:38.713Z] drwxr-xr-x 3 root root 4096 May 10 06:29 . [2022-05-10T06:37:38.713Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 06:29 .. [2022-05-10T06:37:38.713Z] drwxr-xr-x 2 root root 4096 May 10 06:29 cost [2022-05-10T06:37:38.713Z] -rw-r--r-- 1 root root 85 May 10 06:29 cost.csv [2022-05-10T06:37:38.713Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives [2022-05-10T06:37:38.713Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives [2022-05-10T06:37:38.713Z] total 16 [2022-05-10T06:37:38.713Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:29 . [2022-05-10T06:37:38.713Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 06:29 .. [2022-05-10T06:37:38.713Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 06:29 cost [2022-05-10T06:37:38.713Z] -rw-r--r-- 1 jenkins jenkins 85 May 10 06:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:37:39.011Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:37:39.877Z] ---> package-listing.sh [2022-05-10T06:37:39.877Z] ++ facter osfamily [2022-05-10T06:37:39.877Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T06:37:40.140Z] + OS_FAMILY=debian [2022-05-10T06:37:40.140Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-378 [2022-05-10T06:37:40.140Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T06:37:40.140Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T06:37:40.140Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T06:37:40.140Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T06:37:40.140Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-378 ']' [2022-05-10T06:37:40.140Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T06:37:40.140Z] + case "${OS_FAMILY}" in [2022-05-10T06:37:40.140Z] + dpkg -l [2022-05-10T06:37:40.140Z] + grep '^ii' [2022-05-10T06:37:40.140Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T06:37:40.140Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T06:37:40.140Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T06:37:40.140Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-378 ']' [2022-05-10T06:37:40.140Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/ [2022-05-10T06:37:40.140Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/ [Pipeline] echo [2022-05-10T06:37:40.153Z] 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-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-10T06:37:40.528Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T06:37:40.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T06:37:40.868Z] . [Pipeline] withDockerContainer [2022-05-10T06:37:40.943Z] prd-ubuntu20.04-docker-8c-8g-44844 does not seem to be running inside a container [2022-05-10T06:37:40.980Z] $ 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-378/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-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T06:37:41.226Z] $ docker top 2a297711e0c809034109524a9b274da5bb95e0d9dc5c0eee911e6b46d3aae26e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T06:37:41.587Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T06:37:41.877Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T06:37:42.167Z] + ls /var/log/sa-host [2022-05-10T06:37:42.167Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T06:37:42.250Z] provisioning config files... [2022-05-10T06:37:42.258Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config8007058073280558578tmp [Pipeline] { [Pipeline] echo [2022-05-10T06:37:42.277Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:37:42.562Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T06:37:42.568Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:37:42.894Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T06:37:42.904Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:37:43.189Z] ---> sudo-logs.sh [2022-05-10T06:37:43.189Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T06:37:43.224Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:37:43.518Z] ---> job-cost.sh [2022-05-10T06:37:43.518Z] lf-activate-venv: SKIPPING [2022-05-10T06:37:43.518Z] DEBUG: total: 0.2199999988079071 [2022-05-10T06:37:43.518Z] INFO: Retrieving Stack Cost... [2022-05-10T06:37:44.087Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T06:37:44.347Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T06:37:44.362Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T06:37:44.648Z] ---> logs-deploy.sh [2022-05-10T06:37:44.648Z] lf-activate-venv: SKIPPING [2022-05-10T06:37:44.648Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-378/4 [2022-05-10T06:37:44.648Z] INFO: archiving workspace using pattern(s): [2022-05-10T06:37:45.588Z] Archives upload complete. [2022-05-10T06:37:45.588Z] INFO: archiving logs to Nexus