Pull request #423 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 459ccc30368983c74f8fc0b30a8da774d92164b5 rather than 98ddf2f5dcf1658cb762613530fc768454cbe723 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-ssh11847195240631469388.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-ssh12384452628306835778.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10468624512826063330.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10026214081663552152.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17119508850173326079.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8838164270672497523.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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-7522 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 Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit 98ddf2f5dcf1658cb762613530fc768454cbe723 Merge succeeded, producing 98ddf2f5dcf1658cb762613530fc768454cbe723 Checking out Revision 98ddf2f5dcf1658cb762613530fc768454cbe723 (PR-423) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 98ddf2f5dcf1658cb762613530fc768454cbe723 # 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 98ddf2f5dcf1658cb762613530fc768454cbe723 # timeout=10 Commit message: "refactor(snap): : Set unique name for config interface" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T14:23:05.274Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T14:23:05.466Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T14:23:05.555Z] ========================================================= [2022-10-10T14:23:05.555Z] EdgeX Global Pipelines Version Info [2022-10-10T14:23:05.555Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:23:06.310Z] ------------------- [2022-10-10T14:23:06.311Z] stable info: [2022-10-10T14:23:06.311Z] ------------------- [2022-10-10T14:23:06.311Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T14:23:06.311Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T14:23:06.311Z] Message: update stable to v1.0.239 [2022-10-10T14:23:06.882Z] ------------------- [2022-10-10T14:23:06.882Z] experimental info: [2022-10-10T14:23:06.882Z] ------------------- [2022-10-10T14:23:06.882Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T14:23:06.882Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T14:23:06.882Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T14:23:07.165Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-10T14:23:07.203Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-10T14:23:07.248Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T14:23:07.285Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T14:23:07.322Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T14:23:07.362Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T14:23:07.399Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T14:23:07.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T14:23:07.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T14:23:07.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T14:23:07.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T14:23:07.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-10T14:23:07.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T14:23:07.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T14:23:07.718Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T14:23:07.755Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T14:23:07.790Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T14:23:07.835Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T14:23:07.876Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T14:23:07.915Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T14:23:07.956Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T14:23:07.998Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T14:23:08.038Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T14:23:08.078Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T14:23:08.119Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T14:23:08.159Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T14:23:08.199Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T14:23:08.237Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo [2022-10-10T14:23:08.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo [2022-10-10T14:23:08.315Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo [2022-10-10T14:23:08.356Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98ddf2f5dcf1658cb762613530fc768454cbe723 [Pipeline] echo [2022-10-10T14:23:08.396Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98ddf2f [Pipeline] echo [2022-10-10T14:23:08.437Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T14:23:08.550Z] provisioning config files... [2022-10-10T14:23:08.564Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config16543153029516218709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:23:08.900Z] ---> docker-login.sh [2022-10-10T14:23:08.901Z] nexus3.edgexfoundry.org:10001 [2022-10-10T14:23:09.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:23:09.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:23:09.423Z] Configure a credential helper to remove this warning. See [2022-10-10T14:23:09.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:23:09.423Z] [2022-10-10T14:23:09.423Z] Login Succeeded [2022-10-10T14:23:09.423Z] nexus3.edgexfoundry.org:10002 [2022-10-10T14:23:09.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:23:09.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:23:09.682Z] Configure a credential helper to remove this warning. See [2022-10-10T14:23:09.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:23:09.682Z] [2022-10-10T14:23:09.682Z] Login Succeeded [2022-10-10T14:23:09.682Z] nexus3.edgexfoundry.org:10003 [2022-10-10T14:23:09.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:23:09.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:23:09.682Z] Configure a credential helper to remove this warning. See [2022-10-10T14:23:09.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:23:09.682Z] [2022-10-10T14:23:09.682Z] Login Succeeded [2022-10-10T14:23:09.682Z] nexus3.edgexfoundry.org:10004 [2022-10-10T14:23:09.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:23:09.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:23:09.942Z] Configure a credential helper to remove this warning. See [2022-10-10T14:23:09.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:23:09.942Z] [2022-10-10T14:23:09.942Z] Login Succeeded [2022-10-10T14:23:09.942Z] docker.io [2022-10-10T14:23:09.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:23:10.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:23:10.202Z] Configure a credential helper to remove this warning. See [2022-10-10T14:23:10.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:23:10.202Z] [2022-10-10T14:23:10.202Z] Login Succeeded [2022-10-10T14:23:10.202Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T14:23:10.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T14:23:10.845Z] + git rev-list -1 --merges 98ddf2f5dcf1658cb762613530fc768454cbe723~1..98ddf2f5dcf1658cb762613530fc768454cbe723 [Pipeline] echo [2022-10-10T14:23:10.894Z] -----------> git rev-list -1 --merges 98ddf2f5dcf1658cb762613530fc768454cbe723~1..98ddf2f5dcf1658cb762613530fc768454cbe723 98ddf2f5dcf1658cb762613530fc768454cbe723 [false] [Pipeline] sh [2022-10-10T14:23:11.201Z] + git log --format=format:%s -1 98ddf2f5dcf1658cb762613530fc768454cbe723 [Pipeline] echo [2022-10-10T14:23:11.233Z] ========================================================= [2022-10-10T14:23:11.233Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T14:23:11.233Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T14:23:11.654Z] + git log --format=format:%s -1 98ddf2f5dcf1658cb762613530fc768454cbe723 [Pipeline] echo [2022-10-10T14:23:11.687Z] [semverPrep] GIT_COMMIT: 98ddf2f5dcf1658cb762613530fc768454cbe723, Commit Message: refactor(snap): : Set unique name for config interface [Pipeline] echo [2022-10-10T14:23:11.716Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T14:23:12.118Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T14:23:12.118Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T14:23:12.118Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T14:23:12.118Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T14:23:12.118Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T14:23:12.118Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T14:23:12.118Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:23:12.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T14:23:12.605Z] [2022-10-10T14:23:12.605Z] 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-10T14:23:12.978Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T14:23:12.978Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T14:23:12.978Z] b85a868b505f: Pulling fs layer [2022-10-10T14:23:12.978Z] e2be974225ed: Pulling fs layer [2022-10-10T14:23:12.978Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T14:23:12.978Z] 988bab9f4d93: Pulling fs layer [2022-10-10T14:23:12.978Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T14:23:12.978Z] eaf3925da568: Pulling fs layer [2022-10-10T14:23:12.978Z] bab4dde63d76: Pulling fs layer [2022-10-10T14:23:12.978Z] bde34c3a00c8: Pulling fs layer [2022-10-10T14:23:12.978Z] b352a97aabf1: Pulling fs layer [2022-10-10T14:23:12.978Z] 4872d77fe225: Pulling fs layer [2022-10-10T14:23:12.978Z] 5851b861e8e6: Pulling fs layer [2022-10-10T14:23:12.978Z] 988bab9f4d93: Waiting [2022-10-10T14:23:12.978Z] 1469e6f7b9e6: Waiting [2022-10-10T14:23:12.978Z] eaf3925da568: Waiting [2022-10-10T14:23:12.978Z] bab4dde63d76: Waiting [2022-10-10T14:23:12.978Z] bde34c3a00c8: Waiting [2022-10-10T14:23:12.978Z] b352a97aabf1: Waiting [2022-10-10T14:23:12.978Z] 5851b861e8e6: Waiting [2022-10-10T14:23:12.978Z] 4872d77fe225: Waiting [2022-10-10T14:23:12.978Z] e2be974225ed: Verifying Checksum [2022-10-10T14:23:12.978Z] e2be974225ed: Download complete [2022-10-10T14:23:12.978Z] 988bab9f4d93: Download complete [2022-10-10T14:23:13.238Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T14:23:13.238Z] 1469e6f7b9e6: Download complete [2022-10-10T14:23:13.238Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T14:23:13.238Z] 339a4e72a1f5: Download complete [2022-10-10T14:23:13.238Z] eaf3925da568: Verifying Checksum [2022-10-10T14:23:13.238Z] eaf3925da568: Download complete [2022-10-10T14:23:13.238Z] bde34c3a00c8: Download complete [2022-10-10T14:23:13.238Z] b352a97aabf1: Verifying Checksum [2022-10-10T14:23:13.238Z] b352a97aabf1: Download complete [2022-10-10T14:23:13.238Z] 4872d77fe225: Verifying Checksum [2022-10-10T14:23:13.238Z] 4872d77fe225: Download complete [2022-10-10T14:23:13.238Z] 5851b861e8e6: Verifying Checksum [2022-10-10T14:23:13.238Z] 5851b861e8e6: Download complete [2022-10-10T14:23:13.497Z] b85a868b505f: Verifying Checksum [2022-10-10T14:23:13.497Z] b85a868b505f: Download complete [2022-10-10T14:23:13.756Z] bab4dde63d76: Verifying Checksum [2022-10-10T14:23:13.756Z] bab4dde63d76: Download complete [2022-10-10T14:23:14.692Z] b85a868b505f: Pull complete [2022-10-10T14:23:14.951Z] e2be974225ed: Pull complete [2022-10-10T14:23:15.518Z] 339a4e72a1f5: Pull complete [2022-10-10T14:23:15.519Z] 988bab9f4d93: Pull complete [2022-10-10T14:23:15.777Z] 1469e6f7b9e6: Pull complete [2022-10-10T14:23:16.037Z] eaf3925da568: Pull complete [2022-10-10T14:23:17.961Z] bab4dde63d76: Pull complete [2022-10-10T14:23:17.961Z] bde34c3a00c8: Pull complete [2022-10-10T14:23:18.222Z] b352a97aabf1: Pull complete [2022-10-10T14:23:18.222Z] 4872d77fe225: Pull complete [2022-10-10T14:23:18.482Z] 5851b861e8e6: Pull complete [2022-10-10T14:23:18.482Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T14:23:18.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T14:23:18.482Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:23:18.716Z] prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container [2022-10-10T14:23:18.753Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T14:23:23.168Z] $ docker top 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 -eo pid,comm [2022-10-10T14:23:23.224Z] 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-10T14:23:23.224Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T14:23:23.347Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T14:23:23.347Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T14:23:23.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T14:23:23.462Z] $ docker exec 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 ssh-agent [2022-10-10T14:23:23.574Z] SSH_AUTH_SOCK=/tmp/ssh-Opzma0xc718R/agent.32 [2022-10-10T14:23:23.574Z] SSH_AGENT_PID=38 [2022-10-10T14:23:23.581Z] Running ssh-add (command line suppressed) [2022-10-10T14:23:23.686Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_10433179428409763522.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_10433179428409763522.key) [2022-10-10T14:23:23.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T14:23:24.025Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T14:23:24.055Z] $ docker exec --env ******** --env ******** 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 ssh-agent -k [2022-10-10T14:23:24.170Z] unset SSH_AUTH_SOCK; [2022-10-10T14:23:24.171Z] unset SSH_AGENT_PID; [2022-10-10T14:23:24.171Z] echo Agent pid 38 killed; [2022-10-10T14:23:24.180Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T14:23:24.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T14:23:24.266Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T14:23:24.379Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T14:23:24.385Z] $ docker exec 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 ssh-agent [2022-10-10T14:23:24.498Z] SSH_AUTH_SOCK=/tmp/ssh-JILBjGtFhdH7/agent.70 [2022-10-10T14:23:24.498Z] SSH_AGENT_PID=76 [2022-10-10T14:23:24.504Z] Running ssh-add (command line suppressed) [2022-10-10T14:23:24.620Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_16823710798466027800.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_16823710798466027800.key) [2022-10-10T14:23:24.632Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T14:23:24.959Z] + git semver init [2022-10-10T14:23:25.217Z] 2022-10-10 14:23:25,180 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T14:23:25.217Z] 2022-10-10 14:23:25,182 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver [2022-10-10T14:23:25.217Z] 2022-10-10 14:23:25,183 [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-10T14:23:25.217Z] 2022-10-10 14:23:25,184 [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-10T14:23:26.156Z] 2022-10-10 14:23:26,124 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.git/info/exclude [2022-10-10T14:23:26.156Z] 2022-10-10 14:23:26,125 [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-10T14:23:26.156Z] 2022-10-10 14:23:26,125 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 [2022-10-10T14:23:26.156Z] 2022-10-10 14:23:26,130 [execute] INFO git cat-file --batch-check [2022-10-10T14:23:26.156Z] 2022-10-10 14:23:26,130 [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-10T14:23:26.156Z] 2022-10-10 14:23:26,138 [execute] INFO git cat-file --batch [2022-10-10T14:23:26.156Z] 2022-10-10 14:23:26,138 [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-10T14:23:26.156Z] 2022-10-10 14:23:26,143 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 [2022-10-10T14:23:26.156Z] 0.0.0 [Pipeline] } [2022-10-10T14:23:26.434Z] $ docker exec --env ******** --env ******** 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 ssh-agent -k [2022-10-10T14:23:26.530Z] unset SSH_AUTH_SOCK; [2022-10-10T14:23:26.530Z] unset SSH_AGENT_PID; [2022-10-10T14:23:26.531Z] echo Agent pid 76 killed; [2022-10-10T14:23:26.535Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T14:23:26.969Z] + git semver [Pipeline] } [2022-10-10T14:23:27.261Z] $ docker stop --time=1 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 [2022-10-10T14:23:28.656Z] $ docker rm -f 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T14:23:29.095Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T14:23:29.343Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T14:23:29.360Z] [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-10T14:23:29.998Z] provisioning config files... [2022-10-10T14:23:30.009Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config16842445570150434330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:23:30.377Z] ---> docker-login.sh [2022-10-10T14:23:30.377Z] nexus3.edgexfoundry.org:10001 [2022-10-10T14:23:30.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:23:30.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:23:30.377Z] Configure a credential helper to remove this warning. See [2022-10-10T14:23:30.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:23:30.377Z] [2022-10-10T14:23:30.377Z] Login Succeeded [2022-10-10T14:23:30.377Z] nexus3.edgexfoundry.org:10002 [2022-10-10T14:23:30.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:23:30.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:23:30.377Z] Configure a credential helper to remove this warning. See [2022-10-10T14:23:30.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:23:30.377Z] [2022-10-10T14:23:30.377Z] Login Succeeded [2022-10-10T14:23:30.377Z] nexus3.edgexfoundry.org:10003 [2022-10-10T14:23:30.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:23:30.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:23:30.640Z] Configure a credential helper to remove this warning. See [2022-10-10T14:23:30.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:23:30.640Z] [2022-10-10T14:23:30.640Z] Login Succeeded [2022-10-10T14:23:30.640Z] nexus3.edgexfoundry.org:10004 [2022-10-10T14:23:30.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:23:30.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:23:30.640Z] Configure a credential helper to remove this warning. See [2022-10-10T14:23:30.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:23:30.640Z] [2022-10-10T14:23:30.640Z] Login Succeeded [2022-10-10T14:23:30.640Z] docker.io [2022-10-10T14:23:30.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:23:31.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:23:31.162Z] Configure a credential helper to remove this warning. See [2022-10-10T14:23:31.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:23:31.162Z] [2022-10-10T14:23:31.162Z] Login Succeeded [2022-10-10T14:23:31.162Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T14:23:31.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T14:23:31.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T14:23:31.437Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T14:23:31.476Z] ========================================================= [2022-10-10T14:23:31.477Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T14:23:31.477Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:23:31.972Z] + 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-10T14:23:31.972Z] Sending build context to Docker daemon 6.171MB [2022-10-10T14:23:31.972Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T14:23:31.972Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T14:23:31.972Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T14:23:31.972Z] 2408cc74d12b: Pulling fs layer [2022-10-10T14:23:31.972Z] ea60b727a1ce: Pulling fs layer [2022-10-10T14:23:31.972Z] 30c4a7721957: Pulling fs layer [2022-10-10T14:23:31.972Z] 370296b7ddb6: Pulling fs layer [2022-10-10T14:23:31.972Z] 7c6cee850709: Pulling fs layer [2022-10-10T14:23:31.972Z] 370296b7ddb6: Waiting [2022-10-10T14:23:31.972Z] aa9baa53a306: Pulling fs layer [2022-10-10T14:23:31.972Z] 8b309c321861: Pulling fs layer [2022-10-10T14:23:31.972Z] 7c6cee850709: Waiting [2022-10-10T14:23:31.972Z] aa9baa53a306: Waiting [2022-10-10T14:23:31.972Z] d8d76fd02f46: Pulling fs layer [2022-10-10T14:23:31.972Z] fa31f396de31: Pulling fs layer [2022-10-10T14:23:31.972Z] 8b309c321861: Waiting [2022-10-10T14:23:31.972Z] fa31f396de31: Waiting [2022-10-10T14:23:31.972Z] 30c4a7721957: Verifying Checksum [2022-10-10T14:23:31.972Z] 30c4a7721957: Download complete [2022-10-10T14:23:31.972Z] ea60b727a1ce: Verifying Checksum [2022-10-10T14:23:31.972Z] ea60b727a1ce: Download complete [2022-10-10T14:23:31.972Z] 7c6cee850709: Verifying Checksum [2022-10-10T14:23:31.972Z] 7c6cee850709: Download complete [2022-10-10T14:23:32.234Z] aa9baa53a306: Verifying Checksum [2022-10-10T14:23:32.234Z] aa9baa53a306: Download complete [2022-10-10T14:23:32.234Z] 2408cc74d12b: Verifying Checksum [2022-10-10T14:23:32.234Z] 2408cc74d12b: Download complete [2022-10-10T14:23:32.234Z] 8b309c321861: Download complete [2022-10-10T14:23:32.234Z] 2408cc74d12b: Pull complete [2022-10-10T14:23:32.498Z] ea60b727a1ce: Pull complete [2022-10-10T14:23:32.498Z] fa31f396de31: Verifying Checksum [2022-10-10T14:23:32.498Z] 30c4a7721957: Pull complete [2022-10-10T14:23:33.069Z] 370296b7ddb6: Verifying Checksum [2022-10-10T14:23:33.069Z] 370296b7ddb6: Download complete [2022-10-10T14:23:33.069Z] d8d76fd02f46: Verifying Checksum [2022-10-10T14:23:33.069Z] d8d76fd02f46: Download complete [2022-10-10T14:23:37.262Z] 370296b7ddb6: Pull complete [2022-10-10T14:23:37.262Z] 7c6cee850709: Pull complete [2022-10-10T14:23:37.262Z] aa9baa53a306: Pull complete [2022-10-10T14:23:37.262Z] 8b309c321861: Pull complete [2022-10-10T14:23:39.803Z] d8d76fd02f46: Pull complete [2022-10-10T14:23:40.374Z] fa31f396de31: Pull complete [2022-10-10T14:23:40.374Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T14:23:40.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T14:23:40.374Z] ---> cef68f9685f8 [2022-10-10T14:23:40.374Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T14:23:44.792Z] Still waiting to schedule task [2022-10-10T14:23:44.792Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-10T14:23:48.528Z] ---> Running in 870570cdb84d [2022-10-10T14:23:48.529Z] Removing intermediate container 870570cdb84d [2022-10-10T14:23:48.529Z] ---> f48d739b302e [2022-10-10T14:23:48.529Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T14:23:48.529Z] ---> Running in 9551c36503b5 [2022-10-10T14:23:48.529Z] Removing intermediate container 9551c36503b5 [2022-10-10T14:23:48.529Z] ---> a12cb3741a42 [2022-10-10T14:23:48.529Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T14:23:48.529Z] ---> Running in 44fe73e622fc [2022-10-10T14:23:48.529Z] Removing intermediate container 44fe73e622fc [2022-10-10T14:23:48.529Z] ---> a6d2672f59f3 [2022-10-10T14:23:48.529Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T14:23:48.529Z] ---> Running in 694afbee1f58 [2022-10-10T14:23:48.529Z] Removing intermediate container 694afbee1f58 [2022-10-10T14:23:48.529Z] ---> 03dd94a947c9 [2022-10-10T14:23:48.529Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T14:23:48.529Z] ---> Running in 020c9ee48e68 [2022-10-10T14:23:48.529Z] Removing intermediate container 020c9ee48e68 [2022-10-10T14:23:48.529Z] ---> 64e9e6fe484e [2022-10-10T14:23:48.529Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T14:23:48.529Z] ---> Running in 4f0078efb93e [2022-10-10T14:23:48.788Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T14:23:49.730Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T14:23:49.997Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T14:23:49.997Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T14:23:50.258Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T14:23:50.258Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T14:23:50.258Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T14:23:50.258Z] OK: 216 MiB in 55 packages [2022-10-10T14:23:50.863Z] Removing intermediate container 4f0078efb93e [2022-10-10T14:23:50.863Z] ---> 200551fe621c [2022-10-10T14:23:50.863Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T14:23:50.863Z] ---> Running in edb036363843 [2022-10-10T14:23:51.123Z] Removing intermediate container edb036363843 [2022-10-10T14:23:51.123Z] ---> d7ce981a3760 [2022-10-10T14:23:51.123Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T14:23:51.123Z] ---> 2ad3aca070ef [2022-10-10T14:23:51.123Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T14:23:51.123Z] ---> Running in 6b12018b1be3 [2022-10-10T14:24:29.864Z] Removing intermediate container 6b12018b1be3 [2022-10-10T14:24:29.864Z] ---> 74aba3f54d94 [2022-10-10T14:24:29.864Z] Step 12/13 : COPY . . [2022-10-10T14:24:29.864Z] ---> 4f61e2cd5ea4 [2022-10-10T14:24:29.864Z] Step 13/13 : RUN $MAKE [2022-10-10T14:24:29.864Z] ---> Running in a7f5343d2d05 [2022-10-10T14:24:29.864Z] noop [2022-10-10T14:24:29.864Z] Removing intermediate container a7f5343d2d05 [2022-10-10T14:24:29.864Z] ---> 8cff451ca5c2 [2022-10-10T14:24:29.864Z] Successfully built 8cff451ca5c2 [2022-10-10T14:24:29.864Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:24:30.307Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T14:24:30.307Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:24:30.453Z] prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container [2022-10-10T14:24:30.482Z] $ 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 ******** ci-base-image-x86_64 cat [2022-10-10T14:24:30.840Z] $ docker top 40ea59065b733081d80116b92420c244c165e58e027c99392b251fe3928c5808 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T14:24:31.239Z] + go version [2022-10-10T14:24:31.239Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T14:24:31.270Z] $ docker stop --time=1 40ea59065b733081d80116b92420c244c165e58e027c99392b251fe3928c5808 [2022-10-10T14:24:32.635Z] $ docker rm -f 40ea59065b733081d80116b92420c244c165e58e027c99392b251fe3928c5808 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:24:33.320Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T14:24:33.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:24:33.476Z] prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container [2022-10-10T14:24:33.525Z] $ 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 ******** ci-base-image-x86_64 cat [2022-10-10T14:24:33.922Z] $ docker top ce26dac7c09cf74f92ed7ce47a053ebbdd7b48c86c3d169e138142d34d3b26eb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T14:24:34.308Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] fileExists [Pipeline] sh [2022-10-10T14:24:34.667Z] + make test [2022-10-10T14:24:34.668Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T14:24:34.926Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T14:24:44.899Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T14:24:45.469Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-10-10T14:24:45.469Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T14:24:53.583Z] 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-10T14:24:53.583Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T14:24:56.115Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T14:24:56.115Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T14:24:56.115Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T14:24:56.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T14:24:56.181Z] $ docker stop --time=1 ce26dac7c09cf74f92ed7ce47a053ebbdd7b48c86c3d169e138142d34d3b26eb [2022-10-10T14:24:59.327Z] $ docker rm -f ce26dac7c09cf74f92ed7ce47a053ebbdd7b48c86c3d169e138142d34d3b26eb [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T14:24:59.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T14:24:59.910Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T14:25:00.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T14:25:00.879Z] + ls -al . [2022-10-10T14:25:00.879Z] total 184 [2022-10-10T14:25:00.879Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 14:24 . [2022-10-10T14:25:00.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:22 .. [2022-10-10T14:25:00.879Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 14:23 .dockerignore [2022-10-10T14:25:00.880Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 14:24 .git [2022-10-10T14:25:00.880Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:23 .github [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 14:23 .gitignore [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 14:23 .golangci.yml [2022-10-10T14:25:00.880Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 14:23 .semver [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 14:23 Attribution.txt [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 14:23 CHANGELOG.md [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 14:23 Dockerfile [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 14:23 GOVERNANCE.md [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 14:23 Jenkinsfile [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 14:23 LICENSE [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 14:23 Makefile [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 14:23 OWNERS.md [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 14:23 README.md [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 14:23 VERSION [2022-10-10T14:25:00.880Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:23 bin [2022-10-10T14:25:00.880Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:23 cmd [2022-10-10T14:25:00.880Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 14:24 coverage.out [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 14:23 go.mod [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 14:23 go.sum [2022-10-10T14:25:00.880Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:23 internal [2022-10-10T14:25:00.880Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:23 mock [2022-10-10T14:25:00.880Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:23 snap [2022-10-10T14:25:00.880Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 14:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:25:01.286Z] + 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=98ddf2f5dcf1658cb762613530fc768454cbe723 --label arch=amd64 --label version=0.0.0 . [2022-10-10T14:25:01.286Z] Sending build context to Docker daemon 6.19MB [2022-10-10T14:25:01.286Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T14:25:01.286Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T14:25:01.286Z] ---> 8cff451ca5c2 [2022-10-10T14:25:01.286Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T14:25:01.545Z] ---> Running in e6f52ed07d21 [2022-10-10T14:25:01.545Z] Removing intermediate container e6f52ed07d21 [2022-10-10T14:25:01.545Z] ---> 7de270d53b4e [2022-10-10T14:25:01.545Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T14:25:01.545Z] ---> Running in 4bd7767b2a30 [2022-10-10T14:25:01.806Z] Removing intermediate container 4bd7767b2a30 [2022-10-10T14:25:01.806Z] ---> 2a9cdda49c7b [2022-10-10T14:25:01.806Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T14:25:01.806Z] ---> Running in 34964db926a0 [2022-10-10T14:25:01.806Z] Removing intermediate container 34964db926a0 [2022-10-10T14:25:01.806Z] ---> 7e4b149070ba [2022-10-10T14:25:01.807Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T14:25:01.807Z] ---> Running in 5f538fc00a9f [2022-10-10T14:25:01.807Z] Removing intermediate container 5f538fc00a9f [2022-10-10T14:25:01.807Z] ---> f4ee1c646934 [2022-10-10T14:25:01.807Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T14:25:02.067Z] ---> Running in 8c028ea98a16 [2022-10-10T14:25:02.633Z] Removing intermediate container 8c028ea98a16 [2022-10-10T14:25:02.633Z] ---> d6930d049f48 [2022-10-10T14:25:02.633Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T14:25:02.891Z] ---> Running in 5b930ef9eac2 [2022-10-10T14:25:03.151Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T14:25:04.088Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T14:25:04.347Z] OK: 216 MiB in 55 packages [2022-10-10T14:25:04.605Z] Removing intermediate container 5b930ef9eac2 [2022-10-10T14:25:04.605Z] ---> a106f3a92342 [2022-10-10T14:25:04.605Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T14:25:04.605Z] ---> Running in 4be80755b5de [2022-10-10T14:25:04.605Z] Removing intermediate container 4be80755b5de [2022-10-10T14:25:04.605Z] ---> 92f7eeeb6e91 [2022-10-10T14:25:04.605Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T14:25:04.863Z] ---> 0403bcab4eb6 [2022-10-10T14:25:04.863Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T14:25:04.863Z] ---> Running in 25034d0b9293 [2022-10-10T14:25:05.797Z] Removing intermediate container 25034d0b9293 [2022-10-10T14:25:05.797Z] ---> a3d3ef2fba56 [2022-10-10T14:25:05.797Z] Step 12/25 : COPY . . [2022-10-10T14:25:06.055Z] ---> d949a972cc43 [2022-10-10T14:25:06.056Z] Step 13/25 : RUN $MAKE [2022-10-10T14:25:06.056Z] ---> Running in 5d1c7edd4805 [2022-10-10T14:25:06.313Z] 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-10T14:25:12.796Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7523 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] { [Pipeline] ws [2022-10-10T14:25:12.835Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-10-10T14:25:12.907Z] Selected Git installation does not exist. Using Default [2022-10-10T14:25:12.907Z] The recommended git tool is: NONE [2022-10-10T14:25:17.946Z] using credential edgex-jenkins-ssh [2022-10-10T14:25:17.960Z] Cloning the remote Git repository [2022-10-10T14:25:18.002Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T14:25:18.065Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-10-10T14:25:18.204Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T14:25:18.205Z] > git --version # timeout=10 [2022-10-10T14:25:18.226Z] > git --version # 'git version 2.25.1' [2022-10-10T14:25:18.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T14:25:18.271Z] Verifying host key using known hosts file [2022-10-10T14:25:18.450Z] 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-10T14:25:18.463Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T14:25:19.545Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T14:25:19.571Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T14:25:21.060Z] Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit 98ddf2f5dcf1658cb762613530fc768454cbe723 [2022-10-10T14:25:21.283Z] Merge succeeded, producing 98ddf2f5dcf1658cb762613530fc768454cbe723 [2022-10-10T14:25:21.283Z] Checking out Revision 98ddf2f5dcf1658cb762613530fc768454cbe723 (PR-423) [2022-10-10T14:25:20.369Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T14:25:20.418Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T14:25:20.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T14:25:20.424Z] Verifying host key using known hosts file [2022-10-10T14:25:20.432Z] 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-10T14:25:20.443Z] > 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-10T14:25:21.075Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T14:25:21.095Z] > git checkout -f 98ddf2f5dcf1658cb762613530fc768454cbe723 # timeout=10 [2022-10-10T14:25:21.179Z] > git remote # timeout=10 [2022-10-10T14:25:21.199Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T14:25:21.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T14:25:21.220Z] Verifying host key using known hosts file [2022-10-10T14:25:21.225Z] 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-10T14:25:21.236Z] > git merge 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 [2022-10-10T14:25:21.262Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T14:25:21.285Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T14:25:21.301Z] > git checkout -f 98ddf2f5dcf1658cb762613530fc768454cbe723 # timeout=10 [2022-10-10T14:25:24.769Z] Commit message: "refactor(snap): : Set unique name for config interface" [2022-10-10T14:25:24.813Z] > git --version # timeout=10 [2022-10-10T14:25:24.827Z] > git --version # 'git version 2.25.1' [2022-10-10T14:25:24.842Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T14:25:25.955Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T14:25:25.955Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T14:25:25.955Z] Dload Upload Total Spent Left Speed [2022-10-10T14:25:25.955Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 78762 0 --:--:-- --:--:-- --:--:-- 78762 [Pipeline] sh [2022-10-10T14:25:26.720Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T14:25:27.075Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T14:25:27.076Z] + sudo tee /etc/docker/daemon.new [2022-10-10T14:25:27.076Z] { [2022-10-10T14:25:27.076Z] "registry-mirrors": [ [2022-10-10T14:25:27.076Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T14:25:27.076Z] ], [2022-10-10T14:25:27.076Z] "bip": "10.250.0.254/24", [2022-10-10T14:25:27.076Z] "hosts": [ [2022-10-10T14:25:27.076Z] "tcp://0.0.0.0:5555", [2022-10-10T14:25:27.076Z] "unix:///var/run/docker.sock" [2022-10-10T14:25:27.076Z] ], [2022-10-10T14:25:27.076Z] "mtu": 1458, [2022-10-10T14:25:27.076Z] "selinux-enabled": true, [2022-10-10T14:25:27.076Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T14:25:27.076Z] } [Pipeline] sh [2022-10-10T14:25:27.416Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T14:25:27.766Z] + sudo service docker restart [2022-10-10T14:25:32.848Z] Removing intermediate container 5d1c7edd4805 [2022-10-10T14:25:32.848Z] ---> 891c505c7ce2 [2022-10-10T14:25:32.848Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T14:25:32.848Z] 3.16: Pulling from library/alpine [2022-10-10T14:25:32.848Z] 213ec9aee27d: Pulling fs layer [2022-10-10T14:25:32.848Z] 213ec9aee27d: Verifying Checksum [2022-10-10T14:25:32.848Z] 213ec9aee27d: Download complete [2022-10-10T14:25:32.848Z] 213ec9aee27d: Pull complete [2022-10-10T14:25:32.848Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T14:25:32.848Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T14:25:32.848Z] ---> 9c6f07244728 [2022-10-10T14:25:32.848Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T14:25:32.848Z] ---> Running in c5575f1642fa [2022-10-10T14:25:32.848Z] Removing intermediate container c5575f1642fa [2022-10-10T14:25:32.848Z] ---> 3f875d39a86f [2022-10-10T14:25:32.848Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T14:25:32.848Z] ---> Running in 10a784e8bc4d [2022-10-10T14:25:32.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T14:25:32.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T14:25:32.848Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T14:25:32.848Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T14:25:32.848Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T14:25:32.848Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T14:25:32.848Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T14:25:32.848Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T14:25:32.848Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T14:25:32.848Z] OK: 8 MiB in 20 packages [2022-10-10T14:25:33.416Z] Removing intermediate container 10a784e8bc4d [2022-10-10T14:25:33.416Z] ---> 6e1685ff52ca [2022-10-10T14:25:33.416Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T14:25:34.796Z] ---> f5ec93e7351d [2022-10-10T14:25:34.796Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T14:25:34.796Z] ---> 10b62495d543 [2022-10-10T14:25:34.796Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T14:25:35.389Z] ---> bb5ef7686c18 [2022-10-10T14:25:35.389Z] Step 20/25 : EXPOSE 59982 [2022-10-10T14:25:35.389Z] ---> Running in 9a8f39acc6ef [2022-10-10T14:25:35.958Z] Removing intermediate container 9a8f39acc6ef [2022-10-10T14:25:35.958Z] ---> 9d6b8c5a6be1 [2022-10-10T14:25:35.958Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T14:25:35.958Z] ---> Running in 01849c10fd9f [2022-10-10T14:25:36.526Z] Removing intermediate container 01849c10fd9f [2022-10-10T14:25:36.526Z] ---> a62c49b12d2e [2022-10-10T14:25:36.526Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T14:25:36.526Z] ---> Running in baddc46ba491 [2022-10-10T14:25:37.098Z] Removing intermediate container baddc46ba491 [2022-10-10T14:25:37.098Z] ---> 1373a1fc49c8 [2022-10-10T14:25:37.098Z] Step 23/25 : LABEL arch=amd64 [2022-10-10T14:25:37.357Z] ---> Running in 3e2269c7fe55 [2022-10-10T14:25:37.925Z] Removing intermediate container 3e2269c7fe55 [2022-10-10T14:25:37.925Z] ---> 7effe4077846 [2022-10-10T14:25:37.925Z] Step 24/25 : LABEL git_sha=98ddf2f5dcf1658cb762613530fc768454cbe723 [2022-10-10T14:25:37.925Z] ---> Running in 291c222e04c0 [2022-10-10T14:25:37.925Z] Removing intermediate container 291c222e04c0 [2022-10-10T14:25:37.925Z] ---> e9ee5744c738 [2022-10-10T14:25:37.925Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T14:25:37.925Z] ---> Running in aac1a52ef420 [2022-10-10T14:25:38.184Z] Removing intermediate container aac1a52ef420 [2022-10-10T14:25:38.184Z] ---> 0239f1ef4749 [2022-10-10T14:25:38.184Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T14:25:38.184Z] Successfully built 0239f1ef4749 [2022-10-10T14:25:38.184Z] 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-10T14:25:39.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T14:25:39.054Z] [2022-10-10T14:25:39.054Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:25:39.442Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T14:25:39.442Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T14:25:39.442Z] 5eb5b503b376: Pulling fs layer [2022-10-10T14:25:39.442Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T14:25:39.442Z] ec43610c2a17: Pulling fs layer [2022-10-10T14:25:39.442Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T14:25:39.442Z] 33b1e0a273af: Pulling fs layer [2022-10-10T14:25:39.442Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T14:25:39.442Z] 2f39f015ded8: Pulling fs layer [2022-10-10T14:25:39.442Z] 3a2ae6a8a46f: Waiting [2022-10-10T14:25:39.442Z] 33b1e0a273af: Waiting [2022-10-10T14:25:39.442Z] 2f39f015ded8: Waiting [2022-10-10T14:25:39.442Z] 5c69ac0246d0: Verifying Checksum [2022-10-10T14:25:39.442Z] 5c69ac0246d0: Download complete [2022-10-10T14:25:39.442Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T14:25:39.442Z] 3a2ae6a8a46f: Download complete [2022-10-10T14:25:39.702Z] 33b1e0a273af: Verifying Checksum [2022-10-10T14:25:39.702Z] 33b1e0a273af: Download complete [2022-10-10T14:25:39.703Z] ec43610c2a17: Verifying Checksum [2022-10-10T14:25:39.703Z] ec43610c2a17: Download complete [2022-10-10T14:25:39.703Z] 5d3b04190fa2: Verifying Checksum [2022-10-10T14:25:39.703Z] 5eb5b503b376: Verifying Checksum [2022-10-10T14:25:39.703Z] 5eb5b503b376: Download complete [2022-10-10T14:25:40.636Z] 2f39f015ded8: Download complete [2022-10-10T14:25:41.201Z] 5eb5b503b376: Pull complete [2022-10-10T14:25:41.201Z] 5c69ac0246d0: Pull complete [2022-10-10T14:25:41.766Z] ec43610c2a17: Pull complete [2022-10-10T14:25:41.766Z] 3a2ae6a8a46f: Pull complete [2022-10-10T14:25:42.024Z] 33b1e0a273af: Pull complete [2022-10-10T14:25:42.024Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T14:25:46.084Z] provisioning config files... [2022-10-10T14:25:46.107Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5356593303403628278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:25:46.500Z] ---> docker-login.sh [2022-10-10T14:25:46.500Z] nexus3.edgexfoundry.org:10001 [2022-10-10T14:25:46.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:25:47.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:25:47.044Z] Configure a credential helper to remove this warning. See [2022-10-10T14:25:47.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:25:47.044Z] [2022-10-10T14:25:47.044Z] Login Succeeded [2022-10-10T14:25:47.044Z] nexus3.edgexfoundry.org:10002 [2022-10-10T14:25:47.289Z] 2f39f015ded8: Pull complete [2022-10-10T14:25:47.289Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T14:25:47.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T14:25:47.289Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [2022-10-10T14:25:47.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:25:47.543Z] prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container [2022-10-10T14:25:47.572Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T14:25:47.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:25:47.586Z] Configure a credential helper to remove this warning. See [2022-10-10T14:25:47.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:25:47.586Z] [2022-10-10T14:25:47.586Z] Login Succeeded [2022-10-10T14:25:47.586Z] nexus3.edgexfoundry.org:10003 [2022-10-10T14:25:47.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:25:47.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:25:47.856Z] Configure a credential helper to remove this warning. See [2022-10-10T14:25:47.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:25:47.856Z] [2022-10-10T14:25:47.856Z] Login Succeeded [2022-10-10T14:25:47.856Z] nexus3.edgexfoundry.org:10004 [2022-10-10T14:25:48.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:25:48.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:25:48.128Z] Configure a credential helper to remove this warning. See [2022-10-10T14:25:48.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:25:48.128Z] [2022-10-10T14:25:48.128Z] Login Succeeded [2022-10-10T14:25:48.128Z] docker.io [2022-10-10T14:25:48.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:25:48.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:25:48.979Z] Configure a credential helper to remove this warning. See [2022-10-10T14:25:48.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:25:48.979Z] [2022-10-10T14:25:48.979Z] Login Succeeded [2022-10-10T14:25:48.979Z] ---> docker-login.sh ends [2022-10-10T14:25:53.069Z] $ docker top 11d05b7c7338ddcbf04a66716bd786b00f801d8a4dab476b41ceb7f9708055c1 -eo pid,comm [Pipeline] { [Pipeline] } [2022-10-10T14:25:53.268Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T14:25:53.640Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2022-10-10T14:25:53.643Z] ---> job-cost.sh [2022-10-10T14:25:53.643Z] lf-activate-venv: SKIPPING [2022-10-10T14:25:53.643Z] INFO: No Stack... [Pipeline] echo [2022-10-10T14:25:53.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T14:25:53.730Z] ========================================================= [2022-10-10T14:25:53.730Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T14:25:53.730Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2022-10-10T14:25:53.903Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2022-10-10T14:25:54.162Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T14:25:54.266Z] + 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-10T14:25:54.489Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/cost.csv [2022-10-10T14:25:54.489Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T14:25:54.530Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] [2022-10-10T14:25:54.534Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] did not exist. Created. [2022-10-10T14:25:54.534Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] [2022-10-10T14:25:54.535Z] Sending build context to Docker daemon 3.195MB [2022-10-10T14:25:54.535Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T14:25:54.535Z] Step 2/13 : FROM ${BASE} AS builder [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T14:25:54.805Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T14:25:54.805Z] b3c136eddcbf: Pulling fs layer [2022-10-10T14:25:54.805Z] c0a3192eca97: Pulling fs layer [2022-10-10T14:25:54.805Z] a050256f5b6f: Pulling fs layer [2022-10-10T14:25:54.805Z] 656be50a0ddc: Pulling fs layer [2022-10-10T14:25:54.805Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T14:25:54.805Z] f607e4fc86c3: Pulling fs layer [2022-10-10T14:25:54.805Z] 4d572c569a2c: Pulling fs layer [2022-10-10T14:25:54.805Z] fcf976331f73: Pulling fs layer [2022-10-10T14:25:54.805Z] 656be50a0ddc: Waiting [2022-10-10T14:25:54.805Z] 2bbca73fdf42: Waiting [2022-10-10T14:25:54.805Z] f607e4fc86c3: Waiting [2022-10-10T14:25:54.805Z] fcf976331f73: Waiting [2022-10-10T14:25:54.805Z] a050256f5b6f: Download complete [2022-10-10T14:25:54.805Z] c0a3192eca97: Verifying Checksum [2022-10-10T14:25:54.805Z] c0a3192eca97: Download complete [2022-10-10T14:25:54.805Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T14:25:54.805Z] 2bbca73fdf42: Download complete [2022-10-10T14:25:54.805Z] f607e4fc86c3: Verifying Checksum [2022-10-10T14:25:54.805Z] f607e4fc86c3: Download complete [2022-10-10T14:25:54.805Z] b3c136eddcbf: Verifying Checksum [2022-10-10T14:25:54.805Z] b3c136eddcbf: Download complete [2022-10-10T14:25:54.960Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T14:25:55.013Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T14:25:55.043Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T14:25:55.133Z] $ docker stop --time=1 11d05b7c7338ddcbf04a66716bd786b00f801d8a4dab476b41ceb7f9708055c1 [2022-10-10T14:25:55.790Z] b3c136eddcbf: Pull complete [2022-10-10T14:25:55.790Z] fcf976331f73: Download complete [2022-10-10T14:25:56.060Z] c0a3192eca97: Pull complete [2022-10-10T14:25:56.324Z] $ docker rm -f 11d05b7c7338ddcbf04a66716bd786b00f801d8a4dab476b41ceb7f9708055c1 [2022-10-10T14:25:56.329Z] a050256f5b6f: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T14:25:56.916Z] 4d572c569a2c: Verifying Checksum [2022-10-10T14:25:56.916Z] 4d572c569a2c: Download complete [2022-10-10T14:25:57.503Z] 656be50a0ddc: Verifying Checksum [2022-10-10T14:25:57.503Z] 656be50a0ddc: Download complete [2022-10-10T14:26:09.848Z] 656be50a0ddc: Pull complete [2022-10-10T14:26:09.848Z] 2bbca73fdf42: Pull complete [2022-10-10T14:26:09.848Z] f607e4fc86c3: Pull complete [2022-10-10T14:26:16.505Z] 4d572c569a2c: Pull complete [2022-10-10T14:26:17.922Z] fcf976331f73: Pull complete [2022-10-10T14:26:17.922Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T14:26:17.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T14:26:17.922Z] ---> 3970a7415f9e [2022-10-10T14:26:17.922Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T14:26:19.877Z] ---> Running in cdbb948531c9 [2022-10-10T14:26:19.877Z] Removing intermediate container cdbb948531c9 [2022-10-10T14:26:19.877Z] ---> 3b1dc6593c30 [2022-10-10T14:26:19.877Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T14:26:20.144Z] ---> Running in 537fd8ec2f5d [2022-10-10T14:26:20.412Z] Removing intermediate container 537fd8ec2f5d [2022-10-10T14:26:20.412Z] ---> d9bed7f39e1b [2022-10-10T14:26:20.412Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T14:26:20.412Z] ---> Running in 9a0967ca7dae [2022-10-10T14:26:20.685Z] Removing intermediate container 9a0967ca7dae [2022-10-10T14:26:20.685Z] ---> 3e95362437f3 [2022-10-10T14:26:20.685Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T14:26:20.685Z] ---> Running in 964d0d525236 [2022-10-10T14:26:20.954Z] Removing intermediate container 964d0d525236 [2022-10-10T14:26:20.954Z] ---> d291a77826ad [2022-10-10T14:26:20.954Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T14:26:21.227Z] ---> Running in 501a13ab0c0e [2022-10-10T14:26:23.175Z] Removing intermediate container 501a13ab0c0e [2022-10-10T14:26:23.175Z] ---> 635ee0f7737f [2022-10-10T14:26:23.175Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T14:26:23.175Z] ---> Running in 3e4c37a56f88 [2022-10-10T14:26:23.760Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T14:26:24.718Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T14:26:25.679Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T14:26:25.679Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T14:26:25.679Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T14:26:25.947Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T14:26:25.947Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T14:26:26.213Z] OK: 226 MiB in 55 packages [2022-10-10T14:26:27.622Z] Removing intermediate container 3e4c37a56f88 [2022-10-10T14:26:27.622Z] ---> b5fba508f056 [2022-10-10T14:26:27.622Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T14:26:27.622Z] ---> Running in fbff7aa539e4 [2022-10-10T14:26:27.889Z] Removing intermediate container fbff7aa539e4 [2022-10-10T14:26:27.889Z] ---> 3840adeec24c [2022-10-10T14:26:27.889Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T14:26:28.476Z] ---> 7a687d89f241 [2022-10-10T14:26:28.476Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T14:26:28.476Z] ---> Running in b1511067e7d8 [2022-10-10T14:27:15.318Z] Removing intermediate container b1511067e7d8 [2022-10-10T14:27:15.318Z] ---> 4e9b4608cb83 [2022-10-10T14:27:15.318Z] Step 12/13 : COPY . . [2022-10-10T14:27:15.318Z] ---> bcfc47db8be9 [2022-10-10T14:27:15.318Z] Step 13/13 : RUN $MAKE [2022-10-10T14:27:15.318Z] ---> Running in 1b690a262062 [2022-10-10T14:27:15.908Z] noop [2022-10-10T14:27:16.489Z] Removing intermediate container 1b690a262062 [2022-10-10T14:27:16.490Z] ---> 98f4e40b5cb8 [2022-10-10T14:27:16.490Z] Successfully built 98f4e40b5cb8 [2022-10-10T14:27:16.490Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:27:16.956Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T14:27:16.956Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:27:17.193Z] prd-ubuntu20.04-docker-arm64-4c-16g-7523 does not seem to be running inside a container [2022-10-10T14:27:17.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T14:27:18.293Z] $ docker top 23f0bd1a9048a70ad9c88c8035c1ad40d6ec14059e31a12e6ad69bf6777d2136 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T14:27:19.140Z] + go version [2022-10-10T14:27:19.140Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T14:27:19.175Z] $ docker stop --time=1 23f0bd1a9048a70ad9c88c8035c1ad40d6ec14059e31a12e6ad69bf6777d2136 [2022-10-10T14:27:20.712Z] $ docker rm -f 23f0bd1a9048a70ad9c88c8035c1ad40d6ec14059e31a12e6ad69bf6777d2136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:27:21.544Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T14:27:21.544Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:27:21.778Z] prd-ubuntu20.04-docker-arm64-4c-16g-7523 does not seem to be running inside a container [2022-10-10T14:27:21.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T14:27:22.964Z] $ docker top d2eacbaa3b0028bc479385ef377fc488e9048a55288121c77cce44d345143005 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T14:27:23.505Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-10T14:27:23.888Z] + make test [2022-10-10T14:27:23.888Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T14:27:25.840Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T14:28:47.470Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T14:28:47.470Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements [2022-10-10T14:28:47.470Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T14:28:47.470Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T14:28:47.470Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T14:29:09.560Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T14:29:09.560Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T14:29:09.560Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T14:29:09.604Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T14:29:09.635Z] $ docker stop --time=1 d2eacbaa3b0028bc479385ef377fc488e9048a55288121c77cce44d345143005 [2022-10-10T14:29:11.349Z] $ docker rm -f d2eacbaa3b0028bc479385ef377fc488e9048a55288121c77cce44d345143005 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T14:29:12.336Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T14:29:12.376Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T14:29:12.768Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T14:29:13.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T14:29:13.729Z] + ls -al . [2022-10-10T14:29:13.729Z] total 180 [2022-10-10T14:29:13.729Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 14:27 . [2022-10-10T14:29:13.729Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:25 .. [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 14:25 .dockerignore [2022-10-10T14:29:13.729Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 14:25 .git [2022-10-10T14:29:13.729Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:25 .github [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 14:25 .gitignore [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 14:25 .golangci.yml [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 14:25 Attribution.txt [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 14:25 CHANGELOG.md [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 14:25 Dockerfile [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 14:25 GOVERNANCE.md [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 14:25 Jenkinsfile [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 14:25 LICENSE [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 14:25 Makefile [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 14:25 OWNERS.md [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 14:25 README.md [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 14:23 VERSION [2022-10-10T14:29:13.729Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:25 bin [2022-10-10T14:29:13.729Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:25 cmd [2022-10-10T14:29:13.729Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 14:28 coverage.out [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 14:25 go.mod [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 14:25 go.sum [2022-10-10T14:29:13.729Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:25 internal [2022-10-10T14:29:13.729Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:25 mock [2022-10-10T14:29:13.729Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:25 snap [2022-10-10T14:29:13.729Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 14:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:29:14.159Z] + 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=98ddf2f5dcf1658cb762613530fc768454cbe723 --label arch=arm64 --label version=0.0.0 . [2022-10-10T14:29:14.429Z] Sending build context to Docker daemon 3.213MB [2022-10-10T14:29:14.429Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T14:29:14.429Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T14:29:14.429Z] ---> 98f4e40b5cb8 [2022-10-10T14:29:14.429Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T14:29:14.700Z] ---> Running in d82f1b2f8b1a [2022-10-10T14:29:14.970Z] Removing intermediate container d82f1b2f8b1a [2022-10-10T14:29:14.970Z] ---> e1d7c945d74e [2022-10-10T14:29:14.970Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T14:29:14.970Z] ---> Running in 647691defb06 [2022-10-10T14:29:15.239Z] Removing intermediate container 647691defb06 [2022-10-10T14:29:15.239Z] ---> f67c00fdde41 [2022-10-10T14:29:15.239Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T14:29:15.239Z] ---> Running in 064450db9112 [2022-10-10T14:29:15.520Z] Removing intermediate container 064450db9112 [2022-10-10T14:29:15.520Z] ---> 1234648c580a [2022-10-10T14:29:15.520Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T14:29:15.520Z] ---> Running in e37eddd47e67 [2022-10-10T14:29:15.790Z] Removing intermediate container e37eddd47e67 [2022-10-10T14:29:15.790Z] ---> c1f1beebe4d1 [2022-10-10T14:29:15.790Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T14:29:16.059Z] ---> Running in c01dfb4a6956 [2022-10-10T14:29:17.480Z] Removing intermediate container c01dfb4a6956 [2022-10-10T14:29:17.480Z] ---> 2293aefcdb14 [2022-10-10T14:29:17.480Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T14:29:17.480Z] ---> Running in bf9c7c97222b [2022-10-10T14:29:18.443Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T14:29:19.402Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T14:29:20.365Z] OK: 226 MiB in 55 packages [2022-10-10T14:29:20.952Z] Removing intermediate container bf9c7c97222b [2022-10-10T14:29:20.952Z] ---> 1215990eb919 [2022-10-10T14:29:20.952Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T14:29:21.221Z] ---> Running in aed05b4d9d63 [2022-10-10T14:29:21.487Z] Removing intermediate container aed05b4d9d63 [2022-10-10T14:29:21.487Z] ---> 2c355674305c [2022-10-10T14:29:21.487Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T14:29:21.758Z] ---> 6833fe03919f [2022-10-10T14:29:21.758Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T14:29:22.034Z] ---> Running in 8579dc526ff6 [2022-10-10T14:29:24.611Z] Removing intermediate container 8579dc526ff6 [2022-10-10T14:29:24.611Z] ---> 5cab5f632fc9 [2022-10-10T14:29:24.611Z] Step 12/25 : COPY . . [2022-10-10T14:29:24.992Z] ---> 8efd74789812 [2022-10-10T14:29:24.992Z] Step 13/25 : RUN $MAKE [2022-10-10T14:29:24.992Z] ---> Running in 5c6ccaff4e5a [2022-10-10T14:29:25.974Z] 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-10T14:32:02.823Z] Removing intermediate container 5c6ccaff4e5a [2022-10-10T14:32:02.823Z] ---> a97c0bbb3006 [2022-10-10T14:32:02.823Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T14:32:02.823Z] 3.16: Pulling from library/alpine [2022-10-10T14:32:02.823Z] 9b18e9b68314: Pulling fs layer [2022-10-10T14:32:02.823Z] 9b18e9b68314: Verifying Checksum [2022-10-10T14:32:02.823Z] 9b18e9b68314: Download complete [2022-10-10T14:32:02.823Z] 9b18e9b68314: Pull complete [2022-10-10T14:32:02.823Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T14:32:02.823Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T14:32:02.823Z] ---> a6215f271958 [2022-10-10T14:32:02.823Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T14:32:02.823Z] ---> Running in c06abc4e8658 [2022-10-10T14:32:02.823Z] Removing intermediate container c06abc4e8658 [2022-10-10T14:32:02.823Z] ---> e45e742646ff [2022-10-10T14:32:02.823Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T14:32:02.823Z] ---> Running in 425adbcaee4e [2022-10-10T14:32:02.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T14:32:02.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T14:32:02.823Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T14:32:02.823Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T14:32:02.823Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T14:32:02.823Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T14:32:02.823Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T14:32:02.823Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T14:32:02.823Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T14:32:02.823Z] OK: 8 MiB in 20 packages [2022-10-10T14:32:02.823Z] Removing intermediate container 425adbcaee4e [2022-10-10T14:32:02.823Z] ---> bd09d7d79738 [2022-10-10T14:32:02.823Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T14:32:02.823Z] ---> a23d2be7ebe5 [2022-10-10T14:32:02.823Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T14:32:02.823Z] ---> 0ef25badd2ce [2022-10-10T14:32:02.823Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T14:32:02.823Z] ---> f76955658bfd [2022-10-10T14:32:02.823Z] Step 20/25 : EXPOSE 59982 [2022-10-10T14:32:02.823Z] ---> Running in ee6a8f7b8f78 [2022-10-10T14:32:02.823Z] Removing intermediate container ee6a8f7b8f78 [2022-10-10T14:32:02.823Z] ---> 5271ccfe59dd [2022-10-10T14:32:02.823Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T14:32:02.823Z] ---> Running in 796cc2527fdd [2022-10-10T14:32:02.823Z] Removing intermediate container 796cc2527fdd [2022-10-10T14:32:02.823Z] ---> ccfd607fe3d7 [2022-10-10T14:32:02.823Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T14:32:02.823Z] ---> Running in b729842c08a0 [2022-10-10T14:32:02.823Z] Removing intermediate container b729842c08a0 [2022-10-10T14:32:02.823Z] ---> 2e0dea0944a1 [2022-10-10T14:32:02.823Z] Step 23/25 : LABEL arch=arm64 [2022-10-10T14:32:02.823Z] ---> Running in f2f294010fb6 [2022-10-10T14:32:02.823Z] Removing intermediate container f2f294010fb6 [2022-10-10T14:32:02.823Z] ---> 4732933c8bcc [2022-10-10T14:32:02.823Z] Step 24/25 : LABEL git_sha=98ddf2f5dcf1658cb762613530fc768454cbe723 [2022-10-10T14:32:02.823Z] ---> Running in db531de6713a [2022-10-10T14:32:02.823Z] Removing intermediate container db531de6713a [2022-10-10T14:32:02.823Z] ---> a33ecf1df654 [2022-10-10T14:32:02.823Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T14:32:02.823Z] ---> Running in 0124e5a0969b [2022-10-10T14:32:02.823Z] Removing intermediate container 0124e5a0969b [2022-10-10T14:32:02.823Z] ---> ece037c82ed1 [2022-10-10T14:32:02.823Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T14:32:02.823Z] Successfully built ece037c82ed1 [2022-10-10T14:32:02.823Z] 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-10T14:32:03.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T14:32:03.628Z] [2022-10-10T14:32:03.628Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:32:04.024Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T14:32:04.024Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T14:32:04.024Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T14:32:04.024Z] 04944245beec: Pulling fs layer [2022-10-10T14:32:04.024Z] 699f458cf7ca: Pulling fs layer [2022-10-10T14:32:04.024Z] 765212b225bb: Pulling fs layer [2022-10-10T14:32:04.024Z] f23df028b6ca: Pulling fs layer [2022-10-10T14:32:04.024Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T14:32:04.024Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T14:32:04.024Z] f23df028b6ca: Waiting [2022-10-10T14:32:04.024Z] d65c8cfc05b1: Waiting [2022-10-10T14:32:04.024Z] 2437ff75d9bd: Waiting [2022-10-10T14:32:04.024Z] 765212b225bb: Waiting [2022-10-10T14:32:04.294Z] 04944245beec: Verifying Checksum [2022-10-10T14:32:04.294Z] 04944245beec: Download complete [2022-10-10T14:32:04.294Z] 765212b225bb: Verifying Checksum [2022-10-10T14:32:04.294Z] 765212b225bb: Download complete [2022-10-10T14:32:04.294Z] f23df028b6ca: Verifying Checksum [2022-10-10T14:32:04.294Z] f23df028b6ca: Download complete [2022-10-10T14:32:04.294Z] d65c8cfc05b1: Download complete [2022-10-10T14:32:04.294Z] 699f458cf7ca: Verifying Checksum [2022-10-10T14:32:04.294Z] 699f458cf7ca: Download complete [2022-10-10T14:32:04.879Z] 8998bd30e6a1: Verifying Checksum [2022-10-10T14:32:04.879Z] 8998bd30e6a1: Download complete [2022-10-10T14:32:07.468Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T14:32:07.468Z] 2437ff75d9bd: Download complete [2022-10-10T14:32:08.881Z] 8998bd30e6a1: Pull complete [2022-10-10T14:32:09.148Z] 04944245beec: Pull complete [2022-10-10T14:32:10.560Z] 699f458cf7ca: Pull complete [2022-10-10T14:32:10.560Z] 765212b225bb: Pull complete [2022-10-10T14:32:11.146Z] f23df028b6ca: Pull complete [2022-10-10T14:32:11.415Z] d65c8cfc05b1: Pull complete [2022-10-10T14:32:26.421Z] 2437ff75d9bd: Pull complete [2022-10-10T14:32:26.421Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T14:32:26.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T14:32:26.421Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:32:26.741Z] prd-ubuntu20.04-docker-arm64-4c-16g-7523 does not seem to be running inside a container [2022-10-10T14:32:26.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-10T14:32:29.406Z] $ docker top 9b7c946de44406e3cc500188dcd2a5ce1ce48aad7204d014d6f34a9482109e83 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:32:30.306Z] ---> job-cost.sh [2022-10-10T14:32:30.306Z] lf-activate-venv: SKIPPING [2022-10-10T14:32:30.306Z] INFO: No Stack... [2022-10-10T14:32:30.572Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T14:32:31.530Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T14:32:31.874Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-10-10T14:32:31.874Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T14:32:32.222Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] [2022-10-10T14:32:32.227Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] did not exist. Created. [2022-10-10T14:32:32.227Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T14:32:32.653Z] /w/workspace/device-mqtt-go/1@tmp/durable-09ef026d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T14:32:33.322Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T14:32:33.362Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T14:32:33.402Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T14:32:33.419Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T14:32:33.507Z] $ docker stop --time=1 9b7c946de44406e3cc500188dcd2a5ce1ce48aad7204d014d6f34a9482109e83 [2022-10-10T14:32:35.004Z] $ docker rm -f 9b7c946de44406e3cc500188dcd2a5ce1ce48aad7204d014d6f34a9482109e83 [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-10T14:32:36.062Z] provisioning config files... [2022-10-10T14:32:36.072Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config6810624029999097335tmp [Pipeline] { [Pipeline] sh [2022-10-10T14:32:36.415Z] + set +x [2022-10-10T14:32:36.415Z] + curl -s https://codecov.io/bash [2022-10-10T14:32:36.415Z] + bash -s -- [2022-10-10T14:32:36.415Z] [2022-10-10T14:32:36.415Z] _____ _ [2022-10-10T14:32:36.415Z] / ____| | | [2022-10-10T14:32:36.415Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T14:32:36.415Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T14:32:36.415Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T14:32:36.415Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T14:32:36.415Z] Bash-1.0.6 [2022-10-10T14:32:36.415Z] [2022-10-10T14:32:36.415Z] [2022-10-10T14:32:36.415Z] ==> git version 2.25.1 found [2022-10-10T14:32:36.415Z] ==> 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-10T14:32:36.415Z] Release-Date: 2020-01-08 [2022-10-10T14:32:36.415Z] 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-10T14:32:36.415Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T14:32:36.415Z] ==> Jenkins CI detected. [2022-10-10T14:32:36.415Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-10T14:32:36.415Z] project root: . [2022-10-10T14:32:36.415Z] --> token set from env [2022-10-10T14:32:36.415Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T14:32:36.415Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T14:32:36.415Z] ==> Python coveragepy not found [2022-10-10T14:32:36.415Z] ==> Searching for coverage reports in: [2022-10-10T14:32:36.415Z] + . [2022-10-10T14:32:36.415Z] -> Found 1 reports [2022-10-10T14:32:36.415Z] ==> Detecting git/mercurial file structure [2022-10-10T14:32:36.415Z] ==> Reading reports [2022-10-10T14:32:36.415Z] + ./coverage.out bytes=17887 [2022-10-10T14:32:36.415Z] ==> Appending adjustments [2022-10-10T14:32:36.415Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T14:32:36.675Z] + Found adjustments [2022-10-10T14:32:36.675Z] ==> Gzipping contents [2022-10-10T14:32:36.675Z] 4.0K /tmp/codecov.lvrONh.gz [2022-10-10T14:32:36.675Z] ==> Uploading reports [2022-10-10T14:32:36.675Z] url: https://codecov.io [2022-10-10T14:32:36.675Z] query: branch=PR-423&commit=98ddf2f5dcf1658cb762613530fc768454cbe723&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2022-10-10T14:32:36.675Z] -> Pinging Codecov [2022-10-10T14:32:36.675Z] 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=98ddf2f5dcf1658cb762613530fc768454cbe723&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2022-10-10T14:32:36.934Z] -> Uploading to [2022-10-10T14:32:36.934Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/98ddf2f5dcf1658cb762613530fc768454cbe723/59f2c6cd-85f7-4f45-b9ee-5bb4f6e9c722.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T143236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a63734ef914c0f2cc39af69019ef1954af41a5dbd54fbd8bfff0a896c0e1426e [2022-10-10T14:32:36.934Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T14:32:36.934Z] Dload Upload Total Spent Left Speed [2022-10-10T14:32:37.194Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 13311 --:--:-- --:--:-- --:--:-- 13311 [2022-10-10T14:32:37.194Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/98ddf2f5dcf1658cb762613530fc768454cbe723 [Pipeline] } [2022-10-10T14:32:37.222Z] 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-10T14:32:39.067Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives ] [2022-10-10T14:32:39.068Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T14:32:39.068Z] total 16 [2022-10-10T14:32:39.068Z] drwxr-xr-x 3 root root 4096 Oct 10 14:25 . [2022-10-10T14:32:39.068Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 14:25 .. [2022-10-10T14:32:39.068Z] drwxr-xr-x 2 root root 4096 Oct 10 14:25 cost [2022-10-10T14:32:39.068Z] -rw-r--r-- 1 root root 86 Oct 10 14:25 cost.csv [2022-10-10T14:32:39.068Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T14:32:39.068Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T14:32:39.068Z] total 16 [2022-10-10T14:32:39.068Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 14:25 . [2022-10-10T14:32:39.068Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 14:25 .. [2022-10-10T14:32:39.068Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 14:25 cost [2022-10-10T14:32:39.068Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 10 14:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:32:39.397Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:32:40.282Z] ---> package-listing.sh [2022-10-10T14:32:40.282Z] ++ facter osfamily [2022-10-10T14:32:40.282Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T14:32:40.541Z] + OS_FAMILY=debian [2022-10-10T14:32:40.541Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-10T14:32:40.541Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T14:32:40.541Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T14:32:40.541Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T14:32:40.541Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T14:32:40.541Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' [2022-10-10T14:32:40.541Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T14:32:40.541Z] + case "${OS_FAMILY}" in [2022-10-10T14:32:40.541Z] + dpkg -l [2022-10-10T14:32:40.541Z] + grep '^ii' [2022-10-10T14:32:40.541Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T14:32:40.541Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T14:32:40.541Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T14:32:40.541Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' [2022-10-10T14:32:40.541Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ [2022-10-10T14:32:40.541Z] + 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-10T14:32:40.582Z] 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-10T14:32:40.879Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:32:41.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T14:32:41.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:32:41.412Z] prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container [2022-10-10T14:32:41.464Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T14:32:41.626Z] $ docker top a0f31301ea8f2790d477418ee9561e7b1cb1ed0efd1030baafc156a929700a9d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T14:32:42.022Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T14:32:42.333Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T14:32:42.647Z] + ls /var/log/sa-host [2022-10-10T14:32:42.647Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T14:32:42.891Z] provisioning config files... [2022-10-10T14:32:42.901Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config14613521375380180283tmp [Pipeline] { [Pipeline] echo [2022-10-10T14:32:42.956Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:32:43.265Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T14:32:43.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:32:43.713Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T14:32:43.746Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:32:44.056Z] ---> sudo-logs.sh [2022-10-10T14:32:44.057Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T14:32:44.148Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:32:44.457Z] ---> job-cost.sh [2022-10-10T14:32:44.457Z] lf-activate-venv: SKIPPING [2022-10-10T14:32:44.457Z] DEBUG: total: 0.2199999988079071 [2022-10-10T14:32:44.457Z] INFO: Retrieving Stack Cost... [2022-10-10T14:32:45.023Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T14:32:45.281Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T14:32:45.322Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:32:45.633Z] ---> logs-deploy.sh [2022-10-10T14:32:45.633Z] lf-activate-venv: SKIPPING [2022-10-10T14:32:45.633Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-423/1 [2022-10-10T14:32:45.633Z] INFO: archiving workspace using pattern(s): [2022-10-10T14:32:46.566Z] Archives upload complete. [2022-10-10T14:32:46.826Z] INFO: archiving logs to Nexus