Pull request #357 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 bnevis-i for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 6a0d17f3443cfc2038c22736989c6b24159166ee rather than edad8006891888ca7215767c557239a2add3fda6 Obtained Jenkinsfile from 6a0d17f3443cfc2038c22736989c6b24159166ee 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-ssh18106704083325900132.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10744218192418764404.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-357/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-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9860789293098701433.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2888142302161537576.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-357/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-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2010949556175068511.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-10845’ Running on prd-ubuntu20.04-docker-8c-8g-10871 in /w/workspace/gexfoundry_device-mqtt-go_PR-357 [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-357 # 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 > 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/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6a0d17f3443cfc2038c22736989c6b24159166ee into PR head commit edad8006891888ca7215767c557239a2add3fda6 Merge succeeded, producing edad8006891888ca7215767c557239a2add3fda6 Checking out Revision edad8006891888ca7215767c557239a2add3fda6 (PR-357) > git config core.sparsecheckout # timeout=10 > git checkout -f edad8006891888ca7215767c557239a2add3fda6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f edad8006891888ca7215767c557239a2add3fda6 # timeout=10 Commit message: "build(deps): Update device-sdk-go and other deps" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-06T02:23:39.709Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-06T02:23:39.768Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-06T02:23:39.788Z] ========================================================= [2022-04-06T02:23:39.788Z] EdgeX Global Pipelines Version Info [2022-04-06T02:23:39.788Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 # timeout=10 [2022-04-06T02:23:40.556Z] ------------------- [2022-04-06T02:23:40.556Z] stable info: [2022-04-06T02:23:40.556Z] ------------------- [2022-04-06T02:23:40.556Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-06T02:23:40.556Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T02:23:40.556Z] Message: update stable to v1.0.221 [2022-04-06T02:23:41.130Z] ------------------- [2022-04-06T02:23:41.130Z] experimental info: [2022-04-06T02:23:41.130Z] ------------------- [2022-04-06T02:23:41.130Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-06T02:23:41.130Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T02:23:41.130Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-06T02:23:41.253Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-06T02:23:41.272Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-06T02:23:41.289Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-06T02:23:41.300Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-06T02:23:41.318Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-06T02:23:41.336Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-06T02:23:41.351Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-06T02:23:41.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-06T02:23:41.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-06T02:23:41.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-06T02:23:41.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-06T02:23:41.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-06T02:23:41.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-06T02:23:41.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-06T02:23:41.467Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T02:23:41.480Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T02:23:41.497Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T02:23:41.511Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T02:23:41.523Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-06T02:23:41.536Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-06T02:23:41.550Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-06T02:23:41.564Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-06T02:23:41.582Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-06T02:23:41.597Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-06T02:23:41.614Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-06T02:23:41.625Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-06T02:23:41.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2022-04-06T02:23:41.656Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2022-04-06T02:23:41.676Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2022-04-06T02:23:41.693Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = edad8006891888ca7215767c557239a2add3fda6 [Pipeline] echo [2022-04-06T02:23:41.704Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = edad800 [Pipeline] echo [2022-04-06T02:23:41.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T02:23:41.767Z] provisioning config files... [2022-04-06T02:23:41.781Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config6977518378037969694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T02:23:42.098Z] ---> docker-login.sh [2022-04-06T02:23:42.098Z] nexus3.edgexfoundry.org:10001 [2022-04-06T02:23:42.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:23:42.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:23:42.680Z] Configure a credential helper to remove this warning. See [2022-04-06T02:23:42.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:23:42.680Z] [2022-04-06T02:23:42.680Z] Login Succeeded [2022-04-06T02:23:42.680Z] nexus3.edgexfoundry.org:10002 [2022-04-06T02:23:42.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:23:42.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:23:42.942Z] Configure a credential helper to remove this warning. See [2022-04-06T02:23:42.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:23:42.942Z] [2022-04-06T02:23:42.942Z] Login Succeeded [2022-04-06T02:23:42.942Z] nexus3.edgexfoundry.org:10003 [2022-04-06T02:23:42.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:23:42.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:23:42.942Z] Configure a credential helper to remove this warning. See [2022-04-06T02:23:42.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:23:42.942Z] [2022-04-06T02:23:42.942Z] Login Succeeded [2022-04-06T02:23:42.942Z] nexus3.edgexfoundry.org:10004 [2022-04-06T02:23:42.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:23:43.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:23:43.205Z] Configure a credential helper to remove this warning. See [2022-04-06T02:23:43.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:23:43.205Z] [2022-04-06T02:23:43.205Z] Login Succeeded [2022-04-06T02:23:43.205Z] docker.io [2022-04-06T02:23:43.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:23:43.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:23:43.473Z] Configure a credential helper to remove this warning. See [2022-04-06T02:23:43.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:23:43.473Z] [2022-04-06T02:23:43.473Z] Login Succeeded [2022-04-06T02:23:43.473Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T02:23:43.482Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-06T02:23:43.853Z] + git rev-list -1 --merges edad8006891888ca7215767c557239a2add3fda6~1..edad8006891888ca7215767c557239a2add3fda6 [Pipeline] echo [2022-04-06T02:23:43.980Z] -----------> git rev-list -1 --merges edad8006891888ca7215767c557239a2add3fda6~1..edad8006891888ca7215767c557239a2add3fda6 edad8006891888ca7215767c557239a2add3fda6 [false] [Pipeline] sh [2022-04-06T02:23:44.285Z] + git log --format=format:%s -1 edad8006891888ca7215767c557239a2add3fda6 [Pipeline] echo [2022-04-06T02:23:44.302Z] ========================================================= [2022-04-06T02:23:44.302Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-06T02:23:44.302Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T02:23:44.636Z] + git log --format=format:%s -1 edad8006891888ca7215767c557239a2add3fda6 [Pipeline] echo [2022-04-06T02:23:44.652Z] [semverPrep] GIT_COMMIT: edad8006891888ca7215767c557239a2add3fda6, Commit Message: build(deps): Update device-sdk-go and other deps [Pipeline] echo [2022-04-06T02:23:44.663Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-06T02:23:45.089Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T02:23:45.089Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-06T02:23:45.089Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-06T02:23:45.089Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-06T02:23:45.089Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-06T02:23:45.089Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-06T02:23:45.089Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:23:45.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T02:23:45.495Z] [2022-04-06T02:23:45.495Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:23:45.820Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T02:23:45.820Z] latest: Pulling from edgex-devops/git-semver [2022-04-06T02:23:45.820Z] a0d0a0d46f8b: Pulling fs layer [2022-04-06T02:23:45.820Z] 3e5f54012d9b: Pulling fs layer [2022-04-06T02:23:45.820Z] 4c7163046ea9: Pulling fs layer [2022-04-06T02:23:45.820Z] 0c2d73faf560: Pulling fs layer [2022-04-06T02:23:45.820Z] 0c2d73faf560: Waiting [2022-04-06T02:23:45.820Z] 3e5f54012d9b: Verifying Checksum [2022-04-06T02:23:45.820Z] 3e5f54012d9b: Download complete [2022-04-06T02:23:45.820Z] a0d0a0d46f8b: Download complete [2022-04-06T02:23:45.820Z] 0c2d73faf560: Verifying Checksum [2022-04-06T02:23:45.820Z] 0c2d73faf560: Download complete [2022-04-06T02:23:46.094Z] 4c7163046ea9: Verifying Checksum [2022-04-06T02:23:46.094Z] 4c7163046ea9: Download complete [2022-04-06T02:23:46.094Z] a0d0a0d46f8b: Pull complete [2022-04-06T02:23:46.094Z] 3e5f54012d9b: Pull complete [2022-04-06T02:23:46.671Z] 4c7163046ea9: Pull complete [2022-04-06T02:23:46.671Z] 0c2d73faf560: Pull complete [2022-04-06T02:23:46.671Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-06T02:23:46.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T02:23:46.671Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-06T02:23:46.827Z] prd-ubuntu20.04-docker-8c-8g-10871 does not seem to be running inside a container [2022-04-06T02:23:46.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-06T02:23:47.646Z] $ docker top e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T02:23:47.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T02:23:47.762Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T02:23:47.905Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T02:23:47.914Z] $ docker exec e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba ssh-agent [2022-04-06T02:23:48.046Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlKBgHN/agent.15 [2022-04-06T02:23:48.046Z] SSH_AGENT_PID=21 [2022-04-06T02:23:48.055Z] Running ssh-add (command line suppressed) [2022-04-06T02:23:48.182Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_6516419853020228023.key (/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_6516419853020228023.key) [2022-04-06T02:23:48.191Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T02:23:48.485Z] + git tag --points-at HEAD [Pipeline] } [2022-04-06T02:23:48.506Z] $ docker exec --env ******** --env ******** e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba ssh-agent -k [2022-04-06T02:23:48.629Z] unset SSH_AUTH_SOCK; [2022-04-06T02:23:48.629Z] unset SSH_AGENT_PID; [2022-04-06T02:23:48.630Z] echo Agent pid 21 killed; [2022-04-06T02:23:48.642Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-06T02:23:48.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T02:23:48.664Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T02:23:48.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T02:23:48.809Z] $ docker exec e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba ssh-agent [2022-04-06T02:23:48.931Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEkkhgB/agent.56 [2022-04-06T02:23:48.931Z] SSH_AGENT_PID=62 [2022-04-06T02:23:48.939Z] Running ssh-add (command line suppressed) [2022-04-06T02:23:49.075Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_598311471240991721.key (/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_598311471240991721.key) [2022-04-06T02:23:49.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T02:23:49.378Z] + git semver init [2022-04-06T02:23:49.378Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T02:23:49.378Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-357/.git [2022-04-06T02:23:49.378Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-357 [2022-04-06T02:23:49.378Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T02:23:49.378Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T02:23:49.378Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T02:23:49.378Z] # $SEMVER_BRANCH = PR-357 [2022-04-06T02:23:49.378Z] # $SEMVER_TEMP = /tmp/semver-117400252 [2022-04-06T02:23:49.378Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-06T02:23:50.325Z] # '/tmp/semver-117400252' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-357/.semver' [2022-04-06T02:23:50.325Z] # -> Force: false [2022-04-06T02:23:50.325Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-357/.semver [Pipeline] } [2022-04-06T02:23:50.344Z] $ docker exec --env ******** --env ******** e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba ssh-agent -k [2022-04-06T02:23:50.461Z] unset SSH_AUTH_SOCK; [2022-04-06T02:23:50.461Z] unset SSH_AGENT_PID; [2022-04-06T02:23:50.461Z] echo Agent pid 62 killed; [2022-04-06T02:23:50.469Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T02:23:50.788Z] + git semver [Pipeline] } [2022-04-06T02:23:50.811Z] $ docker stop --time=1 e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba [2022-04-06T02:23:52.207Z] $ docker rm -f e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T02:23:52.570Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-06T02:23:52.877Z] Stashed 1 file(s) [Pipeline] echo [2022-04-06T02:23:52.881Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T02:23:53.032Z] provisioning config files... [2022-04-06T02:23:53.042Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config8343360200158690858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T02:23:53.375Z] ---> docker-login.sh [2022-04-06T02:23:53.375Z] nexus3.edgexfoundry.org:10001 [2022-04-06T02:23:53.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:23:53.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:23:53.375Z] Configure a credential helper to remove this warning. See [2022-04-06T02:23:53.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:23:53.375Z] [2022-04-06T02:23:53.375Z] Login Succeeded [2022-04-06T02:23:53.375Z] nexus3.edgexfoundry.org:10002 [2022-04-06T02:23:53.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:23:53.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:23:53.636Z] Configure a credential helper to remove this warning. See [2022-04-06T02:23:53.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:23:53.636Z] [2022-04-06T02:23:53.636Z] Login Succeeded [2022-04-06T02:23:53.636Z] nexus3.edgexfoundry.org:10003 [2022-04-06T02:23:53.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:23:53.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:23:53.636Z] Configure a credential helper to remove this warning. See [2022-04-06T02:23:53.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:23:53.636Z] [2022-04-06T02:23:53.636Z] Login Succeeded [2022-04-06T02:23:53.636Z] nexus3.edgexfoundry.org:10004 [2022-04-06T02:23:53.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:23:53.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:23:53.898Z] Configure a credential helper to remove this warning. See [2022-04-06T02:23:53.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:23:53.898Z] [2022-04-06T02:23:53.898Z] Login Succeeded [2022-04-06T02:23:53.898Z] docker.io [2022-04-06T02:23:53.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:23:54.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:23:54.160Z] Configure a credential helper to remove this warning. See [2022-04-06T02:23:54.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:23:54.160Z] [2022-04-06T02:23:54.160Z] Login Succeeded [2022-04-06T02:23:54.160Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T02:23:54.169Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T02:23:54.241Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T02:23:54.249Z] ========================================================= [2022-04-06T02:23:54.249Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-06T02:23:54.249Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:23:54.575Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-06T02:23:54.575Z] Sending build context to Docker daemon 5.847MB [2022-04-06T02:23:54.575Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T02:23:54.575Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T02:23:54.575Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-06T02:23:54.575Z] 59bf1c3509f3: Pulling fs layer [2022-04-06T02:23:54.575Z] 666ba61612fd: Pulling fs layer [2022-04-06T02:23:54.575Z] 8ed8ca486205: Pulling fs layer [2022-04-06T02:23:54.575Z] 4fe6c5a15a65: Pulling fs layer [2022-04-06T02:23:54.575Z] 22a0e8bec74d: Pulling fs layer [2022-04-06T02:23:54.575Z] 640e595b4fbd: Pulling fs layer [2022-04-06T02:23:54.575Z] 763cafe07f6e: Pulling fs layer [2022-04-06T02:23:54.575Z] 0c0b528cf693: Pulling fs layer [2022-04-06T02:23:54.575Z] 10935f4eaf8b: Pulling fs layer [2022-04-06T02:23:54.575Z] 4fe6c5a15a65: Waiting [2022-04-06T02:23:54.575Z] 22a0e8bec74d: Waiting [2022-04-06T02:23:54.575Z] 640e595b4fbd: Waiting [2022-04-06T02:23:54.575Z] 763cafe07f6e: Waiting [2022-04-06T02:23:54.575Z] 10935f4eaf8b: Waiting [2022-04-06T02:23:54.575Z] 8ed8ca486205: Download complete [2022-04-06T02:23:54.838Z] 666ba61612fd: Download complete [2022-04-06T02:23:54.838Z] 22a0e8bec74d: Verifying Checksum [2022-04-06T02:23:54.838Z] 640e595b4fbd: Verifying Checksum [2022-04-06T02:23:54.838Z] 640e595b4fbd: Download complete [2022-04-06T02:23:54.838Z] 59bf1c3509f3: Verifying Checksum [2022-04-06T02:23:54.838Z] 59bf1c3509f3: Download complete [2022-04-06T02:23:54.838Z] 763cafe07f6e: Download complete [2022-04-06T02:23:54.838Z] 0c0b528cf693: Verifying Checksum [2022-04-06T02:23:54.838Z] 0c0b528cf693: Download complete [2022-04-06T02:23:54.838Z] 59bf1c3509f3: Pull complete [2022-04-06T02:23:55.100Z] 666ba61612fd: Pull complete [2022-04-06T02:23:55.100Z] 8ed8ca486205: Pull complete [2022-04-06T02:23:55.670Z] 10935f4eaf8b: Verifying Checksum [2022-04-06T02:23:55.670Z] 10935f4eaf8b: Download complete [2022-04-06T02:23:55.670Z] 4fe6c5a15a65: Verifying Checksum [2022-04-06T02:23:55.670Z] 4fe6c5a15a65: Download complete [2022-04-06T02:23:59.887Z] 4fe6c5a15a65: Pull complete [2022-04-06T02:23:59.887Z] 22a0e8bec74d: Pull complete [2022-04-06T02:24:00.149Z] 640e595b4fbd: Pull complete [2022-04-06T02:24:00.149Z] 763cafe07f6e: Pull complete [2022-04-06T02:24:00.149Z] 0c0b528cf693: Pull complete [2022-04-06T02:24:02.693Z] 10935f4eaf8b: Pull complete [2022-04-06T02:24:02.693Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-06T02:24:02.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-06T02:24:02.693Z] ---> 99d49a6021b9 [2022-04-06T02:24:02.693Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T02:24:04.630Z] ---> Running in 07b4abaf4178 [2022-04-06T02:24:04.630Z] Removing intermediate container 07b4abaf4178 [2022-04-06T02:24:04.630Z] ---> 9b0361a68ff9 [2022-04-06T02:24:04.630Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T02:24:04.630Z] ---> Running in 7ecac6c517cd [2022-04-06T02:24:04.630Z] Removing intermediate container 7ecac6c517cd [2022-04-06T02:24:04.630Z] ---> 82ce77c23b9a [2022-04-06T02:24:04.630Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T02:24:04.630Z] ---> Running in 4205cb823d05 [2022-04-06T02:24:05.199Z] Removing intermediate container 4205cb823d05 [2022-04-06T02:24:05.199Z] ---> 7709de2bb7cf [2022-04-06T02:24:05.199Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T02:24:05.199Z] ---> Running in 98085f81d92c [2022-04-06T02:24:05.458Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T02:24:06.401Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T02:24:06.662Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T02:24:06.923Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T02:24:06.923Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T02:24:07.184Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T02:24:07.184Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T02:24:07.184Z] OK: 224 MiB in 56 packages [2022-04-06T02:24:07.755Z] Removing intermediate container 98085f81d92c [2022-04-06T02:24:07.755Z] ---> 6a49d661993e [2022-04-06T02:24:07.755Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-06T02:24:07.755Z] ---> Running in 7e6084a345c8 [2022-04-06T02:24:07.755Z] Removing intermediate container 7e6084a345c8 [2022-04-06T02:24:07.755Z] ---> 75b88b2f1741 [2022-04-06T02:24:07.756Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-06T02:24:07.985Z] Still waiting to schedule task [2022-04-06T02:24:07.985Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10847’ [2022-04-06T02:24:08.015Z] ---> aff5c8d036c9 [2022-04-06T02:24:08.015Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T02:24:08.015Z] ---> Running in 55b7006fe9b8 [2022-04-06T02:24:26.159Z] Removing intermediate container 55b7006fe9b8 [2022-04-06T02:24:26.159Z] ---> 48f451e5edc5 [2022-04-06T02:24:26.159Z] Step 10/12 : COPY . . [2022-04-06T02:24:26.159Z] ---> e3c7248a7cb1 [2022-04-06T02:24:26.159Z] Step 11/12 : ARG MAKE='make build' [2022-04-06T02:24:26.159Z] ---> Running in d4c315a8ce38 [2022-04-06T02:24:26.159Z] Removing intermediate container d4c315a8ce38 [2022-04-06T02:24:26.159Z] ---> c025e078506a [2022-04-06T02:24:26.159Z] Step 12/12 : RUN $MAKE [2022-04-06T02:24:26.159Z] ---> Running in 0e077cd12800 [2022-04-06T02:24:26.159Z] noop [2022-04-06T02:24:26.159Z] Removing intermediate container 0e077cd12800 [2022-04-06T02:24:26.159Z] ---> e12f7085bb0a [2022-04-06T02:24:26.159Z] Successfully built e12f7085bb0a [2022-04-06T02:24:26.159Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:24:26.462Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T02:24:26.462Z] . [Pipeline] withDockerContainer [2022-04-06T02:24:26.539Z] prd-ubuntu20.04-docker-8c-8g-10871 does not seem to be running inside a container [2022-04-06T02:24:26.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-06T02:24:26.998Z] $ docker top 8855ea836e487242fd034b70a55481bcfed236e0098a6c86094d55e373975cf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T02:24:27.362Z] + go version [2022-04-06T02:24:27.362Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-06T02:24:27.380Z] $ docker stop --time=1 8855ea836e487242fd034b70a55481bcfed236e0098a6c86094d55e373975cf1 [2022-04-06T02:24:28.751Z] $ docker rm -f 8855ea836e487242fd034b70a55481bcfed236e0098a6c86094d55e373975cf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:24:29.191Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T02:24:29.191Z] . [Pipeline] withDockerContainer [2022-04-06T02:24:29.277Z] prd-ubuntu20.04-docker-8c-8g-10871 does not seem to be running inside a container [2022-04-06T02:24:29.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-06T02:24:29.732Z] $ docker top 745e02aa0a13088591770b2e112d4f2f057f0e956a036e5025fd5b0cec6f4e3c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T02:24:30.106Z] + make test [2022-04-06T02:24:30.106Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-06T02:24:30.366Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-06T02:24:42.596Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-06T02:24:42.596Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-04-06T02:24:42.596Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-06T02:24:50.882Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T02:24:55.104Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T02:24:55.104Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T02:24:55.104Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T02:24:55.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T02:24:55.139Z] $ docker stop --time=1 745e02aa0a13088591770b2e112d4f2f057f0e956a036e5025fd5b0cec6f4e3c [2022-04-06T02:24:57.079Z] $ docker rm -f 745e02aa0a13088591770b2e112d4f2f057f0e956a036e5025fd5b0cec6f4e3c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T02:24:57.567Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T02:24:57.618Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-06T02:24:58.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T02:24:58.494Z] + ls -al . [2022-04-06T02:24:58.494Z] total 176 [2022-04-06T02:24:58.494Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 02:24 . [2022-04-06T02:24:58.494Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:23 .. [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 02:23 .dockerignore [2022-04-06T02:24:58.494Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 02:23 .git [2022-04-06T02:24:58.494Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 02:23 .github [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 02:23 .gitignore [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 02:23 .golangci.yml [2022-04-06T02:24:58.494Z] drwx------ 3 jenkins jenkins 4096 Apr 6 02:23 .semver [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 6 02:23 Attribution.txt [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 6 02:23 CHANGELOG.md [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 6 02:23 Dockerfile [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 02:23 GOVERNANCE.md [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 6 02:23 Jenkinsfile [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 02:23 LICENSE [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 1544 Apr 6 02:23 Makefile [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 02:23 OWNERS.md [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 6 02:23 README.md [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 02:23 VERSION [2022-04-06T02:24:58.494Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 02:23 bin [2022-04-06T02:24:58.494Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 02:23 cmd [2022-04-06T02:24:58.494Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 6 02:24 coverage.out [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 6 02:23 go.mod [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 02:23 go.sum [2022-04-06T02:24:58.494Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 02:23 internal [2022-04-06T02:24:58.494Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 02:23 mock [2022-04-06T02:24:58.494Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:23 snap [2022-04-06T02:24:58.494Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 6 02:23 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:24:58.797Z] + 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=edad8006891888ca7215767c557239a2add3fda6 --label arch=amd64 --label version=0.0.0 . [2022-04-06T02:24:58.797Z] Sending build context to Docker daemon 5.865MB [2022-04-06T02:24:58.797Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T02:24:58.797Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-06T02:24:58.797Z] ---> e12f7085bb0a [2022-04-06T02:24:58.797Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T02:24:58.797Z] ---> Running in 64f5866626c8 [2022-04-06T02:24:59.060Z] Removing intermediate container 64f5866626c8 [2022-04-06T02:24:59.060Z] ---> 31e5c6e7a7b0 [2022-04-06T02:24:59.060Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T02:24:59.060Z] ---> Running in 66c854594454 [2022-04-06T02:24:59.060Z] Removing intermediate container 66c854594454 [2022-04-06T02:24:59.060Z] ---> 8f527218d5b3 [2022-04-06T02:24:59.060Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T02:24:59.060Z] ---> Running in a778858d2763 [2022-04-06T02:25:00.004Z] Removing intermediate container a778858d2763 [2022-04-06T02:25:00.005Z] ---> 1bd0114c29d7 [2022-04-06T02:25:00.005Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T02:25:00.005Z] ---> Running in ad806db82879 [2022-04-06T02:25:00.266Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T02:25:01.209Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T02:25:02.597Z] OK: 224 MiB in 56 packages [2022-04-06T02:25:02.597Z] Removing intermediate container ad806db82879 [2022-04-06T02:25:02.597Z] ---> 806d2f288ec2 [2022-04-06T02:25:02.597Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-06T02:25:02.597Z] ---> Running in e4180dd6d5e6 [2022-04-06T02:25:02.859Z] Removing intermediate container e4180dd6d5e6 [2022-04-06T02:25:02.859Z] ---> 36c8d31e9997 [2022-04-06T02:25:02.859Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-06T02:25:02.859Z] ---> 0d2bbbaec49d [2022-04-06T02:25:02.859Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T02:25:03.120Z] ---> Running in fe8d15ad41b3 [2022-04-06T02:25:03.693Z] Removing intermediate container fe8d15ad41b3 [2022-04-06T02:25:03.693Z] ---> 6cf7dfd65bd9 [2022-04-06T02:25:03.693Z] Step 10/24 : COPY . . [2022-04-06T02:25:04.266Z] ---> 1965038e74a7 [2022-04-06T02:25:04.267Z] Step 11/24 : ARG MAKE='make build' [2022-04-06T02:25:04.267Z] ---> Running in 97219bb1f1c5 [2022-04-06T02:25:04.267Z] Removing intermediate container 97219bb1f1c5 [2022-04-06T02:25:04.267Z] ---> de14ecbc3f30 [2022-04-06T02:25:04.267Z] Step 12/24 : RUN $MAKE [2022-04-06T02:25:04.267Z] ---> Running in 942ede48510f [2022-04-06T02:25:04.527Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-04-06T02:25:19.431Z] Removing intermediate container 942ede48510f [2022-04-06T02:25:19.431Z] ---> 0f039e1a0ecf [2022-04-06T02:25:19.431Z] Step 13/24 : FROM alpine:3.14 [2022-04-06T02:25:19.431Z] 3.14: Pulling from library/alpine [2022-04-06T02:25:19.431Z] 8663204ce13b: Pulling fs layer [2022-04-06T02:25:19.431Z] 8663204ce13b: Verifying Checksum [2022-04-06T02:25:19.431Z] 8663204ce13b: Download complete [2022-04-06T02:25:19.431Z] 8663204ce13b: Pull complete [2022-04-06T02:25:19.431Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T02:25:19.431Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T02:25:19.431Z] ---> e04c818066af [2022-04-06T02:25:19.431Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-06T02:25:19.431Z] ---> Running in bf4c97069aa1 [2022-04-06T02:25:19.431Z] Removing intermediate container bf4c97069aa1 [2022-04-06T02:25:19.431Z] ---> b8552cc6ad42 [2022-04-06T02:25:19.431Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T02:25:19.431Z] ---> Running in 90657f919a25 [2022-04-06T02:25:19.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-06T02:25:19.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-06T02:25:19.431Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T02:25:19.431Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T02:25:19.706Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T02:25:19.706Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T02:25:19.706Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T02:25:19.706Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T02:25:19.706Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T02:25:19.706Z] OK: 8 MiB in 20 packages [2022-04-06T02:25:19.969Z] Removing intermediate container 90657f919a25 [2022-04-06T02:25:19.969Z] ---> 8e5cb3cf474b [2022-04-06T02:25:19.969Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-06T02:25:20.540Z] ---> d628697e8be5 [2022-04-06T02:25:20.540Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-06T02:25:20.798Z] ---> 6eb53229d023 [2022-04-06T02:25:20.798Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-06T02:25:21.059Z] ---> e877f38375a8 [2022-04-06T02:25:21.059Z] Step 19/24 : EXPOSE 59982 [2022-04-06T02:25:21.059Z] ---> Running in ea17058a3a6f [2022-04-06T02:25:21.321Z] Removing intermediate container ea17058a3a6f [2022-04-06T02:25:21.322Z] ---> c91c0b7a3fe7 [2022-04-06T02:25:21.322Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-06T02:25:21.322Z] ---> Running in a55a6b623892 [2022-04-06T02:25:21.322Z] Removing intermediate container a55a6b623892 [2022-04-06T02:25:21.322Z] ---> 0bd69c11fd74 [2022-04-06T02:25:21.322Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-06T02:25:21.588Z] ---> Running in 17a65ddae7c5 [2022-04-06T02:25:21.588Z] Removing intermediate container 17a65ddae7c5 [2022-04-06T02:25:21.588Z] ---> 068a4fb566f1 [2022-04-06T02:25:21.588Z] Step 22/24 : LABEL arch=amd64 [2022-04-06T02:25:21.588Z] ---> Running in edd06ef17d3f [2022-04-06T02:25:21.588Z] Removing intermediate container edd06ef17d3f [2022-04-06T02:25:21.588Z] ---> 45dce0a802c4 [2022-04-06T02:25:21.588Z] Step 23/24 : LABEL git_sha=edad8006891888ca7215767c557239a2add3fda6 [2022-04-06T02:25:21.851Z] ---> Running in 56b400efef36 [2022-04-06T02:25:21.851Z] Removing intermediate container 56b400efef36 [2022-04-06T02:25:21.851Z] ---> 692aa9c672dc [2022-04-06T02:25:21.851Z] Step 24/24 : LABEL version=0.0.0 [2022-04-06T02:25:21.851Z] ---> Running in 9fc95b030eab [2022-04-06T02:25:22.110Z] Removing intermediate container 9fc95b030eab [2022-04-06T02:25:22.110Z] ---> 6117281014fc [2022-04-06T02:25:22.110Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T02:25:22.110Z] Successfully built 6117281014fc [2022-04-06T02:25:22.110Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:25:22.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T02:25:22.567Z] [2022-04-06T02:25:22.567Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:25:22.878Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T02:25:22.878Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-06T02:25:22.878Z] 5eb5b503b376: Pulling fs layer [2022-04-06T02:25:22.878Z] 5c69ac0246d0: Pulling fs layer [2022-04-06T02:25:22.878Z] ec43610c2a17: Pulling fs layer [2022-04-06T02:25:22.878Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-06T02:25:22.878Z] 33b1e0a273af: Pulling fs layer [2022-04-06T02:25:22.878Z] 5d3b04190fa2: Pulling fs layer [2022-04-06T02:25:22.878Z] 2f39f015ded8: Pulling fs layer [2022-04-06T02:25:22.878Z] 3a2ae6a8a46f: Waiting [2022-04-06T02:25:22.878Z] 33b1e0a273af: Waiting [2022-04-06T02:25:22.878Z] 5d3b04190fa2: Waiting [2022-04-06T02:25:22.878Z] 2f39f015ded8: Waiting [2022-04-06T02:25:22.878Z] 5c69ac0246d0: Verifying Checksum [2022-04-06T02:25:22.878Z] 5c69ac0246d0: Download complete [2022-04-06T02:25:22.878Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-06T02:25:22.878Z] 3a2ae6a8a46f: Download complete [2022-04-06T02:25:23.139Z] 33b1e0a273af: Verifying Checksum [2022-04-06T02:25:23.139Z] 33b1e0a273af: Download complete [2022-04-06T02:25:23.139Z] ec43610c2a17: Verifying Checksum [2022-04-06T02:25:23.139Z] ec43610c2a17: Download complete [2022-04-06T02:25:23.139Z] 5d3b04190fa2: Verifying Checksum [2022-04-06T02:25:23.139Z] 5d3b04190fa2: Download complete [2022-04-06T02:25:23.139Z] 5eb5b503b376: Verifying Checksum [2022-04-06T02:25:23.139Z] 5eb5b503b376: Download complete [2022-04-06T02:25:24.082Z] 2f39f015ded8: Download complete [2022-04-06T02:25:24.654Z] 5eb5b503b376: Pull complete [2022-04-06T02:25:24.654Z] 5c69ac0246d0: Pull complete [2022-04-06T02:25:25.225Z] ec43610c2a17: Pull complete [2022-04-06T02:25:25.225Z] 3a2ae6a8a46f: Pull complete [2022-04-06T02:25:25.486Z] 33b1e0a273af: Pull complete [2022-04-06T02:25:25.746Z] 5d3b04190fa2: Pull complete [2022-04-06T02:25:31.035Z] 2f39f015ded8: Pull complete [2022-04-06T02:25:31.035Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-06T02:25:31.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T02:25:31.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-06T02:25:31.112Z] prd-ubuntu20.04-docker-8c-8g-10871 does not seem to be running inside a container [2022-04-06T02:25:31.162Z] $ 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-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-06T02:25:33.685Z] $ docker top 12f1fc398d27fb25d80c3746eb278ab5c6dd3e9c3458643d14f4e1dff9fb28a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T02:25:34.154Z] ---> job-cost.sh [2022-04-06T02:25:34.155Z] lf-activate-venv: SKIPPING [2022-04-06T02:25:34.155Z] INFO: No Stack... [2022-04-06T02:25:34.416Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T02:25:34.989Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T02:25:35.291Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives/cost.csv [2022-04-06T02:25:35.291Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T02:25:35.306Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] [2022-04-06T02:25:35.315Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] did not exist. Created. [2022-04-06T02:25:35.315Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T02:25:35.629Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-06T02:25:35.665Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T02:25:35.672Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T02:25:35.702Z] $ docker stop --time=1 12f1fc398d27fb25d80c3746eb278ab5c6dd3e9c3458643d14f4e1dff9fb28a5 [2022-04-06T02:25:36.887Z] $ docker rm -f 12f1fc398d27fb25d80c3746eb278ab5c6dd3e9c3458643d14f4e1dff9fb28a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-06T02:27:50.048Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10875 in /w/workspace/gexfoundry_device-mqtt-go_PR-357 [Pipeline] { [Pipeline] ws [2022-04-06T02:27:50.067Z] Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout [2022-04-06T02:27:50.597Z] Selected Git installation does not exist. Using Default [2022-04-06T02:27:50.597Z] The recommended git tool is: NONE [2022-04-06T02:27:58.122Z] using credential edgex-jenkins-ssh [2022-04-06T02:27:58.156Z] Cloning the remote Git repository [2022-04-06T02:27:58.222Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-06T02:27:58.298Z] > git init /w/workspace/device-mqtt-go/3 # timeout=10 [2022-04-06T02:27:58.504Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-06T02:27:58.505Z] > git --version # timeout=10 [2022-04-06T02:27:58.539Z] > git --version # 'git version 2.25.1' [2022-04-06T02:27:58.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T02:27:58.647Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T02:28:00.011Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-06T02:28:00.036Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T02:28:00.065Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-06T02:28:00.098Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-06T02:28:00.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T02:28:00.111Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-06T02:28:00.703Z] Merging remotes/origin/main commit 6a0d17f3443cfc2038c22736989c6b24159166ee into PR head commit edad8006891888ca7215767c557239a2add3fda6 [2022-04-06T02:28:00.924Z] Merge succeeded, producing edad8006891888ca7215767c557239a2add3fda6 [2022-04-06T02:28:00.925Z] Checking out Revision edad8006891888ca7215767c557239a2add3fda6 (PR-357) [2022-04-06T02:28:00.729Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T02:28:00.751Z] > git checkout -f edad8006891888ca7215767c557239a2add3fda6 # timeout=10 [2022-04-06T02:28:00.840Z] > git remote # timeout=10 [2022-04-06T02:28:00.858Z] > git config --get remote.origin.url # timeout=10 [2022-04-06T02:28:00.873Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T02:28:00.885Z] > git merge 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 [2022-04-06T02:28:00.912Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-06T02:28:00.938Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T02:28:00.949Z] > git checkout -f edad8006891888ca7215767c557239a2add3fda6 # timeout=10 [2022-04-06T02:28:05.334Z] Commit message: "build(deps): Update device-sdk-go and other deps" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T02:28:06.285Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-06T02:28:06.285Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T02:28:06.285Z] Dload Upload Total Spent Left Speed [2022-04-06T02:28:06.285Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44190 0 --:--:-- --:--:-- --:--:-- 44190 [Pipeline] sh [2022-04-06T02:28:06.839Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-06T02:28:07.209Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-06T02:28:07.209Z] + sudo tee /etc/docker/daemon.new [2022-04-06T02:28:07.209Z] { [2022-04-06T02:28:07.209Z] "registry-mirrors": [ [2022-04-06T02:28:07.209Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-06T02:28:07.209Z] ], [2022-04-06T02:28:07.209Z] "bip": "10.250.0.254/24", [2022-04-06T02:28:07.209Z] "hosts": [ [2022-04-06T02:28:07.209Z] "tcp://0.0.0.0:5555", [2022-04-06T02:28:07.209Z] "unix:///var/run/docker.sock" [2022-04-06T02:28:07.209Z] ], [2022-04-06T02:28:07.209Z] "mtu": 1458, [2022-04-06T02:28:07.209Z] "selinux-enabled": true, [2022-04-06T02:28:07.209Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-06T02:28:07.209Z] } [Pipeline] sh [2022-04-06T02:28:07.630Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-06T02:28:08.001Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T02:28:26.419Z] provisioning config files... [2022-04-06T02:28:26.447Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config7442813411735662792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T02:28:26.826Z] ---> docker-login.sh [2022-04-06T02:28:26.826Z] nexus3.edgexfoundry.org:10001 [2022-04-06T02:28:27.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:28:27.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:28:27.699Z] Configure a credential helper to remove this warning. See [2022-04-06T02:28:27.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:28:27.699Z] [2022-04-06T02:28:27.699Z] Login Succeeded [2022-04-06T02:28:27.699Z] nexus3.edgexfoundry.org:10002 [2022-04-06T02:28:27.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:28:27.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:28:27.974Z] Configure a credential helper to remove this warning. See [2022-04-06T02:28:27.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:28:27.974Z] [2022-04-06T02:28:27.974Z] Login Succeeded [2022-04-06T02:28:27.974Z] nexus3.edgexfoundry.org:10003 [2022-04-06T02:28:28.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:28:28.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:28:28.577Z] Configure a credential helper to remove this warning. See [2022-04-06T02:28:28.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:28:28.577Z] [2022-04-06T02:28:28.577Z] Login Succeeded [2022-04-06T02:28:28.577Z] nexus3.edgexfoundry.org:10004 [2022-04-06T02:28:28.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:28:29.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:28:29.137Z] Configure a credential helper to remove this warning. See [2022-04-06T02:28:29.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:28:29.137Z] [2022-04-06T02:28:29.137Z] Login Succeeded [2022-04-06T02:28:29.137Z] docker.io [2022-04-06T02:28:29.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T02:28:29.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T02:28:29.691Z] Configure a credential helper to remove this warning. See [2022-04-06T02:28:29.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T02:28:29.691Z] [2022-04-06T02:28:29.691Z] Login Succeeded [2022-04-06T02:28:29.691Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T02:28:29.710Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T02:28:30.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T02:28:30.246Z] ========================================================= [2022-04-06T02:28:30.246Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-06T02:28:30.246Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:28:30.595Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-06T02:28:30.873Z] Sending build context to Docker daemon 3.063MB [2022-04-06T02:28:30.873Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T02:28:30.873Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T02:28:31.153Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-06T02:28:31.153Z] 9b3977197b4f: Pulling fs layer [2022-04-06T02:28:31.153Z] 1a89e8eeedd5: Pulling fs layer [2022-04-06T02:28:31.153Z] 94645a83ff95: Pulling fs layer [2022-04-06T02:28:31.153Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-06T02:28:31.153Z] 0c92f367c5e7: Pulling fs layer [2022-04-06T02:28:31.153Z] f7c0051592d6: Pulling fs layer [2022-04-06T02:28:31.153Z] a227ed2f7395: Pulling fs layer [2022-04-06T02:28:31.153Z] 7b1c46037f91: Pulling fs layer [2022-04-06T02:28:31.153Z] f7c0051592d6: Waiting [2022-04-06T02:28:31.153Z] a227ed2f7395: Waiting [2022-04-06T02:28:31.153Z] 3f3a8bcf1eab: Waiting [2022-04-06T02:28:31.153Z] 7b1c46037f91: Waiting [2022-04-06T02:28:31.153Z] 0c92f367c5e7: Waiting [2022-04-06T02:28:31.153Z] 94645a83ff95: Verifying Checksum [2022-04-06T02:28:31.153Z] 94645a83ff95: Download complete [2022-04-06T02:28:31.153Z] 1a89e8eeedd5: Verifying Checksum [2022-04-06T02:28:31.153Z] 1a89e8eeedd5: Download complete [2022-04-06T02:28:31.153Z] 0c92f367c5e7: Verifying Checksum [2022-04-06T02:28:31.153Z] 0c92f367c5e7: Download complete [2022-04-06T02:28:31.153Z] f7c0051592d6: Verifying Checksum [2022-04-06T02:28:31.153Z] f7c0051592d6: Download complete [2022-04-06T02:28:31.153Z] 9b3977197b4f: Verifying Checksum [2022-04-06T02:28:31.153Z] 9b3977197b4f: Download complete [2022-04-06T02:28:31.440Z] a227ed2f7395: Verifying Checksum [2022-04-06T02:28:31.440Z] a227ed2f7395: Download complete [2022-04-06T02:28:32.067Z] 9b3977197b4f: Pull complete [2022-04-06T02:28:32.556Z] 1a89e8eeedd5: Pull complete [2022-04-06T02:28:32.839Z] 94645a83ff95: Pull complete [2022-04-06T02:28:33.855Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-06T02:28:33.855Z] 3f3a8bcf1eab: Download complete [2022-04-06T02:28:34.132Z] 7b1c46037f91: Verifying Checksum [2022-04-06T02:28:34.132Z] 7b1c46037f91: Download complete [2022-04-06T02:28:46.834Z] 3f3a8bcf1eab: Pull complete [2022-04-06T02:28:46.834Z] 0c92f367c5e7: Pull complete [2022-04-06T02:28:46.834Z] f7c0051592d6: Pull complete [2022-04-06T02:28:47.111Z] a227ed2f7395: Pull complete [2022-04-06T02:28:53.876Z] 7b1c46037f91: Pull complete [2022-04-06T02:28:53.876Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-06T02:28:53.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-06T02:28:53.876Z] ---> f79e39bc4007 [2022-04-06T02:28:53.876Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T02:28:53.876Z] ---> Running in 4589edb27ee0 [2022-04-06T02:28:54.182Z] Removing intermediate container 4589edb27ee0 [2022-04-06T02:28:54.182Z] ---> 4a429dc8e61b [2022-04-06T02:28:54.182Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T02:28:54.485Z] ---> Running in b75e2071a706 [2022-04-06T02:28:54.485Z] Removing intermediate container b75e2071a706 [2022-04-06T02:28:54.485Z] ---> aa618e61fea5 [2022-04-06T02:28:54.485Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T02:28:54.769Z] ---> Running in bdc87f070353 [2022-04-06T02:28:56.778Z] Removing intermediate container bdc87f070353 [2022-04-06T02:28:56.778Z] ---> 2f094b68d1ab [2022-04-06T02:28:56.778Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T02:28:56.778Z] ---> Running in d2a6d37d42e0 [2022-04-06T02:28:57.592Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T02:28:58.634Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T02:29:02.080Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T02:29:02.364Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T02:29:02.646Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T02:29:06.050Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T02:29:07.496Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T02:29:07.496Z] OK: 224 MiB in 56 packages [2022-04-06T02:29:08.491Z] Removing intermediate container d2a6d37d42e0 [2022-04-06T02:29:08.491Z] ---> dc4601845ee3 [2022-04-06T02:29:08.491Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-06T02:29:08.491Z] ---> Running in 3ce97e24d9c3 [2022-04-06T02:29:08.770Z] Removing intermediate container 3ce97e24d9c3 [2022-04-06T02:29:08.770Z] ---> e44c0a191784 [2022-04-06T02:29:08.770Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-06T02:29:09.379Z] ---> 0aa8ba9bcab5 [2022-04-06T02:29:09.379Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T02:29:09.379Z] ---> Running in 82ffa38d9ea8 [2022-04-06T02:30:06.246Z] Removing intermediate container 82ffa38d9ea8 [2022-04-06T02:30:06.246Z] ---> 5406adc186bf [2022-04-06T02:30:06.246Z] Step 10/12 : COPY . . [2022-04-06T02:30:06.246Z] ---> 31804c5c4dcf [2022-04-06T02:30:06.246Z] Step 11/12 : ARG MAKE='make build' [2022-04-06T02:30:06.246Z] ---> Running in 4eb96a60348d [2022-04-06T02:30:06.246Z] Removing intermediate container 4eb96a60348d [2022-04-06T02:30:06.246Z] ---> 79f293dad986 [2022-04-06T02:30:06.246Z] Step 12/12 : RUN $MAKE [2022-04-06T02:30:06.246Z] ---> Running in cbcb76278e3d [2022-04-06T02:30:06.246Z] noop [2022-04-06T02:30:06.246Z] Removing intermediate container cbcb76278e3d [2022-04-06T02:30:06.246Z] ---> cb9d6f0f5f80 [2022-04-06T02:30:06.246Z] Successfully built cb9d6f0f5f80 [2022-04-06T02:30:06.246Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:30:06.599Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T02:30:06.599Z] . [Pipeline] withDockerContainer [2022-04-06T02:30:06.828Z] prd-ubuntu20.04-docker-arm64-4c-16g-10875 does not seem to be running inside a container [2022-04-06T02:30:06.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-06T02:30:08.252Z] $ docker top f8d1986f5bc0b2570d572f976a3e6babf3b3c302e1080cbdd566d9cfe70f6d44 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T02:30:09.169Z] + go version [2022-04-06T02:30:09.169Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-06T02:30:09.202Z] $ docker stop --time=1 f8d1986f5bc0b2570d572f976a3e6babf3b3c302e1080cbdd566d9cfe70f6d44 [2022-04-06T02:30:10.877Z] $ docker rm -f f8d1986f5bc0b2570d572f976a3e6babf3b3c302e1080cbdd566d9cfe70f6d44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:30:11.497Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T02:30:11.497Z] . [Pipeline] withDockerContainer [2022-04-06T02:30:11.736Z] prd-ubuntu20.04-docker-arm64-4c-16g-10875 does not seem to be running inside a container [2022-04-06T02:30:11.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-06T02:30:13.097Z] $ docker top c803a7332a1ddcd638f74aa63f3cd4e6bb1eb12c8aba27fa064490d21f49edf1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T02:30:14.030Z] + make test [2022-04-06T02:30:14.030Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-06T02:30:15.486Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-06T02:31:37.524Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-06T02:31:37.524Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements [2022-04-06T02:31:37.524Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-06T02:31:37.524Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-06T02:31:37.524Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T02:31:59.786Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T02:31:59.786Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T02:31:59.786Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T02:32:01.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T02:32:01.326Z] $ docker stop --time=1 c803a7332a1ddcd638f74aa63f3cd4e6bb1eb12c8aba27fa064490d21f49edf1 [2022-04-06T02:32:03.088Z] $ docker rm -f c803a7332a1ddcd638f74aa63f3cd4e6bb1eb12c8aba27fa064490d21f49edf1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T02:32:04.015Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T02:32:04.038Z] Warning: overwriting stash ‘coverage-report’ [2022-04-06T02:32:04.518Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T02:32:04.929Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T02:32:05.271Z] + ls -al . [2022-04-06T02:32:05.271Z] total 172 [2022-04-06T02:32:05.271Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 02:32 . [2022-04-06T02:32:05.271Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:27 .. [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 02:28 .dockerignore [2022-04-06T02:32:05.271Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 02:28 .git [2022-04-06T02:32:05.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 02:28 .github [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 02:28 .gitignore [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 02:28 .golangci.yml [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 6 02:28 Attribution.txt [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 6 02:28 CHANGELOG.md [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 6 02:28 Dockerfile [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 02:28 GOVERNANCE.md [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 6 02:28 Jenkinsfile [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 02:28 LICENSE [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 1544 Apr 6 02:28 Makefile [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 02:28 OWNERS.md [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 6 02:28 README.md [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 02:23 VERSION [2022-04-06T02:32:05.271Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 02:28 bin [2022-04-06T02:32:05.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 02:28 cmd [2022-04-06T02:32:05.271Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 6 02:31 coverage.out [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 6 02:28 go.mod [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 02:28 go.sum [2022-04-06T02:32:05.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 02:28 internal [2022-04-06T02:32:05.271Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 02:28 mock [2022-04-06T02:32:05.271Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:28 snap [2022-04-06T02:32:05.271Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 6 02:28 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:32:05.638Z] + 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=edad8006891888ca7215767c557239a2add3fda6 --label arch=arm64 --label version=0.0.0 . [2022-04-06T02:32:05.923Z] Sending build context to Docker daemon 3.081MB [2022-04-06T02:32:05.923Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T02:32:05.923Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-06T02:32:05.923Z] ---> cb9d6f0f5f80 [2022-04-06T02:32:05.923Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T02:32:06.224Z] ---> Running in 523be9379d25 [2022-04-06T02:32:06.501Z] Removing intermediate container 523be9379d25 [2022-04-06T02:32:06.501Z] ---> 79be3298e795 [2022-04-06T02:32:06.501Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T02:32:06.501Z] ---> Running in 0b2061ea1821 [2022-04-06T02:32:06.780Z] Removing intermediate container 0b2061ea1821 [2022-04-06T02:32:06.780Z] ---> 106ff34f0148 [2022-04-06T02:32:06.780Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T02:32:07.065Z] ---> Running in 533234fa1d42 [2022-04-06T02:32:08.531Z] Removing intermediate container 533234fa1d42 [2022-04-06T02:32:08.531Z] ---> 53dca976ef88 [2022-04-06T02:32:08.531Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T02:32:08.531Z] ---> Running in 06578ade2968 [2022-04-06T02:32:09.519Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T02:32:10.505Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T02:32:11.511Z] OK: 224 MiB in 56 packages [2022-04-06T02:32:12.114Z] Removing intermediate container 06578ade2968 [2022-04-06T02:32:12.114Z] ---> dfadbdef6e53 [2022-04-06T02:32:12.114Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-06T02:32:12.114Z] ---> Running in 9d6e6b38e2a0 [2022-04-06T02:32:12.393Z] Removing intermediate container 9d6e6b38e2a0 [2022-04-06T02:32:12.393Z] ---> d5c98fea444b [2022-04-06T02:32:12.393Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-06T02:32:13.006Z] ---> 07da4065edd4 [2022-04-06T02:32:13.006Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T02:32:13.006Z] ---> Running in c2609460f7ff [2022-04-06T02:32:15.012Z] Removing intermediate container c2609460f7ff [2022-04-06T02:32:15.012Z] ---> 7e7a5283c7c2 [2022-04-06T02:32:15.012Z] Step 10/24 : COPY . . [2022-04-06T02:32:16.002Z] ---> e36357f07c57 [2022-04-06T02:32:16.002Z] Step 11/24 : ARG MAKE='make build' [2022-04-06T02:32:16.002Z] ---> Running in 16115c323c9b [2022-04-06T02:32:16.277Z] Removing intermediate container 16115c323c9b [2022-04-06T02:32:16.277Z] ---> bc68109259d6 [2022-04-06T02:32:16.277Z] Step 12/24 : RUN $MAKE [2022-04-06T02:32:16.277Z] ---> Running in a674f0cb7316 [2022-04-06T02:32:17.275Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-04-06T02:33:39.206Z] Removing intermediate container a674f0cb7316 [2022-04-06T02:33:39.207Z] ---> 917674cf8bd8 [2022-04-06T02:33:39.207Z] Step 13/24 : FROM alpine:3.14 [2022-04-06T02:33:39.207Z] 3.14: Pulling from library/alpine [2022-04-06T02:33:39.207Z] 455c02918c45: Pulling fs layer [2022-04-06T02:33:39.207Z] 455c02918c45: Verifying Checksum [2022-04-06T02:33:39.207Z] 455c02918c45: Download complete [2022-04-06T02:33:39.207Z] 455c02918c45: Pull complete [2022-04-06T02:33:39.207Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T02:33:39.207Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T02:33:39.207Z] ---> ac73e934f311 [2022-04-06T02:33:39.207Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-06T02:33:39.207Z] ---> Running in 945fa620e2a0 [2022-04-06T02:33:39.207Z] Removing intermediate container 945fa620e2a0 [2022-04-06T02:33:39.207Z] ---> f6730c701938 [2022-04-06T02:33:39.207Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T02:33:39.207Z] ---> Running in a49c82b5aa64 [2022-04-06T02:33:39.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-06T02:33:39.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-06T02:33:39.207Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T02:33:39.207Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T02:33:39.207Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T02:33:39.207Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T02:33:39.207Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T02:33:39.207Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T02:33:39.207Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T02:33:39.207Z] OK: 8 MiB in 20 packages [2022-04-06T02:33:39.207Z] Removing intermediate container a49c82b5aa64 [2022-04-06T02:33:39.207Z] ---> cff6a1e3ff92 [2022-04-06T02:33:39.207Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-06T02:33:39.207Z] ---> 9da7be76ddf8 [2022-04-06T02:33:39.207Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-06T02:33:39.207Z] ---> a247aa7ebf99 [2022-04-06T02:33:39.207Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-06T02:33:39.207Z] ---> 75d3f0658677 [2022-04-06T02:33:39.207Z] Step 19/24 : EXPOSE 59982 [2022-04-06T02:33:39.207Z] ---> Running in d5f5df20e6a8 [2022-04-06T02:33:39.207Z] Removing intermediate container d5f5df20e6a8 [2022-04-06T02:33:39.207Z] ---> f8a4e009cc8e [2022-04-06T02:33:39.207Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-06T02:33:39.207Z] ---> Running in d7b4905245c0 [2022-04-06T02:33:39.207Z] Removing intermediate container d7b4905245c0 [2022-04-06T02:33:39.207Z] ---> eb27f682c7da [2022-04-06T02:33:39.207Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-06T02:33:39.207Z] ---> Running in beaeba930d62 [2022-04-06T02:33:39.207Z] Removing intermediate container beaeba930d62 [2022-04-06T02:33:39.207Z] ---> 33533f976dd1 [2022-04-06T02:33:39.207Z] Step 22/24 : LABEL arch=arm64 [2022-04-06T02:33:39.207Z] ---> Running in 677641752ab8 [2022-04-06T02:33:39.207Z] Removing intermediate container 677641752ab8 [2022-04-06T02:33:39.207Z] ---> 7ae43baf6284 [2022-04-06T02:33:39.207Z] Step 23/24 : LABEL git_sha=edad8006891888ca7215767c557239a2add3fda6 [2022-04-06T02:33:39.207Z] ---> Running in 58a0ed167639 [2022-04-06T02:33:39.207Z] Removing intermediate container 58a0ed167639 [2022-04-06T02:33:39.207Z] ---> f1df6b4ac968 [2022-04-06T02:33:39.207Z] Step 24/24 : LABEL version=0.0.0 [2022-04-06T02:33:39.207Z] ---> Running in d7edafb8b8e6 [2022-04-06T02:33:39.207Z] Removing intermediate container d7edafb8b8e6 [2022-04-06T02:33:39.207Z] ---> efbbc9197e47 [2022-04-06T02:33:39.207Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T02:33:39.207Z] Successfully built efbbc9197e47 [2022-04-06T02:33:39.207Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:33:39.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T02:33:39.694Z] [2022-04-06T02:33:39.694Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:33:40.050Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T02:33:40.332Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-06T02:33:40.332Z] 8998bd30e6a1: Pulling fs layer [2022-04-06T02:33:40.332Z] 04944245beec: Pulling fs layer [2022-04-06T02:33:40.332Z] 699f458cf7ca: Pulling fs layer [2022-04-06T02:33:40.332Z] 765212b225bb: Pulling fs layer [2022-04-06T02:33:40.332Z] f23df028b6ca: Pulling fs layer [2022-04-06T02:33:40.332Z] d65c8cfc05b1: Pulling fs layer [2022-04-06T02:33:40.332Z] 2437ff75d9bd: Pulling fs layer [2022-04-06T02:33:40.332Z] f23df028b6ca: Waiting [2022-04-06T02:33:40.332Z] 2437ff75d9bd: Waiting [2022-04-06T02:33:40.332Z] d65c8cfc05b1: Waiting [2022-04-06T02:33:40.332Z] 765212b225bb: Waiting [2022-04-06T02:33:40.332Z] 04944245beec: Verifying Checksum [2022-04-06T02:33:40.332Z] 04944245beec: Download complete [2022-04-06T02:33:40.332Z] 765212b225bb: Verifying Checksum [2022-04-06T02:33:40.333Z] 765212b225bb: Download complete [2022-04-06T02:33:40.333Z] f23df028b6ca: Verifying Checksum [2022-04-06T02:33:40.333Z] f23df028b6ca: Download complete [2022-04-06T02:33:40.333Z] d65c8cfc05b1: Verifying Checksum [2022-04-06T02:33:40.333Z] d65c8cfc05b1: Download complete [2022-04-06T02:33:40.614Z] 699f458cf7ca: Verifying Checksum [2022-04-06T02:33:40.614Z] 699f458cf7ca: Download complete [2022-04-06T02:33:40.893Z] 8998bd30e6a1: Verifying Checksum [2022-04-06T02:33:40.893Z] 8998bd30e6a1: Download complete [2022-04-06T02:33:43.537Z] 2437ff75d9bd: Verifying Checksum [2022-04-06T02:33:43.537Z] 2437ff75d9bd: Download complete [2022-04-06T02:33:44.984Z] 8998bd30e6a1: Pull complete [2022-04-06T02:33:45.609Z] 04944245beec: Pull complete [2022-04-06T02:33:47.072Z] 699f458cf7ca: Pull complete [2022-04-06T02:33:47.356Z] 765212b225bb: Pull complete [2022-04-06T02:33:47.965Z] f23df028b6ca: Pull complete [2022-04-06T02:33:48.248Z] d65c8cfc05b1: Pull complete [2022-04-06T02:34:03.408Z] 2437ff75d9bd: Pull complete [2022-04-06T02:34:03.408Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-06T02:34:03.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T02:34:03.408Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-06T02:34:03.696Z] prd-ubuntu20.04-docker-arm64-4c-16g-10875 does not seem to be running inside a container [2022-04-06T02:34:03.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-06T02:34:06.426Z] $ docker top ad2e4cf132b719abb6dedab10e00fb757f9a3336120e2090e8176d619b2fd589 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T02:34:07.365Z] ---> job-cost.sh [2022-04-06T02:34:07.365Z] lf-activate-venv: SKIPPING [2022-04-06T02:34:07.365Z] INFO: No Stack... [2022-04-06T02:34:07.963Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-06T02:34:08.572Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T02:34:09.259Z] + + catcut /w/workspace/device-mqtt-go/3/archives/cost.csv -d, [2022-04-06T02:34:09.259Z] -f6 [Pipeline] lock [2022-04-06T02:34:09.330Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] [2022-04-06T02:34:09.339Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] did not exist. Created. [2022-04-06T02:34:09.340Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T02:34:10.050Z] /w/workspace/device-mqtt-go/3@tmp/durable-6533ba28/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-06T02:34:10.752Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-06T02:34:10.785Z] Warning: overwriting stash ‘stack-cost’ [2022-04-06T02:34:10.829Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T02:34:10.836Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T02:34:10.864Z] $ docker stop --time=1 ad2e4cf132b719abb6dedab10e00fb757f9a3336120e2090e8176d619b2fd589 [2022-04-06T02:34:12.350Z] $ docker rm -f ad2e4cf132b719abb6dedab10e00fb757f9a3336120e2090e8176d619b2fd589 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-06T02:34:12.962Z] provisioning config files... [2022-04-06T02:34:12.972Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config5790089467102431216tmp [Pipeline] { [Pipeline] sh [2022-04-06T02:34:13.278Z] + set +x [2022-04-06T02:34:13.278Z] + bash -s -- [2022-04-06T02:34:13.278Z] + curl -s https://codecov.io/bash [2022-04-06T02:34:13.278Z] [2022-04-06T02:34:13.278Z] _____ _ [2022-04-06T02:34:13.278Z] / ____| | | [2022-04-06T02:34:13.278Z] | | ___ __| | ___ ___ _____ __ [2022-04-06T02:34:13.278Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-06T02:34:13.278Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-06T02:34:13.278Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-06T02:34:13.278Z] Bash-1.0.6 [2022-04-06T02:34:13.278Z] [2022-04-06T02:34:13.278Z] [2022-04-06T02:34:13.278Z] ==> git version 2.25.1 found [2022-04-06T02:34:13.278Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-06T02:34:13.278Z] Release-Date: 2020-01-08 [2022-04-06T02:34:13.278Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-06T02:34:13.278Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-06T02:34:13.278Z] ==> Jenkins CI detected. [2022-04-06T02:34:13.278Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-357 [2022-04-06T02:34:13.278Z] project root: . [2022-04-06T02:34:13.278Z] --> token set from env [2022-04-06T02:34:13.278Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-06T02:34:13.539Z] ==> Running gcov in . (disable via -X gcov) [2022-04-06T02:34:13.539Z] ==> Python coveragepy not found [2022-04-06T02:34:13.539Z] ==> Searching for coverage reports in: [2022-04-06T02:34:13.539Z] + . [2022-04-06T02:34:13.539Z] -> Found 1 reports [2022-04-06T02:34:13.539Z] ==> Detecting git/mercurial file structure [2022-04-06T02:34:13.539Z] ==> Reading reports [2022-04-06T02:34:13.539Z] + ./coverage.out bytes=17887 [2022-04-06T02:34:13.539Z] ==> Appending adjustments [2022-04-06T02:34:13.539Z] https://docs.codecov.io/docs/fixing-reports [2022-04-06T02:34:13.539Z] + Found adjustments [2022-04-06T02:34:13.539Z] ==> Gzipping contents [2022-04-06T02:34:13.539Z] 4.0K /tmp/codecov.m7c6E9.gz [2022-04-06T02:34:13.539Z] ==> Uploading reports [2022-04-06T02:34:13.539Z] url: https://codecov.io [2022-04-06T02:34:13.539Z] query: branch=PR-357&commit=edad8006891888ca7215767c557239a2add3fda6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-357%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=357&job=&cmd_args= [2022-04-06T02:34:13.539Z] -> Pinging Codecov [2022-04-06T02:34:13.539Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-357&commit=edad8006891888ca7215767c557239a2add3fda6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-357%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=357&job=&cmd_args= [2022-04-06T02:34:14.111Z] -> Uploading to [2022-04-06T02:34:14.111Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-06/7D719EC7BBE17E464838252E33014C33/edad8006891888ca7215767c557239a2add3fda6/fd65cc69-6602-463f-ba0e-98e669408bc0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T023413Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3893427b189fc24fce7391fd4077c43f2ae08ca3209ce0169b902fd295b72cf [2022-04-06T02:34:14.111Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T02:34:14.111Z] Dload Upload Total Spent Left Speed [2022-04-06T02:34:14.372Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 11601 --:--:-- --:--:-- --:--:-- 11560 100 3260 0 0 100 3260 0 11560 --:--:-- --:--:-- --:--:-- 11560 [2022-04-06T02:34:14.372Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/edad8006891888ca7215767c557239a2add3fda6 [Pipeline] } [2022-04-06T02:34:14.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-06T02:34:15.263Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives ] [2022-04-06T02:34:15.263Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives [2022-04-06T02:34:15.263Z] total 16 [2022-04-06T02:34:15.263Z] drwxr-xr-x 3 root root 4096 Apr 6 02:25 . [2022-04-06T02:34:15.263Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 02:25 .. [2022-04-06T02:34:15.263Z] drwxr-xr-x 2 root root 4096 Apr 6 02:25 cost [2022-04-06T02:34:15.263Z] -rw-r--r-- 1 root root 85 Apr 6 02:25 cost.csv [2022-04-06T02:34:15.263Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives [2022-04-06T02:34:15.263Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives [2022-04-06T02:34:15.263Z] total 16 [2022-04-06T02:34:15.263Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 02:25 . [2022-04-06T02:34:15.263Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 02:25 .. [2022-04-06T02:34:15.263Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 02:25 cost [2022-04-06T02:34:15.263Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 6 02:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-06T02:34:15.561Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T02:34:16.437Z] ---> package-listing.sh [2022-04-06T02:34:16.437Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-06T02:34:16.437Z] ++ facter osfamily [2022-04-06T02:34:16.698Z] + OS_FAMILY=debian [2022-04-06T02:34:16.698Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-357 [2022-04-06T02:34:16.698Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-06T02:34:16.698Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-06T02:34:16.698Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-06T02:34:16.698Z] + PACKAGES=/tmp/packages_start.txt [2022-04-06T02:34:16.698Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-357 ']' [2022-04-06T02:34:16.698Z] + PACKAGES=/tmp/packages_end.txt [2022-04-06T02:34:16.698Z] + case "${OS_FAMILY}" in [2022-04-06T02:34:16.698Z] + dpkg -l [2022-04-06T02:34:16.698Z] + grep '^ii' [2022-04-06T02:34:16.698Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-06T02:34:16.698Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-06T02:34:16.698Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-06T02:34:16.698Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-357 ']' [2022-04-06T02:34:16.698Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives/ [2022-04-06T02:34:16.698Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives/ [Pipeline] echo [2022-04-06T02:34:16.713Z] 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-06T02:34:17.000Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-06T02:34:17.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T02:34:17.559Z] . [Pipeline] withDockerContainer [2022-04-06T02:34:17.721Z] prd-ubuntu20.04-docker-8c-8g-10871 does not seem to be running inside a container [2022-04-06T02:34:17.801Z] $ 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-357/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-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-06T02:34:18.083Z] $ docker top 27ec82dbe3a2f8ce6f74e72af14098573ba45f93c3c35aebe4fef0e3e8903fe3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T02:34:18.452Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-06T02:34:18.748Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-06T02:34:19.039Z] + ls /var/log/sa-host [2022-04-06T02:34:19.039Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T02:34:19.265Z] provisioning config files... [2022-04-06T02:34:19.276Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config1089505686271348799tmp [Pipeline] { [Pipeline] echo [2022-04-06T02:34:19.293Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T02:34:19.582Z] ---> create-netrc.sh [Pipeline] } [2022-04-06T02:34:19.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-06T02:34:19.936Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-06T02:34:19.947Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T02:34:20.245Z] ---> sudo-logs.sh [2022-04-06T02:34:20.245Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-06T02:34:20.271Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T02:34:20.566Z] ---> job-cost.sh [2022-04-06T02:34:20.566Z] lf-activate-venv: SKIPPING [2022-04-06T02:34:20.566Z] DEBUG: total: 0.2199999988079071 [2022-04-06T02:34:20.566Z] INFO: Retrieving Stack Cost... [2022-04-06T02:34:20.828Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T02:34:21.398Z] INFO: Archiving Costs [Pipeline] echo [2022-04-06T02:34:21.415Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T02:34:21.710Z] ---> logs-deploy.sh [2022-04-06T02:34:21.710Z] lf-activate-venv: SKIPPING [2022-04-06T02:34:21.710Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-357/3 [2022-04-06T02:34:21.710Z] INFO: archiving workspace using pattern(s): [2022-04-06T02:34:22.655Z] Archives upload complete. [2022-04-06T02:34:23.229Z] INFO: archiving logs to Nexus