Pull request #441 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at fcfe150067659d9c2450c08aa60233797868c9db rather than cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 Obtained Jenkinsfile from fcfe150067659d9c2450c08aa60233797868c9db 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-ssh12141501427084933026.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-ssh13230899169205685961.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-441/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-441/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6018658421170859581.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-441/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18235453764961123472.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-ssh6949626651066599000.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-441/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-441/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11417603844626854381.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-121372 in /w/workspace/gexfoundry_device-mqtt-go_PR-441 [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-441 # 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 fcfe150067659d9c2450c08aa60233797868c9db into PR head commit cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 Merge succeeded, producing cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 Checking out Revision cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 (PR-441) > 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/441/head:refs/remotes/origin/PR-441 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 # 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 fcfe150067659d9c2450c08aa60233797868c9db # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 # timeout=10 Commit message: "refactor!: Use latest SDK for flattened config stem" 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 [2022-12-15T18:42:24.196Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-15T18:42:24.384Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-15T18:42:24.480Z] ========================================================= [2022-12-15T18:42:24.480Z] EdgeX Global Pipelines Version Info [2022-12-15T18:42:24.480Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-15T18:42:25.196Z] ------------------- [2022-12-15T18:42:25.196Z] stable info: [2022-12-15T18:42:25.196Z] ------------------- [2022-12-15T18:42:25.196Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-15T18:42:25.196Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-15T18:42:25.196Z] Message: update stable to v1.0.244 [2022-12-15T18:42:25.764Z] ------------------- [2022-12-15T18:42:25.764Z] experimental info: [2022-12-15T18:42:25.764Z] ------------------- [2022-12-15T18:42:25.764Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-15T18:42:25.764Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-15T18:42:25.764Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-15T18:42:26.067Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-12-15T18:42:26.109Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-12-15T18:42:26.148Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-15T18:42:26.188Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-15T18:42:26.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-15T18:42:26.266Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-15T18:42:26.310Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-15T18:42:26.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-15T18:42:26.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-15T18:42:26.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-15T18:42:26.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-15T18:42:26.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-12-15T18:42:26.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-15T18:42:26.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-15T18:42:26.616Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-15T18:42:26.655Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-15T18:42:26.694Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-15T18:42:26.732Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-15T18:42:26.772Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-15T18:42:26.810Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-15T18:42:26.850Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-15T18:42:26.888Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-15T18:42:26.930Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-15T18:42:26.970Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-15T18:42:27.007Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-15T18:42:27.048Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-15T18:42:27.086Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-15T18:42:27.126Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-441 [Pipeline] echo [2022-12-15T18:42:27.166Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-441 [Pipeline] echo [2022-12-15T18:42:27.204Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-441 [Pipeline] echo [2022-12-15T18:42:27.242Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [Pipeline] echo [2022-12-15T18:42:27.285Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdd73ae [Pipeline] echo [2022-12-15T18:42:27.329Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-15T18:42:27.455Z] provisioning config files... [2022-12-15T18:42:27.469Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/config4085492026266688620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T18:42:27.812Z] ---> docker-login.sh [2022-12-15T18:42:27.812Z] nexus3.edgexfoundry.org:10001 [2022-12-15T18:42:28.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:42:28.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:42:28.332Z] Configure a credential helper to remove this warning. See [2022-12-15T18:42:28.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:42:28.332Z] [2022-12-15T18:42:28.332Z] Login Succeeded [2022-12-15T18:42:28.332Z] nexus3.edgexfoundry.org:10002 [2022-12-15T18:42:28.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:42:28.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:42:28.332Z] Configure a credential helper to remove this warning. See [2022-12-15T18:42:28.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:42:28.332Z] [2022-12-15T18:42:28.332Z] Login Succeeded [2022-12-15T18:42:28.332Z] nexus3.edgexfoundry.org:10003 [2022-12-15T18:42:28.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:42:28.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:42:28.332Z] Configure a credential helper to remove this warning. See [2022-12-15T18:42:28.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:42:28.332Z] [2022-12-15T18:42:28.332Z] Login Succeeded [2022-12-15T18:42:28.332Z] nexus3.edgexfoundry.org:10004 [2022-12-15T18:42:28.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:42:28.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:42:28.592Z] Configure a credential helper to remove this warning. See [2022-12-15T18:42:28.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:42:28.592Z] [2022-12-15T18:42:28.592Z] Login Succeeded [2022-12-15T18:42:28.592Z] docker.io [2022-12-15T18:42:28.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:42:28.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:42:28.851Z] Configure a credential helper to remove this warning. See [2022-12-15T18:42:28.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:42:28.851Z] [2022-12-15T18:42:28.851Z] Login Succeeded [2022-12-15T18:42:28.851Z] ---> docker-login.sh ends [Pipeline] } [2022-12-15T18:42:28.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-15T18:42:29.480Z] + git rev-list -1 --merges cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8~1..cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [Pipeline] echo [2022-12-15T18:42:29.520Z] -----------> git rev-list -1 --merges cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8~1..cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [false] [Pipeline] sh [2022-12-15T18:42:29.827Z] + git log --format=format:%s -1 cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [Pipeline] echo [2022-12-15T18:42:29.861Z] ========================================================= [2022-12-15T18:42:29.861Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-15T18:42:29.861Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-15T18:42:30.272Z] + git log --format=format:%s -1 cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [Pipeline] echo [2022-12-15T18:42:30.304Z] [semverPrep] GIT_COMMIT: cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8, Commit Message: refactor!: Use latest SDK for flattened config stem [Pipeline] echo [2022-12-15T18:42:30.332Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-15T18:42:30.732Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-15T18:42:30.732Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-15T18:42:30.732Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-15T18:42:30.732Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-15T18:42:30.732Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-15T18:42:30.732Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-15T18:42:30.732Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T18:42:31.249Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-15T18:42:31.249Z] [2022-12-15T18:42:31.249Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T18:42:31.616Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-15T18:42:31.616Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-15T18:42:31.616Z] b85a868b505f: Pulling fs layer [2022-12-15T18:42:31.616Z] e2be974225ed: Pulling fs layer [2022-12-15T18:42:31.616Z] 339a4e72a1f5: Pulling fs layer [2022-12-15T18:42:31.616Z] 988bab9f4d93: Pulling fs layer [2022-12-15T18:42:31.616Z] 1469e6f7b9e6: Pulling fs layer [2022-12-15T18:42:31.616Z] eaf3925da568: Pulling fs layer [2022-12-15T18:42:31.616Z] bab4dde63d76: Pulling fs layer [2022-12-15T18:42:31.616Z] bde34c3a00c8: Pulling fs layer [2022-12-15T18:42:31.616Z] b352a97aabf1: Pulling fs layer [2022-12-15T18:42:31.616Z] 4872d77fe225: Pulling fs layer [2022-12-15T18:42:31.616Z] 988bab9f4d93: Waiting [2022-12-15T18:42:31.616Z] 5851b861e8e6: Pulling fs layer [2022-12-15T18:42:31.616Z] eaf3925da568: Waiting [2022-12-15T18:42:31.616Z] bab4dde63d76: Waiting [2022-12-15T18:42:31.616Z] 5851b861e8e6: Waiting [2022-12-15T18:42:31.616Z] e2be974225ed: Verifying Checksum [2022-12-15T18:42:31.616Z] e2be974225ed: Download complete [2022-12-15T18:42:31.616Z] 988bab9f4d93: Verifying Checksum [2022-12-15T18:42:31.616Z] 988bab9f4d93: Download complete [2022-12-15T18:42:31.875Z] 339a4e72a1f5: Verifying Checksum [2022-12-15T18:42:31.875Z] 339a4e72a1f5: Download complete [2022-12-15T18:42:31.875Z] 1469e6f7b9e6: Verifying Checksum [2022-12-15T18:42:31.875Z] 1469e6f7b9e6: Download complete [2022-12-15T18:42:31.875Z] eaf3925da568: Verifying Checksum [2022-12-15T18:42:31.875Z] eaf3925da568: Download complete [2022-12-15T18:42:31.875Z] bde34c3a00c8: Verifying Checksum [2022-12-15T18:42:31.875Z] bde34c3a00c8: Download complete [2022-12-15T18:42:31.875Z] b352a97aabf1: Download complete [2022-12-15T18:42:31.875Z] 4872d77fe225: Verifying Checksum [2022-12-15T18:42:31.875Z] 4872d77fe225: Download complete [2022-12-15T18:42:31.875Z] 5851b861e8e6: Verifying Checksum [2022-12-15T18:42:31.875Z] 5851b861e8e6: Download complete [2022-12-15T18:42:31.875Z] b85a868b505f: Verifying Checksum [2022-12-15T18:42:31.875Z] b85a868b505f: Download complete [2022-12-15T18:42:32.134Z] bab4dde63d76: Verifying Checksum [2022-12-15T18:42:32.134Z] bab4dde63d76: Download complete [2022-12-15T18:42:33.078Z] b85a868b505f: Pull complete [2022-12-15T18:42:33.337Z] e2be974225ed: Pull complete [2022-12-15T18:42:33.597Z] 339a4e72a1f5: Pull complete [2022-12-15T18:42:33.858Z] 988bab9f4d93: Pull complete [2022-12-15T18:42:34.117Z] 1469e6f7b9e6: Pull complete [2022-12-15T18:42:34.117Z] eaf3925da568: Pull complete [2022-12-15T18:42:36.022Z] bab4dde63d76: Pull complete [2022-12-15T18:42:36.022Z] bde34c3a00c8: Pull complete [2022-12-15T18:42:36.022Z] b352a97aabf1: Pull complete [2022-12-15T18:42:36.022Z] 4872d77fe225: Pull complete [2022-12-15T18:42:36.282Z] 5851b861e8e6: Pull complete [2022-12-15T18:42:36.282Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-15T18:42:36.282Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-15T18:42:36.282Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T18:42:36.503Z] prd-ubuntu20.04-docker-8c-8g-121372 does not seem to be running inside a container [2022-12-15T18:42:36.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-441 -v /w/workspace/gexfoundry_device-mqtt-go_PR-441:/w/workspace/gexfoundry_device-mqtt-go_PR-441:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-441@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-devops/py-git-semver:0.1.4 cat [2022-12-15T18:42:37.927Z] $ docker top 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 -eo pid,comm [2022-12-15T18:42:37.983Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-12-15T18:42:37.983Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-15T18:42:38.112Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-15T18:42:38.112Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-15T18:42:38.224Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-15T18:42:38.231Z] $ docker exec 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 ssh-agent [2022-12-15T18:42:38.339Z] SSH_AUTH_SOCK=/tmp/ssh-y7LHHicUyhac/agent.33 [2022-12-15T18:42:38.339Z] SSH_AGENT_PID=39 [2022-12-15T18:42:38.345Z] Running ssh-add (command line suppressed) [2022-12-15T18:42:38.456Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/private_key_379966169979882609.key (/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/private_key_379966169979882609.key) [2022-12-15T18:42:38.466Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-15T18:42:38.791Z] + git tag --points-at HEAD [Pipeline] } [2022-12-15T18:42:38.822Z] $ docker exec --env ******** --env ******** 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 ssh-agent -k [2022-12-15T18:42:38.929Z] unset SSH_AUTH_SOCK; [2022-12-15T18:42:38.930Z] unset SSH_AGENT_PID; [2022-12-15T18:42:38.930Z] echo Agent pid 39 killed; [2022-12-15T18:42:38.937Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-15T18:42:39.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-15T18:42:39.021Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-15T18:42:39.125Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-15T18:42:39.133Z] $ docker exec 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 ssh-agent [2022-12-15T18:42:39.237Z] SSH_AUTH_SOCK=/tmp/ssh-AKfRzgnZey93/agent.71 [2022-12-15T18:42:39.237Z] SSH_AGENT_PID=77 [2022-12-15T18:42:39.242Z] Running ssh-add (command line suppressed) [2022-12-15T18:42:39.341Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/private_key_17316460409406686207.key (/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/private_key_17316460409406686207.key) [2022-12-15T18:42:39.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-15T18:42:39.684Z] + git semver init [2022-12-15T18:42:39.944Z] 2022-12-15 18:42:39,867 [run_init] DEBUG init version:0.0.0 force:False [2022-12-15T18:42:39.944Z] 2022-12-15 18:42:39,868 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver [2022-12-15T18:42:39.944Z] 2022-12-15 18:42:39,868 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver [2022-12-15T18:42:39.944Z] 2022-12-15 18:42:39,868 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-441, universal_newlines=False, shell=None, istream=None) [2022-12-15T18:42:40.883Z] 2022-12-15 18:42:40,786 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-441/.git/info/exclude [2022-12-15T18:42:40.883Z] 2022-12-15 18:42:40,787 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver/PR-441 with force:False [2022-12-15T18:42:40.883Z] 2022-12-15 18:42:40,787 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver/PR-441 [2022-12-15T18:42:40.883Z] 2022-12-15 18:42:40,790 [execute] INFO git cat-file --batch-check [2022-12-15T18:42:40.883Z] 2022-12-15 18:42:40,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver, universal_newlines=False, shell=None, istream=) [2022-12-15T18:42:40.883Z] 2022-12-15 18:42:40,798 [execute] INFO git cat-file --batch [2022-12-15T18:42:40.883Z] 2022-12-15 18:42:40,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver, universal_newlines=False, shell=None, istream=) [2022-12-15T18:42:40.883Z] 2022-12-15 18:42:40,803 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver/PR-441 [2022-12-15T18:42:40.883Z] 0.0.0 [Pipeline] } [2022-12-15T18:42:40.916Z] $ docker exec --env ******** --env ******** 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 ssh-agent -k [2022-12-15T18:42:41.027Z] unset SSH_AUTH_SOCK; [2022-12-15T18:42:41.027Z] unset SSH_AGENT_PID; [2022-12-15T18:42:41.027Z] echo Agent pid 77 killed; [2022-12-15T18:42:41.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-15T18:42:41.462Z] + git semver [Pipeline] } [2022-12-15T18:42:41.749Z] $ docker stop --time=1 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 [2022-12-15T18:42:43.056Z] $ docker rm -f 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-15T18:42:43.454Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-15T18:42:43.713Z] Stashed 1 file(s) [Pipeline] echo [2022-12-15T18:42:43.730Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-15T18:42:44.305Z] provisioning config files... [2022-12-15T18:42:44.314Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/config17928049568383682323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T18:42:44.668Z] ---> docker-login.sh [2022-12-15T18:42:44.668Z] nexus3.edgexfoundry.org:10001 [2022-12-15T18:42:44.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:42:44.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:42:44.668Z] Configure a credential helper to remove this warning. See [2022-12-15T18:42:44.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:42:44.668Z] [2022-12-15T18:42:44.668Z] Login Succeeded [2022-12-15T18:42:44.668Z] nexus3.edgexfoundry.org:10002 [2022-12-15T18:42:44.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:42:44.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:42:44.668Z] Configure a credential helper to remove this warning. See [2022-12-15T18:42:44.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:42:44.668Z] [2022-12-15T18:42:44.668Z] Login Succeeded [2022-12-15T18:42:44.668Z] nexus3.edgexfoundry.org:10003 [2022-12-15T18:42:44.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:42:44.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:42:44.928Z] Configure a credential helper to remove this warning. See [2022-12-15T18:42:44.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:42:44.928Z] [2022-12-15T18:42:44.928Z] Login Succeeded [2022-12-15T18:42:44.928Z] nexus3.edgexfoundry.org:10004 [2022-12-15T18:42:44.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:42:44.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:42:44.928Z] Configure a credential helper to remove this warning. See [2022-12-15T18:42:44.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:42:44.928Z] [2022-12-15T18:42:44.928Z] Login Succeeded [2022-12-15T18:42:44.928Z] docker.io [2022-12-15T18:42:45.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:42:45.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:42:45.188Z] Configure a credential helper to remove this warning. See [2022-12-15T18:42:45.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:42:45.188Z] [2022-12-15T18:42:45.188Z] Login Succeeded [2022-12-15T18:42:45.188Z] ---> docker-login.sh ends [Pipeline] } [2022-12-15T18:42:45.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-15T18:42:45.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-15T18:42:45.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-15T18:42:45.471Z] ========================================================= [2022-12-15T18:42:45.471Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-15T18:42:45.471Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T18:42:45.919Z] + 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 . [2022-12-15T18:42:45.919Z] Sending build context to Docker daemon 6.287MB [2022-12-15T18:42:45.919Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-15T18:42:45.919Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-15T18:42:45.919Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-15T18:42:45.919Z] 213ec9aee27d: Pulling fs layer [2022-12-15T18:42:45.919Z] 4583459ba037: Pulling fs layer [2022-12-15T18:42:45.919Z] 93c1e223e6f2: Pulling fs layer [2022-12-15T18:42:45.919Z] 53926ce57604: Pulling fs layer [2022-12-15T18:42:45.919Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-15T18:42:45.919Z] 22ff95d597cd: Pulling fs layer [2022-12-15T18:42:45.919Z] 12d6caf4c0d1: Pulling fs layer [2022-12-15T18:42:45.919Z] 96b7cbca73a9: Pulling fs layer [2022-12-15T18:42:45.919Z] a7acece74701: Pulling fs layer [2022-12-15T18:42:45.919Z] 21b2b0c7a3f4: Waiting [2022-12-15T18:42:45.919Z] 22ff95d597cd: Waiting [2022-12-15T18:42:45.919Z] 12d6caf4c0d1: Waiting [2022-12-15T18:42:45.919Z] 96b7cbca73a9: Waiting [2022-12-15T18:42:45.919Z] a7acece74701: Waiting [2022-12-15T18:42:45.919Z] 53926ce57604: Waiting [2022-12-15T18:42:45.919Z] 93c1e223e6f2: Verifying Checksum [2022-12-15T18:42:45.919Z] 93c1e223e6f2: Download complete [2022-12-15T18:42:45.919Z] 4583459ba037: Verifying Checksum [2022-12-15T18:42:45.919Z] 4583459ba037: Download complete [2022-12-15T18:42:46.177Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-15T18:42:46.178Z] 21b2b0c7a3f4: Download complete [2022-12-15T18:42:46.178Z] 22ff95d597cd: Verifying Checksum [2022-12-15T18:42:46.178Z] 22ff95d597cd: Download complete [2022-12-15T18:42:46.178Z] 213ec9aee27d: Verifying Checksum [2022-12-15T18:42:46.178Z] 213ec9aee27d: Download complete [2022-12-15T18:42:46.178Z] 12d6caf4c0d1: Verifying Checksum [2022-12-15T18:42:46.178Z] 12d6caf4c0d1: Download complete [2022-12-15T18:42:46.178Z] 213ec9aee27d: Pull complete [2022-12-15T18:42:46.436Z] 4583459ba037: Pull complete [2022-12-15T18:42:46.436Z] 93c1e223e6f2: Pull complete [2022-12-15T18:42:47.002Z] a7acece74701: Verifying Checksum [2022-12-15T18:42:47.002Z] a7acece74701: Download complete [2022-12-15T18:42:47.002Z] 53926ce57604: Verifying Checksum [2022-12-15T18:42:47.003Z] 53926ce57604: Download complete [2022-12-15T18:42:47.260Z] 96b7cbca73a9: Verifying Checksum [2022-12-15T18:42:47.260Z] 96b7cbca73a9: Download complete [2022-12-15T18:42:51.449Z] 53926ce57604: Pull complete [2022-12-15T18:42:51.449Z] 21b2b0c7a3f4: Pull complete [2022-12-15T18:42:51.449Z] 22ff95d597cd: Pull complete [2022-12-15T18:42:51.449Z] 12d6caf4c0d1: Pull complete [2022-12-15T18:42:53.351Z] 96b7cbca73a9: Pull complete [2022-12-15T18:42:54.285Z] a7acece74701: Pull complete [2022-12-15T18:42:54.285Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-15T18:42:54.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-15T18:42:54.285Z] ---> db6d94c90886 [2022-12-15T18:42:54.285Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-15T18:42:56.190Z] ---> Running in bebea1dd87b5 [2022-12-15T18:42:56.190Z] Removing intermediate container bebea1dd87b5 [2022-12-15T18:42:56.191Z] ---> 925cd6071a3f [2022-12-15T18:42:56.191Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-15T18:42:56.191Z] ---> Running in d71a47ca9281 [2022-12-15T18:42:56.449Z] Removing intermediate container d71a47ca9281 [2022-12-15T18:42:56.449Z] ---> 382c18e88200 [2022-12-15T18:42:56.449Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-15T18:42:56.449Z] ---> Running in 31f27fd86e76 [2022-12-15T18:42:56.449Z] Removing intermediate container 31f27fd86e76 [2022-12-15T18:42:56.449Z] ---> 473cad9a2309 [2022-12-15T18:42:56.449Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-15T18:42:56.449Z] ---> Running in 6dcee1714aed [2022-12-15T18:42:56.707Z] Removing intermediate container 6dcee1714aed [2022-12-15T18:42:56.707Z] ---> 25c38f672819 [2022-12-15T18:42:56.707Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-15T18:42:56.707Z] ---> Running in d59a00a47923 [2022-12-15T18:42:56.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-15T18:42:56.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-15T18:42:57.226Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-15T18:42:57.226Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-15T18:42:57.226Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-15T18:42:57.226Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-15T18:42:57.226Z] Executing busybox-1.35.0-r17.trigger [2022-12-15T18:42:57.226Z] OK: 216 MiB in 55 packages [2022-12-15T18:42:57.797Z] Removing intermediate container d59a00a47923 [2022-12-15T18:42:57.798Z] ---> 6f563465c66f [2022-12-15T18:42:57.798Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-12-15T18:42:57.798Z] ---> Running in 07300eb54557 [2022-12-15T18:42:57.798Z] Removing intermediate container 07300eb54557 [2022-12-15T18:42:57.798Z] ---> 64484507b739 [2022-12-15T18:42:57.798Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-15T18:42:58.057Z] ---> f0cdcf93b638 [2022-12-15T18:42:58.057Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-15T18:42:58.057Z] ---> Running in fc08588a2899 [2022-12-15T18:42:59.131Z] Still waiting to schedule task [2022-12-15T18:42:59.131Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-15T18:43:19.998Z] Removing intermediate container fc08588a2899 [2022-12-15T18:43:19.998Z] ---> b9428d6805b2 [2022-12-15T18:43:19.998Z] Step 11/12 : COPY . . [2022-12-15T18:43:19.998Z] ---> 87995c64fd83 [2022-12-15T18:43:19.998Z] Step 12/12 : RUN $MAKE [2022-12-15T18:43:19.998Z] ---> Running in 5d8d318f3bdb [2022-12-15T18:43:19.998Z] noop [2022-12-15T18:43:19.998Z] Removing intermediate container 5d8d318f3bdb [2022-12-15T18:43:19.998Z] ---> ea1146aea4d7 [2022-12-15T18:43:19.998Z] Successfully built ea1146aea4d7 [2022-12-15T18:43:19.998Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T18:43:20.442Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-15T18:43:20.442Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T18:43:20.576Z] prd-ubuntu20.04-docker-8c-8g-121372 does not seem to be running inside a container [2022-12-15T18:43:20.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-441 -v /w/workspace/gexfoundry_device-mqtt-go_PR-441:/w/workspace/gexfoundry_device-mqtt-go_PR-441:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-15T18:43:20.990Z] $ docker top 506a4feeef8de1590428ad3ac4ac0b4a4b3b2688e6a7f638a51cc36511a51006 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T18:43:21.374Z] + go version [2022-12-15T18:43:21.374Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-15T18:43:21.413Z] $ docker stop --time=1 506a4feeef8de1590428ad3ac4ac0b4a4b3b2688e6a7f638a51cc36511a51006 [2022-12-15T18:43:22.691Z] $ docker rm -f 506a4feeef8de1590428ad3ac4ac0b4a4b3b2688e6a7f638a51cc36511a51006 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T18:43:23.360Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-15T18:43:23.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T18:43:23.503Z] prd-ubuntu20.04-docker-8c-8g-121372 does not seem to be running inside a container [2022-12-15T18:43:23.531Z] $ 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-441 -v /w/workspace/gexfoundry_device-mqtt-go_PR-441:/w/workspace/gexfoundry_device-mqtt-go_PR-441:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-15T18:43:23.924Z] $ docker top 3db00a6d08a8c4e8e78d3f6ecd4b3e60ab11b7e6b03767295c95ef5f6e526d7e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T18:43:24.318Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-441 [Pipeline] fileExists [Pipeline] sh [2022-12-15T18:43:24.671Z] + make test [2022-12-15T18:43:24.671Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-15T18:43:24.929Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-12-15T18:43:34.891Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-12-15T18:43:34.891Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-12-15T18:43:34.891Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-12-15T18:43:41.448Z] 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." [2022-12-15T18:43:41.448Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-15T18:43:44.734Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-15T18:43:44.734Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-15T18:43:44.734Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-15T18:43:44.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-15T18:43:44.814Z] $ docker stop --time=1 3db00a6d08a8c4e8e78d3f6ecd4b3e60ab11b7e6b03767295c95ef5f6e526d7e [2022-12-15T18:43:46.591Z] $ docker rm -f 3db00a6d08a8c4e8e78d3f6ecd4b3e60ab11b7e6b03767295c95ef5f6e526d7e [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-15T18:43:47.096Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-15T18:43:47.161Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-15T18:43:47.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-15T18:43:48.130Z] + ls -al . [2022-12-15T18:43:48.130Z] total 192 [2022-12-15T18:43:48.130Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 18:43 . [2022-12-15T18:43:48.130Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 18:42 .. [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 18:42 .dockerignore [2022-12-15T18:43:48.130Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 18:43 .git [2022-12-15T18:43:48.130Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 18:42 .github [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 15 18:42 .gitignore [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 18:42 .golangci.yml [2022-12-15T18:43:48.130Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 18:42 .semver [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 9293 Dec 15 18:42 Attribution.txt [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 13162 Dec 15 18:42 CHANGELOG.md [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 1752 Dec 15 18:42 Dockerfile [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 18:42 GOVERNANCE.md [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 15 18:42 Jenkinsfile [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 18:42 LICENSE [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 2126 Dec 15 18:42 Makefile [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 18:42 OWNERS.md [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 3165 Dec 15 18:42 README.md [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 18:42 VERSION [2022-12-15T18:43:48.130Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 18:42 bin [2022-12-15T18:43:48.130Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 18:42 cmd [2022-12-15T18:43:48.130Z] -rw-r--r-- 1 jenkins jenkins 17887 Dec 15 18:43 coverage.out [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 3464 Dec 15 18:42 go.mod [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 45013 Dec 15 18:42 go.sum [2022-12-15T18:43:48.130Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 18:42 internal [2022-12-15T18:43:48.130Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 18:42 mock [2022-12-15T18:43:48.130Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 18:42 snap [2022-12-15T18:43:48.130Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 15 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T18:43:48.527Z] + 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=cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 --label arch=amd64 --label version=0.0.0 . [2022-12-15T18:43:48.527Z] Sending build context to Docker daemon 6.305MB [2022-12-15T18:43:48.527Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-12-15T18:43:48.527Z] Step 2/24 : FROM ${BASE} AS builder [2022-12-15T18:43:48.527Z] ---> ea1146aea4d7 [2022-12-15T18:43:48.527Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-12-15T18:43:48.527Z] ---> Running in b31de266f11b [2022-12-15T18:43:48.527Z] Removing intermediate container b31de266f11b [2022-12-15T18:43:48.527Z] ---> 794e797e797f [2022-12-15T18:43:48.527Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-15T18:43:48.785Z] ---> Running in 6b6fe07148cc [2022-12-15T18:43:48.785Z] Removing intermediate container 6b6fe07148cc [2022-12-15T18:43:48.785Z] ---> d4fedb5a9ec2 [2022-12-15T18:43:48.785Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-15T18:43:48.785Z] ---> Running in 66ab3629aff6 [2022-12-15T18:43:49.044Z] Removing intermediate container 66ab3629aff6 [2022-12-15T18:43:49.044Z] ---> 164bcac0bfc8 [2022-12-15T18:43:49.044Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-12-15T18:43:49.044Z] ---> Running in 9a4f3de428a5 [2022-12-15T18:43:49.044Z] Removing intermediate container 9a4f3de428a5 [2022-12-15T18:43:49.044Z] ---> 6c42b4304062 [2022-12-15T18:43:49.044Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-15T18:43:49.044Z] ---> Running in 1420cc9453c1 [2022-12-15T18:43:49.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-15T18:43:49.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-15T18:43:49.561Z] OK: 216 MiB in 55 packages [2022-12-15T18:43:50.128Z] Removing intermediate container 1420cc9453c1 [2022-12-15T18:43:50.128Z] ---> ae986a9ec7ec [2022-12-15T18:43:50.128Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-12-15T18:43:50.128Z] ---> Running in 870687edc32f [2022-12-15T18:43:50.128Z] Removing intermediate container 870687edc32f [2022-12-15T18:43:50.128Z] ---> e771db5f058d [2022-12-15T18:43:50.128Z] Step 9/24 : COPY go.mod vendor* ./ [2022-12-15T18:43:50.128Z] ---> 9fa758c5f45c [2022-12-15T18:43:50.128Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-15T18:43:50.386Z] ---> Running in 4ecf9eb92a6d [2022-12-15T18:43:50.953Z] Removing intermediate container 4ecf9eb92a6d [2022-12-15T18:43:50.953Z] ---> 7923c9e1697c [2022-12-15T18:43:50.953Z] Step 11/24 : COPY . . [2022-12-15T18:43:51.211Z] ---> 6ce56bab5fb0 [2022-12-15T18:43:51.211Z] Step 12/24 : RUN $MAKE [2022-12-15T18:43:51.211Z] ---> Running in 5c025b0bb6b2 [2022-12-15T18:43:51.469Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-12-15T18:44:09.541Z] Removing intermediate container 5c025b0bb6b2 [2022-12-15T18:44:09.541Z] ---> 8681f00d2eab [2022-12-15T18:44:09.541Z] Step 13/24 : FROM alpine:3.16 [2022-12-15T18:44:09.541Z] 3.16: Pulling from library/alpine [2022-12-15T18:44:09.541Z] ca7dd9ec2225: Pulling fs layer [2022-12-15T18:44:09.801Z] ca7dd9ec2225: Verifying Checksum [2022-12-15T18:44:09.801Z] ca7dd9ec2225: Download complete [2022-12-15T18:44:09.801Z] ca7dd9ec2225: Pull complete [2022-12-15T18:44:09.801Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-15T18:44:09.801Z] Status: Downloaded newer image for alpine:3.16 [2022-12-15T18:44:09.801Z] ---> bfe296a52501 [2022-12-15T18:44:09.801Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-12-15T18:44:10.062Z] ---> Running in 822124b40f94 [2022-12-15T18:44:10.062Z] Removing intermediate container 822124b40f94 [2022-12-15T18:44:10.062Z] ---> 1f8e541ddaee [2022-12-15T18:44:10.062Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-15T18:44:10.062Z] ---> Running in d119fbaff726 [2022-12-15T18:44:10.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-15T18:44:10.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-15T18:44:10.579Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-15T18:44:10.579Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-15T18:44:10.579Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-15T18:44:10.579Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-15T18:44:10.579Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-15T18:44:10.579Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-15T18:44:10.579Z] Executing busybox-1.35.0-r17.trigger [2022-12-15T18:44:10.579Z] OK: 8 MiB in 20 packages [2022-12-15T18:44:11.147Z] Removing intermediate container d119fbaff726 [2022-12-15T18:44:11.147Z] ---> e633d30fe025 [2022-12-15T18:44:11.147Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-12-15T18:44:11.717Z] ---> f612b8350caa [2022-12-15T18:44:11.717Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-12-15T18:44:11.717Z] ---> a16f7b1ad8ce [2022-12-15T18:44:11.717Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-12-15T18:44:11.978Z] ---> 9fd4d360763f [2022-12-15T18:44:11.978Z] Step 19/24 : EXPOSE 59982 [2022-12-15T18:44:11.978Z] ---> Running in f8d6c865b0fe [2022-12-15T18:44:11.978Z] Removing intermediate container f8d6c865b0fe [2022-12-15T18:44:11.978Z] ---> f4fa96668cb6 [2022-12-15T18:44:11.978Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-12-15T18:44:12.240Z] ---> Running in b95dd78f19cd [2022-12-15T18:44:12.240Z] Removing intermediate container b95dd78f19cd [2022-12-15T18:44:12.240Z] ---> d93538df60e5 [2022-12-15T18:44:12.240Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-15T18:44:12.240Z] ---> Running in 17f0727bbb20 [2022-12-15T18:44:12.240Z] Removing intermediate container 17f0727bbb20 [2022-12-15T18:44:12.240Z] ---> 9f97d92217ff [2022-12-15T18:44:12.240Z] Step 22/24 : LABEL arch=amd64 [2022-12-15T18:44:12.500Z] ---> Running in c31f2ac0b929 [2022-12-15T18:44:12.500Z] Removing intermediate container c31f2ac0b929 [2022-12-15T18:44:12.500Z] ---> 6d2a9d75b141 [2022-12-15T18:44:12.500Z] Step 23/24 : LABEL git_sha=cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [2022-12-15T18:44:12.500Z] ---> Running in 82c4e102e75c [2022-12-15T18:44:12.500Z] Removing intermediate container 82c4e102e75c [2022-12-15T18:44:12.500Z] ---> ddf288ee60d5 [2022-12-15T18:44:12.500Z] Step 24/24 : LABEL version=0.0.0 [2022-12-15T18:44:12.758Z] ---> Running in 89d78a40964f [2022-12-15T18:44:12.758Z] Removing intermediate container 89d78a40964f [2022-12-15T18:44:12.758Z] ---> 952c2b125938 [2022-12-15T18:44:12.758Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-15T18:44:12.758Z] Successfully built 952c2b125938 [2022-12-15T18:44:12.758Z] 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 [2022-12-15T18:44:13.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-15T18:44:13.621Z] [2022-12-15T18:44:13.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T18:44:14.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-15T18:44:14.002Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-15T18:44:14.002Z] 5eb5b503b376: Pulling fs layer [2022-12-15T18:44:14.002Z] 5c69ac0246d0: Pulling fs layer [2022-12-15T18:44:14.002Z] ec43610c2a17: Pulling fs layer [2022-12-15T18:44:14.002Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-15T18:44:14.002Z] 33b1e0a273af: Pulling fs layer [2022-12-15T18:44:14.002Z] 5d3b04190fa2: Pulling fs layer [2022-12-15T18:44:14.002Z] 2f39f015ded8: Pulling fs layer [2022-12-15T18:44:14.002Z] 3a2ae6a8a46f: Waiting [2022-12-15T18:44:14.002Z] 33b1e0a273af: Waiting [2022-12-15T18:44:14.002Z] 2f39f015ded8: Waiting [2022-12-15T18:44:14.002Z] 5d3b04190fa2: Waiting [2022-12-15T18:44:14.002Z] 5c69ac0246d0: Verifying Checksum [2022-12-15T18:44:14.002Z] 5c69ac0246d0: Download complete [2022-12-15T18:44:14.002Z] 3a2ae6a8a46f: Verifying Checksum [2022-12-15T18:44:14.002Z] 3a2ae6a8a46f: Download complete [2022-12-15T18:44:14.002Z] 33b1e0a273af: Verifying Checksum [2022-12-15T18:44:14.002Z] 33b1e0a273af: Download complete [2022-12-15T18:44:14.002Z] 5d3b04190fa2: Verifying Checksum [2022-12-15T18:44:14.002Z] 5d3b04190fa2: Download complete [2022-12-15T18:44:14.261Z] ec43610c2a17: Verifying Checksum [2022-12-15T18:44:14.261Z] ec43610c2a17: Download complete [2022-12-15T18:44:14.261Z] 5eb5b503b376: Verifying Checksum [2022-12-15T18:44:14.261Z] 5eb5b503b376: Download complete [2022-12-15T18:44:14.827Z] 2f39f015ded8: Verifying Checksum [2022-12-15T18:44:14.827Z] 2f39f015ded8: Download complete [2022-12-15T18:44:15.393Z] 5eb5b503b376: Pull complete [2022-12-15T18:44:15.393Z] 5c69ac0246d0: Pull complete [2022-12-15T18:44:15.959Z] ec43610c2a17: Pull complete [2022-12-15T18:44:15.959Z] 3a2ae6a8a46f: Pull complete [2022-12-15T18:44:16.216Z] 33b1e0a273af: Pull complete [2022-12-15T18:44:16.216Z] 5d3b04190fa2: Pull complete [2022-12-15T18:44:20.396Z] 2f39f015ded8: Pull complete [2022-12-15T18:44:20.396Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-15T18:44:20.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-15T18:44:20.396Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T18:44:20.606Z] prd-ubuntu20.04-docker-8c-8g-121372 does not seem to be running inside a container [2022-12-15T18:44:20.639Z] $ 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-441 -v /w/workspace/gexfoundry_device-mqtt-go_PR-441:/w/workspace/gexfoundry_device-mqtt-go_PR-441:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-15T18:44:22.408Z] $ docker top 1c75457d3b278bbd6006342d46a2964cbd506112e570deb6269972956c20549d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T18:44:22.863Z] ---> job-cost.sh [2022-12-15T18:44:22.863Z] lf-activate-venv: SKIPPING [2022-12-15T18:44:22.863Z] INFO: No Stack... [2022-12-15T18:44:23.122Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-15T18:44:23.688Z] INFO: Archiving Costs [Pipeline] sh [2022-12-15T18:44:24.005Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives/cost.csv [2022-12-15T18:44:24.005Z] + cut -d, -f6 [Pipeline] lock [2022-12-15T18:44:24.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] [2022-12-15T18:44:24.053Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] did not exist. Created. [2022-12-15T18:44:24.053Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-15T18:44:24.439Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-15T18:44:24.486Z] Stashed 1 file(s) [Pipeline] } [2022-12-15T18:44:24.515Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-15T18:44:24.589Z] $ docker stop --time=1 1c75457d3b278bbd6006342d46a2964cbd506112e570deb6269972956c20549d [2022-12-15T18:44:25.762Z] $ docker rm -f 1c75457d3b278bbd6006342d46a2964cbd506112e570deb6269972956c20549d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-15T18:44:26.957Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-121373 in /w/workspace/gexfoundry_device-mqtt-go_PR-441 [Pipeline] { [Pipeline] ws [2022-12-15T18:44:26.998Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-12-15T18:44:27.083Z] Selected Git installation does not exist. Using Default [2022-12-15T18:44:27.083Z] The recommended git tool is: NONE [2022-12-15T18:44:31.931Z] using credential edgex-jenkins-ssh [2022-12-15T18:44:31.953Z] Cloning the remote Git repository [2022-12-15T18:44:31.994Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-12-15T18:44:32.082Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-12-15T18:44:32.207Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-12-15T18:44:32.207Z] > git --version # timeout=10 [2022-12-15T18:44:32.227Z] > git --version # 'git version 2.25.1' [2022-12-15T18:44:32.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-15T18:44:32.288Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-15T18:44:33.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-12-15T18:44:33.380Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-15T18:44:34.221Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-12-15T18:44:34.265Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-12-15T18:44:34.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-15T18:44:34.282Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/441/head:refs/remotes/origin/PR-441 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-15T18:44:34.864Z] Merging remotes/origin/main commit fcfe150067659d9c2450c08aa60233797868c9db into PR head commit cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [2022-12-15T18:44:35.097Z] Merge succeeded, producing cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [2022-12-15T18:44:35.097Z] Checking out Revision cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 (PR-441) [2022-12-15T18:44:34.884Z] > git config core.sparsecheckout # timeout=10 [2022-12-15T18:44:34.906Z] > git checkout -f cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 # timeout=10 [2022-12-15T18:44:34.987Z] > git remote # timeout=10 [2022-12-15T18:44:35.006Z] > git config --get remote.origin.url # timeout=10 [2022-12-15T18:44:35.038Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-15T18:44:35.051Z] > git merge fcfe150067659d9c2450c08aa60233797868c9db # timeout=10 [2022-12-15T18:44:35.077Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-15T18:44:35.104Z] > git config core.sparsecheckout # timeout=10 [2022-12-15T18:44:35.120Z] > git checkout -f cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 # timeout=10 [2022-12-15T18:44:38.606Z] Commit message: "refactor!: Use latest SDK for flattened config stem" [2022-12-15T18:44:38.655Z] > git --version # timeout=10 [2022-12-15T18:44:38.668Z] > git --version # 'git version 2.25.1' [2022-12-15T18:44:38.682Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-15T18:44:39.808Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-15T18:44:39.808Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-15T18:44:39.808Z] Dload Upload Total Spent Left Speed [2022-12-15T18:44:39.808Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2022-12-15T18:44:40.448Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-15T18:44:40.781Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-15T18:44:40.781Z] + sudo tee /etc/docker/daemon.new [2022-12-15T18:44:40.781Z] { [2022-12-15T18:44:40.781Z] "registry-mirrors": [ [2022-12-15T18:44:40.781Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-15T18:44:40.781Z] ], [2022-12-15T18:44:40.781Z] "bip": "10.250.0.254/24", [2022-12-15T18:44:40.781Z] "hosts": [ [2022-12-15T18:44:40.781Z] "tcp://0.0.0.0:5555", [2022-12-15T18:44:40.781Z] "unix:///var/run/docker.sock" [2022-12-15T18:44:40.781Z] ], [2022-12-15T18:44:40.781Z] "mtu": 1458, [2022-12-15T18:44:40.781Z] "selinux-enabled": true, [2022-12-15T18:44:40.781Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-15T18:44:40.781Z] } [Pipeline] sh [2022-12-15T18:44:41.120Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-15T18:44:41.463Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-15T18:44:59.778Z] provisioning config files... [2022-12-15T18:44:59.802Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config10127430401176669755tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T18:45:00.184Z] ---> docker-login.sh [2022-12-15T18:45:00.184Z] nexus3.edgexfoundry.org:10001 [2022-12-15T18:45:00.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:45:00.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:45:00.723Z] Configure a credential helper to remove this warning. See [2022-12-15T18:45:00.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:45:00.723Z] [2022-12-15T18:45:00.723Z] Login Succeeded [2022-12-15T18:45:00.723Z] nexus3.edgexfoundry.org:10002 [2022-12-15T18:45:00.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:45:00.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:45:00.991Z] Configure a credential helper to remove this warning. See [2022-12-15T18:45:00.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:45:00.991Z] [2022-12-15T18:45:00.991Z] Login Succeeded [2022-12-15T18:45:00.991Z] nexus3.edgexfoundry.org:10003 [2022-12-15T18:45:01.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:45:01.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:45:01.528Z] Configure a credential helper to remove this warning. See [2022-12-15T18:45:01.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:45:01.528Z] [2022-12-15T18:45:01.528Z] Login Succeeded [2022-12-15T18:45:01.528Z] nexus3.edgexfoundry.org:10004 [2022-12-15T18:45:01.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:45:01.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:45:01.801Z] Configure a credential helper to remove this warning. See [2022-12-15T18:45:01.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:45:01.801Z] [2022-12-15T18:45:01.801Z] Login Succeeded [2022-12-15T18:45:01.801Z] docker.io [2022-12-15T18:45:02.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T18:45:02.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T18:45:02.336Z] Configure a credential helper to remove this warning. See [2022-12-15T18:45:02.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T18:45:02.336Z] [2022-12-15T18:45:02.336Z] Login Succeeded [2022-12-15T18:45:02.336Z] ---> docker-login.sh ends [Pipeline] } [2022-12-15T18:45:02.364Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-15T18:45:02.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-15T18:45:02.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-15T18:45:02.768Z] ========================================================= [2022-12-15T18:45:02.768Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-15T18:45:02.768Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T18:45:03.258Z] + 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 . [2022-12-15T18:45:03.526Z] Sending build context to Docker daemon 3.287MB [2022-12-15T18:45:03.526Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-15T18:45:03.526Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-15T18:45:03.795Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-15T18:45:03.795Z] 9b18e9b68314: Pulling fs layer [2022-12-15T18:45:03.795Z] 35d82f9e3411: Pulling fs layer [2022-12-15T18:45:03.796Z] e16973657156: Pulling fs layer [2022-12-15T18:45:03.796Z] fc693d55d65f: Pulling fs layer [2022-12-15T18:45:03.796Z] 7e9fc2657dce: Pulling fs layer [2022-12-15T18:45:03.796Z] dda99020689f: Pulling fs layer [2022-12-15T18:45:03.796Z] db1c61fa0a46: Pulling fs layer [2022-12-15T18:45:03.796Z] 891c053d2c06: Pulling fs layer [2022-12-15T18:45:03.796Z] 7e9fc2657dce: Waiting [2022-12-15T18:45:03.796Z] dda99020689f: Waiting [2022-12-15T18:45:03.796Z] db1c61fa0a46: Waiting [2022-12-15T18:45:03.796Z] 891c053d2c06: Waiting [2022-12-15T18:45:03.796Z] fc693d55d65f: Waiting [2022-12-15T18:45:03.796Z] e16973657156: Download complete [2022-12-15T18:45:03.796Z] 35d82f9e3411: Download complete [2022-12-15T18:45:03.796Z] 7e9fc2657dce: Verifying Checksum [2022-12-15T18:45:03.796Z] 7e9fc2657dce: Download complete [2022-12-15T18:45:03.796Z] dda99020689f: Verifying Checksum [2022-12-15T18:45:03.796Z] dda99020689f: Download complete [2022-12-15T18:45:03.796Z] 9b18e9b68314: Verifying Checksum [2022-12-15T18:45:04.787Z] 9b18e9b68314: Pull complete [2022-12-15T18:45:04.787Z] 891c053d2c06: Verifying Checksum [2022-12-15T18:45:04.787Z] 891c053d2c06: Download complete [2022-12-15T18:45:05.380Z] 35d82f9e3411: Pull complete [2022-12-15T18:45:05.651Z] e16973657156: Pull complete [2022-12-15T18:45:06.235Z] db1c61fa0a46: Verifying Checksum [2022-12-15T18:45:06.235Z] db1c61fa0a46: Download complete [2022-12-15T18:45:06.823Z] fc693d55d65f: Verifying Checksum [2022-12-15T18:45:06.823Z] fc693d55d65f: Download complete [2022-12-15T18:45:21.827Z] fc693d55d65f: Pull complete [2022-12-15T18:45:21.827Z] 7e9fc2657dce: Pull complete [2022-12-15T18:45:21.827Z] dda99020689f: Pull complete [2022-12-15T18:45:27.186Z] db1c61fa0a46: Pull complete [2022-12-15T18:45:28.607Z] 891c053d2c06: Pull complete [2022-12-15T18:45:28.607Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-15T18:45:28.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-15T18:45:28.607Z] ---> f96f9c87975a [2022-12-15T18:45:28.607Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-15T18:45:30.561Z] ---> Running in c1e4d5cd4c03 [2022-12-15T18:45:30.832Z] Removing intermediate container c1e4d5cd4c03 [2022-12-15T18:45:30.832Z] ---> 49c2a6ccd18f [2022-12-15T18:45:30.832Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-15T18:45:30.832Z] ---> Running in 449d04897eb5 [2022-12-15T18:45:31.106Z] Removing intermediate container 449d04897eb5 [2022-12-15T18:45:31.106Z] ---> ed6f64d4bf6c [2022-12-15T18:45:31.106Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-15T18:45:31.375Z] ---> Running in 58faf143694f [2022-12-15T18:45:31.645Z] Removing intermediate container 58faf143694f [2022-12-15T18:45:31.645Z] ---> b2a7fe14eda9 [2022-12-15T18:45:31.645Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-15T18:45:31.645Z] ---> Running in c3cb7e61cbd2 [2022-12-15T18:45:31.914Z] Removing intermediate container c3cb7e61cbd2 [2022-12-15T18:45:31.914Z] ---> a1c65164f04a [2022-12-15T18:45:31.914Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-15T18:45:32.184Z] ---> Running in 6d3b170734e5 [2022-12-15T18:45:33.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-15T18:45:33.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-15T18:45:34.372Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-15T18:45:34.372Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-15T18:45:34.372Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-15T18:45:34.372Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-15T18:45:34.372Z] Executing busybox-1.35.0-r17.trigger [2022-12-15T18:45:34.642Z] OK: 226 MiB in 55 packages [2022-12-15T18:45:35.608Z] Removing intermediate container 6d3b170734e5 [2022-12-15T18:45:35.608Z] ---> c648d6d734c0 [2022-12-15T18:45:35.608Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-12-15T18:45:35.608Z] ---> Running in 3c186201936c [2022-12-15T18:45:35.876Z] Removing intermediate container 3c186201936c [2022-12-15T18:45:35.876Z] ---> ec807a97d64f [2022-12-15T18:45:35.876Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-15T18:45:36.461Z] ---> 09e964e8a9af [2022-12-15T18:45:36.461Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-15T18:45:36.461Z] ---> Running in b2a71108c95f [2022-12-15T18:46:32.870Z] Removing intermediate container b2a71108c95f [2022-12-15T18:46:32.870Z] ---> d009390de476 [2022-12-15T18:46:32.870Z] Step 11/12 : COPY . . [2022-12-15T18:46:32.870Z] ---> eed6f011fca8 [2022-12-15T18:46:32.870Z] Step 12/12 : RUN $MAKE [2022-12-15T18:46:32.870Z] ---> Running in 0adef5614ceb [2022-12-15T18:46:32.870Z] noop [2022-12-15T18:46:32.870Z] Removing intermediate container 0adef5614ceb [2022-12-15T18:46:32.870Z] ---> 8318f92a2455 [2022-12-15T18:46:32.870Z] Successfully built 8318f92a2455 [2022-12-15T18:46:32.870Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T18:46:33.355Z] + docker inspect -f . ci-base-image-arm64 [2022-12-15T18:46:33.355Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T18:46:33.615Z] prd-ubuntu20.04-docker-arm64-4c-16g-121373 does not seem to be running inside a container [2022-12-15T18:46:33.685Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-15T18:46:35.004Z] $ docker top a757ff2f120bb57db44c98303de2d715256dcd641c1150f534fc983911e40f0c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T18:46:35.887Z] + go version [2022-12-15T18:46:35.887Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-15T18:46:35.921Z] $ docker stop --time=1 a757ff2f120bb57db44c98303de2d715256dcd641c1150f534fc983911e40f0c [2022-12-15T18:46:37.529Z] $ docker rm -f a757ff2f120bb57db44c98303de2d715256dcd641c1150f534fc983911e40f0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T18:46:38.368Z] + docker inspect -f . ci-base-image-arm64 [2022-12-15T18:46:38.368Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T18:46:38.613Z] prd-ubuntu20.04-docker-arm64-4c-16g-121373 does not seem to be running inside a container [2022-12-15T18:46:38.671Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-15T18:46:39.801Z] $ docker top bfc9a5cebe8176d16824ca801abadee0c6c241f0aa717ed78674550a550ee810 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T18:46:40.369Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-12-15T18:46:41.011Z] + make test [2022-12-15T18:46:41.279Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-15T18:46:42.692Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-12-15T18:48:04.332Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-12-15T18:48:04.332Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 21.8% of statements [2022-12-15T18:48:04.332Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-12-15T18:48:04.332Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-15T18:48:04.332Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-15T18:48:22.565Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-15T18:48:22.565Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-15T18:48:22.565Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-15T18:48:22.610Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-15T18:48:22.646Z] $ docker stop --time=1 bfc9a5cebe8176d16824ca801abadee0c6c241f0aa717ed78674550a550ee810 [2022-12-15T18:48:24.459Z] $ docker rm -f bfc9a5cebe8176d16824ca801abadee0c6c241f0aa717ed78674550a550ee810 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-15T18:48:25.467Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-15T18:48:25.505Z] Warning: overwriting stash ‘coverage-report’ [2022-12-15T18:48:25.932Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-15T18:48:26.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-15T18:48:26.914Z] + ls -al . [2022-12-15T18:48:26.914Z] total 188 [2022-12-15T18:48:26.914Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 18:46 . [2022-12-15T18:48:26.914Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 18:44 .. [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 18:44 .dockerignore [2022-12-15T18:48:26.915Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 18:44 .git [2022-12-15T18:48:26.915Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 18:44 .github [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 15 18:44 .gitignore [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 18:44 .golangci.yml [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 9293 Dec 15 18:44 Attribution.txt [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 13162 Dec 15 18:44 CHANGELOG.md [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 1752 Dec 15 18:44 Dockerfile [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 18:44 GOVERNANCE.md [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 15 18:44 Jenkinsfile [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 18:44 LICENSE [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 2126 Dec 15 18:44 Makefile [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 18:44 OWNERS.md [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 3165 Dec 15 18:44 README.md [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 18:42 VERSION [2022-12-15T18:48:26.915Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 18:44 bin [2022-12-15T18:48:26.915Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 18:44 cmd [2022-12-15T18:48:26.915Z] -rw-r--r-- 1 jenkins jenkins 17887 Dec 15 18:47 coverage.out [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 3464 Dec 15 18:44 go.mod [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 45013 Dec 15 18:44 go.sum [2022-12-15T18:48:26.915Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 18:44 internal [2022-12-15T18:48:26.915Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 18:44 mock [2022-12-15T18:48:26.915Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 18:44 snap [2022-12-15T18:48:26.915Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 15 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T18:48:27.329Z] + 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=cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 --label arch=arm64 --label version=0.0.0 . [2022-12-15T18:48:27.596Z] Sending build context to Docker daemon 3.305MB [2022-12-15T18:48:27.596Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-12-15T18:48:27.596Z] Step 2/24 : FROM ${BASE} AS builder [2022-12-15T18:48:27.596Z] ---> 8318f92a2455 [2022-12-15T18:48:27.596Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-12-15T18:48:27.864Z] ---> Running in d50410c8a029 [2022-12-15T18:48:28.131Z] Removing intermediate container d50410c8a029 [2022-12-15T18:48:28.131Z] ---> 793fd5e94327 [2022-12-15T18:48:28.131Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-15T18:48:28.131Z] ---> Running in 36573b6a679a [2022-12-15T18:48:28.399Z] Removing intermediate container 36573b6a679a [2022-12-15T18:48:28.399Z] ---> 656e6583e488 [2022-12-15T18:48:28.399Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-15T18:48:28.399Z] ---> Running in bc47efb8f4bd [2022-12-15T18:48:28.666Z] Removing intermediate container bc47efb8f4bd [2022-12-15T18:48:28.666Z] ---> 4bddd670e4af [2022-12-15T18:48:28.666Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-12-15T18:48:28.933Z] ---> Running in c5263eb61dbc [2022-12-15T18:48:29.200Z] Removing intermediate container c5263eb61dbc [2022-12-15T18:48:29.200Z] ---> 1278f3b74f34 [2022-12-15T18:48:29.200Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-15T18:48:29.200Z] ---> Running in c53ec516a23b [2022-12-15T18:48:30.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-15T18:48:30.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-15T18:48:31.404Z] OK: 226 MiB in 55 packages [2022-12-15T18:48:32.365Z] Removing intermediate container c53ec516a23b [2022-12-15T18:48:32.365Z] ---> d3fe8d8c0b2c [2022-12-15T18:48:32.365Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-12-15T18:48:32.365Z] ---> Running in 20f2bc816107 [2022-12-15T18:48:32.630Z] Removing intermediate container 20f2bc816107 [2022-12-15T18:48:32.631Z] ---> 9b2ac637fac6 [2022-12-15T18:48:32.631Z] Step 9/24 : COPY go.mod vendor* ./ [2022-12-15T18:48:32.908Z] ---> 947fdb06057f [2022-12-15T18:48:32.908Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-15T18:48:33.179Z] ---> Running in 4dcbf0232eb0 [2022-12-15T18:48:35.126Z] Removing intermediate container 4dcbf0232eb0 [2022-12-15T18:48:35.126Z] ---> d441202a6e59 [2022-12-15T18:48:35.126Z] Step 11/24 : COPY . . [2022-12-15T18:48:36.086Z] ---> 15b95b1ba0ad [2022-12-15T18:48:36.086Z] Step 12/24 : RUN $MAKE [2022-12-15T18:48:36.086Z] ---> Running in 1ce4b165c13f [2022-12-15T18:48:37.055Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-12-15T18:51:14.097Z] Removing intermediate container 1ce4b165c13f [2022-12-15T18:51:14.097Z] ---> 5e7b330b8fbf [2022-12-15T18:51:14.097Z] Step 13/24 : FROM alpine:3.16 [2022-12-15T18:51:14.097Z] 3.16: Pulling from library/alpine [2022-12-15T18:51:14.097Z] 6875df1f5354: Pulling fs layer [2022-12-15T18:51:14.097Z] 6875df1f5354: Verifying Checksum [2022-12-15T18:51:14.097Z] 6875df1f5354: Download complete [2022-12-15T18:51:14.097Z] 6875df1f5354: Pull complete [2022-12-15T18:51:14.097Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-15T18:51:14.097Z] Status: Downloaded newer image for alpine:3.16 [2022-12-15T18:51:14.097Z] ---> 2b4661558fb8 [2022-12-15T18:51:14.097Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-12-15T18:51:14.097Z] ---> Running in 66072edcfe96 [2022-12-15T18:51:14.097Z] Removing intermediate container 66072edcfe96 [2022-12-15T18:51:14.097Z] ---> 221498d5afe9 [2022-12-15T18:51:14.097Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-15T18:51:14.097Z] ---> Running in 92ea0d48540d [2022-12-15T18:51:14.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-15T18:51:14.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-15T18:51:14.097Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-15T18:51:14.097Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-15T18:51:14.097Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-15T18:51:14.097Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-15T18:51:14.097Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-15T18:51:14.097Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-15T18:51:14.097Z] Executing busybox-1.35.0-r17.trigger [2022-12-15T18:51:14.097Z] OK: 8 MiB in 20 packages [2022-12-15T18:51:14.097Z] Removing intermediate container 92ea0d48540d [2022-12-15T18:51:14.097Z] ---> a7bca8babfbe [2022-12-15T18:51:14.097Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-12-15T18:51:14.097Z] ---> ec5d2d02018f [2022-12-15T18:51:14.097Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-12-15T18:51:14.097Z] ---> 1a9a9f569e2c [2022-12-15T18:51:14.097Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-12-15T18:51:14.097Z] ---> e13a293c57ef [2022-12-15T18:51:14.097Z] Step 19/24 : EXPOSE 59982 [2022-12-15T18:51:14.097Z] ---> Running in 5a8b2c1930c9 [2022-12-15T18:51:14.097Z] Removing intermediate container 5a8b2c1930c9 [2022-12-15T18:51:14.097Z] ---> 6622747e21bd [2022-12-15T18:51:14.097Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-12-15T18:51:14.097Z] ---> Running in 731fe4906015 [2022-12-15T18:51:14.097Z] Removing intermediate container 731fe4906015 [2022-12-15T18:51:14.097Z] ---> 9af3db6f7764 [2022-12-15T18:51:14.097Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-15T18:51:14.097Z] ---> Running in 2320424c9474 [2022-12-15T18:51:14.097Z] Removing intermediate container 2320424c9474 [2022-12-15T18:51:14.097Z] ---> 911f47ecc8b7 [2022-12-15T18:51:14.097Z] Step 22/24 : LABEL arch=arm64 [2022-12-15T18:51:14.097Z] ---> Running in 03fd1e4f2ebb [2022-12-15T18:51:14.097Z] Removing intermediate container 03fd1e4f2ebb [2022-12-15T18:51:14.097Z] ---> 58c91498e423 [2022-12-15T18:51:14.097Z] Step 23/24 : LABEL git_sha=cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [2022-12-15T18:51:14.097Z] ---> Running in b14986aa2208 [2022-12-15T18:51:14.097Z] Removing intermediate container b14986aa2208 [2022-12-15T18:51:14.097Z] ---> 73f2343f7e44 [2022-12-15T18:51:14.097Z] Step 24/24 : LABEL version=0.0.0 [2022-12-15T18:51:14.097Z] ---> Running in 5d9a3b13e32f [2022-12-15T18:51:14.097Z] Removing intermediate container 5d9a3b13e32f [2022-12-15T18:51:14.097Z] ---> dc2d07ac770f [2022-12-15T18:51:14.097Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-15T18:51:14.097Z] Successfully built dc2d07ac770f [2022-12-15T18:51:14.097Z] 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 [2022-12-15T18:51:14.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-15T18:51:14.890Z] [2022-12-15T18:51:14.890Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T18:51:15.279Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-15T18:51:15.279Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-15T18:51:15.279Z] 8998bd30e6a1: Pulling fs layer [2022-12-15T18:51:15.279Z] 04944245beec: Pulling fs layer [2022-12-15T18:51:15.279Z] 699f458cf7ca: Pulling fs layer [2022-12-15T18:51:15.279Z] 765212b225bb: Pulling fs layer [2022-12-15T18:51:15.279Z] f23df028b6ca: Pulling fs layer [2022-12-15T18:51:15.279Z] d65c8cfc05b1: Pulling fs layer [2022-12-15T18:51:15.279Z] 2437ff75d9bd: Pulling fs layer [2022-12-15T18:51:15.279Z] f23df028b6ca: Waiting [2022-12-15T18:51:15.279Z] d65c8cfc05b1: Waiting [2022-12-15T18:51:15.279Z] 2437ff75d9bd: Waiting [2022-12-15T18:51:15.279Z] 765212b225bb: Waiting [2022-12-15T18:51:15.548Z] 04944245beec: Verifying Checksum [2022-12-15T18:51:15.548Z] 04944245beec: Download complete [2022-12-15T18:51:15.548Z] 765212b225bb: Verifying Checksum [2022-12-15T18:51:15.548Z] 765212b225bb: Download complete [2022-12-15T18:51:15.548Z] f23df028b6ca: Verifying Checksum [2022-12-15T18:51:15.548Z] f23df028b6ca: Download complete [2022-12-15T18:51:15.548Z] d65c8cfc05b1: Download complete [2022-12-15T18:51:15.548Z] 699f458cf7ca: Verifying Checksum [2022-12-15T18:51:16.130Z] 8998bd30e6a1: Verifying Checksum [2022-12-15T18:51:16.130Z] 8998bd30e6a1: Download complete [2022-12-15T18:51:18.072Z] 2437ff75d9bd: Verifying Checksum [2022-12-15T18:51:18.072Z] 2437ff75d9bd: Download complete [2022-12-15T18:51:20.035Z] 8998bd30e6a1: Pull complete [2022-12-15T18:51:20.301Z] 04944245beec: Pull complete [2022-12-15T18:51:21.710Z] 699f458cf7ca: Pull complete [2022-12-15T18:51:21.979Z] 765212b225bb: Pull complete [2022-12-15T18:51:22.938Z] f23df028b6ca: Pull complete [2022-12-15T18:51:22.938Z] d65c8cfc05b1: Pull complete [2022-12-15T18:51:37.941Z] 2437ff75d9bd: Pull complete [2022-12-15T18:51:37.941Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-15T18:51:37.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-15T18:51:37.941Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T18:51:38.269Z] prd-ubuntu20.04-docker-arm64-4c-16g-121373 does not seem to be running inside a container [2022-12-15T18:51:38.331Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-15T18:51:40.726Z] $ docker top 796134d7abb96c84d1188c6d2db2b187ca3beab18fee10a79f053d4e28c228a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T18:51:41.273Z] ---> job-cost.sh [2022-12-15T18:51:41.540Z] lf-activate-venv: SKIPPING [2022-12-15T18:51:41.540Z] INFO: No Stack... [2022-12-15T18:51:42.121Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-15T18:51:42.705Z] INFO: Archiving Costs [Pipeline] sh [2022-12-15T18:51:43.042Z] + cut -d, -f6 [2022-12-15T18:51:43.042Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2022-12-15T18:51:43.389Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] [2022-12-15T18:51:43.394Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] did not exist. Created. [2022-12-15T18:51:43.394Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-15T18:51:44.115Z] /w/workspace/device-mqtt-go/1@tmp/durable-2c4ff7a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-15T18:51:44.791Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-15T18:51:44.830Z] Warning: overwriting stash ‘stack-cost’ [2022-12-15T18:51:44.871Z] Stashed 1 file(s) [Pipeline] } [2022-12-15T18:51:44.886Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-15T18:51:44.968Z] $ docker stop --time=1 796134d7abb96c84d1188c6d2db2b187ca3beab18fee10a79f053d4e28c228a1 [2022-12-15T18:51:46.460Z] $ docker rm -f 796134d7abb96c84d1188c6d2db2b187ca3beab18fee10a79f053d4e28c228a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-12-15T18:51:47.414Z] provisioning config files... [2022-12-15T18:51:47.424Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/config1435654680352885539tmp [Pipeline] { [Pipeline] sh [2022-12-15T18:51:47.762Z] + set +x [2022-12-15T18:51:47.762Z] + curl -s https://codecov.io/bash [2022-12-15T18:51:47.762Z] + bash -s -- [2022-12-15T18:51:47.762Z] [2022-12-15T18:51:47.762Z] _____ _ [2022-12-15T18:51:47.762Z] / ____| | | [2022-12-15T18:51:47.762Z] | | ___ __| | ___ ___ _____ __ [2022-12-15T18:51:47.762Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-15T18:51:47.762Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-15T18:51:47.762Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-15T18:51:47.762Z] Bash-1.0.6 [2022-12-15T18:51:47.762Z] [2022-12-15T18:51:47.762Z] [2022-12-15T18:51:47.762Z] ==> git version 2.25.1 found [2022-12-15T18:51:47.762Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-12-15T18:51:47.762Z] Release-Date: 2020-01-08 [2022-12-15T18:51:47.762Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-12-15T18:51:47.762Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-15T18:51:47.762Z] ==> Jenkins CI detected. [2022-12-15T18:51:47.762Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-441 [2022-12-15T18:51:47.762Z] project root: . [2022-12-15T18:51:47.762Z] --> token set from env [2022-12-15T18:51:47.762Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-15T18:51:47.762Z] ==> Running gcov in . (disable via -X gcov) [2022-12-15T18:51:47.762Z] ==> Python coveragepy not found [2022-12-15T18:51:47.762Z] ==> Searching for coverage reports in: [2022-12-15T18:51:47.762Z] + . [2022-12-15T18:51:47.762Z] -> Found 1 reports [2022-12-15T18:51:47.762Z] ==> Detecting git/mercurial file structure [2022-12-15T18:51:47.762Z] ==> Reading reports [2022-12-15T18:51:48.021Z] + ./coverage.out bytes=17887 [2022-12-15T18:51:48.021Z] ==> Appending adjustments [2022-12-15T18:51:48.021Z] https://docs.codecov.io/docs/fixing-reports [2022-12-15T18:51:48.021Z] + Found adjustments [2022-12-15T18:51:48.021Z] ==> Gzipping contents [2022-12-15T18:51:48.021Z] 4.0K /tmp/codecov.xwghVv.gz [2022-12-15T18:51:48.021Z] ==> Uploading reports [2022-12-15T18:51:48.021Z] url: https://codecov.io [2022-12-15T18:51:48.021Z] query: branch=PR-441&commit=cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-441%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=441&job=&cmd_args= [2022-12-15T18:51:48.021Z] -> Pinging Codecov [2022-12-15T18:51:48.021Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-441&commit=cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-441%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=441&job=&cmd_args= [2022-12-15T18:51:48.281Z] -> Uploading to [2022-12-15T18:51:48.281Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-15/7D719EC7BBE17E464838252E33014C33/cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8/60b2b386-5d8a-4154-bb79-01a6ddd98b91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221215T185148Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f09de8ee60fb3f7f2aa53fd47ece3aa8b5799642e381a1e1e05a2392231b7033 [2022-12-15T18:51:48.281Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-15T18:51:48.281Z] Dload Upload Total Spent Left Speed [2022-12-15T18:51:48.540Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 13147 --:--:-- --:--:-- --:--:-- 13201 [2022-12-15T18:51:48.540Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [Pipeline] } [2022-12-15T18:51:48.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-12-15T18:51:50.323Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives ] [2022-12-15T18:51:50.324Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives [2022-12-15T18:51:50.324Z] total 16 [2022-12-15T18:51:50.324Z] drwxr-xr-x 3 root root 4096 Dec 15 18:44 . [2022-12-15T18:51:50.324Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 15 18:44 .. [2022-12-15T18:51:50.324Z] drwxr-xr-x 2 root root 4096 Dec 15 18:44 cost [2022-12-15T18:51:50.324Z] -rw-r--r-- 1 root root 86 Dec 15 18:44 cost.csv [2022-12-15T18:51:50.324Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives [2022-12-15T18:51:50.324Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives [2022-12-15T18:51:50.324Z] total 16 [2022-12-15T18:51:50.324Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 18:44 . [2022-12-15T18:51:50.324Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 15 18:44 .. [2022-12-15T18:51:50.324Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 18:44 cost [2022-12-15T18:51:50.324Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 15 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-15T18:51:50.648Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T18:51:51.533Z] ---> package-listing.sh [2022-12-15T18:51:51.533Z] ++ facter osfamily [2022-12-15T18:51:51.533Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-15T18:51:51.792Z] + OS_FAMILY=debian [2022-12-15T18:51:51.792Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-441 [2022-12-15T18:51:51.792Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-15T18:51:51.792Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-15T18:51:51.792Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-15T18:51:51.792Z] + PACKAGES=/tmp/packages_start.txt [2022-12-15T18:51:51.792Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-441 ']' [2022-12-15T18:51:51.792Z] + PACKAGES=/tmp/packages_end.txt [2022-12-15T18:51:51.792Z] + case "${OS_FAMILY}" in [2022-12-15T18:51:51.792Z] + dpkg -l [2022-12-15T18:51:51.792Z] + grep '^ii' [2022-12-15T18:51:51.792Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-15T18:51:51.792Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-15T18:51:51.792Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-15T18:51:51.792Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-441 ']' [2022-12-15T18:51:51.792Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives/ [2022-12-15T18:51:51.792Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives/ [Pipeline] echo [2022-12-15T18:51:51.825Z] 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-441/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-15T18:51:52.117Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T18:51:52.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-15T18:51:52.741Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T18:51:52.892Z] prd-ubuntu20.04-docker-8c-8g-121372 does not seem to be running inside a container [2022-12-15T18:51:52.924Z] $ 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-441/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-441 -v /w/workspace/gexfoundry_device-mqtt-go_PR-441:/w/workspace/gexfoundry_device-mqtt-go_PR-441:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-15T18:51:53.159Z] $ docker top 72f8bfd8b3dea7b7cd36e5ee43a03f8b893ce7b8d005908e9bda89cac563601f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T18:51:53.536Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-15T18:51:53.841Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-15T18:51:54.153Z] + ls /var/log/sa-host [2022-12-15T18:51:54.154Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-15T18:51:54.370Z] provisioning config files... [2022-12-15T18:51:54.379Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/config3522237640785725869tmp [Pipeline] { [Pipeline] echo [2022-12-15T18:51:54.432Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T18:51:54.750Z] ---> create-netrc.sh [Pipeline] } [2022-12-15T18:51:54.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-15T18:51:55.177Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-15T18:51:55.212Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T18:51:55.521Z] ---> sudo-logs.sh [2022-12-15T18:51:55.521Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-15T18:51:55.603Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T18:51:55.908Z] ---> job-cost.sh [2022-12-15T18:51:55.908Z] lf-activate-venv: SKIPPING [2022-12-15T18:51:55.908Z] DEBUG: total: 0.2199999988079071 [2022-12-15T18:51:55.908Z] INFO: Retrieving Stack Cost... [2022-12-15T18:51:56.168Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-15T18:51:56.736Z] INFO: Archiving Costs [Pipeline] echo [2022-12-15T18:51:56.774Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T18:51:57.080Z] ---> logs-deploy.sh [2022-12-15T18:51:57.080Z] lf-activate-venv: SKIPPING [2022-12-15T18:51:57.080Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-441/1 [2022-12-15T18:51:57.080Z] INFO: archiving workspace using pattern(s): [2022-12-15T18:51:58.015Z] Archives upload complete. [2022-12-15T18:51:58.015Z] INFO: archiving logs to Nexus