Pull request #423 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Waiting for GitHub to create a merge commit for pull request 423. Retrying 3 more times... Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 459ccc30368983c74f8fc0b30a8da774d92164b5 rather than de52f11cb84c943c1ee8d7598cf261f4a4be872a Obtained Jenkinsfile from 459ccc30368983c74f8fc0b30a8da774d92164b5 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-ssh9638717052116545098.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh12280866623572562527.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9947410450071317602.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh4807199220401720037.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18243064756133567723.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 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 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 Running on prd-ubuntu20.04-docker-8c-8g-7527 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [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-423 # 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/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a Merge succeeded, producing de52f11cb84c943c1ee8d7598cf261f4a4be872a Checking out Revision de52f11cb84c943c1ee8d7598cf261f4a4be872a (PR-423) > git config core.sparsecheckout # timeout=10 > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # 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 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 Commit message: "refactor(snap): : Set unique name for config interface" First time build. Skipping changelog. > git rev-list --no-walk a29e63d7aa5605164e6e1c6cd07337351782d1a4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T15:04:14.763Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T15:04:14.818Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T15:04:14.837Z] ========================================================= [2022-10-10T15:04:14.837Z] EdgeX Global Pipelines Version Info [2022-10-10T15:04:14.837Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:04:15.926Z] ------------------- [2022-10-10T15:04:15.927Z] stable info: [2022-10-10T15:04:15.927Z] ------------------- [2022-10-10T15:04:15.927Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T15:04:15.927Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T15:04:15.927Z] Message: update stable to v1.0.239 [2022-10-10T15:04:16.186Z] ------------------- [2022-10-10T15:04:16.186Z] experimental info: [2022-10-10T15:04:16.186Z] ------------------- [2022-10-10T15:04:16.186Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T15:04:16.186Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T15:04:16.186Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T15:04:16.373Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-10T15:04:16.387Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-10T15:04:16.400Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T15:04:16.410Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T15:04:16.423Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T15:04:16.435Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T15:04:16.446Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T15:04:16.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T15:04:16.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T15:04:16.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T15:04:16.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T15:04:16.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-10T15:04:16.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T15:04:16.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T15:04:16.549Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T15:04:16.564Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T15:04:16.577Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T15:04:16.591Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T15:04:16.601Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T15:04:16.614Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T15:04:16.628Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T15:04:16.641Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T15:04:16.652Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T15:04:16.667Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T15:04:16.682Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T15:04:16.697Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T15:04:16.709Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T15:04:16.720Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo [2022-10-10T15:04:16.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo [2022-10-10T15:04:16.748Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo [2022-10-10T15:04:16.758Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] echo [2022-10-10T15:04:16.772Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de52f11 [Pipeline] echo [2022-10-10T15:04:16.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T15:04:16.831Z] provisioning config files... [2022-10-10T15:04:16.847Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config10706406608979818566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:04:17.150Z] ---> docker-login.sh [2022-10-10T15:04:17.150Z] nexus3.edgexfoundry.org:10001 [2022-10-10T15:04:17.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:04:17.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:04:17.673Z] Configure a credential helper to remove this warning. See [2022-10-10T15:04:17.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:04:17.673Z] [2022-10-10T15:04:17.673Z] Login Succeeded [2022-10-10T15:04:17.673Z] nexus3.edgexfoundry.org:10002 [2022-10-10T15:04:17.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:04:17.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:04:17.673Z] Configure a credential helper to remove this warning. See [2022-10-10T15:04:17.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:04:17.673Z] [2022-10-10T15:04:17.673Z] Login Succeeded [2022-10-10T15:04:17.673Z] nexus3.edgexfoundry.org:10003 [2022-10-10T15:04:17.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:04:17.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:04:17.933Z] Configure a credential helper to remove this warning. See [2022-10-10T15:04:17.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:04:17.933Z] [2022-10-10T15:04:17.933Z] Login Succeeded [2022-10-10T15:04:17.933Z] nexus3.edgexfoundry.org:10004 [2022-10-10T15:04:17.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:04:17.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:04:17.933Z] Configure a credential helper to remove this warning. See [2022-10-10T15:04:17.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:04:17.933Z] [2022-10-10T15:04:17.933Z] Login Succeeded [2022-10-10T15:04:17.933Z] docker.io [2022-10-10T15:04:17.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:04:18.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:04:18.502Z] Configure a credential helper to remove this warning. See [2022-10-10T15:04:18.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:04:18.502Z] [2022-10-10T15:04:18.502Z] Login Succeeded [2022-10-10T15:04:18.502Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T15:04:18.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T15:04:18.894Z] + git rev-list -1 --merges de52f11cb84c943c1ee8d7598cf261f4a4be872a~1..de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] echo [2022-10-10T15:04:18.925Z] -----------> git rev-list -1 --merges de52f11cb84c943c1ee8d7598cf261f4a4be872a~1..de52f11cb84c943c1ee8d7598cf261f4a4be872a de52f11cb84c943c1ee8d7598cf261f4a4be872a [false] [Pipeline] sh [2022-10-10T15:04:19.217Z] + git log --format=format:%s -1 de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] echo [2022-10-10T15:04:19.233Z] ========================================================= [2022-10-10T15:04:19.233Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T15:04:19.233Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T15:04:19.570Z] + git log --format=format:%s -1 de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] echo [2022-10-10T15:04:19.580Z] [semverPrep] GIT_COMMIT: de52f11cb84c943c1ee8d7598cf261f4a4be872a, Commit Message: refactor(snap): : Set unique name for config interface [Pipeline] echo [2022-10-10T15:04:19.587Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T15:04:19.955Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T15:04:19.955Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T15:04:19.955Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T15:04:19.955Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T15:04:19.955Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T15:04:19.955Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T15:04:19.955Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:04:20.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T15:04:20.379Z] [2022-10-10T15:04:20.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:04:20.686Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T15:04:20.686Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T15:04:20.686Z] b85a868b505f: Pulling fs layer [2022-10-10T15:04:20.686Z] e2be974225ed: Pulling fs layer [2022-10-10T15:04:20.686Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T15:04:20.686Z] 988bab9f4d93: Pulling fs layer [2022-10-10T15:04:20.686Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T15:04:20.686Z] eaf3925da568: Pulling fs layer [2022-10-10T15:04:20.686Z] bab4dde63d76: Pulling fs layer [2022-10-10T15:04:20.686Z] bde34c3a00c8: Pulling fs layer [2022-10-10T15:04:20.686Z] b352a97aabf1: Pulling fs layer [2022-10-10T15:04:20.686Z] 4872d77fe225: Pulling fs layer [2022-10-10T15:04:20.686Z] 5851b861e8e6: Pulling fs layer [2022-10-10T15:04:20.686Z] bab4dde63d76: Waiting [2022-10-10T15:04:20.686Z] bde34c3a00c8: Waiting [2022-10-10T15:04:20.686Z] b352a97aabf1: Waiting [2022-10-10T15:04:20.686Z] 4872d77fe225: Waiting [2022-10-10T15:04:20.686Z] 988bab9f4d93: Waiting [2022-10-10T15:04:20.686Z] 1469e6f7b9e6: Waiting [2022-10-10T15:04:20.686Z] eaf3925da568: Waiting [2022-10-10T15:04:20.686Z] 5851b861e8e6: Waiting [2022-10-10T15:04:20.686Z] e2be974225ed: Download complete [2022-10-10T15:04:20.686Z] 988bab9f4d93: Download complete [2022-10-10T15:04:20.947Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T15:04:20.947Z] 339a4e72a1f5: Download complete [2022-10-10T15:04:20.947Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T15:04:20.947Z] 1469e6f7b9e6: Download complete [2022-10-10T15:04:20.947Z] eaf3925da568: Download complete [2022-10-10T15:04:20.947Z] bde34c3a00c8: Download complete [2022-10-10T15:04:20.947Z] b352a97aabf1: Verifying Checksum [2022-10-10T15:04:20.947Z] b352a97aabf1: Download complete [2022-10-10T15:04:20.947Z] b85a868b505f: Verifying Checksum [2022-10-10T15:04:20.947Z] b85a868b505f: Download complete [2022-10-10T15:04:20.947Z] 4872d77fe225: Verifying Checksum [2022-10-10T15:04:20.947Z] 4872d77fe225: Download complete [2022-10-10T15:04:20.947Z] 5851b861e8e6: Verifying Checksum [2022-10-10T15:04:20.947Z] 5851b861e8e6: Download complete [2022-10-10T15:04:21.207Z] bab4dde63d76: Verifying Checksum [2022-10-10T15:04:21.207Z] bab4dde63d76: Download complete [2022-10-10T15:04:22.147Z] b85a868b505f: Pull complete [2022-10-10T15:04:22.406Z] e2be974225ed: Pull complete [2022-10-10T15:04:22.666Z] 339a4e72a1f5: Pull complete [2022-10-10T15:04:22.926Z] 988bab9f4d93: Pull complete [2022-10-10T15:04:23.185Z] 1469e6f7b9e6: Pull complete [2022-10-10T15:04:23.185Z] eaf3925da568: Pull complete [2022-10-10T15:04:25.088Z] bab4dde63d76: Pull complete [2022-10-10T15:04:25.088Z] bde34c3a00c8: Pull complete [2022-10-10T15:04:25.088Z] b352a97aabf1: Pull complete [2022-10-10T15:04:25.088Z] 4872d77fe225: Pull complete [2022-10-10T15:04:25.348Z] 5851b861e8e6: Pull complete [2022-10-10T15:04:25.348Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T15:04:25.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T15:04:25.348Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:04:25.449Z] prd-ubuntu20.04-docker-8c-8g-7527 does not seem to be running inside a container [2022-10-10T15:04:25.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T15:04:27.495Z] $ docker top a00303fe53d05d70f7e0ccc56d431d1bfd9235da8d831b2b788fa728f4ac4800 -eo pid,comm [2022-10-10T15:04:27.547Z] 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-10-10T15:04:27.547Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T15:04:27.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T15:04:27.583Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T15:04:27.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T15:04:27.704Z] $ docker exec a00303fe53d05d70f7e0ccc56d431d1bfd9235da8d831b2b788fa728f4ac4800 ssh-agent [2022-10-10T15:04:27.814Z] SSH_AUTH_SOCK=/tmp/ssh-Tihq5StqybjD/agent.34 [2022-10-10T15:04:27.814Z] SSH_AGENT_PID=41 [2022-10-10T15:04:27.820Z] Running ssh-add (command line suppressed) [2022-10-10T15:04:27.923Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_844335794264566236.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_844335794264566236.key) [2022-10-10T15:04:27.936Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T15:04:28.222Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T15:04:28.234Z] $ docker exec --env ******** --env ******** a00303fe53d05d70f7e0ccc56d431d1bfd9235da8d831b2b788fa728f4ac4800 ssh-agent -k [2022-10-10T15:04:28.323Z] unset SSH_AUTH_SOCK; [2022-10-10T15:04:28.323Z] unset SSH_AGENT_PID; [2022-10-10T15:04:28.324Z] echo Agent pid 41 killed; [2022-10-10T15:04:28.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T15:04:28.360Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T15:04:28.360Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T15:04:28.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T15:04:28.482Z] $ docker exec a00303fe53d05d70f7e0ccc56d431d1bfd9235da8d831b2b788fa728f4ac4800 ssh-agent [2022-10-10T15:04:28.586Z] SSH_AUTH_SOCK=/tmp/ssh-JlwPMgBlFcEy/agent.73 [2022-10-10T15:04:28.586Z] SSH_AGENT_PID=79 [2022-10-10T15:04:28.590Z] Running ssh-add (command line suppressed) [2022-10-10T15:04:28.684Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_2824825910320001442.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_2824825910320001442.key) [2022-10-10T15:04:28.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T15:04:28.985Z] + git semver init [2022-10-10T15:04:29.243Z] 2022-10-10 15:04:29,160 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T15:04:29.243Z] 2022-10-10 15:04:29,161 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver [2022-10-10T15:04:29.243Z] 2022-10-10 15:04:29,162 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver [2022-10-10T15:04:29.243Z] 2022-10-10 15:04:29,162 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423, universal_newlines=False, shell=None, istream=None) [2022-10-10T15:04:30.182Z] 2022-10-10 15:04:30,065 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.git/info/exclude [2022-10-10T15:04:30.182Z] 2022-10-10 15:04:30,066 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 with force:False [2022-10-10T15:04:30.182Z] 2022-10-10 15:04:30,066 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 [2022-10-10T15:04:30.182Z] 2022-10-10 15:04:30,070 [execute] INFO git cat-file --batch-check [2022-10-10T15:04:30.182Z] 2022-10-10 15:04:30,071 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T15:04:30.182Z] 2022-10-10 15:04:30,079 [execute] INFO git cat-file --batch [2022-10-10T15:04:30.182Z] 2022-10-10 15:04:30,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T15:04:30.182Z] 2022-10-10 15:04:30,085 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 [2022-10-10T15:04:30.182Z] 0.0.0 [Pipeline] } [2022-10-10T15:04:30.192Z] $ docker exec --env ******** --env ******** a00303fe53d05d70f7e0ccc56d431d1bfd9235da8d831b2b788fa728f4ac4800 ssh-agent -k [2022-10-10T15:04:30.302Z] unset SSH_AUTH_SOCK; [2022-10-10T15:04:30.303Z] unset SSH_AGENT_PID; [2022-10-10T15:04:30.303Z] echo Agent pid 79 killed; [2022-10-10T15:04:30.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T15:04:30.613Z] + git semver [Pipeline] } [2022-10-10T15:04:30.889Z] $ docker stop --time=1 a00303fe53d05d70f7e0ccc56d431d1bfd9235da8d831b2b788fa728f4ac4800 [2022-10-10T15:04:32.198Z] $ docker rm -f a00303fe53d05d70f7e0ccc56d431d1bfd9235da8d831b2b788fa728f4ac4800 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T15:04:32.535Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T15:04:32.698Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T15:04:32.700Z] [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-10-10T15:04:32.829Z] provisioning config files... [2022-10-10T15:04:32.837Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config2790091913055251244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:04:33.129Z] ---> docker-login.sh [2022-10-10T15:04:33.129Z] nexus3.edgexfoundry.org:10001 [2022-10-10T15:04:33.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:04:33.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:04:33.129Z] Configure a credential helper to remove this warning. See [2022-10-10T15:04:33.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:04:33.129Z] [2022-10-10T15:04:33.129Z] Login Succeeded [2022-10-10T15:04:33.129Z] nexus3.edgexfoundry.org:10002 [2022-10-10T15:04:33.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:04:33.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:04:33.129Z] Configure a credential helper to remove this warning. See [2022-10-10T15:04:33.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:04:33.129Z] [2022-10-10T15:04:33.129Z] Login Succeeded [2022-10-10T15:04:33.129Z] nexus3.edgexfoundry.org:10003 [2022-10-10T15:04:33.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:04:33.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:04:33.389Z] Configure a credential helper to remove this warning. See [2022-10-10T15:04:33.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:04:33.389Z] [2022-10-10T15:04:33.389Z] Login Succeeded [2022-10-10T15:04:33.389Z] nexus3.edgexfoundry.org:10004 [2022-10-10T15:04:33.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:04:33.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:04:33.389Z] Configure a credential helper to remove this warning. See [2022-10-10T15:04:33.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:04:33.389Z] [2022-10-10T15:04:33.389Z] Login Succeeded [2022-10-10T15:04:33.389Z] docker.io [2022-10-10T15:04:33.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:04:33.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:04:33.958Z] Configure a credential helper to remove this warning. See [2022-10-10T15:04:33.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:04:33.959Z] [2022-10-10T15:04:33.959Z] Login Succeeded [2022-10-10T15:04:33.959Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T15:04:33.967Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T15:04:34.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T15:04:34.033Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T15:04:34.039Z] ========================================================= [2022-10-10T15:04:34.039Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T15:04:34.039Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:04:34.341Z] + 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-10-10T15:04:34.341Z] Sending build context to Docker daemon 6.17MB [2022-10-10T15:04:34.341Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T15:04:34.341Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T15:04:34.341Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T15:04:34.341Z] 2408cc74d12b: Pulling fs layer [2022-10-10T15:04:34.341Z] ea60b727a1ce: Pulling fs layer [2022-10-10T15:04:34.341Z] 30c4a7721957: Pulling fs layer [2022-10-10T15:04:34.341Z] 370296b7ddb6: Pulling fs layer [2022-10-10T15:04:34.341Z] 7c6cee850709: Pulling fs layer [2022-10-10T15:04:34.341Z] aa9baa53a306: Pulling fs layer [2022-10-10T15:04:34.341Z] 8b309c321861: Pulling fs layer [2022-10-10T15:04:34.341Z] d8d76fd02f46: Pulling fs layer [2022-10-10T15:04:34.341Z] fa31f396de31: Pulling fs layer [2022-10-10T15:04:34.341Z] aa9baa53a306: Waiting [2022-10-10T15:04:34.341Z] d8d76fd02f46: Waiting [2022-10-10T15:04:34.341Z] fa31f396de31: Waiting [2022-10-10T15:04:34.341Z] 8b309c321861: Waiting [2022-10-10T15:04:34.341Z] 370296b7ddb6: Waiting [2022-10-10T15:04:34.341Z] 7c6cee850709: Waiting [2022-10-10T15:04:34.341Z] 30c4a7721957: Verifying Checksum [2022-10-10T15:04:34.341Z] 30c4a7721957: Download complete [2022-10-10T15:04:34.341Z] ea60b727a1ce: Verifying Checksum [2022-10-10T15:04:34.341Z] ea60b727a1ce: Download complete [2022-10-10T15:04:34.341Z] 7c6cee850709: Verifying Checksum [2022-10-10T15:04:34.341Z] 7c6cee850709: Download complete [2022-10-10T15:04:34.599Z] aa9baa53a306: Verifying Checksum [2022-10-10T15:04:34.599Z] aa9baa53a306: Download complete [2022-10-10T15:04:34.599Z] 2408cc74d12b: Verifying Checksum [2022-10-10T15:04:34.599Z] 2408cc74d12b: Download complete [2022-10-10T15:04:34.599Z] 8b309c321861: Verifying Checksum [2022-10-10T15:04:34.599Z] 8b309c321861: Download complete [2022-10-10T15:04:34.599Z] 2408cc74d12b: Pull complete [2022-10-10T15:04:34.858Z] ea60b727a1ce: Pull complete [2022-10-10T15:04:34.858Z] 30c4a7721957: Pull complete [2022-10-10T15:04:35.431Z] fa31f396de31: Download complete [2022-10-10T15:04:35.695Z] d8d76fd02f46: Verifying Checksum [2022-10-10T15:04:35.695Z] d8d76fd02f46: Download complete [2022-10-10T15:04:35.695Z] 370296b7ddb6: Verifying Checksum [2022-10-10T15:04:35.695Z] 370296b7ddb6: Download complete [2022-10-10T15:04:38.981Z] 370296b7ddb6: Pull complete [2022-10-10T15:04:38.981Z] 7c6cee850709: Pull complete [2022-10-10T15:04:39.238Z] aa9baa53a306: Pull complete [2022-10-10T15:04:39.238Z] 8b309c321861: Pull complete [2022-10-10T15:04:41.138Z] d8d76fd02f46: Pull complete [2022-10-10T15:04:41.704Z] fa31f396de31: Pull complete [2022-10-10T15:04:41.704Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T15:04:41.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T15:04:41.704Z] ---> cef68f9685f8 [2022-10-10T15:04:41.704Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T15:04:44.991Z] ---> Running in ca68bb00eafc [2022-10-10T15:04:44.991Z] Removing intermediate container ca68bb00eafc [2022-10-10T15:04:44.991Z] ---> 6e19527b39e8 [2022-10-10T15:04:44.991Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T15:04:44.991Z] ---> Running in 3ff1493603ab [2022-10-10T15:04:45.249Z] Removing intermediate container 3ff1493603ab [2022-10-10T15:04:45.249Z] ---> ac22d08f0bb5 [2022-10-10T15:04:45.249Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T15:04:45.249Z] ---> Running in 18e9234fb40c [2022-10-10T15:04:45.249Z] Removing intermediate container 18e9234fb40c [2022-10-10T15:04:45.249Z] ---> 5cf7192d1dbc [2022-10-10T15:04:45.249Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T15:04:45.249Z] ---> Running in 671804eb8ac9 [2022-10-10T15:04:45.508Z] Removing intermediate container 671804eb8ac9 [2022-10-10T15:04:45.508Z] ---> 956b8a929d82 [2022-10-10T15:04:45.508Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T15:04:45.508Z] ---> Running in a68c480c2387 [2022-10-10T15:04:46.077Z] Removing intermediate container a68c480c2387 [2022-10-10T15:04:46.077Z] ---> 2073ca0d97a2 [2022-10-10T15:04:46.077Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T15:04:46.077Z] ---> Running in 0bf479bb8067 [2022-10-10T15:04:46.335Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T15:04:47.271Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T15:04:47.271Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T15:04:47.530Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T15:04:47.530Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T15:04:47.788Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T15:04:47.788Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T15:04:47.788Z] OK: 216 MiB in 55 packages [2022-10-10T15:04:47.803Z] Still waiting to schedule task [2022-10-10T15:04:47.803Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-10T15:04:48.355Z] Removing intermediate container 0bf479bb8067 [2022-10-10T15:04:48.355Z] ---> 4389a05da7ee [2022-10-10T15:04:48.355Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T15:04:48.355Z] ---> Running in ccf2c4cbf356 [2022-10-10T15:04:48.355Z] Removing intermediate container ccf2c4cbf356 [2022-10-10T15:04:48.355Z] ---> f2fa2e699487 [2022-10-10T15:04:48.355Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T15:04:48.355Z] ---> f79009242d0a [2022-10-10T15:04:48.355Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T15:04:48.355Z] ---> Running in cc776ea8f7e3 [2022-10-10T15:05:06.436Z] Removing intermediate container cc776ea8f7e3 [2022-10-10T15:05:06.436Z] ---> 0bb538d9065f [2022-10-10T15:05:06.436Z] Step 12/13 : COPY . . [2022-10-10T15:05:06.436Z] ---> a27b059de471 [2022-10-10T15:05:06.436Z] Step 13/13 : RUN $MAKE [2022-10-10T15:05:06.436Z] ---> Running in ad882736df98 [2022-10-10T15:05:06.436Z] noop [2022-10-10T15:05:06.436Z] Removing intermediate container ad882736df98 [2022-10-10T15:05:06.436Z] ---> 952c63745572 [2022-10-10T15:05:06.436Z] Successfully built 952c63745572 [2022-10-10T15:05:06.436Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:05:06.740Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T15:05:06.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:05:06.807Z] prd-ubuntu20.04-docker-8c-8g-7527 does not seem to be running inside a container [2022-10-10T15:05:06.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T15:05:07.158Z] $ docker top 560f0323f873569012ebfd9370d4b72563be0c4e2896227c87f1e15e39a26682 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:05:07.495Z] + go version [2022-10-10T15:05:07.495Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T15:05:07.506Z] $ docker stop --time=1 560f0323f873569012ebfd9370d4b72563be0c4e2896227c87f1e15e39a26682 [2022-10-10T15:05:08.793Z] $ docker rm -f 560f0323f873569012ebfd9370d4b72563be0c4e2896227c87f1e15e39a26682 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:05:09.174Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T15:05:09.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:05:09.229Z] prd-ubuntu20.04-docker-8c-8g-7527 does not seem to be running inside a container [2022-10-10T15:05:09.256Z] $ 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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T15:05:09.579Z] $ docker top cd142b9fbb5d3003a78e11610323a9db94ce422500bfa9483bf6716f77d1dbf6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:05:09.925Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] fileExists [Pipeline] sh [2022-10-10T15:05:10.225Z] + make test [2022-10-10T15:05:10.225Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T15:05:10.483Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T15:05:20.452Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T15:05:20.452Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-10-10T15:05:20.452Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T15:05:27.009Z] 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-10-10T15:05:27.009Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T15:05:30.290Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T15:05:30.290Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T15:05:30.290Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T15:05:30.302Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T15:05:30.315Z] $ docker stop --time=1 cd142b9fbb5d3003a78e11610323a9db94ce422500bfa9483bf6716f77d1dbf6 [2022-10-10T15:05:32.446Z] $ docker rm -f cd142b9fbb5d3003a78e11610323a9db94ce422500bfa9483bf6716f77d1dbf6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T15:05:32.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T15:05:32.909Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T15:05:33.384Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T15:05:33.673Z] + ls -al . [2022-10-10T15:05:33.673Z] total 184 [2022-10-10T15:05:33.673Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 15:05 . [2022-10-10T15:05:33.673Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:04 .. [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 15:04 .dockerignore [2022-10-10T15:05:33.673Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 15:05 .git [2022-10-10T15:05:33.673Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:04 .github [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 15:04 .gitignore [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 15:04 .golangci.yml [2022-10-10T15:05:33.673Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 15:04 .semver [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 15:04 Attribution.txt [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 15:04 CHANGELOG.md [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 15:04 Dockerfile [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 15:04 GOVERNANCE.md [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 15:04 Jenkinsfile [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 15:04 LICENSE [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 15:04 Makefile [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 15:04 OWNERS.md [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 15:04 README.md [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 15:04 VERSION [2022-10-10T15:05:33.673Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:04 bin [2022-10-10T15:05:33.673Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:04 cmd [2022-10-10T15:05:33.673Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 15:05 coverage.out [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 15:04 go.mod [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 15:04 go.sum [2022-10-10T15:05:33.673Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:04 internal [2022-10-10T15:05:33.673Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:04 mock [2022-10-10T15:05:33.673Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:04 snap [2022-10-10T15:05:33.673Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 15:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:05:33.979Z] + 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=de52f11cb84c943c1ee8d7598cf261f4a4be872a --label arch=amd64 --label version=0.0.0 . [2022-10-10T15:05:33.979Z] Sending build context to Docker daemon 6.189MB [2022-10-10T15:05:33.979Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T15:05:33.979Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T15:05:33.979Z] ---> 952c63745572 [2022-10-10T15:05:33.979Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T15:05:33.979Z] ---> Running in 1a0a957b3405 [2022-10-10T15:05:34.237Z] Removing intermediate container 1a0a957b3405 [2022-10-10T15:05:34.237Z] ---> d4c256573e30 [2022-10-10T15:05:34.237Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T15:05:34.237Z] ---> Running in b0bcf5141cff [2022-10-10T15:05:34.237Z] Removing intermediate container b0bcf5141cff [2022-10-10T15:05:34.237Z] ---> fe3a6bfda22f [2022-10-10T15:05:34.237Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T15:05:34.237Z] ---> Running in eb9d679c3db4 [2022-10-10T15:05:34.237Z] Removing intermediate container eb9d679c3db4 [2022-10-10T15:05:34.237Z] ---> 26e68b23ff7a [2022-10-10T15:05:34.237Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T15:05:34.237Z] ---> Running in 4baeac4b05d6 [2022-10-10T15:05:34.498Z] Removing intermediate container 4baeac4b05d6 [2022-10-10T15:05:34.498Z] ---> c166349be882 [2022-10-10T15:05:34.498Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T15:05:34.498Z] ---> Running in 0aad49a1d3e0 [2022-10-10T15:05:35.066Z] Removing intermediate container 0aad49a1d3e0 [2022-10-10T15:05:35.066Z] ---> b23514a8a172 [2022-10-10T15:05:35.066Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T15:05:35.066Z] ---> Running in d0c9904cbdd4 [2022-10-10T15:05:35.328Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T15:05:36.266Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T15:05:36.526Z] OK: 216 MiB in 55 packages [2022-10-10T15:05:36.786Z] Removing intermediate container d0c9904cbdd4 [2022-10-10T15:05:36.786Z] ---> 550d6b4f55bf [2022-10-10T15:05:36.786Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T15:05:36.786Z] ---> Running in 493671f304cb [2022-10-10T15:05:36.786Z] Removing intermediate container 493671f304cb [2022-10-10T15:05:36.786Z] ---> a3bdf614e527 [2022-10-10T15:05:36.786Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T15:05:37.045Z] ---> 287b864c700b [2022-10-10T15:05:37.045Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T15:05:37.045Z] ---> Running in 48a192afd82d [2022-10-10T15:05:37.612Z] Removing intermediate container 48a192afd82d [2022-10-10T15:05:37.612Z] ---> 29bb995d2caa [2022-10-10T15:05:37.612Z] Step 12/25 : COPY . . [2022-10-10T15:05:37.871Z] ---> 442a1a3ecc99 [2022-10-10T15:05:37.871Z] Step 13/25 : RUN $MAKE [2022-10-10T15:05:37.871Z] ---> Running in 93e0cb029632 [2022-10-10T15:05:38.129Z] 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-10-10T15:06:00.048Z] Removing intermediate container 93e0cb029632 [2022-10-10T15:06:00.048Z] ---> f527541c3318 [2022-10-10T15:06:00.048Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T15:06:00.048Z] 3.16: Pulling from library/alpine [2022-10-10T15:06:00.048Z] 213ec9aee27d: Pulling fs layer [2022-10-10T15:06:00.048Z] 213ec9aee27d: Verifying Checksum [2022-10-10T15:06:00.048Z] 213ec9aee27d: Download complete [2022-10-10T15:06:00.048Z] 213ec9aee27d: Pull complete [2022-10-10T15:06:00.048Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T15:06:00.048Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T15:06:00.048Z] ---> 9c6f07244728 [2022-10-10T15:06:00.048Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T15:06:00.048Z] ---> Running in d17534ed054e [2022-10-10T15:06:00.048Z] Removing intermediate container d17534ed054e [2022-10-10T15:06:00.048Z] ---> ea0ad8dd18d5 [2022-10-10T15:06:00.048Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T15:06:00.048Z] ---> Running in 16427c23c0ac [2022-10-10T15:06:00.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T15:06:00.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T15:06:00.048Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T15:06:00.048Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T15:06:00.048Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T15:06:00.048Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T15:06:00.048Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T15:06:00.048Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T15:06:00.048Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T15:06:00.048Z] OK: 8 MiB in 20 packages [2022-10-10T15:06:00.048Z] Removing intermediate container 16427c23c0ac [2022-10-10T15:06:00.048Z] ---> 35c3fcf3d74b [2022-10-10T15:06:00.048Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T15:06:00.614Z] ---> 2afd8f35f7a6 [2022-10-10T15:06:00.614Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T15:06:00.614Z] ---> fc23b0728f08 [2022-10-10T15:06:00.614Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T15:06:00.873Z] ---> 84d98442ea60 [2022-10-10T15:06:00.873Z] Step 20/25 : EXPOSE 59982 [2022-10-10T15:06:00.873Z] ---> Running in 6386edd420f5 [2022-10-10T15:06:00.873Z] Removing intermediate container 6386edd420f5 [2022-10-10T15:06:00.873Z] ---> cc1854c0522c [2022-10-10T15:06:00.873Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T15:06:00.873Z] ---> Running in 29a314c5c005 [2022-10-10T15:06:00.873Z] Removing intermediate container 29a314c5c005 [2022-10-10T15:06:00.873Z] ---> 894713ff82e4 [2022-10-10T15:06:00.873Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T15:06:00.873Z] ---> Running in 6fea51590afc [2022-10-10T15:06:01.131Z] Removing intermediate container 6fea51590afc [2022-10-10T15:06:01.131Z] ---> f2f1f74877d0 [2022-10-10T15:06:01.131Z] Step 23/25 : LABEL arch=amd64 [2022-10-10T15:06:01.131Z] ---> Running in 51c48ceba8a8 [2022-10-10T15:06:01.131Z] Removing intermediate container 51c48ceba8a8 [2022-10-10T15:06:01.131Z] ---> b6dec5a68b88 [2022-10-10T15:06:01.131Z] Step 24/25 : LABEL git_sha=de52f11cb84c943c1ee8d7598cf261f4a4be872a [2022-10-10T15:06:01.131Z] ---> Running in c19410c5cb33 [2022-10-10T15:06:01.131Z] Removing intermediate container c19410c5cb33 [2022-10-10T15:06:01.131Z] ---> 66d7be4c7a8e [2022-10-10T15:06:01.131Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T15:06:01.131Z] ---> Running in 5ba316bc4049 [2022-10-10T15:06:01.390Z] Removing intermediate container 5ba316bc4049 [2022-10-10T15:06:01.390Z] ---> 81c8c69d90cc [2022-10-10T15:06:01.390Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T15:06:01.390Z] Successfully built 81c8c69d90cc [2022-10-10T15:06:01.390Z] 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-10-10T15:06:01.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T15:06:01.807Z] [2022-10-10T15:06:01.807Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:06:02.097Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T15:06:02.097Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T15:06:02.097Z] 5eb5b503b376: Pulling fs layer [2022-10-10T15:06:02.097Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T15:06:02.097Z] ec43610c2a17: Pulling fs layer [2022-10-10T15:06:02.097Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T15:06:02.097Z] 33b1e0a273af: Pulling fs layer [2022-10-10T15:06:02.097Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T15:06:02.097Z] 2f39f015ded8: Pulling fs layer [2022-10-10T15:06:02.097Z] 5d3b04190fa2: Waiting [2022-10-10T15:06:02.097Z] 3a2ae6a8a46f: Waiting [2022-10-10T15:06:02.097Z] 33b1e0a273af: Waiting [2022-10-10T15:06:02.097Z] 2f39f015ded8: Waiting [2022-10-10T15:06:02.097Z] 5c69ac0246d0: Download complete [2022-10-10T15:06:02.097Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T15:06:02.097Z] 3a2ae6a8a46f: Download complete [2022-10-10T15:06:02.097Z] 33b1e0a273af: Verifying Checksum [2022-10-10T15:06:02.097Z] 33b1e0a273af: Download complete [2022-10-10T15:06:02.097Z] 5d3b04190fa2: Download complete [2022-10-10T15:06:02.097Z] ec43610c2a17: Verifying Checksum [2022-10-10T15:06:02.097Z] ec43610c2a17: Download complete [2022-10-10T15:06:02.356Z] 5eb5b503b376: Verifying Checksum [2022-10-10T15:06:02.356Z] 5eb5b503b376: Download complete [2022-10-10T15:06:02.924Z] 2f39f015ded8: Download complete [2022-10-10T15:06:03.488Z] 5eb5b503b376: Pull complete [2022-10-10T15:06:03.489Z] 5c69ac0246d0: Pull complete [2022-10-10T15:06:04.055Z] ec43610c2a17: Pull complete [2022-10-10T15:06:04.055Z] 3a2ae6a8a46f: Pull complete [2022-10-10T15:06:04.055Z] 33b1e0a273af: Pull complete [2022-10-10T15:06:04.313Z] 5d3b04190fa2: Pull complete [2022-10-10T15:06:08.540Z] 2f39f015ded8: Pull complete [2022-10-10T15:06:08.540Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T15:06:08.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T15:06:08.540Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:06:08.615Z] prd-ubuntu20.04-docker-8c-8g-7527 does not seem to be running inside a container [2022-10-10T15:06:08.645Z] $ 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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T15:06:11.369Z] $ docker top 2ab9c29f8ea7ce967c1ea581a4bea92d6deb6924dc3c376a54d0de07e422e6e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:06:11.768Z] ---> job-cost.sh [2022-10-10T15:06:11.768Z] lf-activate-venv: SKIPPING [2022-10-10T15:06:11.768Z] INFO: No Stack... [2022-10-10T15:06:12.028Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T15:06:12.285Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T15:06:12.569Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/cost.csv [2022-10-10T15:06:12.569Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T15:06:12.580Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-3-stack-cost] [2022-10-10T15:06:12.588Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-3-stack-cost] did not exist. Created. [2022-10-10T15:06:12.588Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T15:06:12.896Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T15:06:12.920Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T15:06:12.927Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T15:06:12.948Z] $ docker stop --time=1 2ab9c29f8ea7ce967c1ea581a4bea92d6deb6924dc3c376a54d0de07e422e6e9 [2022-10-10T15:06:13.806Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7528 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-10T15:06:14.098Z] $ docker rm -f 2ab9c29f8ea7ce967c1ea581a4bea92d6deb6924dc3c376a54d0de07e422e6e9 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-10-10T15:06:14.159Z] Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2022-10-10T15:06:14.198Z] Selected Git installation does not exist. Using Default [2022-10-10T15:06:14.198Z] The recommended git tool is: NONE [Pipeline] // stage [Pipeline] } [2022-10-10T15:06:19.276Z] using credential edgex-jenkins-ssh [2022-10-10T15:06:19.293Z] Cloning the remote Git repository [2022-10-10T15:06:19.318Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T15:06:19.412Z] > git init /w/workspace/device-mqtt-go/3 # timeout=10 [2022-10-10T15:06:19.542Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T15:06:19.542Z] > git --version # timeout=10 [2022-10-10T15:06:19.569Z] > git --version # 'git version 2.25.1' [2022-10-10T15:06:19.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T15:06:19.617Z] Verifying host key using known hosts file [2022-10-10T15:06:19.806Z] 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-10-10T15:06:19.817Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T15:06:20.911Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T15:06:20.930Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T15:06:22.452Z] Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a [2022-10-10T15:06:22.665Z] Merge succeeded, producing de52f11cb84c943c1ee8d7598cf261f4a4be872a [2022-10-10T15:06:22.666Z] Checking out Revision de52f11cb84c943c1ee8d7598cf261f4a4be872a (PR-423) [2022-10-10T15:06:21.763Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T15:06:21.803Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T15:06:21.804Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T15:06:21.809Z] Verifying host key using known hosts file [2022-10-10T15:06:21.817Z] 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-10-10T15:06:21.827Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T15:06:22.459Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T15:06:22.481Z] > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 [2022-10-10T15:06:22.560Z] > git remote # timeout=10 [2022-10-10T15:06:22.577Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T15:06:22.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T15:06:22.597Z] Verifying host key using known hosts file [2022-10-10T15:06:22.600Z] 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-10-10T15:06:22.608Z] > git merge 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 [2022-10-10T15:06:22.634Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T15:06:22.662Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T15:06:22.676Z] > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 [2022-10-10T15:06:26.136Z] Commit message: "refactor(snap): : Set unique name for config interface" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T15:06:26.959Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T15:06:26.959Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T15:06:26.959Z] Dload Upload Total Spent Left Speed [2022-10-10T15:06:26.959Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 88125 [Pipeline] sh [2022-10-10T15:06:27.646Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T15:06:27.977Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T15:06:27.977Z] + sudo tee /etc/docker/daemon.new [2022-10-10T15:06:27.977Z] { [2022-10-10T15:06:27.977Z] "registry-mirrors": [ [2022-10-10T15:06:27.977Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T15:06:27.977Z] ], [2022-10-10T15:06:27.977Z] "bip": "10.250.0.254/24", [2022-10-10T15:06:27.977Z] "hosts": [ [2022-10-10T15:06:27.977Z] "tcp://0.0.0.0:5555", [2022-10-10T15:06:27.977Z] "unix:///var/run/docker.sock" [2022-10-10T15:06:27.977Z] ], [2022-10-10T15:06:27.977Z] "mtu": 1458, [2022-10-10T15:06:27.977Z] "selinux-enabled": true, [2022-10-10T15:06:27.977Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T15:06:27.977Z] } [Pipeline] sh [2022-10-10T15:06:28.300Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T15:06:28.619Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T15:06:46.856Z] provisioning config files... [2022-10-10T15:06:46.877Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config347422391351751128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:06:47.224Z] ---> docker-login.sh [2022-10-10T15:06:47.224Z] nexus3.edgexfoundry.org:10001 [2022-10-10T15:06:47.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:06:47.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:06:47.774Z] Configure a credential helper to remove this warning. See [2022-10-10T15:06:47.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:06:47.774Z] [2022-10-10T15:06:47.774Z] Login Succeeded [2022-10-10T15:06:47.774Z] nexus3.edgexfoundry.org:10002 [2022-10-10T15:06:48.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:06:48.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:06:48.042Z] Configure a credential helper to remove this warning. See [2022-10-10T15:06:48.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:06:48.042Z] [2022-10-10T15:06:48.042Z] Login Succeeded [2022-10-10T15:06:48.042Z] nexus3.edgexfoundry.org:10003 [2022-10-10T15:06:48.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:06:48.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:06:48.583Z] Configure a credential helper to remove this warning. See [2022-10-10T15:06:48.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:06:48.583Z] [2022-10-10T15:06:48.583Z] Login Succeeded [2022-10-10T15:06:48.583Z] nexus3.edgexfoundry.org:10004 [2022-10-10T15:06:48.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:06:48.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:06:48.854Z] Configure a credential helper to remove this warning. See [2022-10-10T15:06:48.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:06:48.854Z] [2022-10-10T15:06:48.854Z] Login Succeeded [2022-10-10T15:06:48.854Z] docker.io [2022-10-10T15:06:49.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:06:49.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:06:49.392Z] Configure a credential helper to remove this warning. See [2022-10-10T15:06:49.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:06:49.392Z] [2022-10-10T15:06:49.392Z] Login Succeeded [2022-10-10T15:06:49.392Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T15:06:49.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T15:06:49.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T15:06:49.564Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T15:06:49.571Z] ========================================================= [2022-10-10T15:06:49.571Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T15:06:49.571Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:06:49.901Z] + 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-10-10T15:06:50.171Z] Sending build context to Docker daemon 3.195MB [2022-10-10T15:06:50.171Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T15:06:50.171Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T15:06:50.441Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T15:06:50.441Z] b3c136eddcbf: Pulling fs layer [2022-10-10T15:06:50.441Z] c0a3192eca97: Pulling fs layer [2022-10-10T15:06:50.441Z] a050256f5b6f: Pulling fs layer [2022-10-10T15:06:50.441Z] 656be50a0ddc: Pulling fs layer [2022-10-10T15:06:50.441Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T15:06:50.441Z] f607e4fc86c3: Pulling fs layer [2022-10-10T15:06:50.441Z] 4d572c569a2c: Pulling fs layer [2022-10-10T15:06:50.441Z] fcf976331f73: Pulling fs layer [2022-10-10T15:06:50.441Z] f607e4fc86c3: Waiting [2022-10-10T15:06:50.441Z] 4d572c569a2c: Waiting [2022-10-10T15:06:50.441Z] 656be50a0ddc: Waiting [2022-10-10T15:06:50.441Z] 2bbca73fdf42: Waiting [2022-10-10T15:06:50.441Z] a050256f5b6f: Verifying Checksum [2022-10-10T15:06:50.441Z] a050256f5b6f: Download complete [2022-10-10T15:06:50.442Z] c0a3192eca97: Verifying Checksum [2022-10-10T15:06:50.442Z] c0a3192eca97: Download complete [2022-10-10T15:06:50.442Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T15:06:50.442Z] 2bbca73fdf42: Download complete [2022-10-10T15:06:50.442Z] f607e4fc86c3: Verifying Checksum [2022-10-10T15:06:50.442Z] f607e4fc86c3: Download complete [2022-10-10T15:06:50.442Z] b3c136eddcbf: Verifying Checksum [2022-10-10T15:06:50.442Z] b3c136eddcbf: Download complete [2022-10-10T15:06:51.419Z] b3c136eddcbf: Pull complete [2022-10-10T15:06:51.419Z] fcf976331f73: Verifying Checksum [2022-10-10T15:06:51.419Z] fcf976331f73: Download complete [2022-10-10T15:06:52.006Z] c0a3192eca97: Pull complete [2022-10-10T15:06:52.279Z] a050256f5b6f: Pull complete [2022-10-10T15:06:52.551Z] 4d572c569a2c: Verifying Checksum [2022-10-10T15:06:52.551Z] 4d572c569a2c: Download complete [2022-10-10T15:06:53.515Z] 656be50a0ddc: Verifying Checksum [2022-10-10T15:06:53.515Z] 656be50a0ddc: Download complete [2022-10-10T15:07:05.853Z] 656be50a0ddc: Pull complete [2022-10-10T15:07:05.853Z] 2bbca73fdf42: Pull complete [2022-10-10T15:07:05.853Z] f607e4fc86c3: Pull complete [2022-10-10T15:07:11.206Z] 4d572c569a2c: Pull complete [2022-10-10T15:07:13.187Z] fcf976331f73: Pull complete [2022-10-10T15:07:13.187Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T15:07:13.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T15:07:13.187Z] ---> 3970a7415f9e [2022-10-10T15:07:13.187Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T15:07:15.148Z] ---> Running in 5b9e7ac8ed5c [2022-10-10T15:07:15.148Z] Removing intermediate container 5b9e7ac8ed5c [2022-10-10T15:07:15.148Z] ---> e560ad23023e [2022-10-10T15:07:15.148Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T15:07:15.420Z] ---> Running in 66032721dbd3 [2022-10-10T15:07:15.688Z] Removing intermediate container 66032721dbd3 [2022-10-10T15:07:15.688Z] ---> e84e73e5e915 [2022-10-10T15:07:15.688Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T15:07:15.688Z] ---> Running in 5b054cc12f36 [2022-10-10T15:07:15.956Z] Removing intermediate container 5b054cc12f36 [2022-10-10T15:07:15.956Z] ---> 4cab1c5191bc [2022-10-10T15:07:15.956Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T15:07:16.235Z] ---> Running in d717c7820884 [2022-10-10T15:07:16.504Z] Removing intermediate container d717c7820884 [2022-10-10T15:07:16.504Z] ---> 8c87f2b96d37 [2022-10-10T15:07:16.504Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T15:07:16.504Z] ---> Running in 37d8a31489ee [2022-10-10T15:07:18.457Z] Removing intermediate container 37d8a31489ee [2022-10-10T15:07:18.457Z] ---> e94d94a8e649 [2022-10-10T15:07:18.457Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T15:07:18.457Z] ---> Running in 5d30fb6143d7 [2022-10-10T15:07:19.433Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T15:07:20.014Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T15:07:20.971Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T15:07:20.971Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T15:07:21.238Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T15:07:21.506Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T15:07:21.506Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T15:07:21.506Z] OK: 226 MiB in 55 packages [2022-10-10T15:07:22.473Z] Removing intermediate container 5d30fb6143d7 [2022-10-10T15:07:22.473Z] ---> bdc9747ee398 [2022-10-10T15:07:22.473Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T15:07:22.739Z] ---> Running in fbadcf82a68c [2022-10-10T15:07:23.005Z] Removing intermediate container fbadcf82a68c [2022-10-10T15:07:23.005Z] ---> 6567b2e721fc [2022-10-10T15:07:23.005Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T15:07:23.272Z] ---> 577cc0305edb [2022-10-10T15:07:23.272Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T15:07:23.541Z] ---> Running in 97981ce24825 [2022-10-10T15:08:10.411Z] Removing intermediate container 97981ce24825 [2022-10-10T15:08:10.411Z] ---> d25021d1bc9f [2022-10-10T15:08:10.411Z] Step 12/13 : COPY . . [2022-10-10T15:08:10.411Z] ---> cd77fa9519c4 [2022-10-10T15:08:10.411Z] Step 13/13 : RUN $MAKE [2022-10-10T15:08:10.411Z] ---> Running in c923977430b2 [2022-10-10T15:08:11.372Z] noop [2022-10-10T15:08:11.954Z] Removing intermediate container c923977430b2 [2022-10-10T15:08:11.954Z] ---> d3a22124c212 [2022-10-10T15:08:11.955Z] Successfully built d3a22124c212 [2022-10-10T15:08:11.955Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:08:12.300Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T15:08:12.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:08:12.493Z] prd-ubuntu20.04-docker-arm64-4c-16g-7528 does not seem to be running inside a container [2022-10-10T15:08:12.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T15:08:13.722Z] $ docker top 0a0c5c349a8ee48d2c1d48fcc8d852813b3d310d91eaab02a0370675e0fc86ea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:08:14.545Z] + go version [2022-10-10T15:08:14.546Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T15:08:14.573Z] $ docker stop --time=1 0a0c5c349a8ee48d2c1d48fcc8d852813b3d310d91eaab02a0370675e0fc86ea [2022-10-10T15:08:16.163Z] $ docker rm -f 0a0c5c349a8ee48d2c1d48fcc8d852813b3d310d91eaab02a0370675e0fc86ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:08:16.686Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T15:08:16.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:08:16.858Z] prd-ubuntu20.04-docker-arm64-4c-16g-7528 does not seem to be running inside a container [2022-10-10T15:08:16.925Z] $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T15:08:18.056Z] $ docker top 4efdbefcbcb6548f77d3328db82fb3b64700cb9e46512a4deb075e22a0ba47d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:08:18.553Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/3 [Pipeline] fileExists [Pipeline] sh [2022-10-10T15:08:18.888Z] + make test [2022-10-10T15:08:19.157Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T15:08:20.565Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T15:09:42.188Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T15:09:42.188Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 21.8% of statements [2022-10-10T15:09:42.188Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T15:09:42.188Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T15:09:42.188Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T15:10:04.274Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T15:10:04.274Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T15:10:04.274Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T15:10:04.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T15:10:04.317Z] $ docker stop --time=1 4efdbefcbcb6548f77d3328db82fb3b64700cb9e46512a4deb075e22a0ba47d7 [2022-10-10T15:10:06.053Z] $ docker rm -f 4efdbefcbcb6548f77d3328db82fb3b64700cb9e46512a4deb075e22a0ba47d7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T15:10:06.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T15:10:06.921Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T15:10:07.310Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T15:10:07.681Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T15:10:07.994Z] + ls -al . [2022-10-10T15:10:07.994Z] total 180 [2022-10-10T15:10:07.994Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 15:08 . [2022-10-10T15:10:07.994Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:06 .. [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 15:06 .dockerignore [2022-10-10T15:10:07.994Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 15:06 .git [2022-10-10T15:10:07.994Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:06 .github [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 15:06 .gitignore [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 15:06 .golangci.yml [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 15:06 Attribution.txt [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 15:06 CHANGELOG.md [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 15:06 Dockerfile [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 15:06 GOVERNANCE.md [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 15:06 Jenkinsfile [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 15:06 LICENSE [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 15:06 Makefile [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 15:06 OWNERS.md [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 15:06 README.md [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 15:04 VERSION [2022-10-10T15:10:07.994Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:06 bin [2022-10-10T15:10:07.994Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:06 cmd [2022-10-10T15:10:07.994Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 15:09 coverage.out [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 15:06 go.mod [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 15:06 go.sum [2022-10-10T15:10:07.994Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:06 internal [2022-10-10T15:10:07.994Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:06 mock [2022-10-10T15:10:07.994Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:06 snap [2022-10-10T15:10:07.994Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 15:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:10:08.333Z] + 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=de52f11cb84c943c1ee8d7598cf261f4a4be872a --label arch=arm64 --label version=0.0.0 . [2022-10-10T15:10:08.600Z] Sending build context to Docker daemon 3.213MB [2022-10-10T15:10:08.600Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T15:10:08.600Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T15:10:08.600Z] ---> d3a22124c212 [2022-10-10T15:10:08.600Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T15:10:08.600Z] ---> Running in ff944eea69b5 [2022-10-10T15:10:08.868Z] Removing intermediate container ff944eea69b5 [2022-10-10T15:10:08.868Z] ---> 6160af292ed8 [2022-10-10T15:10:08.868Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T15:10:09.134Z] ---> Running in 6475c5c3c515 [2022-10-10T15:10:09.400Z] Removing intermediate container 6475c5c3c515 [2022-10-10T15:10:09.400Z] ---> ab931986ebb5 [2022-10-10T15:10:09.400Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T15:10:09.400Z] ---> Running in de89b7d15d0d [2022-10-10T15:10:09.667Z] Removing intermediate container de89b7d15d0d [2022-10-10T15:10:09.667Z] ---> 593b4a2c95ba [2022-10-10T15:10:09.667Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T15:10:09.667Z] ---> Running in a191d234c1d2 [2022-10-10T15:10:09.937Z] Removing intermediate container a191d234c1d2 [2022-10-10T15:10:09.937Z] ---> b6ac1a8d7c25 [2022-10-10T15:10:09.937Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T15:10:09.937Z] ---> Running in 7c94dfabb993 [2022-10-10T15:10:11.888Z] Removing intermediate container 7c94dfabb993 [2022-10-10T15:10:11.888Z] ---> d53b2540d3bc [2022-10-10T15:10:11.888Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T15:10:11.888Z] ---> Running in 4ff207eda095 [2022-10-10T15:10:12.472Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T15:10:13.425Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T15:10:14.383Z] OK: 226 MiB in 55 packages [2022-10-10T15:10:14.964Z] Removing intermediate container 4ff207eda095 [2022-10-10T15:10:14.964Z] ---> 7331643ebd46 [2022-10-10T15:10:14.964Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T15:10:15.232Z] ---> Running in 445e6deec602 [2022-10-10T15:10:15.516Z] Removing intermediate container 445e6deec602 [2022-10-10T15:10:15.516Z] ---> 5c99530747c3 [2022-10-10T15:10:15.516Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T15:10:15.784Z] ---> 048a1337fa3e [2022-10-10T15:10:15.784Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T15:10:16.053Z] ---> Running in df21ef016559 [2022-10-10T15:10:17.994Z] Removing intermediate container df21ef016559 [2022-10-10T15:10:17.994Z] ---> 13379ae422e8 [2022-10-10T15:10:17.994Z] Step 12/25 : COPY . . [2022-10-10T15:10:18.584Z] ---> f4b83325f430 [2022-10-10T15:10:18.584Z] Step 13/25 : RUN $MAKE [2022-10-10T15:10:18.584Z] ---> Running in 6c88fc4e2322 [2022-10-10T15:10:19.697Z] 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-10-10T15:12:56.625Z] Removing intermediate container 6c88fc4e2322 [2022-10-10T15:12:56.625Z] ---> 5e8ed91ee957 [2022-10-10T15:12:56.625Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T15:12:56.626Z] 3.16: Pulling from library/alpine [2022-10-10T15:12:56.626Z] 9b18e9b68314: Pulling fs layer [2022-10-10T15:12:56.626Z] 9b18e9b68314: Verifying Checksum [2022-10-10T15:12:56.626Z] 9b18e9b68314: Download complete [2022-10-10T15:12:56.626Z] 9b18e9b68314: Pull complete [2022-10-10T15:12:56.626Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T15:12:56.626Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T15:12:56.626Z] ---> a6215f271958 [2022-10-10T15:12:56.626Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T15:12:56.626Z] ---> Running in baabccfad120 [2022-10-10T15:12:56.626Z] Removing intermediate container baabccfad120 [2022-10-10T15:12:56.626Z] ---> 7283c6aace70 [2022-10-10T15:12:56.626Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T15:12:56.626Z] ---> Running in c7deb4529dda [2022-10-10T15:12:56.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T15:12:56.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T15:12:56.626Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T15:12:56.626Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T15:12:56.626Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T15:12:56.626Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T15:12:56.626Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T15:12:56.626Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T15:12:56.626Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T15:12:56.626Z] OK: 8 MiB in 20 packages [2022-10-10T15:12:56.626Z] Removing intermediate container c7deb4529dda [2022-10-10T15:12:56.626Z] ---> 438579376eae [2022-10-10T15:12:56.626Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T15:12:56.626Z] ---> f3528328998f [2022-10-10T15:12:56.626Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T15:12:56.626Z] ---> 76793f4875f5 [2022-10-10T15:12:56.626Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T15:12:56.626Z] ---> fa99790ad84d [2022-10-10T15:12:56.626Z] Step 20/25 : EXPOSE 59982 [2022-10-10T15:12:56.626Z] ---> Running in baac65814484 [2022-10-10T15:12:56.626Z] Removing intermediate container baac65814484 [2022-10-10T15:12:56.626Z] ---> d0dd40c834d0 [2022-10-10T15:12:56.626Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T15:12:56.626Z] ---> Running in ce6264fa98a5 [2022-10-10T15:12:56.626Z] Removing intermediate container ce6264fa98a5 [2022-10-10T15:12:56.626Z] ---> 5c94afbe08bc [2022-10-10T15:12:56.626Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T15:12:56.626Z] ---> Running in 269bc38200c2 [2022-10-10T15:12:56.626Z] Removing intermediate container 269bc38200c2 [2022-10-10T15:12:56.626Z] ---> b5734df32d51 [2022-10-10T15:12:56.626Z] Step 23/25 : LABEL arch=arm64 [2022-10-10T15:12:56.626Z] ---> Running in 245e326d1a7b [2022-10-10T15:12:56.626Z] Removing intermediate container 245e326d1a7b [2022-10-10T15:12:56.626Z] ---> cb6e35391528 [2022-10-10T15:12:56.626Z] Step 24/25 : LABEL git_sha=de52f11cb84c943c1ee8d7598cf261f4a4be872a [2022-10-10T15:12:56.626Z] ---> Running in c04a9855ed53 [2022-10-10T15:12:56.626Z] Removing intermediate container c04a9855ed53 [2022-10-10T15:12:56.626Z] ---> 0b1444c00fe4 [2022-10-10T15:12:56.626Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T15:12:56.626Z] ---> Running in 9e1450f8060b [2022-10-10T15:12:56.626Z] Removing intermediate container 9e1450f8060b [2022-10-10T15:12:56.626Z] ---> 6910037d6800 [2022-10-10T15:12:56.626Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T15:12:56.626Z] Successfully built 6910037d6800 [2022-10-10T15:12:56.626Z] 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-10-10T15:12:57.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T15:12:57.065Z] [2022-10-10T15:12:57.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:12:57.395Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T15:12:58.351Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T15:12:58.351Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T15:12:58.351Z] 04944245beec: Pulling fs layer [2022-10-10T15:12:58.351Z] 699f458cf7ca: Pulling fs layer [2022-10-10T15:12:58.351Z] 765212b225bb: Pulling fs layer [2022-10-10T15:12:58.351Z] f23df028b6ca: Pulling fs layer [2022-10-10T15:12:58.351Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T15:12:58.351Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T15:12:58.351Z] d65c8cfc05b1: Waiting [2022-10-10T15:12:58.351Z] 765212b225bb: Waiting [2022-10-10T15:12:58.351Z] 2437ff75d9bd: Waiting [2022-10-10T15:12:58.351Z] 04944245beec: Verifying Checksum [2022-10-10T15:12:58.351Z] 04944245beec: Download complete [2022-10-10T15:12:58.351Z] 765212b225bb: Verifying Checksum [2022-10-10T15:12:58.351Z] 765212b225bb: Download complete [2022-10-10T15:12:58.351Z] f23df028b6ca: Verifying Checksum [2022-10-10T15:12:58.351Z] f23df028b6ca: Download complete [2022-10-10T15:12:58.351Z] d65c8cfc05b1: Download complete [2022-10-10T15:12:58.351Z] 699f458cf7ca: Verifying Checksum [2022-10-10T15:12:58.351Z] 699f458cf7ca: Download complete [2022-10-10T15:12:58.935Z] 8998bd30e6a1: Verifying Checksum [2022-10-10T15:12:58.935Z] 8998bd30e6a1: Download complete [2022-10-10T15:13:00.885Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T15:13:00.885Z] 2437ff75d9bd: Download complete [2022-10-10T15:13:02.828Z] 8998bd30e6a1: Pull complete [2022-10-10T15:13:03.094Z] 04944245beec: Pull complete [2022-10-10T15:13:04.508Z] 699f458cf7ca: Pull complete [2022-10-10T15:13:04.779Z] 765212b225bb: Pull complete [2022-10-10T15:13:05.362Z] f23df028b6ca: Pull complete [2022-10-10T15:13:05.629Z] d65c8cfc05b1: Pull complete [2022-10-10T15:13:20.622Z] 2437ff75d9bd: Pull complete [2022-10-10T15:13:20.622Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T15:13:20.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T15:13:20.622Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:13:20.817Z] prd-ubuntu20.04-docker-arm64-4c-16g-7528 does not seem to be running inside a container [2022-10-10T15:13:20.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-10T15:13:23.419Z] $ docker top 7eeef396ac27ec690ef88d55df849ebfc0f432503618ed5295c3cc996b9280b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:13:24.242Z] ---> job-cost.sh [2022-10-10T15:13:24.242Z] lf-activate-venv: SKIPPING [2022-10-10T15:13:24.242Z] INFO: No Stack... [2022-10-10T15:13:24.822Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T15:13:25.775Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T15:13:26.091Z] + cat /w/workspace/device-mqtt-go/3/archives/cost.csv [2022-10-10T15:13:26.091Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T15:13:26.411Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-3-stack-cost] [2022-10-10T15:13:26.417Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-3-stack-cost] did not exist. Created. [2022-10-10T15:13:26.417Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T15:13:26.753Z] /w/workspace/device-mqtt-go/3@tmp/durable-c1e56f9b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T15:13:27.091Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T15:13:27.107Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T15:13:27.144Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T15:13:27.150Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T15:13:27.184Z] $ docker stop --time=1 7eeef396ac27ec690ef88d55df849ebfc0f432503618ed5295c3cc996b9280b0 [2022-10-10T15:13:28.692Z] $ docker rm -f 7eeef396ac27ec690ef88d55df849ebfc0f432503618ed5295c3cc996b9280b0 [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-10-10T15:13:29.061Z] provisioning config files... [2022-10-10T15:13:29.067Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config8094962364453476598tmp [Pipeline] { [Pipeline] sh [2022-10-10T15:13:29.353Z] + set +x [2022-10-10T15:13:29.354Z] + curl+ -s https://codecov.io/bash [2022-10-10T15:13:29.354Z] bash -s -- [2022-10-10T15:13:29.354Z] [2022-10-10T15:13:29.354Z] _____ _ [2022-10-10T15:13:29.354Z] / ____| | | [2022-10-10T15:13:29.354Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T15:13:29.354Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T15:13:29.354Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T15:13:29.354Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T15:13:29.354Z] Bash-1.0.6 [2022-10-10T15:13:29.354Z] [2022-10-10T15:13:29.354Z] [2022-10-10T15:13:29.354Z] ==> git version 2.25.1 found [2022-10-10T15:13:29.354Z] ==> 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-10-10T15:13:29.354Z] Release-Date: 2020-01-08 [2022-10-10T15:13:29.354Z] 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-10-10T15:13:29.354Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T15:13:29.354Z] ==> Jenkins CI detected. [2022-10-10T15:13:29.354Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-10T15:13:29.354Z] project root: . [2022-10-10T15:13:29.354Z] --> token set from env [2022-10-10T15:13:29.354Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T15:13:29.354Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T15:13:29.354Z] ==> Python coveragepy not found [2022-10-10T15:13:29.354Z] ==> Searching for coverage reports in: [2022-10-10T15:13:29.354Z] + . [2022-10-10T15:13:29.354Z] -> Found 1 reports [2022-10-10T15:13:29.354Z] ==> Detecting git/mercurial file structure [2022-10-10T15:13:29.354Z] ==> Reading reports [2022-10-10T15:13:29.354Z] + ./coverage.out bytes=17887 [2022-10-10T15:13:29.354Z] ==> Appending adjustments [2022-10-10T15:13:29.354Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T15:13:29.612Z] + Found adjustments [2022-10-10T15:13:29.612Z] ==> Gzipping contents [2022-10-10T15:13:29.612Z] 4.0K /tmp/codecov.HVNVu0.gz [2022-10-10T15:13:29.612Z] ==> Uploading reports [2022-10-10T15:13:29.612Z] url: https://codecov.io [2022-10-10T15:13:29.612Z] query: branch=PR-423&commit=de52f11cb84c943c1ee8d7598cf261f4a4be872a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2022-10-10T15:13:29.612Z] -> Pinging Codecov [2022-10-10T15:13:29.612Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-423&commit=de52f11cb84c943c1ee8d7598cf261f4a4be872a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2022-10-10T15:13:29.871Z] -> Uploading to [2022-10-10T15:13:29.871Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/de52f11cb84c943c1ee8d7598cf261f4a4be872a/cacff034-e3c2-4dcf-be84-c7c80b1db3a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T151329Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=12a1175cc85ac9d33c24849ed64d72d38812d36b808238ddbb2472fc8fe3f3ad [2022-10-10T15:13:29.871Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T15:13:29.871Z] Dload Upload Total Spent Left Speed [2022-10-10T15:13:30.130Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 12359 --:--:-- --:--:-- --:--:-- 12359 [2022-10-10T15:13:30.130Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] } [2022-10-10T15:13:30.138Z] 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-10-10T15:13:30.826Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives ] [2022-10-10T15:13:30.826Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T15:13:30.826Z] total 16 [2022-10-10T15:13:30.826Z] drwxr-xr-x 3 root root 4096 Oct 10 15:06 . [2022-10-10T15:13:30.826Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 15:06 .. [2022-10-10T15:13:30.826Z] drwxr-xr-x 2 root root 4096 Oct 10 15:06 cost [2022-10-10T15:13:30.826Z] -rw-r--r-- 1 root root 86 Oct 10 15:06 cost.csv [2022-10-10T15:13:30.826Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T15:13:30.826Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T15:13:30.826Z] total 16 [2022-10-10T15:13:30.826Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 15:06 . [2022-10-10T15:13:30.826Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 15:06 .. [2022-10-10T15:13:30.826Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 15:06 cost [2022-10-10T15:13:30.826Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 10 15:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:13:31.115Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:13:31.976Z] ---> package-listing.sh [2022-10-10T15:13:31.976Z] ++ facter osfamily [2022-10-10T15:13:31.976Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T15:13:32.235Z] + OS_FAMILY=debian [2022-10-10T15:13:32.235Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-10T15:13:32.235Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T15:13:32.235Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T15:13:32.235Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T15:13:32.235Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T15:13:32.235Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' [2022-10-10T15:13:32.235Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T15:13:32.235Z] + case "${OS_FAMILY}" in [2022-10-10T15:13:32.235Z] + dpkg -l [2022-10-10T15:13:32.235Z] + grep '^ii' [2022-10-10T15:13:32.235Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T15:13:32.235Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T15:13:32.235Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T15:13:32.235Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' [2022-10-10T15:13:32.235Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ [2022-10-10T15:13:32.235Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ [Pipeline] echo [2022-10-10T15:13:32.246Z] 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-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T15:13:32.525Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:13:33.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T15:13:33.083Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:13:33.142Z] prd-ubuntu20.04-docker-8c-8g-7527 does not seem to be running inside a container [2022-10-10T15:13:33.173Z] $ 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-423/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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T15:13:33.375Z] $ docker top 3ddb80bbe5aad4d2f1bef12024d3a5a549759ee62273cfd8d0d74cc3f247f086 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:13:33.711Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T15:13:33.998Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T15:13:34.282Z] + ls /var/log/sa-host [2022-10-10T15:13:34.282Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T15:13:34.424Z] provisioning config files... [2022-10-10T15:13:34.431Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config4356020880603369768tmp [Pipeline] { [Pipeline] echo [2022-10-10T15:13:34.446Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:13:34.729Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T15:13:34.735Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:13:35.062Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T15:13:35.070Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:13:35.353Z] ---> sudo-logs.sh [2022-10-10T15:13:35.353Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T15:13:35.380Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:13:35.660Z] ---> job-cost.sh [2022-10-10T15:13:35.660Z] lf-activate-venv: SKIPPING [2022-10-10T15:13:35.660Z] DEBUG: total: 0.2199999988079071 [2022-10-10T15:13:35.660Z] INFO: Retrieving Stack Cost... [2022-10-10T15:13:36.228Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T15:13:36.488Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T15:13:36.499Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:13:36.784Z] ---> logs-deploy.sh [2022-10-10T15:13:36.784Z] lf-activate-venv: SKIPPING [2022-10-10T15:13:36.784Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-423/3 [2022-10-10T15:13:36.784Z] INFO: archiving workspace using pattern(s): [2022-10-10T15:13:37.721Z] Archives upload complete. [2022-10-10T15:13:37.721Z] INFO: archiving logs to Nexus