Pull request #514 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2de0c52ae0f71b1a817e2be6016120d5cd045a3f+bc7652beee9a90296fe0b57947c4589a421f5e02 (3c6d0cf03ca13bdb77f120dcf455bf5d0e1a4083) 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-ssh17793526666638702555.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13531035009011066006.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9017785298969925098.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1587741849246782473.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh7034533593522896372.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-514/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-514/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11873616360360599736.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8719 in /w/workspace/gexfoundry_device-mqtt-go_PR-514 [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-514 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 2de0c52ae0f71b1a817e2be6016120d5cd045a3f > 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/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2de0c52ae0f71b1a817e2be6016120d5cd045a3f # 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 bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 Merge succeeded, producing 2de0c52ae0f71b1a817e2be6016120d5cd045a3f Checking out Revision 2de0c52ae0f71b1a817e2be6016120d5cd045a3f (PR-514) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-08T01:59:57.535Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-08T01:59:57.721Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-08T01:59:57.816Z] ========================================================= [2023-03-08T01:59:57.816Z] EdgeX Global Pipelines Version Info [2023-03-08T01:59:57.816Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2de0c52ae0f71b1a817e2be6016120d5cd045a3f # timeout=10 [2023-03-08T01:59:58.565Z] ------------------- [2023-03-08T01:59:58.565Z] stable info: [2023-03-08T01:59:58.565Z] ------------------- [2023-03-08T01:59:58.565Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-08T01:59:58.565Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T01:59:58.565Z] Message: update stable to v1.0.244 [2023-03-08T01:59:59.137Z] ------------------- [2023-03-08T01:59:59.137Z] experimental info: [2023-03-08T01:59:59.137Z] ------------------- [2023-03-08T01:59:59.137Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-08T01:59:59.137Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T01:59:59.137Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-08T01:59:59.399Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-08T01:59:59.438Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-08T01:59:59.475Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-08T01:59:59.513Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-08T01:59:59.547Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-08T01:59:59.582Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-08T01:59:59.618Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-08T01:59:59.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-08T01:59:59.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-08T01:59:59.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-08T01:59:59.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-08T01:59:59.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-08T01:59:59.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-08T01:59:59.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-08T01:59:59.920Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T01:59:59.958Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T01:59:59.995Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T02:00:00.036Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T02:00:00.071Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-08T02:00:00.107Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-08T02:00:00.141Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-08T02:00:00.176Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-08T02:00:00.215Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-08T02:00:00.251Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-08T02:00:00.285Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-08T02:00:00.324Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-08T02:00:00.362Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-08T02:00:00.394Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-514 [Pipeline] echo [2023-03-08T02:00:00.430Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-514 [Pipeline] echo [2023-03-08T02:00:00.464Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-514 [Pipeline] echo [2023-03-08T02:00:00.509Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2de0c52ae0f71b1a817e2be6016120d5cd045a3f [Pipeline] echo [2023-03-08T02:00:00.550Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2de0c52 [Pipeline] echo [2023-03-08T02:00:00.590Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T02:00:00.699Z] provisioning config files... [2023-03-08T02:00:00.716Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp/config8408911121940143931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T02:00:01.061Z] ---> docker-login.sh [2023-03-08T02:00:01.061Z] nexus3.edgexfoundry.org:10001 [2023-03-08T02:00:01.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:00:01.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:00:01.322Z] Configure a credential helper to remove this warning. See [2023-03-08T02:00:01.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:00:01.322Z] [2023-03-08T02:00:01.322Z] Login Succeeded [2023-03-08T02:00:01.322Z] nexus3.edgexfoundry.org:10002 [2023-03-08T02:00:01.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:00:01.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:00:01.322Z] Configure a credential helper to remove this warning. See [2023-03-08T02:00:01.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:00:01.322Z] [2023-03-08T02:00:01.322Z] Login Succeeded [2023-03-08T02:00:01.584Z] nexus3.edgexfoundry.org:10003 [2023-03-08T02:00:01.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:00:01.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:00:01.584Z] Configure a credential helper to remove this warning. See [2023-03-08T02:00:01.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:00:01.584Z] [2023-03-08T02:00:01.584Z] Login Succeeded [2023-03-08T02:00:01.584Z] nexus3.edgexfoundry.org:10004 [2023-03-08T02:00:01.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:00:01.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:00:01.584Z] Configure a credential helper to remove this warning. See [2023-03-08T02:00:01.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:00:01.584Z] [2023-03-08T02:00:01.584Z] Login Succeeded [2023-03-08T02:00:01.584Z] docker.io [2023-03-08T02:00:01.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:00:03.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:00:03.228Z] Configure a credential helper to remove this warning. See [2023-03-08T02:00:03.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:00:03.228Z] [2023-03-08T02:00:03.228Z] Login Succeeded [2023-03-08T02:00:03.228Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T02:00:03.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-08T02:00:03.858Z] + git rev-list -1 --merges 2de0c52ae0f71b1a817e2be6016120d5cd045a3f~1..2de0c52ae0f71b1a817e2be6016120d5cd045a3f [Pipeline] echo [2023-03-08T02:00:03.922Z] -----------> git rev-list -1 --merges 2de0c52ae0f71b1a817e2be6016120d5cd045a3f~1..2de0c52ae0f71b1a817e2be6016120d5cd045a3f 2de0c52ae0f71b1a817e2be6016120d5cd045a3f [false] [Pipeline] sh [2023-03-08T02:00:04.224Z] + git log --format=format:%s -1 2de0c52ae0f71b1a817e2be6016120d5cd045a3f [Pipeline] echo [2023-03-08T02:00:04.258Z] ========================================================= [2023-03-08T02:00:04.258Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-08T02:00:04.258Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T02:00:04.689Z] + git log --format=format:%s -1 2de0c52ae0f71b1a817e2be6016120d5cd045a3f [Pipeline] echo [2023-03-08T02:00:04.723Z] [semverPrep] GIT_COMMIT: 2de0c52ae0f71b1a817e2be6016120d5cd045a3f, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-08T02:00:04.752Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-08T02:00:05.120Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T02:00:05.120Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-08T02:00:05.120Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-08T02:00:05.120Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-08T02:00:05.120Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-08T02:00:05.120Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-08T02:00:05.120Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:00:05.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T02:00:05.542Z] [2023-03-08T02:00:05.542Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:00:05.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T02:00:05.915Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-08T02:00:05.915Z] b85a868b505f: Pulling fs layer [2023-03-08T02:00:05.915Z] e2be974225ed: Pulling fs layer [2023-03-08T02:00:05.915Z] 339a4e72a1f5: Pulling fs layer [2023-03-08T02:00:05.915Z] 988bab9f4d93: Pulling fs layer [2023-03-08T02:00:05.915Z] 1469e6f7b9e6: Pulling fs layer [2023-03-08T02:00:05.915Z] eaf3925da568: Pulling fs layer [2023-03-08T02:00:05.915Z] bab4dde63d76: Pulling fs layer [2023-03-08T02:00:05.915Z] bde34c3a00c8: Pulling fs layer [2023-03-08T02:00:05.915Z] b352a97aabf1: Pulling fs layer [2023-03-08T02:00:05.915Z] 4872d77fe225: Pulling fs layer [2023-03-08T02:00:05.915Z] 5851b861e8e6: Pulling fs layer [2023-03-08T02:00:05.915Z] bab4dde63d76: Waiting [2023-03-08T02:00:05.915Z] bde34c3a00c8: Waiting [2023-03-08T02:00:05.915Z] b352a97aabf1: Waiting [2023-03-08T02:00:05.915Z] 4872d77fe225: Waiting [2023-03-08T02:00:05.915Z] 5851b861e8e6: Waiting [2023-03-08T02:00:05.915Z] 1469e6f7b9e6: Waiting [2023-03-08T02:00:05.915Z] 988bab9f4d93: Waiting [2023-03-08T02:00:05.915Z] eaf3925da568: Waiting [2023-03-08T02:00:05.915Z] e2be974225ed: Verifying Checksum [2023-03-08T02:00:05.915Z] e2be974225ed: Download complete [2023-03-08T02:00:05.915Z] 988bab9f4d93: Verifying Checksum [2023-03-08T02:00:05.915Z] 988bab9f4d93: Download complete [2023-03-08T02:00:06.176Z] 1469e6f7b9e6: Verifying Checksum [2023-03-08T02:00:06.176Z] 1469e6f7b9e6: Download complete [2023-03-08T02:00:06.176Z] 339a4e72a1f5: Verifying Checksum [2023-03-08T02:00:06.176Z] 339a4e72a1f5: Download complete [2023-03-08T02:00:06.176Z] eaf3925da568: Verifying Checksum [2023-03-08T02:00:06.176Z] eaf3925da568: Download complete [2023-03-08T02:00:06.176Z] bde34c3a00c8: Download complete [2023-03-08T02:00:06.176Z] b352a97aabf1: Download complete [2023-03-08T02:00:06.176Z] 4872d77fe225: Verifying Checksum [2023-03-08T02:00:06.176Z] 4872d77fe225: Download complete [2023-03-08T02:00:06.176Z] 5851b861e8e6: Verifying Checksum [2023-03-08T02:00:06.176Z] 5851b861e8e6: Download complete [2023-03-08T02:00:06.176Z] b85a868b505f: Verifying Checksum [2023-03-08T02:00:06.176Z] b85a868b505f: Download complete [2023-03-08T02:00:06.435Z] bab4dde63d76: Verifying Checksum [2023-03-08T02:00:06.435Z] bab4dde63d76: Download complete [2023-03-08T02:00:07.812Z] b85a868b505f: Pull complete [2023-03-08T02:00:07.812Z] e2be974225ed: Pull complete [2023-03-08T02:00:08.380Z] 339a4e72a1f5: Pull complete [2023-03-08T02:00:08.380Z] 988bab9f4d93: Pull complete [2023-03-08T02:00:08.641Z] 1469e6f7b9e6: Pull complete [2023-03-08T02:00:08.641Z] eaf3925da568: Pull complete [2023-03-08T02:00:10.544Z] bab4dde63d76: Pull complete [2023-03-08T02:00:10.544Z] bde34c3a00c8: Pull complete [2023-03-08T02:00:10.802Z] b352a97aabf1: Pull complete [2023-03-08T02:00:10.803Z] 4872d77fe225: Pull complete [2023-03-08T02:00:11.062Z] 5851b861e8e6: Pull complete [2023-03-08T02:00:11.062Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-08T02:00:11.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T02:00:11.062Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T02:00:11.290Z] prd-ubuntu20.04-docker-8c-8g-8719 does not seem to be running inside a container [2023-03-08T02:00:11.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-514 -v /w/workspace/gexfoundry_device-mqtt-go_PR-514:/w/workspace/gexfoundry_device-mqtt-go_PR-514:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-514@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-08T02:00:12.744Z] $ docker top b8ce53e1aeacf1805d5308314d9b8fa9c8b91c6fd579d2d94cc56c35a9f52dc9 -eo pid,comm [2023-03-08T02:00:12.799Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-08T02:00:12.799Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T02:00:12.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T02:00:12.912Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T02:00:13.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T02:00:13.021Z] $ docker exec b8ce53e1aeacf1805d5308314d9b8fa9c8b91c6fd579d2d94cc56c35a9f52dc9 ssh-agent [2023-03-08T02:00:13.130Z] SSH_AUTH_SOCK=/tmp/ssh-87sj8WAF6PFB/agent.31 [2023-03-08T02:00:13.130Z] SSH_AGENT_PID=37 [2023-03-08T02:00:13.136Z] Running ssh-add (command line suppressed) [2023-03-08T02:00:13.249Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp/private_key_8504491432058176515.key (/w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp/private_key_8504491432058176515.key) [2023-03-08T02:00:13.261Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T02:00:13.590Z] + git tag --points-at HEAD [Pipeline] } [2023-03-08T02:00:13.619Z] $ docker exec --env ******** --env ******** b8ce53e1aeacf1805d5308314d9b8fa9c8b91c6fd579d2d94cc56c35a9f52dc9 ssh-agent -k [2023-03-08T02:00:13.720Z] unset SSH_AUTH_SOCK; [2023-03-08T02:00:13.721Z] unset SSH_AGENT_PID; [2023-03-08T02:00:13.721Z] echo Agent pid 37 killed; [2023-03-08T02:00:13.727Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-08T02:00:13.818Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T02:00:13.818Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T02:00:13.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T02:00:13.937Z] $ docker exec b8ce53e1aeacf1805d5308314d9b8fa9c8b91c6fd579d2d94cc56c35a9f52dc9 ssh-agent [2023-03-08T02:00:14.047Z] SSH_AUTH_SOCK=/tmp/ssh-WS4eeRebTXXB/agent.69 [2023-03-08T02:00:14.047Z] SSH_AGENT_PID=75 [2023-03-08T02:00:14.053Z] Running ssh-add (command line suppressed) [2023-03-08T02:00:14.165Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp/private_key_12875099927761601984.key (/w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp/private_key_12875099927761601984.key) [2023-03-08T02:00:14.176Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T02:00:14.500Z] + git semver init [2023-03-08T02:00:14.763Z] 2023-03-08 02:00:14,736 [run_init] DEBUG init version:0.0.0 force:False [2023-03-08T02:00:14.763Z] 2023-03-08 02:00:14,737 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-514/.semver [2023-03-08T02:00:14.763Z] 2023-03-08 02:00:14,738 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-514/.semver [2023-03-08T02:00:14.763Z] 2023-03-08 02:00:14,738 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-514/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-514, universal_newlines=False, shell=None, istream=None) [2023-03-08T02:00:15.700Z] 2023-03-08 02:00:15,590 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-514/.git/info/exclude [2023-03-08T02:00:15.700Z] 2023-03-08 02:00:15,591 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-514/.semver/PR-514 with force:False [2023-03-08T02:00:15.700Z] 2023-03-08 02:00:15,591 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-514/.semver/PR-514 [2023-03-08T02:00:15.700Z] 2023-03-08 02:00:15,594 [execute] INFO git cat-file --batch-check [2023-03-08T02:00:15.700Z] 2023-03-08 02:00:15,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-514/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T02:00:15.700Z] 2023-03-08 02:00:15,599 [execute] INFO git cat-file --batch [2023-03-08T02:00:15.700Z] 2023-03-08 02:00:15,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-514/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T02:00:15.700Z] 2023-03-08 02:00:15,604 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-514/.semver/PR-514 [2023-03-08T02:00:15.700Z] 0.0.0 [Pipeline] } [2023-03-08T02:00:15.726Z] $ docker exec --env ******** --env ******** b8ce53e1aeacf1805d5308314d9b8fa9c8b91c6fd579d2d94cc56c35a9f52dc9 ssh-agent -k [2023-03-08T02:00:15.827Z] unset SSH_AUTH_SOCK; [2023-03-08T02:00:15.827Z] unset SSH_AGENT_PID; [2023-03-08T02:00:15.827Z] echo Agent pid 75 killed; [2023-03-08T02:00:15.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T02:00:16.259Z] + git semver [Pipeline] } [2023-03-08T02:00:16.913Z] $ docker stop --time=1 b8ce53e1aeacf1805d5308314d9b8fa9c8b91c6fd579d2d94cc56c35a9f52dc9 [2023-03-08T02:00:18.264Z] $ docker rm -f --volumes b8ce53e1aeacf1805d5308314d9b8fa9c8b91c6fd579d2d94cc56c35a9f52dc9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T02:00:18.659Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-08T02:00:18.937Z] Stashed 1 file(s) [Pipeline] echo [2023-03-08T02:00:18.963Z] [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 [2023-03-08T02:00:19.544Z] provisioning config files... [2023-03-08T02:00:19.555Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp/config15802407054575526362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T02:00:19.899Z] ---> docker-login.sh [2023-03-08T02:00:19.899Z] nexus3.edgexfoundry.org:10001 [2023-03-08T02:00:19.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:00:19.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:00:19.899Z] Configure a credential helper to remove this warning. See [2023-03-08T02:00:19.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:00:19.899Z] [2023-03-08T02:00:19.899Z] Login Succeeded [2023-03-08T02:00:19.899Z] nexus3.edgexfoundry.org:10002 [2023-03-08T02:00:19.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:00:19.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:00:19.899Z] Configure a credential helper to remove this warning. See [2023-03-08T02:00:19.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:00:19.899Z] [2023-03-08T02:00:19.899Z] Login Succeeded [2023-03-08T02:00:19.899Z] nexus3.edgexfoundry.org:10003 [2023-03-08T02:00:20.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:00:20.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:00:20.158Z] Configure a credential helper to remove this warning. See [2023-03-08T02:00:20.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:00:20.158Z] [2023-03-08T02:00:20.158Z] Login Succeeded [2023-03-08T02:00:20.158Z] nexus3.edgexfoundry.org:10004 [2023-03-08T02:00:20.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:00:20.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:00:20.158Z] Configure a credential helper to remove this warning. See [2023-03-08T02:00:20.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:00:20.158Z] [2023-03-08T02:00:20.158Z] Login Succeeded [2023-03-08T02:00:20.158Z] docker.io [2023-03-08T02:00:20.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:00:20.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:00:20.420Z] Configure a credential helper to remove this warning. See [2023-03-08T02:00:20.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:00:20.420Z] [2023-03-08T02:00:20.420Z] Login Succeeded [2023-03-08T02:00:20.420Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T02:00:20.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T02:00:20.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T02:00:20.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T02:00:20.691Z] ========================================================= [2023-03-08T02:00:20.691Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-08T02:00:20.691Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:00:21.162Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-08T02:00:21.162Z] Sending build context to Docker daemon 6.341MB [2023-03-08T02:00:21.162Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T02:00:21.162Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-08T02:00:21.162Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-08T02:00:21.162Z] 213ec9aee27d: Pulling fs layer [2023-03-08T02:00:21.162Z] 4583459ba037: Pulling fs layer [2023-03-08T02:00:21.162Z] 93c1e223e6f2: Pulling fs layer [2023-03-08T02:00:21.162Z] 53926ce57604: Pulling fs layer [2023-03-08T02:00:21.162Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-08T02:00:21.162Z] 22ff95d597cd: Pulling fs layer [2023-03-08T02:00:21.162Z] 12d6caf4c0d1: Pulling fs layer [2023-03-08T02:00:21.162Z] 96b7cbca73a9: Pulling fs layer [2023-03-08T02:00:21.162Z] a7acece74701: Pulling fs layer [2023-03-08T02:00:21.162Z] 21b2b0c7a3f4: Waiting [2023-03-08T02:00:21.162Z] 22ff95d597cd: Waiting [2023-03-08T02:00:21.162Z] a7acece74701: Waiting [2023-03-08T02:00:21.162Z] 12d6caf4c0d1: Waiting [2023-03-08T02:00:21.162Z] 53926ce57604: Waiting [2023-03-08T02:00:21.162Z] 96b7cbca73a9: Waiting [2023-03-08T02:00:21.162Z] 93c1e223e6f2: Verifying Checksum [2023-03-08T02:00:21.162Z] 93c1e223e6f2: Download complete [2023-03-08T02:00:21.162Z] 4583459ba037: Verifying Checksum [2023-03-08T02:00:21.162Z] 4583459ba037: Download complete [2023-03-08T02:00:21.422Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-08T02:00:21.422Z] 21b2b0c7a3f4: Download complete [2023-03-08T02:00:21.422Z] 22ff95d597cd: Verifying Checksum [2023-03-08T02:00:21.422Z] 22ff95d597cd: Download complete [2023-03-08T02:00:21.422Z] 213ec9aee27d: Verifying Checksum [2023-03-08T02:00:21.422Z] 213ec9aee27d: Download complete [2023-03-08T02:00:21.422Z] 12d6caf4c0d1: Download complete [2023-03-08T02:00:21.422Z] 213ec9aee27d: Pull complete [2023-03-08T02:00:21.687Z] 4583459ba037: Pull complete [2023-03-08T02:00:21.687Z] 93c1e223e6f2: Pull complete [2023-03-08T02:00:21.950Z] a7acece74701: Verifying Checksum [2023-03-08T02:00:21.950Z] a7acece74701: Download complete [2023-03-08T02:00:22.207Z] 96b7cbca73a9: Download complete [2023-03-08T02:00:22.207Z] 53926ce57604: Verifying Checksum [2023-03-08T02:00:22.207Z] 53926ce57604: Download complete [2023-03-08T02:00:26.395Z] 53926ce57604: Pull complete [2023-03-08T02:00:26.395Z] 21b2b0c7a3f4: Pull complete [2023-03-08T02:00:26.395Z] 22ff95d597cd: Pull complete [2023-03-08T02:00:26.395Z] 12d6caf4c0d1: Pull complete [2023-03-08T02:00:28.926Z] 96b7cbca73a9: Pull complete [2023-03-08T02:00:29.495Z] a7acece74701: Pull complete [2023-03-08T02:00:29.495Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-08T02:00:29.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-08T02:00:29.752Z] ---> db6d94c90886 [2023-03-08T02:00:29.752Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-08T02:00:31.128Z] ---> Running in 8ec2f55a8a64 [2023-03-08T02:00:31.388Z] Removing intermediate container 8ec2f55a8a64 [2023-03-08T02:00:31.388Z] ---> 53902577baa5 [2023-03-08T02:00:31.388Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T02:00:31.388Z] ---> Running in 2673a760af11 [2023-03-08T02:00:31.388Z] Removing intermediate container 2673a760af11 [2023-03-08T02:00:31.388Z] ---> 6c7ae69a974c [2023-03-08T02:00:31.388Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T02:00:31.388Z] ---> Running in 92404c71e4ae [2023-03-08T02:00:31.646Z] Removing intermediate container 92404c71e4ae [2023-03-08T02:00:31.646Z] ---> e51bd6125120 [2023-03-08T02:00:31.646Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T02:00:31.646Z] ---> Running in 90dffed8466f [2023-03-08T02:00:31.646Z] Removing intermediate container 90dffed8466f [2023-03-08T02:00:31.646Z] ---> f15f2e3a55ce [2023-03-08T02:00:31.646Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T02:00:31.905Z] ---> Running in b11eb12f3e3d [2023-03-08T02:00:32.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T02:00:32.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T02:00:32.730Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-08T02:00:32.730Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-08T02:00:32.730Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-08T02:00:32.730Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-08T02:00:32.730Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T02:00:32.730Z] OK: 216 MiB in 55 packages [2023-03-08T02:00:33.296Z] Removing intermediate container b11eb12f3e3d [2023-03-08T02:00:33.296Z] ---> da2193037839 [2023-03-08T02:00:33.296Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-08T02:00:33.296Z] ---> Running in be8cbe62c61d [2023-03-08T02:00:33.296Z] Removing intermediate container be8cbe62c61d [2023-03-08T02:00:33.296Z] ---> 85944e2ed9fb [2023-03-08T02:00:33.296Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-08T02:00:33.555Z] ---> ce2cb1d48c16 [2023-03-08T02:00:33.555Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T02:00:33.555Z] ---> Running in ec35f2234403 [2023-03-08T02:00:34.361Z] Still waiting to schedule task [2023-03-08T02:00:34.362Z] ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-08T02:00:34.362Z] ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-08T02:00:34.362Z] ‘prd-ubuntu18.04-docker-8c-8g-8554’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-08T02:00:34.362Z] ‘prd-ubuntu20.04-docker-8c-8g-8717’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-08T02:00:34.362Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8716’ is offline [2023-03-08T02:00:34.362Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8720’ is offline [2023-03-08T02:01:00.107Z] Removing intermediate container ec35f2234403 [2023-03-08T02:01:00.107Z] ---> f949cc4fd705 [2023-03-08T02:01:00.107Z] Step 11/12 : COPY . . [2023-03-08T02:01:00.107Z] ---> 427764089e5b [2023-03-08T02:01:00.107Z] Step 12/12 : RUN $MAKE [2023-03-08T02:01:00.107Z] ---> Running in bc821a530437 [2023-03-08T02:01:00.107Z] noop [2023-03-08T02:01:00.107Z] Removing intermediate container bc821a530437 [2023-03-08T02:01:00.107Z] ---> 21148802809d [2023-03-08T02:01:00.107Z] Successfully built 21148802809d [2023-03-08T02:01:00.107Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:01:00.544Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T02:01:00.544Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T02:01:00.967Z] prd-ubuntu20.04-docker-8c-8g-8719 does not seem to be running inside a container [2023-03-08T02:01:00.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-514 -v /w/workspace/gexfoundry_device-mqtt-go_PR-514:/w/workspace/gexfoundry_device-mqtt-go_PR-514:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-514@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 ******** ci-base-image-x86_64 cat [2023-03-08T02:01:01.369Z] $ docker top 0b0985d6de610649afb2cedb6fa1e3e80c41ccfe5ed0746886c49376bfbede60 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T02:01:01.763Z] + go version [2023-03-08T02:01:01.763Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-08T02:01:01.796Z] $ docker stop --time=1 0b0985d6de610649afb2cedb6fa1e3e80c41ccfe5ed0746886c49376bfbede60 [2023-03-08T02:01:03.114Z] $ docker rm -f --volumes 0b0985d6de610649afb2cedb6fa1e3e80c41ccfe5ed0746886c49376bfbede60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:01:04.012Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T02:01:04.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T02:01:04.157Z] prd-ubuntu20.04-docker-8c-8g-8719 does not seem to be running inside a container [2023-03-08T02:01:04.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-514 -v /w/workspace/gexfoundry_device-mqtt-go_PR-514:/w/workspace/gexfoundry_device-mqtt-go_PR-514:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-514@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 ******** ci-base-image-x86_64 cat [2023-03-08T02:01:04.519Z] $ docker top 2daabd9df08fbfc0e6f160a085609c321dbeb2bc18f1ea9645c66fe9a94285ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T02:01:04.951Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-514 [Pipeline] fileExists [Pipeline] sh [2023-03-08T02:01:05.302Z] + make test [2023-03-08T02:01:05.302Z] go test ./... -coverprofile=coverage.out ./... [2023-03-08T02:01:05.560Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-08T02:01:15.543Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-08T02:01:16.109Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 21.8% of statements [2023-03-08T02:01:16.109Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-08T02:01:24.212Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-08T02:01:24.212Z] go vet ./... [2023-03-08T02:01:26.744Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T02:01:26.744Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T02:01:26.744Z] ./bin/test-attribution-txt.sh [2023-03-08T02:01:26.744Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-03-08T02:01:26.744Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-03-08T02:01:26.782Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T02:01:26.812Z] $ docker stop --time=1 2daabd9df08fbfc0e6f160a085609c321dbeb2bc18f1ea9645c66fe9a94285ef [2023-03-08T02:01:28.546Z] $ docker rm -f --volumes 2daabd9df08fbfc0e6f160a085609c321dbeb2bc18f1ea9645c66fe9a94285ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T02:01:29.146Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T02:01:29.212Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-08T02:01:29.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T02:01:30.168Z] + ls -al . [2023-03-08T02:01:30.168Z] total 180 [2023-03-08T02:01:30.168Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 02:01 . [2023-03-08T02:01:30.168Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 01:59 .. [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 01:59 .dockerignore [2023-03-08T02:01:30.168Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 02:01 .git [2023-03-08T02:01:30.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 01:59 .github [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 8 01:59 .gitignore [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 01:59 .golangci.yml [2023-03-08T02:01:30.168Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 02:00 .semver [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 9189 Mar 8 01:59 Attribution.txt [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 8 01:59 CHANGELOG.md [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 8 01:59 Dockerfile [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 01:59 GOVERNANCE.md [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 8 01:59 Jenkinsfile [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 01:59 LICENSE [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 8 01:59 Makefile [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 01:59 OWNERS.md [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 8 01:59 README.md [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 02:00 VERSION [2023-03-08T02:01:30.168Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 01:59 bin [2023-03-08T02:01:30.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 01:59 cmd [2023-03-08T02:01:30.168Z] -rw-r--r-- 1 jenkins jenkins 17887 Mar 8 02:01 coverage.out [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 8 01:59 go.mod [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 8 01:59 go.sum [2023-03-08T02:01:30.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 01:59 internal [2023-03-08T02:01:30.168Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 01:59 mock [2023-03-08T02:01:30.168Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 01:59 snap [2023-03-08T02:01:30.168Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 8 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:01:30.564Z] + 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=2de0c52ae0f71b1a817e2be6016120d5cd045a3f --label arch=amd64 --label version=0.0.0 . [2023-03-08T02:01:30.564Z] Sending build context to Docker daemon 6.36MB [2023-03-08T02:01:30.564Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T02:01:30.564Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-08T02:01:30.564Z] ---> 21148802809d [2023-03-08T02:01:30.564Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-08T02:01:30.564Z] ---> Running in d78faaf96116 [2023-03-08T02:01:30.822Z] Removing intermediate container d78faaf96116 [2023-03-08T02:01:30.822Z] ---> fe5fe5c28344 [2023-03-08T02:01:30.822Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T02:01:30.822Z] ---> Running in 9ecd4fb06a4e [2023-03-08T02:01:30.822Z] Removing intermediate container 9ecd4fb06a4e [2023-03-08T02:01:30.822Z] ---> c35b890c6bac [2023-03-08T02:01:30.822Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T02:01:30.822Z] ---> Running in 12d62d9ab5fd [2023-03-08T02:01:31.080Z] Removing intermediate container 12d62d9ab5fd [2023-03-08T02:01:31.080Z] ---> 92f108527f4b [2023-03-08T02:01:31.080Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T02:01:31.080Z] ---> Running in 228ec37a506c [2023-03-08T02:01:31.080Z] Removing intermediate container 228ec37a506c [2023-03-08T02:01:31.080Z] ---> 752b44bdb121 [2023-03-08T02:01:31.080Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T02:01:31.080Z] ---> Running in cd5080a7895d [2023-03-08T02:01:31.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T02:01:31.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T02:01:31.858Z] OK: 216 MiB in 55 packages [2023-03-08T02:01:32.431Z] Removing intermediate container cd5080a7895d [2023-03-08T02:01:32.431Z] ---> e634101c933e [2023-03-08T02:01:32.431Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-08T02:01:32.431Z] ---> Running in 0619d2488944 [2023-03-08T02:01:32.431Z] Removing intermediate container 0619d2488944 [2023-03-08T02:01:32.431Z] ---> 8a1ba639ddfe [2023-03-08T02:01:32.431Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-08T02:01:32.431Z] ---> aa171a2ea419 [2023-03-08T02:01:32.431Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T02:01:32.692Z] ---> Running in 95fa1c615c85 [2023-03-08T02:01:33.629Z] Removing intermediate container 95fa1c615c85 [2023-03-08T02:01:33.629Z] ---> 8fd8cdd5ef52 [2023-03-08T02:01:33.629Z] Step 11/24 : COPY . . [2023-03-08T02:01:33.888Z] ---> 6354b1c563ed [2023-03-08T02:01:33.888Z] Step 12/24 : RUN $MAKE [2023-03-08T02:01:33.888Z] ---> Running in 50bc4b4a4123 [2023-03-08T02:01:34.147Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-08T02:01:56.075Z] Removing intermediate container 50bc4b4a4123 [2023-03-08T02:01:56.075Z] ---> f285338dce96 [2023-03-08T02:01:56.075Z] Step 13/24 : FROM alpine:3.16 [2023-03-08T02:01:56.075Z] 3.16: Pulling from library/alpine [2023-03-08T02:01:56.075Z] ef5531b6e74e: Pulling fs layer [2023-03-08T02:01:56.075Z] ef5531b6e74e: Download complete [2023-03-08T02:01:56.075Z] ef5531b6e74e: Pull complete [2023-03-08T02:01:56.075Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T02:01:56.075Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T02:01:56.075Z] ---> dfd21b5a31f5 [2023-03-08T02:01:56.075Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-08T02:01:56.075Z] ---> Running in 1c3302b12029 [2023-03-08T02:01:56.075Z] Removing intermediate container 1c3302b12029 [2023-03-08T02:01:56.075Z] ---> b422838189c4 [2023-03-08T02:01:56.075Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-08T02:01:56.075Z] ---> Running in 084ed2fa98c1 [2023-03-08T02:01:56.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T02:01:56.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T02:01:56.075Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-08T02:01:56.075Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T02:01:56.075Z] OK: 6 MiB in 15 packages [2023-03-08T02:01:56.075Z] Removing intermediate container 084ed2fa98c1 [2023-03-08T02:01:56.075Z] ---> f2c656ddc12b [2023-03-08T02:01:56.075Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-08T02:01:56.075Z] ---> 729fea918681 [2023-03-08T02:01:56.075Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-08T02:01:56.075Z] ---> f1063f3293ec [2023-03-08T02:01:56.075Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-08T02:01:56.075Z] ---> c69ab0084955 [2023-03-08T02:01:56.075Z] Step 19/24 : EXPOSE 59982 [2023-03-08T02:01:56.075Z] ---> Running in 53e5d59100cd [2023-03-08T02:01:56.075Z] Removing intermediate container 53e5d59100cd [2023-03-08T02:01:56.075Z] ---> c6b6b7b7b73f [2023-03-08T02:01:56.075Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-08T02:01:56.075Z] ---> Running in 8e9b49bd3fad [2023-03-08T02:01:56.075Z] Removing intermediate container 8e9b49bd3fad [2023-03-08T02:01:56.075Z] ---> 37d1e19353ca [2023-03-08T02:01:56.075Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-08T02:01:56.075Z] ---> Running in d56f0dbd4504 [2023-03-08T02:01:56.334Z] Removing intermediate container d56f0dbd4504 [2023-03-08T02:01:56.334Z] ---> be6107fc990a [2023-03-08T02:01:56.334Z] Step 22/24 : LABEL arch=amd64 [2023-03-08T02:01:56.334Z] ---> Running in 38b6599903d8 [2023-03-08T02:01:56.334Z] Removing intermediate container 38b6599903d8 [2023-03-08T02:01:56.334Z] ---> caeae49bf01c [2023-03-08T02:01:56.334Z] Step 23/24 : LABEL git_sha=2de0c52ae0f71b1a817e2be6016120d5cd045a3f [2023-03-08T02:01:56.334Z] ---> Running in 76e6c8b780e9 [2023-03-08T02:01:56.594Z] Removing intermediate container 76e6c8b780e9 [2023-03-08T02:01:56.594Z] ---> 10e57b1d13e8 [2023-03-08T02:01:56.594Z] Step 24/24 : LABEL version=0.0.0 [2023-03-08T02:01:56.594Z] ---> Running in a30863de960f [2023-03-08T02:01:56.594Z] Removing intermediate container a30863de960f [2023-03-08T02:01:56.594Z] ---> 31ce07672037 [2023-03-08T02:01:56.594Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T02:01:56.594Z] Successfully built 31ce07672037 [2023-03-08T02:01:56.594Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:01:57.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T02:01:57.436Z] [2023-03-08T02:01:57.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:01:57.810Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T02:01:57.810Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-08T02:01:57.810Z] 5eb5b503b376: Pulling fs layer [2023-03-08T02:01:57.810Z] 5c69ac0246d0: Pulling fs layer [2023-03-08T02:01:57.810Z] ec43610c2a17: Pulling fs layer [2023-03-08T02:01:57.810Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-08T02:01:57.810Z] 33b1e0a273af: Pulling fs layer [2023-03-08T02:01:57.810Z] 5d3b04190fa2: Pulling fs layer [2023-03-08T02:01:57.810Z] 2f39f015ded8: Pulling fs layer [2023-03-08T02:01:57.810Z] 33b1e0a273af: Waiting [2023-03-08T02:01:57.810Z] 5d3b04190fa2: Waiting [2023-03-08T02:01:57.810Z] 3a2ae6a8a46f: Waiting [2023-03-08T02:01:57.810Z] 2f39f015ded8: Waiting [2023-03-08T02:01:57.810Z] 5c69ac0246d0: Download complete [2023-03-08T02:01:57.810Z] 3a2ae6a8a46f: Download complete [2023-03-08T02:01:58.071Z] 33b1e0a273af: Verifying Checksum [2023-03-08T02:01:58.071Z] 33b1e0a273af: Download complete [2023-03-08T02:01:58.071Z] 5d3b04190fa2: Download complete [2023-03-08T02:01:58.071Z] ec43610c2a17: Verifying Checksum [2023-03-08T02:01:58.071Z] ec43610c2a17: Download complete [2023-03-08T02:01:58.071Z] 5eb5b503b376: Verifying Checksum [2023-03-08T02:01:58.071Z] 5eb5b503b376: Download complete [2023-03-08T02:01:59.008Z] 2f39f015ded8: Download complete [2023-03-08T02:01:59.266Z] 5eb5b503b376: Pull complete [2023-03-08T02:01:59.524Z] 5c69ac0246d0: Pull complete [2023-03-08T02:02:00.091Z] ec43610c2a17: Pull complete [2023-03-08T02:02:00.091Z] 3a2ae6a8a46f: Pull complete [2023-03-08T02:02:00.349Z] 33b1e0a273af: Pull complete [2023-03-08T02:02:00.349Z] 5d3b04190fa2: Pull complete [2023-03-08T02:02:05.615Z] 2f39f015ded8: Pull complete [2023-03-08T02:02:05.615Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-08T02:02:05.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T02:02:05.616Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T02:02:05.835Z] prd-ubuntu20.04-docker-8c-8g-8719 does not seem to be running inside a container [2023-03-08T02:02:05.867Z] $ 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-514 -v /w/workspace/gexfoundry_device-mqtt-go_PR-514:/w/workspace/gexfoundry_device-mqtt-go_PR-514:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T02:02:07.484Z] $ docker top 4481e6c04666d70f4435f74ce0ea2e597e9fa975833528bf3b12dce8cd35ff16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T02:02:07.912Z] ---> job-cost.sh [2023-03-08T02:02:07.913Z] lf-activate-venv: SKIPPING [2023-03-08T02:02:07.913Z] INFO: No Stack... [2023-03-08T02:02:08.174Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T02:02:08.433Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T02:02:08.748Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-514/archives/cost.csv [2023-03-08T02:02:08.748Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T02:02:08.793Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-514-1-stack-cost] [2023-03-08T02:02:08.798Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-514-1-stack-cost] did not exist. Created. [2023-03-08T02:02:08.798Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-514-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T02:02:09.189Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-08T02:02:09.234Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T02:02:09.258Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-514-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T02:02:09.332Z] $ docker stop --time=1 4481e6c04666d70f4435f74ce0ea2e597e9fa975833528bf3b12dce8cd35ff16 [2023-03-08T02:02:10.493Z] $ docker rm -f --volumes 4481e6c04666d70f4435f74ce0ea2e597e9fa975833528bf3b12dce8cd35ff16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-08T02:03:15.003Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8722 in /w/workspace/gexfoundry_device-mqtt-go_PR-514 [Pipeline] { [Pipeline] ws [2023-03-08T02:03:15.057Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-08T02:03:15.150Z] Selected Git installation does not exist. Using Default [2023-03-08T02:03:15.150Z] The recommended git tool is: NONE [2023-03-08T02:03:21.584Z] using credential edgex-jenkins-ssh [2023-03-08T02:03:21.604Z] Cloning the remote Git repository [2023-03-08T02:03:21.667Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T02:03:21.767Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-08T02:03:21.965Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T02:03:21.967Z] > git --version # timeout=10 [2023-03-08T02:03:21.992Z] > git --version # 'git version 2.25.1' [2023-03-08T02:03:21.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T02:03:22.063Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T02:03:23.260Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-08T02:03:23.283Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T02:03:24.935Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 2de0c52ae0f71b1a817e2be6016120d5cd045a3f [2023-03-08T02:03:25.203Z] Merge succeeded, producing 2de0c52ae0f71b1a817e2be6016120d5cd045a3f [2023-03-08T02:03:25.204Z] Checking out Revision 2de0c52ae0f71b1a817e2be6016120d5cd045a3f (PR-514) [2023-03-08T02:03:24.348Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-08T02:03:24.399Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T02:03:24.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T02:03:24.420Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-08T02:03:24.960Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T02:03:24.985Z] > git checkout -f 2de0c52ae0f71b1a817e2be6016120d5cd045a3f # timeout=10 [2023-03-08T02:03:25.091Z] > git remote # timeout=10 [2023-03-08T02:03:25.113Z] > git config --get remote.origin.url # timeout=10 [2023-03-08T02:03:25.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T02:03:25.150Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-03-08T02:03:25.182Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-08T02:03:25.214Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T02:03:25.232Z] > git checkout -f 2de0c52ae0f71b1a817e2be6016120d5cd045a3f # timeout=10 [2023-03-08T02:03:25.788Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-08T02:03:25.850Z] > git --version # timeout=10 [2023-03-08T02:03:25.864Z] > git --version # 'git version 2.25.1' [2023-03-08T02:03:25.883Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T02:03:26.926Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-08T02:03:26.926Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T02:03:26.926Z] Dload Upload Total Spent Left Speed [2023-03-08T02:03:27.201Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 30002 0 --:--:-- --:--:-- --:--:-- 30073 [Pipeline] sh [2023-03-08T02:03:27.812Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-08T02:03:28.167Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-08T02:03:28.167Z] + sudo tee /etc/docker/daemon.new [2023-03-08T02:03:28.167Z] { [2023-03-08T02:03:28.167Z] "registry-mirrors": [ [2023-03-08T02:03:28.167Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-08T02:03:28.167Z] ], [2023-03-08T02:03:28.167Z] "bip": "10.250.0.254/24", [2023-03-08T02:03:28.167Z] "hosts": [ [2023-03-08T02:03:28.167Z] "tcp://0.0.0.0:5555", [2023-03-08T02:03:28.167Z] "unix:///var/run/docker.sock" [2023-03-08T02:03:28.167Z] ], [2023-03-08T02:03:28.167Z] "mtu": 1458, [2023-03-08T02:03:28.167Z] "selinux-enabled": true, [2023-03-08T02:03:28.167Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-08T02:03:28.167Z] } [Pipeline] sh [2023-03-08T02:03:28.521Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-08T02:03:28.872Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T02:03:47.208Z] provisioning config files... [2023-03-08T02:03:47.241Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config14902920771681782001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T02:03:47.645Z] ---> docker-login.sh [2023-03-08T02:03:47.645Z] nexus3.edgexfoundry.org:10001 [2023-03-08T02:03:48.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:03:48.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:03:48.239Z] Configure a credential helper to remove this warning. See [2023-03-08T02:03:48.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:03:48.239Z] [2023-03-08T02:03:48.239Z] Login Succeeded [2023-03-08T02:03:48.239Z] nexus3.edgexfoundry.org:10002 [2023-03-08T02:03:48.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:03:48.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:03:48.786Z] Configure a credential helper to remove this warning. See [2023-03-08T02:03:48.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:03:48.786Z] [2023-03-08T02:03:48.786Z] Login Succeeded [2023-03-08T02:03:48.786Z] nexus3.edgexfoundry.org:10003 [2023-03-08T02:03:49.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:03:49.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:03:49.058Z] Configure a credential helper to remove this warning. See [2023-03-08T02:03:49.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:03:49.058Z] [2023-03-08T02:03:49.058Z] Login Succeeded [2023-03-08T02:03:49.058Z] nexus3.edgexfoundry.org:10004 [2023-03-08T02:03:49.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:03:49.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:03:49.332Z] Configure a credential helper to remove this warning. See [2023-03-08T02:03:49.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:03:49.332Z] [2023-03-08T02:03:49.332Z] Login Succeeded [2023-03-08T02:03:49.332Z] docker.io [2023-03-08T02:03:49.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T02:03:49.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T02:03:49.881Z] Configure a credential helper to remove this warning. See [2023-03-08T02:03:49.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T02:03:49.881Z] [2023-03-08T02:03:49.881Z] Login Succeeded [2023-03-08T02:03:49.881Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T02:03:49.906Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T02:03:50.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T02:03:50.333Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T02:03:50.365Z] ========================================================= [2023-03-08T02:03:50.365Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-08T02:03:50.365Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:03:50.865Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-08T02:03:51.135Z] Sending build context to Docker daemon 3.304MB [2023-03-08T02:03:51.135Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T02:03:51.135Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-08T02:03:51.419Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-08T02:03:51.419Z] 9b18e9b68314: Pulling fs layer [2023-03-08T02:03:51.419Z] 35d82f9e3411: Pulling fs layer [2023-03-08T02:03:51.419Z] e16973657156: Pulling fs layer [2023-03-08T02:03:51.419Z] fc693d55d65f: Pulling fs layer [2023-03-08T02:03:51.419Z] 7e9fc2657dce: Pulling fs layer [2023-03-08T02:03:51.419Z] dda99020689f: Pulling fs layer [2023-03-08T02:03:51.419Z] db1c61fa0a46: Pulling fs layer [2023-03-08T02:03:51.419Z] 891c053d2c06: Pulling fs layer [2023-03-08T02:03:51.419Z] 7e9fc2657dce: Waiting [2023-03-08T02:03:51.419Z] dda99020689f: Waiting [2023-03-08T02:03:51.419Z] fc693d55d65f: Waiting [2023-03-08T02:03:51.419Z] db1c61fa0a46: Waiting [2023-03-08T02:03:51.419Z] 891c053d2c06: Waiting [2023-03-08T02:03:51.419Z] e16973657156: Verifying Checksum [2023-03-08T02:03:51.419Z] e16973657156: Download complete [2023-03-08T02:03:51.419Z] 35d82f9e3411: Verifying Checksum [2023-03-08T02:03:51.419Z] 35d82f9e3411: Download complete [2023-03-08T02:03:51.419Z] 7e9fc2657dce: Verifying Checksum [2023-03-08T02:03:51.419Z] 7e9fc2657dce: Download complete [2023-03-08T02:03:51.419Z] 9b18e9b68314: Verifying Checksum [2023-03-08T02:03:51.419Z] dda99020689f: Download complete [2023-03-08T02:03:52.856Z] 9b18e9b68314: Pull complete [2023-03-08T02:03:52.856Z] 891c053d2c06: Verifying Checksum [2023-03-08T02:03:52.856Z] 891c053d2c06: Download complete [2023-03-08T02:03:53.134Z] 35d82f9e3411: Pull complete [2023-03-08T02:03:53.404Z] e16973657156: Pull complete [2023-03-08T02:03:53.994Z] db1c61fa0a46: Verifying Checksum [2023-03-08T02:03:53.994Z] db1c61fa0a46: Download complete [2023-03-08T02:03:54.589Z] fc693d55d65f: Download complete [2023-03-08T02:04:09.761Z] fc693d55d65f: Pull complete [2023-03-08T02:04:09.761Z] 7e9fc2657dce: Pull complete [2023-03-08T02:04:09.761Z] dda99020689f: Pull complete [2023-03-08T02:04:14.040Z] db1c61fa0a46: Pull complete [2023-03-08T02:04:16.638Z] 891c053d2c06: Pull complete [2023-03-08T02:04:16.638Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-08T02:04:16.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-08T02:04:16.638Z] ---> f96f9c87975a [2023-03-08T02:04:16.638Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-08T02:04:18.058Z] ---> Running in f877807d72d1 [2023-03-08T02:04:18.643Z] Removing intermediate container f877807d72d1 [2023-03-08T02:04:18.644Z] ---> 00d764a90616 [2023-03-08T02:04:18.644Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T02:04:18.644Z] ---> Running in bc9875911d7a [2023-03-08T02:04:18.913Z] Removing intermediate container bc9875911d7a [2023-03-08T02:04:18.913Z] ---> 9567cffef31f [2023-03-08T02:04:18.913Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T02:04:18.913Z] ---> Running in ea492e509d80 [2023-03-08T02:04:19.183Z] Removing intermediate container ea492e509d80 [2023-03-08T02:04:19.183Z] ---> e5adc2253fa1 [2023-03-08T02:04:19.183Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T02:04:19.455Z] ---> Running in 9898ceed4062 [2023-03-08T02:04:19.731Z] Removing intermediate container 9898ceed4062 [2023-03-08T02:04:19.731Z] ---> da6f109ff346 [2023-03-08T02:04:19.731Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T02:04:19.731Z] ---> Running in a98cabead59d [2023-03-08T02:04:21.146Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T02:04:21.146Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T02:04:22.565Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-08T02:04:22.565Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-08T02:04:22.565Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-08T02:04:22.834Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-08T02:04:23.105Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T02:04:23.105Z] OK: 226 MiB in 55 packages [2023-03-08T02:04:24.089Z] Removing intermediate container a98cabead59d [2023-03-08T02:04:24.089Z] ---> b7b90b4adc73 [2023-03-08T02:04:24.089Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-08T02:04:24.089Z] ---> Running in 43f1b2c81087 [2023-03-08T02:04:24.678Z] Removing intermediate container 43f1b2c81087 [2023-03-08T02:04:24.678Z] ---> 76b8b366e4c3 [2023-03-08T02:04:24.678Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-08T02:04:24.945Z] ---> 86558a7f008c [2023-03-08T02:04:24.946Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T02:04:25.216Z] ---> Running in 4a621ae08466 [2023-03-08T02:05:33.116Z] Removing intermediate container 4a621ae08466 [2023-03-08T02:05:33.116Z] ---> 72ab2264364a [2023-03-08T02:05:33.116Z] Step 11/12 : COPY . . [2023-03-08T02:05:33.116Z] ---> 62d986f76910 [2023-03-08T02:05:33.116Z] Step 12/12 : RUN $MAKE [2023-03-08T02:05:33.116Z] ---> Running in e4e847a91777 [2023-03-08T02:05:33.116Z] noop [2023-03-08T02:05:33.116Z] Removing intermediate container e4e847a91777 [2023-03-08T02:05:33.116Z] ---> 411f7857aac7 [2023-03-08T02:05:33.116Z] Successfully built 411f7857aac7 [2023-03-08T02:05:33.116Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:05:33.592Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T02:05:33.592Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T02:05:33.880Z] prd-ubuntu20.04-docker-arm64-4c-16g-8722 does not seem to be running inside a container [2023-03-08T02:05:33.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat [2023-03-08T02:05:35.198Z] $ docker top 72ad064b2c74a9f37406d0d230c363f0121801b610369e6c6bfac9b4d524a9db -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T02:05:36.099Z] + go version [2023-03-08T02:05:36.099Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-08T02:05:36.133Z] $ docker stop --time=1 72ad064b2c74a9f37406d0d230c363f0121801b610369e6c6bfac9b4d524a9db [2023-03-08T02:05:37.746Z] $ docker rm -f --volumes 72ad064b2c74a9f37406d0d230c363f0121801b610369e6c6bfac9b4d524a9db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:05:38.606Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T02:05:38.607Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T02:05:38.850Z] prd-ubuntu20.04-docker-arm64-4c-16g-8722 does not seem to be running inside a container [2023-03-08T02:05:38.915Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat [2023-03-08T02:05:41.376Z] $ docker top f39f6677cb2d25b9633f798e84446493048aed927e2ef94a54b8f973c1d3b5f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T02:05:42.262Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-08T02:05:42.979Z] + make test [2023-03-08T02:05:42.979Z] go test ./... -coverprofile=coverage.out ./... [2023-03-08T02:05:44.391Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-08T02:07:21.107Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-08T02:07:21.107Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements [2023-03-08T02:07:21.107Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-08T02:07:21.107Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-08T02:07:21.107Z] go vet ./... [2023-03-08T02:07:43.203Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T02:07:43.203Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T02:07:43.203Z] ./bin/test-attribution-txt.sh [2023-03-08T02:07:43.203Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-03-08T02:07:43.203Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-03-08T02:07:43.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T02:07:43.279Z] $ docker stop --time=1 f39f6677cb2d25b9633f798e84446493048aed927e2ef94a54b8f973c1d3b5f0 [2023-03-08T02:07:45.215Z] $ docker rm -f --volumes f39f6677cb2d25b9633f798e84446493048aed927e2ef94a54b8f973c1d3b5f0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T02:07:46.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T02:07:46.399Z] Warning: overwriting stash ‘coverage-report’ [2023-03-08T02:07:46.958Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T02:07:47.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T02:07:47.899Z] + ls -al . [2023-03-08T02:07:47.899Z] total 176 [2023-03-08T02:07:47.899Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 02:05 . [2023-03-08T02:07:47.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 02:03 .. [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 02:03 .dockerignore [2023-03-08T02:07:47.899Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 02:03 .git [2023-03-08T02:07:47.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 02:03 .github [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 8 02:03 .gitignore [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 02:03 .golangci.yml [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 9189 Mar 8 02:03 Attribution.txt [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 8 02:03 CHANGELOG.md [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 8 02:03 Dockerfile [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 02:03 GOVERNANCE.md [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 8 02:03 Jenkinsfile [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 02:03 LICENSE [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 8 02:03 Makefile [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 02:03 OWNERS.md [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 8 02:03 README.md [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 02:00 VERSION [2023-03-08T02:07:47.899Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 02:03 bin [2023-03-08T02:07:47.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 02:03 cmd [2023-03-08T02:07:47.899Z] -rw-r--r-- 1 jenkins jenkins 17887 Mar 8 02:07 coverage.out [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 8 02:03 go.mod [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 8 02:03 go.sum [2023-03-08T02:07:47.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 02:03 internal [2023-03-08T02:07:47.899Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 02:03 mock [2023-03-08T02:07:47.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 02:03 snap [2023-03-08T02:07:47.899Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 8 02:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:07:48.360Z] + 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=2de0c52ae0f71b1a817e2be6016120d5cd045a3f --label arch=arm64 --label version=0.0.0 . [2023-03-08T02:07:48.959Z] Sending build context to Docker daemon 3.322MB [2023-03-08T02:07:49.234Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T02:07:49.234Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-08T02:07:49.234Z] ---> 411f7857aac7 [2023-03-08T02:07:49.234Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-08T02:07:49.234Z] ---> Running in 575ed7ef5420 [2023-03-08T02:07:49.822Z] Removing intermediate container 575ed7ef5420 [2023-03-08T02:07:49.822Z] ---> 7dff55b7abed [2023-03-08T02:07:49.822Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T02:07:50.091Z] ---> Running in f04a04eca83b [2023-03-08T02:07:50.363Z] Removing intermediate container f04a04eca83b [2023-03-08T02:07:50.363Z] ---> 7c2c3282adc4 [2023-03-08T02:07:50.363Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T02:07:50.637Z] ---> Running in 3d15367f4232 [2023-03-08T02:07:50.912Z] Removing intermediate container 3d15367f4232 [2023-03-08T02:07:50.912Z] ---> a8c07c119ed9 [2023-03-08T02:07:50.912Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T02:07:51.182Z] ---> Running in 3ec48e12e9de [2023-03-08T02:07:51.453Z] Removing intermediate container 3ec48e12e9de [2023-03-08T02:07:51.453Z] ---> bb2ccfe39bc2 [2023-03-08T02:07:51.453Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T02:07:51.453Z] ---> Running in 3fd89c280fc6 [2023-03-08T02:07:52.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T02:07:53.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T02:07:54.556Z] OK: 226 MiB in 55 packages [2023-03-08T02:07:55.532Z] Removing intermediate container 3fd89c280fc6 [2023-03-08T02:07:55.532Z] ---> 17603d80e385 [2023-03-08T02:07:55.532Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-08T02:07:55.532Z] ---> Running in a04187153f7c [2023-03-08T02:07:56.119Z] Removing intermediate container a04187153f7c [2023-03-08T02:07:56.119Z] ---> 9908c19ed93b [2023-03-08T02:07:56.119Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-08T02:07:56.709Z] ---> 7ad791a0d711 [2023-03-08T02:07:56.709Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T02:07:56.709Z] ---> Running in fe6c31909a75 [2023-03-08T02:08:00.058Z] Removing intermediate container fe6c31909a75 [2023-03-08T02:08:00.058Z] ---> c5f2e3c6a8bd [2023-03-08T02:08:00.058Z] Step 11/24 : COPY . . [2023-03-08T02:08:01.021Z] ---> 3e5870d2a24f [2023-03-08T02:08:01.022Z] Step 12/24 : RUN $MAKE [2023-03-08T02:08:01.022Z] ---> Running in f74472fe1f3c [2023-03-08T02:08:01.989Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-08T02:10:23.744Z] Removing intermediate container f74472fe1f3c [2023-03-08T02:10:23.744Z] ---> c0806d512103 [2023-03-08T02:10:23.744Z] Step 13/24 : FROM alpine:3.16 [2023-03-08T02:10:23.744Z] 3.16: Pulling from library/alpine [2023-03-08T02:10:23.744Z] 3760b48202b3: Pulling fs layer [2023-03-08T02:10:23.744Z] 3760b48202b3: Download complete [2023-03-08T02:10:24.028Z] 3760b48202b3: Pull complete [2023-03-08T02:10:24.028Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T02:10:24.028Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T02:10:24.028Z] ---> 4c81e5bf8899 [2023-03-08T02:10:24.028Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-08T02:10:24.295Z] ---> Running in 3375f2b0c462 [2023-03-08T02:10:24.577Z] Removing intermediate container 3375f2b0c462 [2023-03-08T02:10:24.577Z] ---> 6e9faf35c17e [2023-03-08T02:10:24.577Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-08T02:10:24.577Z] ---> Running in 1e212d742e4d [2023-03-08T02:10:25.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T02:10:25.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T02:10:27.404Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-08T02:10:27.404Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T02:10:27.404Z] OK: 5 MiB in 15 packages [2023-03-08T02:10:28.388Z] Removing intermediate container 1e212d742e4d [2023-03-08T02:10:28.388Z] ---> 06efe5bca948 [2023-03-08T02:10:28.388Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-08T02:10:29.793Z] ---> 0e259ac8b3d5 [2023-03-08T02:10:29.793Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-08T02:10:30.060Z] ---> a028ccdd8166 [2023-03-08T02:10:30.060Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-08T02:10:30.643Z] ---> 2d62e2ad4b7e [2023-03-08T02:10:30.643Z] Step 19/24 : EXPOSE 59982 [2023-03-08T02:10:30.643Z] ---> Running in cf55ccde5fad [2023-03-08T02:10:30.914Z] Removing intermediate container cf55ccde5fad [2023-03-08T02:10:30.914Z] ---> 1be223f4b022 [2023-03-08T02:10:30.914Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-08T02:10:30.914Z] ---> Running in 914a5f047de5 [2023-03-08T02:10:31.180Z] Removing intermediate container 914a5f047de5 [2023-03-08T02:10:31.180Z] ---> 76fbe8314999 [2023-03-08T02:10:31.180Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-08T02:10:31.447Z] ---> Running in a0b4f7ac21d5 [2023-03-08T02:10:31.714Z] Removing intermediate container a0b4f7ac21d5 [2023-03-08T02:10:31.714Z] ---> 81b0b6594607 [2023-03-08T02:10:31.714Z] Step 22/24 : LABEL arch=arm64 [2023-03-08T02:10:31.714Z] ---> Running in 9d52e42a7540 [2023-03-08T02:10:31.980Z] Removing intermediate container 9d52e42a7540 [2023-03-08T02:10:31.981Z] ---> 7779c4113ff3 [2023-03-08T02:10:31.981Z] Step 23/24 : LABEL git_sha=2de0c52ae0f71b1a817e2be6016120d5cd045a3f [2023-03-08T02:10:31.981Z] ---> Running in 09029c8b26c4 [2023-03-08T02:10:32.248Z] Removing intermediate container 09029c8b26c4 [2023-03-08T02:10:32.248Z] ---> a040eded8936 [2023-03-08T02:10:32.248Z] Step 24/24 : LABEL version=0.0.0 [2023-03-08T02:10:32.517Z] ---> Running in ac082d597109 [2023-03-08T02:10:32.784Z] Removing intermediate container ac082d597109 [2023-03-08T02:10:32.784Z] ---> 93a713c942bd [2023-03-08T02:10:32.784Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T02:10:32.784Z] Successfully built 93a713c942bd [2023-03-08T02:10:32.784Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:10:33.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T02:10:33.549Z] [2023-03-08T02:10:33.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:10:33.985Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T02:10:33.985Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-08T02:10:33.985Z] 8998bd30e6a1: Pulling fs layer [2023-03-08T02:10:33.985Z] 04944245beec: Pulling fs layer [2023-03-08T02:10:33.985Z] 699f458cf7ca: Pulling fs layer [2023-03-08T02:10:33.985Z] 765212b225bb: Pulling fs layer [2023-03-08T02:10:33.985Z] f23df028b6ca: Pulling fs layer [2023-03-08T02:10:33.985Z] d65c8cfc05b1: Pulling fs layer [2023-03-08T02:10:33.985Z] 2437ff75d9bd: Pulling fs layer [2023-03-08T02:10:33.985Z] 765212b225bb: Waiting [2023-03-08T02:10:33.985Z] f23df028b6ca: Waiting [2023-03-08T02:10:33.985Z] d65c8cfc05b1: Waiting [2023-03-08T02:10:33.985Z] 2437ff75d9bd: Waiting [2023-03-08T02:10:34.256Z] 04944245beec: Verifying Checksum [2023-03-08T02:10:34.256Z] 04944245beec: Download complete [2023-03-08T02:10:34.256Z] 765212b225bb: Verifying Checksum [2023-03-08T02:10:34.256Z] 765212b225bb: Download complete [2023-03-08T02:10:34.256Z] f23df028b6ca: Verifying Checksum [2023-03-08T02:10:34.256Z] f23df028b6ca: Download complete [2023-03-08T02:10:34.256Z] d65c8cfc05b1: Verifying Checksum [2023-03-08T02:10:34.256Z] d65c8cfc05b1: Download complete [2023-03-08T02:10:34.256Z] 699f458cf7ca: Verifying Checksum [2023-03-08T02:10:34.256Z] 699f458cf7ca: Download complete [2023-03-08T02:10:34.841Z] 8998bd30e6a1: Verifying Checksum [2023-03-08T02:10:34.841Z] 8998bd30e6a1: Download complete [2023-03-08T02:10:36.778Z] 2437ff75d9bd: Verifying Checksum [2023-03-08T02:10:36.778Z] 2437ff75d9bd: Download complete [2023-03-08T02:10:38.716Z] 8998bd30e6a1: Pull complete [2023-03-08T02:10:38.716Z] 04944245beec: Pull complete [2023-03-08T02:10:41.342Z] 699f458cf7ca: Pull complete [2023-03-08T02:10:41.617Z] 765212b225bb: Pull complete [2023-03-08T02:10:42.603Z] f23df028b6ca: Pull complete [2023-03-08T02:10:42.603Z] d65c8cfc05b1: Pull complete [2023-03-08T02:10:54.980Z] 2437ff75d9bd: Pull complete [2023-03-08T02:10:54.980Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-08T02:10:54.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T02:10:54.980Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T02:10:55.274Z] prd-ubuntu20.04-docker-arm64-4c-16g-8722 does not seem to be running inside a container [2023-03-08T02:10:55.330Z] $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-08T02:10:57.806Z] $ docker top be522f6665774591e0fd8aa9f201161694b9b9ad3dd6558de9688a881c87ce0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T02:10:58.712Z] ---> job-cost.sh [2023-03-08T02:10:58.712Z] lf-activate-venv: SKIPPING [2023-03-08T02:10:58.712Z] INFO: No Stack... [2023-03-08T02:10:58.981Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-08T02:10:59.945Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T02:11:00.601Z] + cut -d, -f6 [2023-03-08T02:11:00.601Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-03-08T02:11:00.684Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-514-1-stack-cost] [2023-03-08T02:11:00.693Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-514-1-stack-cost] did not exist. Created. [2023-03-08T02:11:00.693Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-514-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T02:11:01.093Z] /w/workspace/device-mqtt-go/1@tmp/durable-fb883b08/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-08T02:11:01.455Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-08T02:11:01.488Z] Warning: overwriting stash ‘stack-cost’ [2023-03-08T02:11:01.530Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T02:11:01.543Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-514-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T02:11:01.611Z] $ docker stop --time=1 be522f6665774591e0fd8aa9f201161694b9b9ad3dd6558de9688a881c87ce0c [2023-03-08T02:11:03.097Z] $ docker rm -f --volumes be522f6665774591e0fd8aa9f201161694b9b9ad3dd6558de9688a881c87ce0c [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 [2023-03-08T02:11:03.984Z] provisioning config files... [2023-03-08T02:11:03.991Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp/config5221126983795953413tmp [Pipeline] { [Pipeline] sh [2023-03-08T02:11:04.318Z] + set +x [2023-03-08T02:11:04.318Z] + bash -s -- [2023-03-08T02:11:04.318Z] + curl -s https://codecov.io/bash [2023-03-08T02:11:04.318Z] [2023-03-08T02:11:04.318Z] _____ _ [2023-03-08T02:11:04.318Z] / ____| | | [2023-03-08T02:11:04.318Z] | | ___ __| | ___ ___ _____ __ [2023-03-08T02:11:04.318Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-08T02:11:04.318Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-08T02:11:04.318Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-08T02:11:04.318Z] Bash-1.0.6 [2023-03-08T02:11:04.318Z] [2023-03-08T02:11:04.318Z] [2023-03-08T02:11:04.318Z] ==> git version 2.25.1 found [2023-03-08T02:11:04.318Z] ==> 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 [2023-03-08T02:11:04.318Z] Release-Date: 2020-01-08 [2023-03-08T02:11:04.318Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-08T02:11:04.318Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-08T02:11:04.318Z] ==> Jenkins CI detected. [2023-03-08T02:11:04.318Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-514 [2023-03-08T02:11:04.318Z] project root: . [2023-03-08T02:11:04.318Z] --> token set from env [2023-03-08T02:11:04.318Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-08T02:11:04.318Z] ==> Running gcov in . (disable via -X gcov) [2023-03-08T02:11:04.318Z] ==> Python coveragepy not found [2023-03-08T02:11:04.318Z] ==> Searching for coverage reports in: [2023-03-08T02:11:04.318Z] + . [2023-03-08T02:11:04.318Z] -> Found 1 reports [2023-03-08T02:11:04.318Z] ==> Detecting git/mercurial file structure [2023-03-08T02:11:04.318Z] ==> Reading reports [2023-03-08T02:11:04.318Z] + ./coverage.out bytes=17887 [2023-03-08T02:11:04.318Z] ==> Appending adjustments [2023-03-08T02:11:04.318Z] https://docs.codecov.io/docs/fixing-reports [2023-03-08T02:11:04.575Z] + Found adjustments [2023-03-08T02:11:04.575Z] ==> Gzipping contents [2023-03-08T02:11:04.575Z] 4.0K /tmp/codecov.pW5cl2.gz [2023-03-08T02:11:04.575Z] ==> Uploading reports [2023-03-08T02:11:04.575Z] url: https://codecov.io [2023-03-08T02:11:04.575Z] query: branch=PR-514&commit=2de0c52ae0f71b1a817e2be6016120d5cd045a3f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-514%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=514&job=&cmd_args= [2023-03-08T02:11:04.575Z] -> Pinging Codecov [2023-03-08T02:11:04.575Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-514&commit=2de0c52ae0f71b1a817e2be6016120d5cd045a3f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-514%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=514&job=&cmd_args= [2023-03-08T02:11:04.575Z] -> Uploading to [2023-03-08T02:11:04.575Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-08/7D719EC7BBE17E464838252E33014C33/2de0c52ae0f71b1a817e2be6016120d5cd045a3f/a87ba654-9554-40a6-a0ab-92ae61eb569c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T021104Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=723c3257b8f28d5cc9c5210e08c06cb9f475c94e54e78c027f42c5340e2b93ca [2023-03-08T02:11:04.575Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T02:11:04.575Z] Dload Upload Total Spent Left Speed [2023-03-08T02:11:05.142Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 10692 --:--:-- --:--:-- --:--:-- 10692 [2023-03-08T02:11:05.142Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/2de0c52ae0f71b1a817e2be6016120d5cd045a3f [Pipeline] } [2023-03-08T02:11:05.169Z] 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 [2023-03-08T02:11:06.796Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-514/archives ] [2023-03-08T02:11:06.796Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-514/archives [2023-03-08T02:11:06.796Z] total 16 [2023-03-08T02:11:06.796Z] drwxr-xr-x 3 root root 4096 Mar 8 02:02 . [2023-03-08T02:11:06.796Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 02:02 .. [2023-03-08T02:11:06.796Z] drwxr-xr-x 2 root root 4096 Mar 8 02:02 cost [2023-03-08T02:11:06.796Z] -rw-r--r-- 1 root root 86 Mar 8 02:02 cost.csv [2023-03-08T02:11:06.796Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-514/archives [2023-03-08T02:11:06.796Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-514/archives [2023-03-08T02:11:06.796Z] total 16 [2023-03-08T02:11:06.796Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 02:02 . [2023-03-08T02:11:06.796Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 02:02 .. [2023-03-08T02:11:06.796Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 02:02 cost [2023-03-08T02:11:06.796Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 8 02:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-08T02:11:07.121Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T02:11:08.008Z] ---> package-listing.sh [2023-03-08T02:11:08.008Z] ++ facter osfamily [2023-03-08T02:11:08.008Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-08T02:11:08.267Z] + OS_FAMILY=debian [2023-03-08T02:11:08.267Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-514 [2023-03-08T02:11:08.267Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-08T02:11:08.267Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-08T02:11:08.267Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-08T02:11:08.267Z] + PACKAGES=/tmp/packages_start.txt [2023-03-08T02:11:08.267Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-514 ']' [2023-03-08T02:11:08.267Z] + PACKAGES=/tmp/packages_end.txt [2023-03-08T02:11:08.267Z] + case "${OS_FAMILY}" in [2023-03-08T02:11:08.267Z] + dpkg -l [2023-03-08T02:11:08.267Z] + grep '^ii' [2023-03-08T02:11:08.267Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-08T02:11:08.267Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-08T02:11:08.267Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-08T02:11:08.267Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-514 ']' [2023-03-08T02:11:08.267Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-514/archives/ [2023-03-08T02:11:08.267Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-514/archives/ [Pipeline] echo [2023-03-08T02:11:08.299Z] 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-514/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-08T02:11:08.590Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T02:11:09.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T02:11:09.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T02:11:09.346Z] prd-ubuntu20.04-docker-8c-8g-8719 does not seem to be running inside a container [2023-03-08T02:11:09.374Z] $ 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-514/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-514 -v /w/workspace/gexfoundry_device-mqtt-go_PR-514:/w/workspace/gexfoundry_device-mqtt-go_PR-514:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-514@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T02:11:09.600Z] $ docker top 74584cca86533af1acc561fc84e04648e0abb65fd88b29f598ddfeeee6667133 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T02:11:09.979Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-08T02:11:10.287Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-08T02:11:10.593Z] + ls /var/log/sa-host [2023-03-08T02:11:10.593Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T02:11:10.720Z] provisioning config files... [2023-03-08T02:11:10.727Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-514@tmp/config9393996728834526775tmp [Pipeline] { [Pipeline] echo [2023-03-08T02:11:10.772Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T02:11:11.082Z] ---> create-netrc.sh [Pipeline] } [2023-03-08T02:11:11.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-08T02:11:11.500Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-08T02:11:11.534Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T02:11:11.849Z] ---> sudo-logs.sh [2023-03-08T02:11:11.849Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-08T02:11:11.931Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T02:11:12.241Z] ---> job-cost.sh [2023-03-08T02:11:12.242Z] lf-activate-venv: SKIPPING [2023-03-08T02:11:12.242Z] DEBUG: total: 0.2199999988079071 [2023-03-08T02:11:12.242Z] INFO: Retrieving Stack Cost... [2023-03-08T02:11:12.810Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T02:11:13.070Z] INFO: Archiving Costs [Pipeline] echo [2023-03-08T02:11:13.106Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T02:11:13.415Z] ---> logs-deploy.sh [2023-03-08T02:11:13.415Z] lf-activate-venv: SKIPPING [2023-03-08T02:11:13.415Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-514/1 [2023-03-08T02:11:13.415Z] INFO: archiving workspace using pattern(s): [2023-03-08T02:11:14.798Z] Archives upload complete. [2023-03-08T02:11:14.798Z] INFO: archiving logs to Nexus