Pull request #438 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f91d1fa7e9db7810a1f7edc641d0f88056783f3+caab5c19f0226ea205a717313438d75c5b5382a1 (26c9332147b5cb137bba51a8b89d1bdcd6150664) 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-ssh4236306835860880036.key Verifying host key using known hosts file > 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-ssh17000599481491261393.key Verifying host key using known hosts file > 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-438/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-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7439918023975589820.key Verifying host key using known hosts file > 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-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18069995467654888992.key Verifying host key using known hosts file > 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-ssh14027186608767998558.key Verifying host key using known hosts file > 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-438/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-438/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5975336052053684472.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-118346’ Running on prd-ubuntu20.04-docker-8c-8g-118358 in /w/workspace/gexfoundry_device-mqtt-go_PR-438 [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-438 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit caab5c19f0226ea205a717313438d75c5b5382a1 into PR head commit 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 Merge succeeded, producing 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 Checking out Revision 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 (PR-438) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 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-11-07T01:04:13.384Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge caab5c19f0226ea205a717313438d75c5b5382a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 # timeout=10 [Pipeline] withCredentials [2022-11-07T01:04:13.570Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T01:04:13.669Z] ========================================================= [2022-11-07T01:04:13.669Z] EdgeX Global Pipelines Version Info [2022-11-07T01:04:13.669Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:04:14.416Z] ------------------- [2022-11-07T01:04:14.416Z] stable info: [2022-11-07T01:04:14.416Z] ------------------- [2022-11-07T01:04:14.416Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T01:04:14.416Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T01:04:14.416Z] Message: update stable to v1.0.244 [2022-11-07T01:04:14.990Z] ------------------- [2022-11-07T01:04:14.990Z] experimental info: [2022-11-07T01:04:14.990Z] ------------------- [2022-11-07T01:04:14.990Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T01:04:14.990Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T01:04:14.990Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T01:04:15.276Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-11-07T01:04:15.318Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-11-07T01:04:15.359Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T01:04:15.398Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T01:04:15.441Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T01:04:15.479Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T01:04:15.523Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T01:04:15.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T01:04:15.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T01:04:15.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T01:04:15.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T01:04:15.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-11-07T01:04:15.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T01:04:15.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T01:04:15.864Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T01:04:15.903Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T01:04:15.941Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T01:04:15.980Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T01:04:16.017Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T01:04:16.055Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T01:04:16.096Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T01:04:16.136Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T01:04:16.173Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T01:04:16.213Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T01:04:16.250Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T01:04:16.293Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T01:04:16.338Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T01:04:16.377Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-438 [Pipeline] echo [2022-11-07T01:04:16.420Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-438 [Pipeline] echo [2022-11-07T01:04:16.462Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-438 [Pipeline] echo [2022-11-07T01:04:16.499Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [Pipeline] echo [2022-11-07T01:04:16.536Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f91d1f [Pipeline] echo [2022-11-07T01:04:16.572Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T01:04:16.685Z] provisioning config files... [2022-11-07T01:04:16.699Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/config5552738912348829037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:04:17.048Z] ---> docker-login.sh [2022-11-07T01:04:17.048Z] nexus3.edgexfoundry.org:10001 [2022-11-07T01:04:17.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:04:17.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:04:17.310Z] Configure a credential helper to remove this warning. See [2022-11-07T01:04:17.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:04:17.310Z] [2022-11-07T01:04:17.310Z] Login Succeeded [2022-11-07T01:04:17.310Z] nexus3.edgexfoundry.org:10002 [2022-11-07T01:04:17.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:04:17.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:04:17.310Z] Configure a credential helper to remove this warning. See [2022-11-07T01:04:17.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:04:17.310Z] [2022-11-07T01:04:17.310Z] Login Succeeded [2022-11-07T01:04:17.310Z] nexus3.edgexfoundry.org:10003 [2022-11-07T01:04:17.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:04:17.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:04:17.571Z] Configure a credential helper to remove this warning. See [2022-11-07T01:04:17.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:04:17.571Z] [2022-11-07T01:04:17.571Z] Login Succeeded [2022-11-07T01:04:17.571Z] nexus3.edgexfoundry.org:10004 [2022-11-07T01:04:17.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:04:17.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:04:17.571Z] Configure a credential helper to remove this warning. See [2022-11-07T01:04:17.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:04:17.571Z] [2022-11-07T01:04:17.571Z] Login Succeeded [2022-11-07T01:04:17.571Z] docker.io [2022-11-07T01:04:17.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:04:18.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:04:18.095Z] Configure a credential helper to remove this warning. See [2022-11-07T01:04:18.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:04:18.095Z] [2022-11-07T01:04:18.095Z] Login Succeeded [2022-11-07T01:04:18.095Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T01:04:18.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T01:04:18.772Z] + git rev-list -1 --merges 1f91d1fa7e9db7810a1f7edc641d0f88056783f3~1..1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [Pipeline] echo [2022-11-07T01:04:18.826Z] -----------> git rev-list -1 --merges 1f91d1fa7e9db7810a1f7edc641d0f88056783f3~1..1f91d1fa7e9db7810a1f7edc641d0f88056783f3 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [false] [Pipeline] sh [2022-11-07T01:04:19.140Z] + git log --format=format:%s -1 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [Pipeline] echo [2022-11-07T01:04:19.182Z] ========================================================= [2022-11-07T01:04:19.182Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T01:04:19.182Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T01:04:19.605Z] + git log --format=format:%s -1 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [Pipeline] echo [2022-11-07T01:04:19.642Z] [semverPrep] GIT_COMMIT: 1f91d1fa7e9db7810a1f7edc641d0f88056783f3, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-11-07T01:04:19.675Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T01:04:20.065Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T01:04:20.065Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T01:04:20.065Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T01:04:20.065Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T01:04:20.065Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T01:04:20.065Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T01:04:20.065Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:04:20.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T01:04:20.505Z] [2022-11-07T01:04:20.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:04:20.887Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T01:04:20.887Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T01:04:20.887Z] b85a868b505f: Pulling fs layer [2022-11-07T01:04:20.887Z] e2be974225ed: Pulling fs layer [2022-11-07T01:04:20.887Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T01:04:20.887Z] 988bab9f4d93: Pulling fs layer [2022-11-07T01:04:20.887Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T01:04:20.887Z] eaf3925da568: Pulling fs layer [2022-11-07T01:04:20.887Z] bab4dde63d76: Pulling fs layer [2022-11-07T01:04:20.887Z] bde34c3a00c8: Pulling fs layer [2022-11-07T01:04:20.887Z] b352a97aabf1: Pulling fs layer [2022-11-07T01:04:20.887Z] 4872d77fe225: Pulling fs layer [2022-11-07T01:04:20.887Z] 5851b861e8e6: Pulling fs layer [2022-11-07T01:04:20.887Z] 1469e6f7b9e6: Waiting [2022-11-07T01:04:20.887Z] eaf3925da568: Waiting [2022-11-07T01:04:20.887Z] bab4dde63d76: Waiting [2022-11-07T01:04:20.887Z] bde34c3a00c8: Waiting [2022-11-07T01:04:20.887Z] b352a97aabf1: Waiting [2022-11-07T01:04:20.887Z] 4872d77fe225: Waiting [2022-11-07T01:04:20.887Z] 5851b861e8e6: Waiting [2022-11-07T01:04:20.887Z] 988bab9f4d93: Waiting [2022-11-07T01:04:20.887Z] e2be974225ed: Verifying Checksum [2022-11-07T01:04:20.887Z] e2be974225ed: Download complete [2022-11-07T01:04:20.887Z] 988bab9f4d93: Verifying Checksum [2022-11-07T01:04:20.887Z] 988bab9f4d93: Download complete [2022-11-07T01:04:21.148Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T01:04:21.148Z] 339a4e72a1f5: Download complete [2022-11-07T01:04:21.148Z] eaf3925da568: Verifying Checksum [2022-11-07T01:04:21.148Z] eaf3925da568: Download complete [2022-11-07T01:04:21.148Z] b85a868b505f: Verifying Checksum [2022-11-07T01:04:21.148Z] b85a868b505f: Download complete [2022-11-07T01:04:21.148Z] bde34c3a00c8: Verifying Checksum [2022-11-07T01:04:21.148Z] bde34c3a00c8: Download complete [2022-11-07T01:04:21.408Z] b352a97aabf1: Download complete [2022-11-07T01:04:21.408Z] 4872d77fe225: Verifying Checksum [2022-11-07T01:04:21.408Z] 4872d77fe225: Download complete [2022-11-07T01:04:21.408Z] 5851b861e8e6: Verifying Checksum [2022-11-07T01:04:21.408Z] 5851b861e8e6: Download complete [2022-11-07T01:04:21.667Z] bab4dde63d76: Verifying Checksum [2022-11-07T01:04:21.667Z] bab4dde63d76: Download complete [2022-11-07T01:04:21.667Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T01:04:21.667Z] 1469e6f7b9e6: Download complete [2022-11-07T01:04:22.601Z] b85a868b505f: Pull complete [2022-11-07T01:04:22.601Z] e2be974225ed: Pull complete [2022-11-07T01:04:23.177Z] 339a4e72a1f5: Pull complete [2022-11-07T01:04:23.178Z] 988bab9f4d93: Pull complete [2022-11-07T01:04:23.441Z] 1469e6f7b9e6: Pull complete [2022-11-07T01:04:23.441Z] eaf3925da568: Pull complete [2022-11-07T01:04:25.347Z] bab4dde63d76: Pull complete [2022-11-07T01:04:25.347Z] bde34c3a00c8: Pull complete [2022-11-07T01:04:25.607Z] b352a97aabf1: Pull complete [2022-11-07T01:04:25.607Z] 4872d77fe225: Pull complete [2022-11-07T01:04:25.867Z] 5851b861e8e6: Pull complete [2022-11-07T01:04:25.867Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T01:04:25.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T01:04:25.867Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:04:26.102Z] prd-ubuntu20.04-docker-8c-8g-118358 does not seem to be running inside a container [2022-11-07T01:04:26.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-438 -v /w/workspace/gexfoundry_device-mqtt-go_PR-438:/w/workspace/gexfoundry_device-mqtt-go_PR-438:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-438@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T01:04:27.834Z] $ docker top 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 -eo pid,comm [2022-11-07T01:04:27.900Z] 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-11-07T01:04:27.900Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T01:04:28.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T01:04:28.028Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T01:04:28.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T01:04:28.154Z] $ docker exec 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 ssh-agent [2022-11-07T01:04:28.270Z] SSH_AUTH_SOCK=/tmp/ssh-MvfXXHD4EmkG/agent.33 [2022-11-07T01:04:28.270Z] SSH_AGENT_PID=40 [2022-11-07T01:04:28.277Z] Running ssh-add (command line suppressed) [2022-11-07T01:04:28.376Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/private_key_12185681090547806145.key (/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/private_key_12185681090547806145.key) [2022-11-07T01:04:28.392Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T01:04:28.731Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T01:04:28.757Z] $ docker exec --env ******** --env ******** 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 ssh-agent -k [2022-11-07T01:04:28.859Z] unset SSH_AUTH_SOCK; [2022-11-07T01:04:28.859Z] unset SSH_AGENT_PID; [2022-11-07T01:04:28.859Z] echo Agent pid 40 killed; [2022-11-07T01:04:28.870Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T01:04:28.968Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T01:04:28.968Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T01:04:29.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T01:04:29.100Z] $ docker exec 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 ssh-agent [2022-11-07T01:04:29.211Z] SSH_AUTH_SOCK=/tmp/ssh-77WSNbc4BxW5/agent.72 [2022-11-07T01:04:29.211Z] SSH_AGENT_PID=78 [2022-11-07T01:04:29.215Z] Running ssh-add (command line suppressed) [2022-11-07T01:04:29.332Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/private_key_14722559145952545277.key (/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/private_key_14722559145952545277.key) [2022-11-07T01:04:29.350Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T01:04:29.692Z] + git semver init [2022-11-07T01:04:29.952Z] 2022-11-07 01:04:29,872 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T01:04:29.952Z] 2022-11-07 01:04:29,873 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver [2022-11-07T01:04:29.952Z] 2022-11-07 01:04:29,873 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver [2022-11-07T01:04:29.952Z] 2022-11-07 01:04:29,873 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-438, universal_newlines=False, shell=None, istream=None) [2022-11-07T01:04:30.892Z] 2022-11-07 01:04:30,809 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-438/.git/info/exclude [2022-11-07T01:04:30.892Z] 2022-11-07 01:04:30,809 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver/PR-438 with force:False [2022-11-07T01:04:30.892Z] 2022-11-07 01:04:30,809 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver/PR-438 [2022-11-07T01:04:30.892Z] 2022-11-07 01:04:30,813 [execute] INFO git cat-file --batch-check [2022-11-07T01:04:30.892Z] 2022-11-07 01:04:30,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T01:04:30.892Z] 2022-11-07 01:04:30,821 [execute] INFO git cat-file --batch [2022-11-07T01:04:30.892Z] 2022-11-07 01:04:30,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T01:04:30.892Z] 2022-11-07 01:04:30,828 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver/PR-438 [2022-11-07T01:04:30.892Z] 0.0.0 [Pipeline] } [2022-11-07T01:04:30.917Z] $ docker exec --env ******** --env ******** 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 ssh-agent -k [2022-11-07T01:04:31.027Z] unset SSH_AUTH_SOCK; [2022-11-07T01:04:31.027Z] unset SSH_AGENT_PID; [2022-11-07T01:04:31.027Z] echo Agent pid 78 killed; [2022-11-07T01:04:31.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T01:04:31.488Z] + git semver [Pipeline] } [2022-11-07T01:04:31.771Z] $ docker stop --time=1 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 [2022-11-07T01:04:33.071Z] $ docker rm -f 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T01:04:33.484Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T01:04:33.754Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T01:04:33.775Z] [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-11-07T01:04:34.405Z] provisioning config files... [2022-11-07T01:04:34.416Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/config5654667241317385751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:04:34.761Z] ---> docker-login.sh [2022-11-07T01:04:34.761Z] nexus3.edgexfoundry.org:10001 [2022-11-07T01:04:34.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:04:34.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:04:34.761Z] Configure a credential helper to remove this warning. See [2022-11-07T01:04:34.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:04:34.761Z] [2022-11-07T01:04:34.761Z] Login Succeeded [2022-11-07T01:04:34.761Z] nexus3.edgexfoundry.org:10002 [2022-11-07T01:04:34.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:04:34.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:04:34.761Z] Configure a credential helper to remove this warning. See [2022-11-07T01:04:34.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:04:34.761Z] [2022-11-07T01:04:34.761Z] Login Succeeded [2022-11-07T01:04:34.761Z] nexus3.edgexfoundry.org:10003 [2022-11-07T01:04:35.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:04:35.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:04:35.020Z] Configure a credential helper to remove this warning. See [2022-11-07T01:04:35.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:04:35.020Z] [2022-11-07T01:04:35.020Z] Login Succeeded [2022-11-07T01:04:35.020Z] nexus3.edgexfoundry.org:10004 [2022-11-07T01:04:35.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:04:35.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:04:35.020Z] Configure a credential helper to remove this warning. See [2022-11-07T01:04:35.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:04:35.020Z] [2022-11-07T01:04:35.020Z] Login Succeeded [2022-11-07T01:04:35.020Z] docker.io [2022-11-07T01:04:35.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:04:35.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:04:35.543Z] Configure a credential helper to remove this warning. See [2022-11-07T01:04:35.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:04:35.543Z] [2022-11-07T01:04:35.543Z] Login Succeeded [2022-11-07T01:04:35.543Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T01:04:35.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T01:04:35.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T01:04:35.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T01:04:35.868Z] ========================================================= [2022-11-07T01:04:35.868Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T01:04:35.868Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:04:36.361Z] + 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-11-07T01:04:36.361Z] Sending build context to Docker daemon 6.262MB [2022-11-07T01:04:36.361Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T01:04:36.361Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T01:04:36.361Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T01:04:36.361Z] 213ec9aee27d: Pulling fs layer [2022-11-07T01:04:36.361Z] 4583459ba037: Pulling fs layer [2022-11-07T01:04:36.361Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T01:04:36.361Z] 53926ce57604: Pulling fs layer [2022-11-07T01:04:36.361Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T01:04:36.361Z] 22ff95d597cd: Pulling fs layer [2022-11-07T01:04:36.361Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T01:04:36.361Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T01:04:36.361Z] a7acece74701: Pulling fs layer [2022-11-07T01:04:36.361Z] 53926ce57604: Waiting [2022-11-07T01:04:36.361Z] 21b2b0c7a3f4: Waiting [2022-11-07T01:04:36.361Z] 22ff95d597cd: Waiting [2022-11-07T01:04:36.361Z] 12d6caf4c0d1: Waiting [2022-11-07T01:04:36.361Z] 96b7cbca73a9: Waiting [2022-11-07T01:04:36.361Z] a7acece74701: Waiting [2022-11-07T01:04:36.361Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T01:04:36.361Z] 93c1e223e6f2: Download complete [2022-11-07T01:04:36.361Z] 4583459ba037: Verifying Checksum [2022-11-07T01:04:36.361Z] 4583459ba037: Download complete [2022-11-07T01:04:36.629Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-07T01:04:36.629Z] 21b2b0c7a3f4: Download complete [2022-11-07T01:04:36.629Z] 22ff95d597cd: Verifying Checksum [2022-11-07T01:04:36.629Z] 22ff95d597cd: Download complete [2022-11-07T01:04:36.629Z] 213ec9aee27d: Download complete [2022-11-07T01:04:36.629Z] 12d6caf4c0d1: Verifying Checksum [2022-11-07T01:04:36.629Z] 12d6caf4c0d1: Download complete [2022-11-07T01:04:36.629Z] 213ec9aee27d: Pull complete [2022-11-07T01:04:36.905Z] 4583459ba037: Pull complete [2022-11-07T01:04:36.905Z] 93c1e223e6f2: Pull complete [2022-11-07T01:04:37.508Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T01:04:37.508Z] 96b7cbca73a9: Download complete [2022-11-07T01:04:37.508Z] a7acece74701: Verifying Checksum [2022-11-07T01:04:37.508Z] a7acece74701: Download complete [2022-11-07T01:04:37.768Z] 53926ce57604: Verifying Checksum [2022-11-07T01:04:37.768Z] 53926ce57604: Download complete [2022-11-07T01:04:41.958Z] 53926ce57604: Pull complete [2022-11-07T01:04:41.958Z] 21b2b0c7a3f4: Pull complete [2022-11-07T01:04:41.958Z] 22ff95d597cd: Pull complete [2022-11-07T01:04:42.216Z] 12d6caf4c0d1: Pull complete [2022-11-07T01:04:44.752Z] 96b7cbca73a9: Pull complete [2022-11-07T01:04:45.321Z] a7acece74701: Pull complete [2022-11-07T01:04:45.321Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T01:04:45.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T01:04:45.321Z] ---> db6d94c90886 [2022-11-07T01:04:45.321Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T01:04:47.877Z] ---> Running in 5c116535f8c2 [2022-11-07T01:04:47.877Z] Removing intermediate container 5c116535f8c2 [2022-11-07T01:04:47.877Z] ---> 57c8f25e5b7c [2022-11-07T01:04:47.877Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T01:04:47.877Z] ---> Running in 7aa6f107970d [2022-11-07T01:04:47.877Z] Removing intermediate container 7aa6f107970d [2022-11-07T01:04:47.877Z] ---> 9e4685a5129b [2022-11-07T01:04:47.877Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T01:04:47.877Z] ---> Running in f50e8f14abfb [2022-11-07T01:04:47.877Z] Removing intermediate container f50e8f14abfb [2022-11-07T01:04:47.877Z] ---> 2ddb6f0c7d13 [2022-11-07T01:04:47.877Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T01:04:47.877Z] ---> Running in f265c4a3790f [2022-11-07T01:04:47.877Z] Removing intermediate container f265c4a3790f [2022-11-07T01:04:47.877Z] ---> c547db0daeda [2022-11-07T01:04:47.877Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T01:04:48.140Z] ---> Running in 4f5c80a8db02 [2022-11-07T01:04:48.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T01:04:48.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T01:04:48.663Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T01:04:48.663Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T01:04:48.663Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T01:04:48.663Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T01:04:48.663Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T01:04:48.663Z] OK: 216 MiB in 55 packages [2022-11-07T01:04:49.216Z] Still waiting to schedule task [2022-11-07T01:04:49.217Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118354’ [2022-11-07T01:04:49.237Z] Removing intermediate container 4f5c80a8db02 [2022-11-07T01:04:49.237Z] ---> 9d8bc28a97a5 [2022-11-07T01:04:49.237Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-07T01:04:49.237Z] ---> Running in 6fb6982367e9 [2022-11-07T01:04:49.237Z] Removing intermediate container 6fb6982367e9 [2022-11-07T01:04:49.237Z] ---> a68b1945554c [2022-11-07T01:04:49.237Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T01:04:49.503Z] ---> d87db1ddc7be [2022-11-07T01:04:49.503Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T01:04:49.503Z] ---> Running in c933a95d3c3f [2022-11-07T01:05:07.659Z] Removing intermediate container c933a95d3c3f [2022-11-07T01:05:07.659Z] ---> 16e1a7f2c406 [2022-11-07T01:05:07.659Z] Step 11/12 : COPY . . [2022-11-07T01:05:07.918Z] ---> 1ffecc0dbd1b [2022-11-07T01:05:07.918Z] Step 12/12 : RUN $MAKE [2022-11-07T01:05:07.918Z] ---> Running in a85ca9616d1d [2022-11-07T01:05:08.180Z] noop [2022-11-07T01:05:08.442Z] Removing intermediate container a85ca9616d1d [2022-11-07T01:05:08.442Z] ---> 1e645ccbb3e4 [2022-11-07T01:05:08.442Z] Successfully built 1e645ccbb3e4 [2022-11-07T01:05:08.442Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:05:08.959Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T01:05:08.959Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:05:09.109Z] prd-ubuntu20.04-docker-8c-8g-118358 does not seem to be running inside a container [2022-11-07T01:05:09.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-438 -v /w/workspace/gexfoundry_device-mqtt-go_PR-438:/w/workspace/gexfoundry_device-mqtt-go_PR-438:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-438@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 ******** ci-base-image-x86_64 cat [2022-11-07T01:05:09.531Z] $ docker top 603867f125a6b1971c76160845f5213479c944b06146f33059d71a667407dd5f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T01:05:09.931Z] + go version [2022-11-07T01:05:09.931Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T01:05:09.965Z] $ docker stop --time=1 603867f125a6b1971c76160845f5213479c944b06146f33059d71a667407dd5f [2022-11-07T01:05:11.258Z] $ docker rm -f 603867f125a6b1971c76160845f5213479c944b06146f33059d71a667407dd5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:05:12.026Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T01:05:12.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:05:12.207Z] prd-ubuntu20.04-docker-8c-8g-118358 does not seem to be running inside a container [2022-11-07T01:05:12.241Z] $ 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-438 -v /w/workspace/gexfoundry_device-mqtt-go_PR-438:/w/workspace/gexfoundry_device-mqtt-go_PR-438:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-438@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 ******** ci-base-image-x86_64 cat [2022-11-07T01:05:12.706Z] $ docker top 531ef0714a46277471f5c8bd3c87087871fcd74fbf65da67a08154b34b05a99d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T01:05:13.100Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-438 [Pipeline] fileExists [Pipeline] sh [2022-11-07T01:05:13.455Z] + make test [2022-11-07T01:05:13.455Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T01:05:13.712Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-07T01:05:23.708Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-07T01:05:23.708Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-11-07T01:05:23.708Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-07T01:05:30.271Z] 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-11-07T01:05:30.271Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T01:05:33.557Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T01:05:33.557Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T01:05:33.557Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T01:05:33.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T01:05:33.620Z] $ docker stop --time=1 531ef0714a46277471f5c8bd3c87087871fcd74fbf65da67a08154b34b05a99d [2022-11-07T01:05:35.494Z] $ docker rm -f 531ef0714a46277471f5c8bd3c87087871fcd74fbf65da67a08154b34b05a99d [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T01:05:36.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T01:05:36.127Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T01:05:36.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T01:05:37.100Z] + ls -al . [2022-11-07T01:05:37.100Z] total 196 [2022-11-07T01:05:37.100Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 01:05 . [2022-11-07T01:05:37.100Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 01:04 .. [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 01:04 .dockerignore [2022-11-07T01:05:37.100Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 01:05 .git [2022-11-07T01:05:37.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:04 .github [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 01:04 .gitignore [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 01:04 .golangci.yml [2022-11-07T01:05:37.100Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 01:04 .semver [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 01:04 Attribution.txt [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 01:04 CHANGELOG.md [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 01:04 Dockerfile [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 01:04 GOVERNANCE.md [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 01:04 Jenkinsfile [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 01:04 LICENSE [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 01:04 Makefile [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 01:04 OWNERS.md [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 01:04 README.md [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 01:04 VERSION [2022-11-07T01:05:37.100Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 01:04 bin [2022-11-07T01:05:37.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:04 cmd [2022-11-07T01:05:37.100Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 01:05 coverage.out [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 01:04 go.mod [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 01:04 go.sum [2022-11-07T01:05:37.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:04 internal [2022-11-07T01:05:37.100Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 01:04 mock [2022-11-07T01:05:37.100Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 01:04 snap [2022-11-07T01:05:37.100Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 01:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:05:37.499Z] + 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=1f91d1fa7e9db7810a1f7edc641d0f88056783f3 --label arch=amd64 --label version=0.0.0 . [2022-11-07T01:05:37.499Z] Sending build context to Docker daemon 6.28MB [2022-11-07T01:05:37.499Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T01:05:37.499Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T01:05:37.499Z] ---> 1e645ccbb3e4 [2022-11-07T01:05:37.499Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T01:05:37.499Z] ---> Running in 783f0aeb521b [2022-11-07T01:05:37.758Z] Removing intermediate container 783f0aeb521b [2022-11-07T01:05:37.758Z] ---> e6d913447532 [2022-11-07T01:05:37.758Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T01:05:37.758Z] ---> Running in 5e9a16002320 [2022-11-07T01:05:37.758Z] Removing intermediate container 5e9a16002320 [2022-11-07T01:05:37.758Z] ---> 22d1600c64b0 [2022-11-07T01:05:37.758Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T01:05:37.758Z] ---> Running in aeda2a25b514 [2022-11-07T01:05:38.019Z] Removing intermediate container aeda2a25b514 [2022-11-07T01:05:38.019Z] ---> 584491b91e0d [2022-11-07T01:05:38.019Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T01:05:38.019Z] ---> Running in cd62c8eeb0a7 [2022-11-07T01:05:38.019Z] Removing intermediate container cd62c8eeb0a7 [2022-11-07T01:05:38.019Z] ---> 8c1922248627 [2022-11-07T01:05:38.019Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T01:05:38.278Z] ---> Running in 9293dbf77a57 [2022-11-07T01:05:38.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T01:05:38.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T01:05:39.056Z] OK: 216 MiB in 55 packages [2022-11-07T01:05:39.318Z] Removing intermediate container 9293dbf77a57 [2022-11-07T01:05:39.318Z] ---> 0a3c58de3a83 [2022-11-07T01:05:39.318Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-07T01:05:39.577Z] ---> Running in a783216326ee [2022-11-07T01:05:39.577Z] Removing intermediate container a783216326ee [2022-11-07T01:05:39.577Z] ---> ab45e26a3d17 [2022-11-07T01:05:39.577Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T01:05:39.577Z] ---> 5a0e10c405dc [2022-11-07T01:05:39.577Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T01:05:39.835Z] ---> Running in 41bf6817760a [2022-11-07T01:05:40.403Z] Removing intermediate container 41bf6817760a [2022-11-07T01:05:40.403Z] ---> b4961ad9e920 [2022-11-07T01:05:40.403Z] Step 11/24 : COPY . . [2022-11-07T01:05:40.663Z] ---> 2640eacd41da [2022-11-07T01:05:40.663Z] Step 12/24 : RUN $MAKE [2022-11-07T01:05:40.663Z] ---> Running in d324853cf521 [2022-11-07T01:05:40.923Z] 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-11-07T01:06:02.852Z] Removing intermediate container d324853cf521 [2022-11-07T01:06:02.852Z] ---> 36317fb83f38 [2022-11-07T01:06:02.852Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T01:06:02.852Z] 3.16: Pulling from library/alpine [2022-11-07T01:06:02.852Z] 213ec9aee27d: Already exists [2022-11-07T01:06:02.852Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T01:06:02.852Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T01:06:02.852Z] ---> 9c6f07244728 [2022-11-07T01:06:02.852Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-07T01:06:02.852Z] ---> Running in ecac3a4d72fe [2022-11-07T01:06:02.852Z] Removing intermediate container ecac3a4d72fe [2022-11-07T01:06:02.852Z] ---> 28e832261297 [2022-11-07T01:06:02.852Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T01:06:02.852Z] ---> Running in e3e573caf3da [2022-11-07T01:06:03.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T01:06:03.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T01:06:03.682Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T01:06:03.682Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T01:06:03.682Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T01:06:03.682Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T01:06:03.682Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T01:06:03.682Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T01:06:03.682Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T01:06:03.966Z] OK: 8 MiB in 20 packages [2022-11-07T01:06:04.233Z] Removing intermediate container e3e573caf3da [2022-11-07T01:06:04.233Z] ---> c9ae97274544 [2022-11-07T01:06:04.233Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-07T01:06:04.805Z] ---> cd37777d3c38 [2022-11-07T01:06:04.805Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-07T01:06:05.065Z] ---> 18a791371535 [2022-11-07T01:06:05.065Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-07T01:06:05.065Z] ---> 47ba63faa54e [2022-11-07T01:06:05.065Z] Step 19/24 : EXPOSE 59982 [2022-11-07T01:06:05.065Z] ---> Running in 6bda388e6bc9 [2022-11-07T01:06:05.324Z] Removing intermediate container 6bda388e6bc9 [2022-11-07T01:06:05.324Z] ---> f3320cfefe7d [2022-11-07T01:06:05.324Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-07T01:06:05.324Z] ---> Running in 705c59727af2 [2022-11-07T01:06:05.324Z] Removing intermediate container 705c59727af2 [2022-11-07T01:06:05.324Z] ---> 9352b0296394 [2022-11-07T01:06:05.324Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T01:06:05.324Z] ---> Running in 90ff14ddba91 [2022-11-07T01:06:05.583Z] Removing intermediate container 90ff14ddba91 [2022-11-07T01:06:05.583Z] ---> d0f59f8becf2 [2022-11-07T01:06:05.583Z] Step 22/24 : LABEL arch=amd64 [2022-11-07T01:06:05.583Z] ---> Running in 0368e57cdf17 [2022-11-07T01:06:05.583Z] Removing intermediate container 0368e57cdf17 [2022-11-07T01:06:05.583Z] ---> a03ecdfcc82b [2022-11-07T01:06:05.583Z] Step 23/24 : LABEL git_sha=1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [2022-11-07T01:06:05.583Z] ---> Running in 725bdabe15c1 [2022-11-07T01:06:05.842Z] Removing intermediate container 725bdabe15c1 [2022-11-07T01:06:05.842Z] ---> 3d64d98bb009 [2022-11-07T01:06:05.842Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T01:06:05.842Z] ---> Running in 38260375b4ce [2022-11-07T01:06:05.842Z] Removing intermediate container 38260375b4ce [2022-11-07T01:06:05.842Z] ---> e1137d9ecca7 [2022-11-07T01:06:05.842Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T01:06:05.842Z] Successfully built e1137d9ecca7 [2022-11-07T01:06:05.842Z] 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-11-07T01:06:06.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T01:06:06.718Z] [2022-11-07T01:06:06.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:06:07.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T01:06:07.105Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T01:06:07.105Z] 5eb5b503b376: Pulling fs layer [2022-11-07T01:06:07.105Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T01:06:07.105Z] ec43610c2a17: Pulling fs layer [2022-11-07T01:06:07.105Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T01:06:07.105Z] 33b1e0a273af: Pulling fs layer [2022-11-07T01:06:07.105Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T01:06:07.105Z] 2f39f015ded8: Pulling fs layer [2022-11-07T01:06:07.105Z] 33b1e0a273af: Waiting [2022-11-07T01:06:07.105Z] 5c69ac0246d0: Verifying Checksum [2022-11-07T01:06:07.105Z] 5c69ac0246d0: Download complete [2022-11-07T01:06:07.105Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-07T01:06:07.105Z] 3a2ae6a8a46f: Download complete [2022-11-07T01:06:07.366Z] 33b1e0a273af: Verifying Checksum [2022-11-07T01:06:07.366Z] 33b1e0a273af: Download complete [2022-11-07T01:06:07.366Z] 5d3b04190fa2: Download complete [2022-11-07T01:06:07.366Z] ec43610c2a17: Verifying Checksum [2022-11-07T01:06:07.366Z] ec43610c2a17: Download complete [2022-11-07T01:06:07.366Z] 5eb5b503b376: Verifying Checksum [2022-11-07T01:06:07.366Z] 5eb5b503b376: Download complete [2022-11-07T01:06:08.318Z] 2f39f015ded8: Download complete [2022-11-07T01:06:08.884Z] 5eb5b503b376: Pull complete [2022-11-07T01:06:08.884Z] 5c69ac0246d0: Pull complete [2022-11-07T01:06:09.455Z] ec43610c2a17: Pull complete [2022-11-07T01:06:09.455Z] 3a2ae6a8a46f: Pull complete [2022-11-07T01:06:09.714Z] 33b1e0a273af: Pull complete [2022-11-07T01:06:09.714Z] 5d3b04190fa2: Pull complete [2022-11-07T01:06:14.978Z] 2f39f015ded8: Pull complete [2022-11-07T01:06:14.978Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T01:06:14.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T01:06:14.978Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:06:15.199Z] prd-ubuntu20.04-docker-8c-8g-118358 does not seem to be running inside a container [2022-11-07T01:06:15.232Z] $ 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-438 -v /w/workspace/gexfoundry_device-mqtt-go_PR-438:/w/workspace/gexfoundry_device-mqtt-go_PR-438:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T01:06:17.239Z] $ docker top 92a0030b0ca581279cbca69dee81cf589489ba762e27ffb39fbfb2e30ca25f13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:06:17.674Z] ---> job-cost.sh [2022-11-07T01:06:17.674Z] lf-activate-venv: SKIPPING [2022-11-07T01:06:17.674Z] INFO: No Stack... [2022-11-07T01:06:17.935Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T01:06:18.193Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T01:06:18.505Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives/cost.csv [2022-11-07T01:06:18.505Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T01:06:18.548Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] [2022-11-07T01:06:18.553Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] did not exist. Created. [2022-11-07T01:06:18.553Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T01:06:18.952Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T01:06:19.001Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T01:06:19.038Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T01:06:19.202Z] $ docker stop --time=1 92a0030b0ca581279cbca69dee81cf589489ba762e27ffb39fbfb2e30ca25f13 [2022-11-07T01:06:20.386Z] $ docker rm -f 92a0030b0ca581279cbca69dee81cf589489ba762e27ffb39fbfb2e30ca25f13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T01:07:35.996Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118361 in /w/workspace/gexfoundry_device-mqtt-go_PR-438 [Pipeline] { [Pipeline] ws [2022-11-07T01:07:36.040Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-11-07T01:07:36.128Z] Selected Git installation does not exist. Using Default [2022-11-07T01:07:36.129Z] The recommended git tool is: NONE [2022-11-07T01:07:43.445Z] using credential edgex-jenkins-ssh [2022-11-07T01:07:43.460Z] Cloning the remote Git repository [2022-11-07T01:07:43.523Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T01:07:43.631Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-11-07T01:07:43.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T01:07:43.835Z] > git --version # timeout=10 [2022-11-07T01:07:43.868Z] > git --version # 'git version 2.25.1' [2022-11-07T01:07:43.874Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T01:07:43.935Z] Verifying host key using known hosts file [2022-11-07T01:07:44.200Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T01:07:44.216Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T01:07:45.550Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-07T01:07:45.593Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T01:07:47.407Z] Merging remotes/origin/main commit caab5c19f0226ea205a717313438d75c5b5382a1 into PR head commit 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [2022-11-07T01:07:47.700Z] Merge succeeded, producing 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [2022-11-07T01:07:47.700Z] Checking out Revision 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 (PR-438) [2022-11-07T01:07:46.693Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-07T01:07:46.747Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T01:07:46.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T01:07:46.756Z] Verifying host key using known hosts file [2022-11-07T01:07:46.764Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T01:07:46.782Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T01:07:47.434Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T01:07:47.459Z] > git checkout -f 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 # timeout=10 [2022-11-07T01:07:47.575Z] > git remote # timeout=10 [2022-11-07T01:07:47.595Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T01:07:47.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T01:07:47.627Z] Verifying host key using known hosts file [2022-11-07T01:07:47.632Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T01:07:47.646Z] > git merge caab5c19f0226ea205a717313438d75c5b5382a1 # timeout=10 [2022-11-07T01:07:47.678Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T01:07:47.711Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T01:07:47.734Z] > git checkout -f 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 # timeout=10 [2022-11-07T01:07:48.364Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-11-07T01:07:48.445Z] > git --version # timeout=10 [2022-11-07T01:07:48.463Z] > git --version # 'git version 2.25.1' [2022-11-07T01:07:48.480Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T01:07:49.710Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T01:07:49.711Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T01:07:49.711Z] Dload Upload Total Spent Left Speed [2022-11-07T01:07:49.711Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 170k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh [2022-11-07T01:07:50.494Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T01:07:50.858Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T01:07:50.858Z] + sudo tee /etc/docker/daemon.new [2022-11-07T01:07:50.858Z] { [2022-11-07T01:07:50.858Z] "registry-mirrors": [ [2022-11-07T01:07:50.858Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T01:07:50.858Z] ], [2022-11-07T01:07:50.858Z] "bip": "10.250.0.254/24", [2022-11-07T01:07:50.858Z] "hosts": [ [2022-11-07T01:07:50.858Z] "tcp://0.0.0.0:5555", [2022-11-07T01:07:50.858Z] "unix:///var/run/docker.sock" [2022-11-07T01:07:50.858Z] ], [2022-11-07T01:07:50.858Z] "mtu": 1458, [2022-11-07T01:07:50.858Z] "selinux-enabled": true, [2022-11-07T01:07:50.858Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T01:07:50.858Z] } [Pipeline] sh [2022-11-07T01:07:51.222Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T01:07:51.578Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T01:08:10.192Z] provisioning config files... [2022-11-07T01:08:10.228Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15984527810056258101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:08:10.659Z] ---> docker-login.sh [2022-11-07T01:08:10.659Z] nexus3.edgexfoundry.org:10001 [2022-11-07T01:08:11.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:08:11.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:08:11.533Z] Configure a credential helper to remove this warning. See [2022-11-07T01:08:11.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:08:11.533Z] [2022-11-07T01:08:11.533Z] Login Succeeded [2022-11-07T01:08:11.533Z] nexus3.edgexfoundry.org:10002 [2022-11-07T01:08:11.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:08:11.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:08:11.805Z] Configure a credential helper to remove this warning. See [2022-11-07T01:08:11.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:08:11.805Z] [2022-11-07T01:08:11.805Z] Login Succeeded [2022-11-07T01:08:11.805Z] nexus3.edgexfoundry.org:10003 [2022-11-07T01:08:12.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:08:12.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:08:12.351Z] Configure a credential helper to remove this warning. See [2022-11-07T01:08:12.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:08:12.351Z] [2022-11-07T01:08:12.351Z] Login Succeeded [2022-11-07T01:08:12.351Z] nexus3.edgexfoundry.org:10004 [2022-11-07T01:08:12.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:08:12.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:08:12.627Z] Configure a credential helper to remove this warning. See [2022-11-07T01:08:12.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:08:12.627Z] [2022-11-07T01:08:12.627Z] Login Succeeded [2022-11-07T01:08:12.627Z] docker.io [2022-11-07T01:08:12.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:08:13.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:08:13.491Z] Configure a credential helper to remove this warning. See [2022-11-07T01:08:13.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:08:13.491Z] [2022-11-07T01:08:13.491Z] Login Succeeded [2022-11-07T01:08:13.491Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T01:08:13.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T01:08:13.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T01:08:14.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T01:08:14.036Z] ========================================================= [2022-11-07T01:08:14.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T01:08:14.036Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:08:14.743Z] + 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-11-07T01:08:15.019Z] Sending build context to Docker daemon 3.25MB [2022-11-07T01:08:15.019Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T01:08:15.019Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T01:08:15.296Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T01:08:15.296Z] 9b18e9b68314: Pulling fs layer [2022-11-07T01:08:15.296Z] 35d82f9e3411: Pulling fs layer [2022-11-07T01:08:15.296Z] e16973657156: Pulling fs layer [2022-11-07T01:08:15.296Z] fc693d55d65f: Pulling fs layer [2022-11-07T01:08:15.296Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T01:08:15.296Z] dda99020689f: Pulling fs layer [2022-11-07T01:08:15.296Z] db1c61fa0a46: Pulling fs layer [2022-11-07T01:08:15.296Z] 891c053d2c06: Pulling fs layer [2022-11-07T01:08:15.296Z] dda99020689f: Waiting [2022-11-07T01:08:15.296Z] db1c61fa0a46: Waiting [2022-11-07T01:08:15.296Z] 891c053d2c06: Waiting [2022-11-07T01:08:15.296Z] fc693d55d65f: Waiting [2022-11-07T01:08:15.296Z] 7e9fc2657dce: Waiting [2022-11-07T01:08:15.296Z] e16973657156: Verifying Checksum [2022-11-07T01:08:15.296Z] e16973657156: Download complete [2022-11-07T01:08:15.296Z] 35d82f9e3411: Verifying Checksum [2022-11-07T01:08:15.296Z] 35d82f9e3411: Download complete [2022-11-07T01:08:15.296Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T01:08:15.296Z] 7e9fc2657dce: Download complete [2022-11-07T01:08:15.580Z] dda99020689f: Verifying Checksum [2022-11-07T01:08:15.580Z] dda99020689f: Download complete [2022-11-07T01:08:15.580Z] 9b18e9b68314: Verifying Checksum [2022-11-07T01:08:15.580Z] 9b18e9b68314: Download complete [2022-11-07T01:08:16.587Z] 9b18e9b68314: Pull complete [2022-11-07T01:08:16.872Z] 891c053d2c06: Verifying Checksum [2022-11-07T01:08:16.872Z] 891c053d2c06: Download complete [2022-11-07T01:08:17.149Z] 35d82f9e3411: Pull complete [2022-11-07T01:08:17.436Z] e16973657156: Pull complete [2022-11-07T01:08:19.037Z] db1c61fa0a46: Verifying Checksum [2022-11-07T01:08:19.037Z] db1c61fa0a46: Download complete [2022-11-07T01:08:19.037Z] fc693d55d65f: Verifying Checksum [2022-11-07T01:08:19.037Z] fc693d55d65f: Download complete [2022-11-07T01:08:34.114Z] fc693d55d65f: Pull complete [2022-11-07T01:08:34.114Z] 7e9fc2657dce: Pull complete [2022-11-07T01:08:34.114Z] dda99020689f: Pull complete [2022-11-07T01:08:40.823Z] db1c61fa0a46: Pull complete [2022-11-07T01:08:43.440Z] 891c053d2c06: Pull complete [2022-11-07T01:08:43.440Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T01:08:43.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T01:08:43.440Z] ---> f96f9c87975a [2022-11-07T01:08:43.440Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T01:08:44.039Z] ---> Running in 1863bb71dedc [2022-11-07T01:08:44.635Z] Removing intermediate container 1863bb71dedc [2022-11-07T01:08:44.635Z] ---> fa99a6f667c2 [2022-11-07T01:08:44.635Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T01:08:44.635Z] ---> Running in fc822e001341 [2022-11-07T01:08:44.905Z] Removing intermediate container fc822e001341 [2022-11-07T01:08:44.905Z] ---> 59f01bd8784c [2022-11-07T01:08:44.905Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T01:08:45.179Z] ---> Running in d05cffdeaffa [2022-11-07T01:08:45.449Z] Removing intermediate container d05cffdeaffa [2022-11-07T01:08:45.449Z] ---> 6b4b93c89a4d [2022-11-07T01:08:45.449Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T01:08:45.719Z] ---> Running in b013eaa67104 [2022-11-07T01:08:45.988Z] Removing intermediate container b013eaa67104 [2022-11-07T01:08:45.988Z] ---> 5bf202ae7d2b [2022-11-07T01:08:45.988Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T01:08:45.988Z] ---> Running in 4caf37405805 [2022-11-07T01:08:47.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T01:08:47.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T01:08:49.109Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T01:08:49.109Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T01:08:49.109Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T01:08:49.109Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T01:08:49.109Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T01:08:49.109Z] OK: 226 MiB in 55 packages [2022-11-07T01:08:50.533Z] Removing intermediate container 4caf37405805 [2022-11-07T01:08:50.534Z] ---> e459520804ad [2022-11-07T01:08:50.534Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-07T01:08:50.534Z] ---> Running in 6725accb8599 [2022-11-07T01:08:50.534Z] Removing intermediate container 6725accb8599 [2022-11-07T01:08:50.534Z] ---> 3aadffee7092 [2022-11-07T01:08:50.534Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T01:08:51.129Z] ---> 8819eb3c4204 [2022-11-07T01:08:51.129Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T01:08:51.404Z] ---> Running in 814a55bf0d6e [2022-11-07T01:09:59.599Z] Removing intermediate container 814a55bf0d6e [2022-11-07T01:09:59.599Z] ---> 3b23b882ff63 [2022-11-07T01:09:59.599Z] Step 11/12 : COPY . . [2022-11-07T01:09:59.599Z] ---> b62d53167b47 [2022-11-07T01:09:59.599Z] Step 12/12 : RUN $MAKE [2022-11-07T01:09:59.599Z] ---> Running in 0e54ce527698 [2022-11-07T01:09:59.599Z] noop [2022-11-07T01:09:59.599Z] Removing intermediate container 0e54ce527698 [2022-11-07T01:09:59.599Z] ---> c5f9f2630d33 [2022-11-07T01:09:59.599Z] Successfully built c5f9f2630d33 [2022-11-07T01:09:59.599Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:10:00.100Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T01:10:00.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:10:00.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-118361 does not seem to be running inside a container [2022-11-07T01:10:00.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T01:10:02.063Z] $ docker top 247b521a0f6805618572417f1c1479054626e1b6ea47b3892967d33d4d044ea6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T01:10:03.021Z] + go version [2022-11-07T01:10:03.021Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T01:10:03.057Z] $ docker stop --time=1 247b521a0f6805618572417f1c1479054626e1b6ea47b3892967d33d4d044ea6 [2022-11-07T01:10:04.878Z] $ docker rm -f 247b521a0f6805618572417f1c1479054626e1b6ea47b3892967d33d4d044ea6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:10:05.831Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T01:10:05.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:10:06.113Z] prd-ubuntu20.04-docker-arm64-4c-16g-118361 does not seem to be running inside a container [2022-11-07T01:10:06.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T01:10:07.600Z] $ docker top 72d278cbae8f9277af82be0a80ee2b45246c1a85fdd3db0bbcf1947222519fd2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T01:10:08.634Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-07T01:10:09.424Z] + make test [2022-11-07T01:10:09.424Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T01:10:11.401Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-07T01:12:03.221Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-07T01:12:03.222Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.081s coverage: 21.8% of statements [2022-11-07T01:12:03.222Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-07T01:12:04.199Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T01:12:04.199Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T01:12:44.043Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T01:12:44.043Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T01:12:44.043Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T01:12:44.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T01:12:44.114Z] $ docker stop --time=1 72d278cbae8f9277af82be0a80ee2b45246c1a85fdd3db0bbcf1947222519fd2 [2022-11-07T01:12:46.307Z] $ docker rm -f 72d278cbae8f9277af82be0a80ee2b45246c1a85fdd3db0bbcf1947222519fd2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T01:12:47.503Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T01:12:47.538Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T01:12:48.394Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T01:12:49.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T01:12:49.708Z] + ls -al . [2022-11-07T01:12:49.708Z] total 192 [2022-11-07T01:12:49.708Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 01:10 . [2022-11-07T01:12:49.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 01:07 .. [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 01:07 .dockerignore [2022-11-07T01:12:49.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 01:07 .git [2022-11-07T01:12:49.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:07 .github [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 01:07 .gitignore [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 01:07 .golangci.yml [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 01:07 Attribution.txt [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 01:07 CHANGELOG.md [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 01:07 Dockerfile [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 01:07 GOVERNANCE.md [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 01:07 Jenkinsfile [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 01:07 LICENSE [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 01:07 Makefile [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 01:07 OWNERS.md [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 01:07 README.md [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 01:04 VERSION [2022-11-07T01:12:49.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 01:07 bin [2022-11-07T01:12:49.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:07 cmd [2022-11-07T01:12:49.708Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 01:12 coverage.out [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 01:07 go.mod [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 01:07 go.sum [2022-11-07T01:12:49.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:07 internal [2022-11-07T01:12:49.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 01:07 mock [2022-11-07T01:12:49.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 01:07 snap [2022-11-07T01:12:49.708Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 01:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:12:50.194Z] + 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=1f91d1fa7e9db7810a1f7edc641d0f88056783f3 --label arch=arm64 --label version=0.0.0 . [2022-11-07T01:12:50.784Z] Sending build context to Docker daemon 3.269MB [2022-11-07T01:12:50.784Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T01:12:50.784Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T01:12:50.784Z] ---> c5f9f2630d33 [2022-11-07T01:12:50.784Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T01:12:51.053Z] ---> Running in f2262fcb7378 [2022-11-07T01:12:51.325Z] Removing intermediate container f2262fcb7378 [2022-11-07T01:12:51.325Z] ---> 6363df484617 [2022-11-07T01:12:51.325Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T01:12:51.325Z] ---> Running in c7ce049d7fa2 [2022-11-07T01:12:53.282Z] Removing intermediate container c7ce049d7fa2 [2022-11-07T01:12:53.282Z] ---> ac380086d5d5 [2022-11-07T01:12:53.282Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T01:12:53.282Z] ---> Running in ba07b441cad7 [2022-11-07T01:12:53.554Z] Removing intermediate container ba07b441cad7 [2022-11-07T01:12:53.554Z] ---> 610b5492c9b0 [2022-11-07T01:12:53.554Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T01:12:53.826Z] ---> Running in dffe7e314624 [2022-11-07T01:12:55.790Z] Removing intermediate container dffe7e314624 [2022-11-07T01:12:55.790Z] ---> 1f9894b314df [2022-11-07T01:12:55.790Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T01:12:55.790Z] ---> Running in f041893e8252 [2022-11-07T01:12:57.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T01:12:57.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T01:12:58.929Z] OK: 226 MiB in 55 packages [2022-11-07T01:12:59.904Z] Removing intermediate container f041893e8252 [2022-11-07T01:12:59.904Z] ---> befceea171ec [2022-11-07T01:12:59.904Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-07T01:13:00.176Z] ---> Running in 0d072f0c2e32 [2022-11-07T01:13:00.450Z] Removing intermediate container 0d072f0c2e32 [2022-11-07T01:13:00.450Z] ---> 70c193904829 [2022-11-07T01:13:00.450Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T01:13:01.427Z] ---> a497970330a4 [2022-11-07T01:13:01.427Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T01:13:01.427Z] ---> Running in 8e7601f68af4 [2022-11-07T01:13:04.097Z] Removing intermediate container 8e7601f68af4 [2022-11-07T01:13:04.097Z] ---> f76c44d26e1f [2022-11-07T01:13:04.097Z] Step 11/24 : COPY . . [2022-11-07T01:13:04.690Z] ---> e256b6bfe107 [2022-11-07T01:13:04.690Z] Step 12/24 : RUN $MAKE [2022-11-07T01:13:04.963Z] ---> Running in eb2934aba5ba [2022-11-07T01:13:06.400Z] 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-11-07T01:15:43.424Z] Removing intermediate container eb2934aba5ba [2022-11-07T01:15:43.424Z] ---> 7b804360d7f7 [2022-11-07T01:15:43.424Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T01:15:43.424Z] 3.16: Pulling from library/alpine [2022-11-07T01:15:43.424Z] 9b18e9b68314: Already exists [2022-11-07T01:15:43.424Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T01:15:43.424Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T01:15:43.424Z] ---> a6215f271958 [2022-11-07T01:15:43.424Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-07T01:15:43.424Z] ---> Running in 2e6688f1a894 [2022-11-07T01:15:43.424Z] Removing intermediate container 2e6688f1a894 [2022-11-07T01:15:43.424Z] ---> 1f1319149598 [2022-11-07T01:15:43.424Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T01:15:43.424Z] ---> Running in 2bc7ac81ccf1 [2022-11-07T01:15:43.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T01:15:44.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T01:15:45.818Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T01:15:45.818Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T01:15:45.818Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T01:15:45.818Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T01:15:45.818Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T01:15:45.818Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T01:15:45.818Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T01:15:45.818Z] OK: 8 MiB in 20 packages [2022-11-07T01:15:46.788Z] Removing intermediate container 2bc7ac81ccf1 [2022-11-07T01:15:46.788Z] ---> eecae940cfd7 [2022-11-07T01:15:46.788Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-07T01:15:48.753Z] ---> b58ca40c1cae [2022-11-07T01:15:48.753Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-07T01:15:49.024Z] ---> 5f56d14d8ca0 [2022-11-07T01:15:49.024Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-07T01:15:49.619Z] ---> 7c4213a8e87a [2022-11-07T01:15:49.619Z] Step 19/24 : EXPOSE 59982 [2022-11-07T01:15:49.619Z] ---> Running in 3217a7699e16 [2022-11-07T01:15:49.889Z] Removing intermediate container 3217a7699e16 [2022-11-07T01:15:49.889Z] ---> d9db8c1d7569 [2022-11-07T01:15:49.889Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-07T01:15:50.166Z] ---> Running in 3299a4760ebd [2022-11-07T01:15:50.440Z] Removing intermediate container 3299a4760ebd [2022-11-07T01:15:50.440Z] ---> 7160560472ce [2022-11-07T01:15:50.440Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T01:15:50.710Z] ---> Running in 2f3424378ea7 [2022-11-07T01:15:50.980Z] Removing intermediate container 2f3424378ea7 [2022-11-07T01:15:50.980Z] ---> f3cdcf6a484a [2022-11-07T01:15:50.980Z] Step 22/24 : LABEL arch=arm64 [2022-11-07T01:15:50.980Z] ---> Running in b132ccc436bb [2022-11-07T01:15:51.571Z] Removing intermediate container b132ccc436bb [2022-11-07T01:15:51.571Z] ---> 3f32f7aeab96 [2022-11-07T01:15:51.571Z] Step 23/24 : LABEL git_sha=1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [2022-11-07T01:15:51.571Z] ---> Running in ad941140ca17 [2022-11-07T01:15:51.843Z] Removing intermediate container ad941140ca17 [2022-11-07T01:15:51.843Z] ---> e8c30d84d107 [2022-11-07T01:15:51.843Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T01:15:52.119Z] ---> Running in a87dfb5f5ad5 [2022-11-07T01:15:52.389Z] Removing intermediate container a87dfb5f5ad5 [2022-11-07T01:15:52.389Z] ---> 273431f3c3c5 [2022-11-07T01:15:52.389Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T01:15:52.389Z] Successfully built 273431f3c3c5 [2022-11-07T01:15:52.389Z] 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-11-07T01:15:53.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T01:15:53.399Z] [2022-11-07T01:15:53.399Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:15:53.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T01:15:54.101Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T01:15:54.101Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T01:15:54.101Z] 04944245beec: Pulling fs layer [2022-11-07T01:15:54.101Z] 699f458cf7ca: Pulling fs layer [2022-11-07T01:15:54.101Z] 765212b225bb: Pulling fs layer [2022-11-07T01:15:54.101Z] f23df028b6ca: Pulling fs layer [2022-11-07T01:15:54.101Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T01:15:54.101Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T01:15:54.101Z] 765212b225bb: Waiting [2022-11-07T01:15:54.101Z] f23df028b6ca: Waiting [2022-11-07T01:15:54.101Z] d65c8cfc05b1: Waiting [2022-11-07T01:15:54.101Z] 2437ff75d9bd: Waiting [2022-11-07T01:15:54.101Z] 04944245beec: Verifying Checksum [2022-11-07T01:15:54.101Z] 04944245beec: Download complete [2022-11-07T01:15:54.101Z] 765212b225bb: Verifying Checksum [2022-11-07T01:15:54.101Z] 765212b225bb: Download complete [2022-11-07T01:15:54.376Z] f23df028b6ca: Verifying Checksum [2022-11-07T01:15:54.376Z] f23df028b6ca: Download complete [2022-11-07T01:15:54.376Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T01:15:54.376Z] d65c8cfc05b1: Download complete [2022-11-07T01:15:54.376Z] 699f458cf7ca: Verifying Checksum [2022-11-07T01:15:54.376Z] 699f458cf7ca: Download complete [2022-11-07T01:15:54.970Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T01:15:54.970Z] 8998bd30e6a1: Download complete [2022-11-07T01:15:57.570Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T01:15:57.570Z] 2437ff75d9bd: Download complete [2022-11-07T01:15:58.991Z] 8998bd30e6a1: Pull complete [2022-11-07T01:15:59.582Z] 04944245beec: Pull complete [2022-11-07T01:16:01.001Z] 699f458cf7ca: Pull complete [2022-11-07T01:16:01.270Z] 765212b225bb: Pull complete [2022-11-07T01:16:02.239Z] f23df028b6ca: Pull complete [2022-11-07T01:16:02.508Z] d65c8cfc05b1: Pull complete [2022-11-07T01:16:17.531Z] 2437ff75d9bd: Pull complete [2022-11-07T01:16:17.531Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T01:16:17.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T01:16:17.531Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:16:17.864Z] prd-ubuntu20.04-docker-arm64-4c-16g-118361 does not seem to be running inside a container [2022-11-07T01:16:17.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-07T01:16:20.933Z] $ docker top 6b5f8ae18f63b3c805ee891d1de62c2fc04aba27e592102207676fc09dff95da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:16:21.873Z] ---> job-cost.sh [2022-11-07T01:16:21.873Z] lf-activate-venv: SKIPPING [2022-11-07T01:16:21.873Z] INFO: No Stack... [2022-11-07T01:16:22.460Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T01:16:23.045Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T01:16:23.973Z] + cut -d, -f6 [2022-11-07T01:16:23.973Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2022-11-07T01:16:24.033Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] [2022-11-07T01:16:24.038Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] did not exist. Created. [2022-11-07T01:16:24.038Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T01:16:24.786Z] /w/workspace/device-mqtt-go/1@tmp/durable-349da791/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T01:16:25.460Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T01:16:25.498Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T01:16:25.542Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T01:16:25.558Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T01:16:25.648Z] $ docker stop --time=1 6b5f8ae18f63b3c805ee891d1de62c2fc04aba27e592102207676fc09dff95da [2022-11-07T01:16:27.174Z] $ docker rm -f 6b5f8ae18f63b3c805ee891d1de62c2fc04aba27e592102207676fc09dff95da [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-11-07T01:16:28.287Z] provisioning config files... [2022-11-07T01:16:28.294Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/config8574006948100481507tmp [Pipeline] { [Pipeline] sh [2022-11-07T01:16:28.639Z] + set +x [2022-11-07T01:16:28.639Z] + bash -s -- [2022-11-07T01:16:28.639Z] + curl -s https://codecov.io/bash [2022-11-07T01:16:28.639Z] [2022-11-07T01:16:28.639Z] _____ _ [2022-11-07T01:16:28.639Z] / ____| | | [2022-11-07T01:16:28.639Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T01:16:28.639Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T01:16:28.639Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T01:16:28.639Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T01:16:28.639Z] Bash-1.0.6 [2022-11-07T01:16:28.639Z] [2022-11-07T01:16:28.639Z] [2022-11-07T01:16:28.639Z] ==> git version 2.25.1 found [2022-11-07T01:16:28.639Z] ==> 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-11-07T01:16:28.639Z] Release-Date: 2020-01-08 [2022-11-07T01:16:28.639Z] 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-11-07T01:16:28.639Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T01:16:28.639Z] ==> Jenkins CI detected. [2022-11-07T01:16:28.639Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-438 [2022-11-07T01:16:28.639Z] project root: . [2022-11-07T01:16:28.639Z] --> token set from env [2022-11-07T01:16:28.639Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T01:16:28.639Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T01:16:28.639Z] ==> Python coveragepy not found [2022-11-07T01:16:28.639Z] ==> Searching for coverage reports in: [2022-11-07T01:16:28.639Z] + . [2022-11-07T01:16:28.639Z] -> Found 1 reports [2022-11-07T01:16:28.639Z] ==> Detecting git/mercurial file structure [2022-11-07T01:16:28.639Z] ==> Reading reports [2022-11-07T01:16:28.639Z] + ./coverage.out bytes=17887 [2022-11-07T01:16:28.639Z] ==> Appending adjustments [2022-11-07T01:16:28.639Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T01:16:28.899Z] + Found adjustments [2022-11-07T01:16:28.899Z] ==> Gzipping contents [2022-11-07T01:16:28.899Z] 4.0K /tmp/codecov.jJ98Mm.gz [2022-11-07T01:16:28.899Z] ==> Uploading reports [2022-11-07T01:16:28.899Z] url: https://codecov.io [2022-11-07T01:16:28.899Z] query: branch=PR-438&commit=1f91d1fa7e9db7810a1f7edc641d0f88056783f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-438%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=438&job=&cmd_args= [2022-11-07T01:16:28.899Z] -> Pinging Codecov [2022-11-07T01:16:28.899Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-438&commit=1f91d1fa7e9db7810a1f7edc641d0f88056783f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-438%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=438&job=&cmd_args= [2022-11-07T01:16:29.160Z] -> Uploading to [2022-11-07T01:16:29.160Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/7D719EC7BBE17E464838252E33014C33/1f91d1fa7e9db7810a1f7edc641d0f88056783f3/57193d47-d3d8-4b22-9a9d-f992494bca60.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T011629Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1264a0f19ec93826900fe1b22bbe1b62a9d14ac7be7cc5eb245076a555ab8538 [2022-11-07T01:16:29.160Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T01:16:29.160Z] Dload Upload Total Spent Left Speed [2022-11-07T01:16:29.419Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 13012 --:--:-- --:--:-- --:--:-- 13012 [2022-11-07T01:16:29.419Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [Pipeline] } [2022-11-07T01:16:29.447Z] 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-11-07T01:16:31.196Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives ] [2022-11-07T01:16:31.196Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives [2022-11-07T01:16:31.196Z] total 16 [2022-11-07T01:16:31.196Z] drwxr-xr-x 3 root root 4096 Nov 7 01:06 . [2022-11-07T01:16:31.196Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 01:06 .. [2022-11-07T01:16:31.196Z] drwxr-xr-x 2 root root 4096 Nov 7 01:06 cost [2022-11-07T01:16:31.196Z] -rw-r--r-- 1 root root 86 Nov 7 01:06 cost.csv [2022-11-07T01:16:31.196Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives [2022-11-07T01:16:31.196Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives [2022-11-07T01:16:31.196Z] total 16 [2022-11-07T01:16:31.196Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 01:06 . [2022-11-07T01:16:31.196Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 01:06 .. [2022-11-07T01:16:31.196Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 01:06 cost [2022-11-07T01:16:31.196Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 01:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:16:31.533Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:16:32.427Z] ---> package-listing.sh [2022-11-07T01:16:32.427Z] ++ facter osfamily [2022-11-07T01:16:32.427Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T01:16:32.688Z] + OS_FAMILY=debian [2022-11-07T01:16:32.688Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-438 [2022-11-07T01:16:32.688Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T01:16:32.688Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T01:16:32.688Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T01:16:32.688Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T01:16:32.688Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-438 ']' [2022-11-07T01:16:32.688Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T01:16:32.688Z] + case "${OS_FAMILY}" in [2022-11-07T01:16:32.688Z] + dpkg -l [2022-11-07T01:16:32.688Z] + grep '^ii' [2022-11-07T01:16:32.688Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T01:16:32.688Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T01:16:32.688Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T01:16:32.688Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-438 ']' [2022-11-07T01:16:32.688Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives/ [2022-11-07T01:16:32.688Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives/ [Pipeline] echo [2022-11-07T01:16:32.723Z] 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-438/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T01:16:33.013Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:16:33.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T01:16:33.635Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:16:33.773Z] prd-ubuntu20.04-docker-8c-8g-118358 does not seem to be running inside a container [2022-11-07T01:16:33.814Z] $ 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-438/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-438 -v /w/workspace/gexfoundry_device-mqtt-go_PR-438:/w/workspace/gexfoundry_device-mqtt-go_PR-438:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T01:16:34.030Z] $ docker top 45355d38aaee235e68699256b2a85bb6d6dbc58ba86d57ff5637b51d54d3c06f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T01:16:34.428Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T01:16:34.756Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T01:16:35.078Z] + ls /var/log/sa-host [2022-11-07T01:16:35.078Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T01:16:35.297Z] provisioning config files... [2022-11-07T01:16:35.306Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/config8907553983677445040tmp [Pipeline] { [Pipeline] echo [2022-11-07T01:16:35.369Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:16:35.681Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T01:16:35.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:16:36.235Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T01:16:36.263Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:16:36.575Z] ---> sudo-logs.sh [2022-11-07T01:16:36.576Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T01:16:36.659Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:16:36.968Z] ---> job-cost.sh [2022-11-07T01:16:36.968Z] lf-activate-venv: SKIPPING [2022-11-07T01:16:36.968Z] DEBUG: total: 0.2199999988079071 [2022-11-07T01:16:36.968Z] INFO: Retrieving Stack Cost... [2022-11-07T01:16:37.536Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T01:16:38.105Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T01:16:38.139Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:16:38.452Z] ---> logs-deploy.sh [2022-11-07T01:16:38.452Z] lf-activate-venv: SKIPPING [2022-11-07T01:16:38.452Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-438/1 [2022-11-07T01:16:38.452Z] INFO: archiving workspace using pattern(s): [2022-11-07T01:16:39.390Z] Archives upload complete. [2022-11-07T01:16:39.390Z] INFO: archiving logs to Nexus