Pull request #423 updated 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 a29e63d7aa5605164e6e1c6cd07337351782d1a4 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-ssh11913111424223832538.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-ssh7635957126011691959.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7222098936890745977.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12759097201485863056.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13127388556676095509.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-7522’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7524 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-423 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit a29e63d7aa5605164e6e1c6cd07337351782d1a4 Merge succeeded, producing a29e63d7aa5605164e6e1c6cd07337351782d1a4 Checking out Revision a29e63d7aa5605164e6e1c6cd07337351782d1a4 (PR-423) > git config core.sparsecheckout # timeout=10 > git checkout -f a29e63d7aa5605164e6e1c6cd07337351782d1a4 # 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 a29e63d7aa5605164e6e1c6cd07337351782d1a4 # timeout=10 Commit message: "refactor(snap): Note old field as deprecated" > git rev-list --no-walk 98ddf2f5dcf1658cb762613530fc768454cbe723 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T14:34:04.158Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T14:34:04.219Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T14:34:04.240Z] ========================================================= [2022-10-10T14:34:04.240Z] EdgeX Global Pipelines Version Info [2022-10-10T14:34:04.240Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:34:04.938Z] ------------------- [2022-10-10T14:34:04.938Z] stable info: [2022-10-10T14:34:04.938Z] ------------------- [2022-10-10T14:34:04.938Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T14:34:04.938Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T14:34:04.938Z] Message: update stable to v1.0.239 [2022-10-10T14:34:05.507Z] ------------------- [2022-10-10T14:34:05.507Z] experimental info: [2022-10-10T14:34:05.507Z] ------------------- [2022-10-10T14:34:05.507Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T14:34:05.507Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T14:34:05.507Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T14:34:05.670Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-10T14:34:05.679Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-10T14:34:05.694Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T14:34:05.708Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T14:34:05.721Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T14:34:05.734Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T14:34:05.749Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T14:34:05.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T14:34:05.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T14:34:05.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T14:34:05.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T14:34:05.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-10T14:34:05.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T14:34:05.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T14:34:05.859Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T14:34:05.869Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T14:34:05.879Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T14:34:05.888Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T14:34:05.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T14:34:05.918Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T14:34:05.931Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T14:34:05.942Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T14:34:05.954Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T14:34:05.965Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T14:34:05.982Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T14:34:05.996Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T14:34:06.009Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T14:34:06.025Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo [2022-10-10T14:34:06.039Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo [2022-10-10T14:34:06.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo [2022-10-10T14:34:06.064Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a29e63d7aa5605164e6e1c6cd07337351782d1a4 [Pipeline] echo [2022-10-10T14:34:06.079Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a29e63d [Pipeline] echo [2022-10-10T14:34:06.089Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T14:34:06.130Z] provisioning config files... [2022-10-10T14:34:06.144Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config17144729311969760210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:34:06.447Z] ---> docker-login.sh [2022-10-10T14:34:06.447Z] nexus3.edgexfoundry.org:10001 [2022-10-10T14:34:06.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:34:06.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:34:06.706Z] Configure a credential helper to remove this warning. See [2022-10-10T14:34:06.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:34:06.706Z] [2022-10-10T14:34:06.706Z] Login Succeeded [2022-10-10T14:34:06.706Z] nexus3.edgexfoundry.org:10002 [2022-10-10T14:34:06.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:34:06.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:34:06.706Z] Configure a credential helper to remove this warning. See [2022-10-10T14:34:06.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:34:06.706Z] [2022-10-10T14:34:06.706Z] Login Succeeded [2022-10-10T14:34:06.706Z] nexus3.edgexfoundry.org:10003 [2022-10-10T14:34:06.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:34:06.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:34:06.965Z] Configure a credential helper to remove this warning. See [2022-10-10T14:34:06.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:34:06.965Z] [2022-10-10T14:34:06.965Z] Login Succeeded [2022-10-10T14:34:06.965Z] nexus3.edgexfoundry.org:10004 [2022-10-10T14:34:06.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:34:06.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:34:06.965Z] Configure a credential helper to remove this warning. See [2022-10-10T14:34:06.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:34:06.965Z] [2022-10-10T14:34:06.965Z] Login Succeeded [2022-10-10T14:34:06.965Z] docker.io [2022-10-10T14:34:07.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:34:07.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:34:07.486Z] Configure a credential helper to remove this warning. See [2022-10-10T14:34:07.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:34:07.486Z] [2022-10-10T14:34:07.486Z] Login Succeeded [2022-10-10T14:34:07.486Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T14:34:07.493Z] 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:34:07.848Z] + git rev-list -1 --merges a29e63d7aa5605164e6e1c6cd07337351782d1a4~1..a29e63d7aa5605164e6e1c6cd07337351782d1a4 [Pipeline] echo [2022-10-10T14:34:07.882Z] -----------> git rev-list -1 --merges a29e63d7aa5605164e6e1c6cd07337351782d1a4~1..a29e63d7aa5605164e6e1c6cd07337351782d1a4 a29e63d7aa5605164e6e1c6cd07337351782d1a4 [false] [Pipeline] sh [2022-10-10T14:34:08.170Z] + git log --format=format:%s -1 a29e63d7aa5605164e6e1c6cd07337351782d1a4 [Pipeline] echo [2022-10-10T14:34:08.183Z] ========================================================= [2022-10-10T14:34:08.183Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T14:34:08.183Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T14:34:08.503Z] + git log --format=format:%s -1 a29e63d7aa5605164e6e1c6cd07337351782d1a4 [Pipeline] echo [2022-10-10T14:34:08.514Z] [semverPrep] GIT_COMMIT: a29e63d7aa5605164e6e1c6cd07337351782d1a4, Commit Message: refactor(snap): Note old field as deprecated [Pipeline] echo [2022-10-10T14:34:08.521Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T14:34:08.863Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T14:34:08.863Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T14:34:08.863Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T14:34:08.863Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T14:34:08.863Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-10-10T14:34:08.863Z] -a /etc/ssh/ssh_known_hosts [2022-10-10T14:34:08.863Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:34:09.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T14:34:09.219Z] [2022-10-10T14:34:09.219Z] 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:34:09.522Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T14:34:09.522Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T14:34:09.522Z] b85a868b505f: Pulling fs layer [2022-10-10T14:34:09.522Z] e2be974225ed: Pulling fs layer [2022-10-10T14:34:09.522Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T14:34:09.522Z] 988bab9f4d93: Pulling fs layer [2022-10-10T14:34:09.522Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T14:34:09.522Z] eaf3925da568: Pulling fs layer [2022-10-10T14:34:09.522Z] bab4dde63d76: Pulling fs layer [2022-10-10T14:34:09.522Z] bde34c3a00c8: Pulling fs layer [2022-10-10T14:34:09.522Z] b352a97aabf1: Pulling fs layer [2022-10-10T14:34:09.522Z] 4872d77fe225: Pulling fs layer [2022-10-10T14:34:09.522Z] 5851b861e8e6: Pulling fs layer [2022-10-10T14:34:09.522Z] 988bab9f4d93: Waiting [2022-10-10T14:34:09.522Z] bde34c3a00c8: Waiting [2022-10-10T14:34:09.522Z] 1469e6f7b9e6: Waiting [2022-10-10T14:34:09.522Z] bab4dde63d76: Waiting [2022-10-10T14:34:09.522Z] eaf3925da568: Waiting [2022-10-10T14:34:09.522Z] 5851b861e8e6: Waiting [2022-10-10T14:34:09.522Z] b352a97aabf1: Waiting [2022-10-10T14:34:09.522Z] e2be974225ed: Verifying Checksum [2022-10-10T14:34:09.522Z] e2be974225ed: Download complete [2022-10-10T14:34:09.522Z] 988bab9f4d93: Verifying Checksum [2022-10-10T14:34:09.522Z] 988bab9f4d93: Download complete [2022-10-10T14:34:09.784Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T14:34:09.784Z] 1469e6f7b9e6: Download complete [2022-10-10T14:34:09.784Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T14:34:09.784Z] 339a4e72a1f5: Download complete [2022-10-10T14:34:09.784Z] eaf3925da568: Verifying Checksum [2022-10-10T14:34:09.784Z] eaf3925da568: Download complete [2022-10-10T14:34:09.784Z] bde34c3a00c8: Download complete [2022-10-10T14:34:09.784Z] b352a97aabf1: Verifying Checksum [2022-10-10T14:34:09.784Z] b352a97aabf1: Download complete [2022-10-10T14:34:09.784Z] 4872d77fe225: Verifying Checksum [2022-10-10T14:34:09.784Z] 4872d77fe225: Download complete [2022-10-10T14:34:09.784Z] 5851b861e8e6: Download complete [2022-10-10T14:34:09.784Z] b85a868b505f: Verifying Checksum [2022-10-10T14:34:09.784Z] b85a868b505f: Download complete [2022-10-10T14:34:10.042Z] bab4dde63d76: Verifying Checksum [2022-10-10T14:34:10.042Z] bab4dde63d76: Download complete [2022-10-10T14:34:10.977Z] b85a868b505f: Pull complete [2022-10-10T14:34:11.234Z] e2be974225ed: Pull complete [2022-10-10T14:34:11.494Z] 339a4e72a1f5: Pull complete [2022-10-10T14:34:11.753Z] 988bab9f4d93: Pull complete [2022-10-10T14:34:12.012Z] 1469e6f7b9e6: Pull complete [2022-10-10T14:34:12.012Z] eaf3925da568: Pull complete [2022-10-10T14:34:13.909Z] bab4dde63d76: Pull complete [2022-10-10T14:34:13.909Z] bde34c3a00c8: Pull complete [2022-10-10T14:34:13.909Z] b352a97aabf1: Pull complete [2022-10-10T14:34:14.169Z] 4872d77fe225: Pull complete [2022-10-10T14:34:14.169Z] 5851b861e8e6: Pull complete [2022-10-10T14:34:14.169Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T14:34:14.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T14:34:14.169Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:34:14.297Z] prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container [2022-10-10T14:34:14.316Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T14:34:15.691Z] $ docker top d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 -eo pid,comm [2022-10-10T14:34:15.765Z] 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:34:15.765Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T14:34:15.810Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T14:34:15.810Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T14:34:15.927Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T14:34:15.923Z] $ docker exec d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 ssh-agent [2022-10-10T14:34:16.040Z] SSH_AUTH_SOCK=/tmp/ssh-bsM9HAwyujZV/agent.33 [2022-10-10T14:34:16.040Z] SSH_AGENT_PID=39 [2022-10-10T14:34:16.047Z] Running ssh-add (command line suppressed) [2022-10-10T14:34:16.151Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_2160717754791344987.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_2160717754791344987.key) [2022-10-10T14:34:16.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T14:34:16.467Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T14:34:16.472Z] $ docker exec --env ******** --env ******** d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 ssh-agent -k [2022-10-10T14:34:16.579Z] unset SSH_AUTH_SOCK; [2022-10-10T14:34:16.580Z] unset SSH_AGENT_PID; [2022-10-10T14:34:16.580Z] echo Agent pid 39 killed; [2022-10-10T14:34:16.596Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T14:34:16.640Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T14:34:16.640Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T14:34:16.760Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T14:34:16.755Z] $ docker exec d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 ssh-agent [2022-10-10T14:34:16.869Z] SSH_AUTH_SOCK=/tmp/ssh-PeoezOCTNwiR/agent.72 [2022-10-10T14:34:16.869Z] SSH_AGENT_PID=78 [2022-10-10T14:34:16.874Z] Running ssh-add (command line suppressed) [2022-10-10T14:34:16.982Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_18177911621856985667.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_18177911621856985667.key) [2022-10-10T14:34:17.004Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T14:34:17.295Z] + git semver init [2022-10-10T14:34:17.555Z] 2022-10-10 14:34:17,478 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T14:34:17.555Z] 2022-10-10 14:34:17,479 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver [2022-10-10T14:34:17.555Z] 2022-10-10 14:34:17,480 [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:34:17.555Z] 2022-10-10 14:34:17,480 [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:34:18.496Z] 2022-10-10 14:34:18,408 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.git/info/exclude [2022-10-10T14:34:18.496Z] 2022-10-10 14:34:18,408 [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:34:18.496Z] 2022-10-10 14:34:18,408 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 [2022-10-10T14:34:18.496Z] 2022-10-10 14:34:18,412 [execute] INFO git cat-file --batch-check [2022-10-10T14:34:18.496Z] 2022-10-10 14:34:18,412 [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:34:18.496Z] 2022-10-10 14:34:18,418 [execute] INFO git cat-file --batch [2022-10-10T14:34:18.496Z] 2022-10-10 14:34:18,418 [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:34:18.496Z] 2022-10-10 14:34:18,424 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 [2022-10-10T14:34:18.496Z] 0.0.0 [Pipeline] } [2022-10-10T14:34:18.500Z] $ docker exec --env ******** --env ******** d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 ssh-agent -k [2022-10-10T14:34:18.600Z] unset SSH_AUTH_SOCK; [2022-10-10T14:34:18.600Z] unset SSH_AGENT_PID; [2022-10-10T14:34:18.601Z] echo Agent pid 78 killed; [2022-10-10T14:34:18.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T14:34:18.926Z] + git semver [Pipeline] } [2022-10-10T14:34:19.197Z] $ docker stop --time=1 d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 [2022-10-10T14:34:20.537Z] $ docker rm -f d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T14:34:20.881Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T14:34:21.065Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T14:34:21.068Z] [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:34:21.174Z] provisioning config files... [2022-10-10T14:34:21.183Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config881444838179795895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:34:21.477Z] ---> docker-login.sh [2022-10-10T14:34:21.477Z] nexus3.edgexfoundry.org:10001 [2022-10-10T14:34:21.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:34:21.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:34:21.477Z] Configure a credential helper to remove this warning. See [2022-10-10T14:34:21.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:34:21.477Z] [2022-10-10T14:34:21.477Z] Login Succeeded [2022-10-10T14:34:21.477Z] nexus3.edgexfoundry.org:10002 [2022-10-10T14:34:21.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:34:21.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:34:21.477Z] Configure a credential helper to remove this warning. See [2022-10-10T14:34:21.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:34:21.477Z] [2022-10-10T14:34:21.477Z] Login Succeeded [2022-10-10T14:34:21.477Z] nexus3.edgexfoundry.org:10003 [2022-10-10T14:34:21.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:34:21.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:34:21.739Z] Configure a credential helper to remove this warning. See [2022-10-10T14:34:21.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:34:21.739Z] [2022-10-10T14:34:21.739Z] Login Succeeded [2022-10-10T14:34:21.739Z] nexus3.edgexfoundry.org:10004 [2022-10-10T14:34:21.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:34:21.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:34:21.739Z] Configure a credential helper to remove this warning. See [2022-10-10T14:34:21.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:34:21.739Z] [2022-10-10T14:34:21.739Z] Login Succeeded [2022-10-10T14:34:21.739Z] docker.io [2022-10-10T14:34:21.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:34:22.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:34:22.258Z] Configure a credential helper to remove this warning. See [2022-10-10T14:34:22.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:34:22.258Z] [2022-10-10T14:34:22.258Z] Login Succeeded [2022-10-10T14:34:22.258Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T14:34:22.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T14:34:22.334Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T14:34:22.346Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T14:34:22.354Z] ========================================================= [2022-10-10T14:34:22.354Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T14:34:22.354Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:34:22.668Z] + 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:34:22.668Z] Sending build context to Docker daemon 6.178MB [2022-10-10T14:34:22.668Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T14:34:22.668Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T14:34:22.668Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T14:34:22.668Z] 2408cc74d12b: Pulling fs layer [2022-10-10T14:34:22.668Z] ea60b727a1ce: Pulling fs layer [2022-10-10T14:34:22.668Z] 30c4a7721957: Pulling fs layer [2022-10-10T14:34:22.668Z] 370296b7ddb6: Pulling fs layer [2022-10-10T14:34:22.668Z] 7c6cee850709: Pulling fs layer [2022-10-10T14:34:22.668Z] aa9baa53a306: Pulling fs layer [2022-10-10T14:34:22.668Z] 8b309c321861: Pulling fs layer [2022-10-10T14:34:22.668Z] d8d76fd02f46: Pulling fs layer [2022-10-10T14:34:22.668Z] fa31f396de31: Pulling fs layer [2022-10-10T14:34:22.668Z] aa9baa53a306: Waiting [2022-10-10T14:34:22.668Z] 8b309c321861: Waiting [2022-10-10T14:34:22.668Z] d8d76fd02f46: Waiting [2022-10-10T14:34:22.668Z] 370296b7ddb6: Waiting [2022-10-10T14:34:22.668Z] 7c6cee850709: Waiting [2022-10-10T14:34:22.668Z] fa31f396de31: Waiting [2022-10-10T14:34:22.668Z] 30c4a7721957: Verifying Checksum [2022-10-10T14:34:22.668Z] 30c4a7721957: Download complete [2022-10-10T14:34:22.668Z] ea60b727a1ce: Download complete [2022-10-10T14:34:22.668Z] 7c6cee850709: Verifying Checksum [2022-10-10T14:34:22.668Z] 7c6cee850709: Download complete [2022-10-10T14:34:22.668Z] aa9baa53a306: Download complete [2022-10-10T14:34:22.668Z] 2408cc74d12b: Verifying Checksum [2022-10-10T14:34:22.668Z] 2408cc74d12b: Download complete [2022-10-10T14:34:22.931Z] 8b309c321861: Download complete [2022-10-10T14:34:22.931Z] 2408cc74d12b: Pull complete [2022-10-10T14:34:23.192Z] ea60b727a1ce: Pull complete [2022-10-10T14:34:23.192Z] 30c4a7721957: Pull complete [2022-10-10T14:34:23.192Z] fa31f396de31: Verifying Checksum [2022-10-10T14:34:23.192Z] fa31f396de31: Download complete [2022-10-10T14:34:23.451Z] d8d76fd02f46: Verifying Checksum [2022-10-10T14:34:23.451Z] d8d76fd02f46: Download complete [2022-10-10T14:34:23.709Z] 370296b7ddb6: Download complete [2022-10-10T14:34:26.990Z] 370296b7ddb6: Pull complete [2022-10-10T14:34:26.990Z] 7c6cee850709: Pull complete [2022-10-10T14:34:26.990Z] aa9baa53a306: Pull complete [2022-10-10T14:34:27.249Z] 8b309c321861: Pull complete [2022-10-10T14:34:29.152Z] d8d76fd02f46: Pull complete [2022-10-10T14:34:30.083Z] fa31f396de31: Pull complete [2022-10-10T14:34:30.083Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T14:34:30.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T14:34:30.083Z] ---> cef68f9685f8 [2022-10-10T14:34:30.083Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T14:34:31.988Z] ---> Running in d1e72c38a889 [2022-10-10T14:34:31.988Z] Removing intermediate container d1e72c38a889 [2022-10-10T14:34:31.988Z] ---> bcc42665ae3d [2022-10-10T14:34:31.988Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T14:34:31.988Z] ---> Running in 7eeaed457fb4 [2022-10-10T14:34:31.988Z] Removing intermediate container 7eeaed457fb4 [2022-10-10T14:34:31.988Z] ---> 307f0fac99a5 [2022-10-10T14:34:31.988Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T14:34:32.246Z] ---> Running in 529465abc278 [2022-10-10T14:34:32.246Z] Removing intermediate container 529465abc278 [2022-10-10T14:34:32.246Z] ---> 0b0983844961 [2022-10-10T14:34:32.246Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T14:34:32.246Z] ---> Running in 1dd70e771bd9 [2022-10-10T14:34:32.504Z] Removing intermediate container 1dd70e771bd9 [2022-10-10T14:34:32.504Z] ---> 7f4db6ee05d3 [2022-10-10T14:34:32.504Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T14:34:32.504Z] ---> Running in 0016483a3c22 [2022-10-10T14:34:33.071Z] Removing intermediate container 0016483a3c22 [2022-10-10T14:34:33.071Z] ---> b0d82fded32f [2022-10-10T14:34:33.071Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T14:34:33.071Z] ---> Running in f71ef469756d [2022-10-10T14:34:33.330Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T14:34:34.265Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T14:34:34.526Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T14:34:34.526Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T14:34:34.526Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T14:34:34.784Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T14:34:34.784Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T14:34:34.784Z] OK: 216 MiB in 55 packages [2022-10-10T14:34:35.352Z] Removing intermediate container f71ef469756d [2022-10-10T14:34:35.352Z] ---> 09228ae1b5e7 [2022-10-10T14:34:35.352Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T14:34:35.352Z] ---> Running in 540a7cdb20fc [2022-10-10T14:34:35.352Z] Removing intermediate container 540a7cdb20fc [2022-10-10T14:34:35.352Z] ---> f35b9ace130d [2022-10-10T14:34:35.352Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T14:34:35.610Z] ---> 831cf6c82b59 [2022-10-10T14:34:35.610Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T14:34:35.610Z] ---> Running in 042ace93ab8e [2022-10-10T14:34:36.149Z] Still waiting to schedule task [2022-10-10T14:34:36.149Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7523’ is offline [2022-10-10T14:34:50.493Z] Removing intermediate container 042ace93ab8e [2022-10-10T14:34:50.493Z] ---> 4689aabc1fa6 [2022-10-10T14:34:50.493Z] Step 12/13 : COPY . . [2022-10-10T14:34:50.493Z] ---> d1dac3d22104 [2022-10-10T14:34:50.493Z] Step 13/13 : RUN $MAKE [2022-10-10T14:34:50.493Z] ---> Running in bc895d735dbc [2022-10-10T14:34:50.493Z] noop [2022-10-10T14:34:50.493Z] Removing intermediate container bc895d735dbc [2022-10-10T14:34:50.493Z] ---> 4f4838777de0 [2022-10-10T14:34:50.493Z] Successfully built 4f4838777de0 [2022-10-10T14:34:50.493Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:34:50.794Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T14:34:50.794Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:34:50.854Z] prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container [2022-10-10T14:34:50.885Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T14:34:51.250Z] $ docker top a8d6ff305986537fd0953b9beb6de22e1cd66571604dd318d89d170ac5c9537a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T14:34:51.580Z] + go version [2022-10-10T14:34:51.580Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T14:34:51.594Z] $ docker stop --time=1 a8d6ff305986537fd0953b9beb6de22e1cd66571604dd318d89d170ac5c9537a [2022-10-10T14:34:52.923Z] $ docker rm -f a8d6ff305986537fd0953b9beb6de22e1cd66571604dd318d89d170ac5c9537a [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:34:53.309Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T14:34:53.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:34:53.369Z] prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container [2022-10-10T14:34:53.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T14:34:53.786Z] $ docker top ab089fb98985507499860103635d0100a3364e51119b7fe5c5ddd2dc82974031 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T14:34:54.112Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] fileExists [Pipeline] sh [2022-10-10T14:34:54.403Z] + make test [2022-10-10T14:34:54.403Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T14:34:54.661Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T14:35:04.633Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T14:35:04.633Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2022-10-10T14:35:04.633Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T14:35:09.899Z] 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:35:09.899Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T14:35:13.176Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T14:35:13.176Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T14:35:13.176Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T14:35:13.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T14:35:13.211Z] $ docker stop --time=1 ab089fb98985507499860103635d0100a3364e51119b7fe5c5ddd2dc82974031 [2022-10-10T14:35:14.900Z] $ docker rm -f ab089fb98985507499860103635d0100a3364e51119b7fe5c5ddd2dc82974031 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T14:35:15.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T14:35:15.363Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T14:35:15.767Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T14:35:16.045Z] + ls -al . [2022-10-10T14:35:16.045Z] total 184 [2022-10-10T14:35:16.045Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 14:34 . [2022-10-10T14:35:16.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:33 .. [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 14:34 .dockerignore [2022-10-10T14:35:16.045Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 14:35 .git [2022-10-10T14:35:16.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:34 .github [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 14:34 .gitignore [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 14:34 .golangci.yml [2022-10-10T14:35:16.045Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 14:34 .semver [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 14:34 Attribution.txt [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 14:34 CHANGELOG.md [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 14:34 Dockerfile [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 14:34 GOVERNANCE.md [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 14:34 Jenkinsfile [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 14:34 LICENSE [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 14:34 Makefile [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 14:34 OWNERS.md [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 14:34 README.md [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 14:34 VERSION [2022-10-10T14:35:16.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:34 bin [2022-10-10T14:35:16.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:34 cmd [2022-10-10T14:35:16.045Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 14:35 coverage.out [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 14:34 go.mod [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 14:34 go.sum [2022-10-10T14:35:16.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:34 internal [2022-10-10T14:35:16.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:34 mock [2022-10-10T14:35:16.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:34 snap [2022-10-10T14:35:16.045Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 14:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:35:16.345Z] + 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=a29e63d7aa5605164e6e1c6cd07337351782d1a4 --label arch=amd64 --label version=0.0.0 . [2022-10-10T14:35:16.345Z] Sending build context to Docker daemon 6.196MB [2022-10-10T14:35:16.345Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T14:35:16.345Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T14:35:16.345Z] ---> 4f4838777de0 [2022-10-10T14:35:16.345Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T14:35:16.345Z] ---> Running in 332150c5d46a [2022-10-10T14:35:16.603Z] Removing intermediate container 332150c5d46a [2022-10-10T14:35:16.603Z] ---> 9cd62f54e89f [2022-10-10T14:35:16.603Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T14:35:16.603Z] ---> Running in d84811d35c66 [2022-10-10T14:35:16.603Z] Removing intermediate container d84811d35c66 [2022-10-10T14:35:16.603Z] ---> 549e64eb1fe7 [2022-10-10T14:35:16.603Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T14:35:16.603Z] ---> Running in 7e6faa32ddda [2022-10-10T14:35:16.862Z] Removing intermediate container 7e6faa32ddda [2022-10-10T14:35:16.862Z] ---> b3b215d73c35 [2022-10-10T14:35:16.862Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T14:35:16.862Z] ---> Running in ecd65d122905 [2022-10-10T14:35:16.862Z] Removing intermediate container ecd65d122905 [2022-10-10T14:35:16.862Z] ---> 025f3cad0551 [2022-10-10T14:35:16.862Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T14:35:16.862Z] ---> Running in 558e49770875 [2022-10-10T14:35:17.428Z] Removing intermediate container 558e49770875 [2022-10-10T14:35:17.428Z] ---> 2a48bdfdf576 [2022-10-10T14:35:17.428Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T14:35:17.428Z] ---> Running in b8efcebff7b0 [2022-10-10T14:35:17.687Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T14:35:18.624Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T14:35:18.883Z] OK: 216 MiB in 55 packages [2022-10-10T14:35:19.472Z] Removing intermediate container b8efcebff7b0 [2022-10-10T14:35:19.472Z] ---> 58749e6c7bb3 [2022-10-10T14:35:19.472Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T14:35:19.472Z] ---> Running in 58ab8050d438 [2022-10-10T14:35:19.472Z] Removing intermediate container 58ab8050d438 [2022-10-10T14:35:19.472Z] ---> cf2cb4799e65 [2022-10-10T14:35:19.472Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T14:35:19.731Z] ---> 980786daf162 [2022-10-10T14:35:19.731Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T14:35:19.731Z] ---> Running in 0dd0c2c29618 [2022-10-10T14:35:20.302Z] Removing intermediate container 0dd0c2c29618 [2022-10-10T14:35:20.302Z] ---> 30c884451e66 [2022-10-10T14:35:20.302Z] Step 12/25 : COPY . . [2022-10-10T14:35:20.561Z] ---> 13c04e8f46f0 [2022-10-10T14:35:20.561Z] Step 13/25 : RUN $MAKE [2022-10-10T14:35:20.561Z] ---> Running in 62968c7357f8 [2022-10-10T14:35:20.820Z] 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:35:42.744Z] Removing intermediate container 62968c7357f8 [2022-10-10T14:35:42.744Z] ---> ac92493fcfc4 [2022-10-10T14:35:42.744Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T14:35:42.744Z] 3.16: Pulling from library/alpine [2022-10-10T14:35:42.744Z] 213ec9aee27d: Pulling fs layer [2022-10-10T14:35:42.744Z] 213ec9aee27d: Verifying Checksum [2022-10-10T14:35:42.744Z] 213ec9aee27d: Download complete [2022-10-10T14:35:42.744Z] 213ec9aee27d: Pull complete [2022-10-10T14:35:42.744Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T14:35:42.744Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T14:35:42.744Z] ---> 9c6f07244728 [2022-10-10T14:35:42.744Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T14:35:42.744Z] ---> Running in 89070649ce85 [2022-10-10T14:35:42.744Z] Removing intermediate container 89070649ce85 [2022-10-10T14:35:42.744Z] ---> 5f33781c83de [2022-10-10T14:35:42.744Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T14:35:42.744Z] ---> Running in 4bf6e9679652 [2022-10-10T14:35:42.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T14:35:42.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T14:35:42.744Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T14:35:42.744Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T14:35:42.744Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T14:35:42.744Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T14:35:42.744Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T14:35:42.744Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T14:35:42.744Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T14:35:42.744Z] OK: 8 MiB in 20 packages [2022-10-10T14:35:42.744Z] Removing intermediate container 4bf6e9679652 [2022-10-10T14:35:42.744Z] ---> e5ce7bfce778 [2022-10-10T14:35:42.744Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T14:35:42.744Z] ---> cb79110b91fd [2022-10-10T14:35:42.744Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T14:35:42.744Z] ---> 806e6981bf18 [2022-10-10T14:35:42.744Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T14:35:43.004Z] ---> 61f6ed87e778 [2022-10-10T14:35:43.004Z] Step 20/25 : EXPOSE 59982 [2022-10-10T14:35:43.004Z] ---> Running in f2be67c9cccc [2022-10-10T14:35:43.004Z] Removing intermediate container f2be67c9cccc [2022-10-10T14:35:43.004Z] ---> 7b44405ad78b [2022-10-10T14:35:43.004Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T14:35:43.004Z] ---> Running in 554e1b4a0014 [2022-10-10T14:35:43.263Z] Removing intermediate container 554e1b4a0014 [2022-10-10T14:35:43.263Z] ---> 2f5948ece1d1 [2022-10-10T14:35:43.263Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T14:35:43.263Z] ---> Running in ef5854c7c349 [2022-10-10T14:35:43.263Z] Removing intermediate container ef5854c7c349 [2022-10-10T14:35:43.263Z] ---> 0427d74aba59 [2022-10-10T14:35:43.263Z] Step 23/25 : LABEL arch=amd64 [2022-10-10T14:35:43.523Z] ---> Running in 84a15456fc31 [2022-10-10T14:35:43.523Z] Removing intermediate container 84a15456fc31 [2022-10-10T14:35:43.523Z] ---> c13e5bb4c455 [2022-10-10T14:35:43.523Z] Step 24/25 : LABEL git_sha=a29e63d7aa5605164e6e1c6cd07337351782d1a4 [2022-10-10T14:35:43.523Z] ---> Running in e5025580df66 [2022-10-10T14:35:43.523Z] Removing intermediate container e5025580df66 [2022-10-10T14:35:43.523Z] ---> 0cf74b271c5b [2022-10-10T14:35:43.523Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T14:35:43.782Z] ---> Running in 42a33cbfec13 [2022-10-10T14:35:43.782Z] Removing intermediate container 42a33cbfec13 [2022-10-10T14:35:43.782Z] ---> a7b78ca80896 [2022-10-10T14:35:43.782Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T14:35:43.782Z] Successfully built a7b78ca80896 [2022-10-10T14:35:43.782Z] 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:35:44.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T14:35:44.234Z] [2022-10-10T14:35:44.234Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:35:44.531Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T14:35:44.531Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T14:35:44.531Z] 5eb5b503b376: Pulling fs layer [2022-10-10T14:35:44.531Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T14:35:44.531Z] ec43610c2a17: Pulling fs layer [2022-10-10T14:35:44.531Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T14:35:44.531Z] 33b1e0a273af: Pulling fs layer [2022-10-10T14:35:44.531Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T14:35:44.531Z] 2f39f015ded8: Pulling fs layer [2022-10-10T14:35:44.531Z] 33b1e0a273af: Waiting [2022-10-10T14:35:44.531Z] 5d3b04190fa2: Waiting [2022-10-10T14:35:44.531Z] 2f39f015ded8: Waiting [2022-10-10T14:35:44.531Z] 3a2ae6a8a46f: Waiting [2022-10-10T14:35:44.531Z] 5c69ac0246d0: Verifying Checksum [2022-10-10T14:35:44.531Z] 5c69ac0246d0: Download complete [2022-10-10T14:35:44.531Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T14:35:44.531Z] 3a2ae6a8a46f: Download complete [2022-10-10T14:35:44.531Z] 33b1e0a273af: Verifying Checksum [2022-10-10T14:35:44.531Z] 33b1e0a273af: Download complete [2022-10-10T14:35:44.531Z] 5d3b04190fa2: Download complete [2022-10-10T14:35:44.790Z] ec43610c2a17: Verifying Checksum [2022-10-10T14:35:44.790Z] ec43610c2a17: Download complete [2022-10-10T14:35:44.790Z] 5eb5b503b376: Verifying Checksum [2022-10-10T14:35:44.790Z] 5eb5b503b376: Download complete [2022-10-10T14:35:45.359Z] 2f39f015ded8: Download complete [2022-10-10T14:35:45.926Z] 5eb5b503b376: Pull complete [2022-10-10T14:35:45.926Z] 5c69ac0246d0: Pull complete [2022-10-10T14:35:46.494Z] ec43610c2a17: Pull complete [2022-10-10T14:35:46.494Z] 3a2ae6a8a46f: Pull complete [2022-10-10T14:35:46.753Z] 33b1e0a273af: Pull complete [2022-10-10T14:35:46.753Z] 5d3b04190fa2: Pull complete [2022-10-10T14:35:50.938Z] 2f39f015ded8: Pull complete [2022-10-10T14:35:50.938Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T14:35:50.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T14:35:50.938Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:35:51.010Z] prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container [2022-10-10T14:35:51.042Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T14:35:52.445Z] $ docker top f904b93e11779d8c394b077721b81c2d75eb6ff20bdf43745179b717ab43697c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:35:52.825Z] ---> job-cost.sh [2022-10-10T14:35:52.825Z] lf-activate-venv: SKIPPING [2022-10-10T14:35:52.825Z] INFO: No Stack... [2022-10-10T14:35:53.084Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T14:35:53.343Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T14:35:53.637Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/cost.csv [2022-10-10T14:35:53.637Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T14:35:53.650Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] [2022-10-10T14:35:53.656Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] did not exist. Created. [2022-10-10T14:35:53.656Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T14:35:53.955Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T14:35:53.974Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T14:35:53.980Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T14:35:54.001Z] $ docker stop --time=1 f904b93e11779d8c394b077721b81c2d75eb6ff20bdf43745179b717ab43697c [2022-10-10T14:35:55.167Z] $ docker rm -f f904b93e11779d8c394b077721b81c2d75eb6ff20bdf43745179b717ab43697c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T14:36:02.153Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7525 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] { [Pipeline] ws [2022-10-10T14:36:02.163Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-10-10T14:36:02.193Z] Selected Git installation does not exist. Using Default [2022-10-10T14:36:02.193Z] The recommended git tool is: NONE [2022-10-10T14:36:07.000Z] using credential edgex-jenkins-ssh [2022-10-10T14:36:07.015Z] Cloning the remote Git repository [2022-10-10T14:36:07.051Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T14:36:07.124Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-10-10T14:36:07.255Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T14:36:07.256Z] > git --version # timeout=10 [2022-10-10T14:36:07.279Z] > git --version # 'git version 2.25.1' [2022-10-10T14:36:07.280Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T14:36:07.323Z] Verifying host key using known hosts file [2022-10-10T14:36:07.498Z] 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:36:07.510Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T14:36:08.614Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T14:36:08.640Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T14:36:09.465Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T14:36:09.518Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T14:36:09.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T14:36:09.524Z] Verifying host key using known hosts file [2022-10-10T14:36:09.531Z] 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:36:10.168Z] Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit a29e63d7aa5605164e6e1c6cd07337351782d1a4 [2022-10-10T14:36:10.397Z] Merge succeeded, producing a29e63d7aa5605164e6e1c6cd07337351782d1a4 [2022-10-10T14:36:10.398Z] Checking out Revision a29e63d7aa5605164e6e1c6cd07337351782d1a4 (PR-423) [2022-10-10T14:36:09.541Z] > 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:36:10.185Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T14:36:10.214Z] > git checkout -f a29e63d7aa5605164e6e1c6cd07337351782d1a4 # timeout=10 [2022-10-10T14:36:10.295Z] > git remote # timeout=10 [2022-10-10T14:36:10.314Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T14:36:10.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T14:36:10.335Z] Verifying host key using known hosts file [2022-10-10T14:36:10.339Z] 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:36:10.347Z] > git merge 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 [2022-10-10T14:36:10.371Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T14:36:10.402Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T14:36:10.413Z] > git checkout -f a29e63d7aa5605164e6e1c6cd07337351782d1a4 # timeout=10 [2022-10-10T14:36:13.866Z] Commit message: "refactor(snap): Note old field as deprecated" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T14:36:14.824Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T14:36:14.824Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T14:36:14.824Z] Dload Upload Total Spent Left Speed [2022-10-10T14:36:14.824Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98453 0 --:--:-- --:--:-- --:--:-- 98453 [Pipeline] sh [2022-10-10T14:36:15.483Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T14:36:15.812Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-10-10T14:36:15.813Z] [2022-10-10T14:36:15.813Z] { [2022-10-10T14:36:15.813Z] "registry-mirrors": [ [2022-10-10T14:36:15.813Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T14:36:15.813Z] ], [2022-10-10T14:36:15.813Z] "bip": "10.250.0.254/24", [2022-10-10T14:36:15.813Z] "hosts": [ [2022-10-10T14:36:15.813Z] "tcp://0.0.0.0:5555", [2022-10-10T14:36:15.813Z] "unix:///var/run/docker.sock" [2022-10-10T14:36:15.813Z] ], [2022-10-10T14:36:15.813Z] "mtu": 1458, [2022-10-10T14:36:15.813Z] "selinux-enabled": true, [2022-10-10T14:36:15.813Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T14:36:15.813Z] } [Pipeline] sh [2022-10-10T14:36:16.141Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T14:36:16.474Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T14:36:34.738Z] provisioning config files... [2022-10-10T14:36:34.762Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config937213563550625729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:36:35.109Z] ---> docker-login.sh [2022-10-10T14:36:35.109Z] nexus3.edgexfoundry.org:10001 [2022-10-10T14:36:35.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:36:35.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:36:35.646Z] Configure a credential helper to remove this warning. See [2022-10-10T14:36:35.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:36:35.646Z] [2022-10-10T14:36:35.646Z] Login Succeeded [2022-10-10T14:36:35.646Z] nexus3.edgexfoundry.org:10002 [2022-10-10T14:36:35.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:36:35.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:36:35.916Z] Configure a credential helper to remove this warning. See [2022-10-10T14:36:35.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:36:35.916Z] [2022-10-10T14:36:35.916Z] Login Succeeded [2022-10-10T14:36:36.185Z] nexus3.edgexfoundry.org:10003 [2022-10-10T14:36:36.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:36:36.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:36:36.453Z] Configure a credential helper to remove this warning. See [2022-10-10T14:36:36.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:36:36.453Z] [2022-10-10T14:36:36.453Z] Login Succeeded [2022-10-10T14:36:36.453Z] nexus3.edgexfoundry.org:10004 [2022-10-10T14:36:36.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:36:36.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:36:36.721Z] Configure a credential helper to remove this warning. See [2022-10-10T14:36:36.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:36:36.721Z] [2022-10-10T14:36:36.721Z] Login Succeeded [2022-10-10T14:36:36.721Z] docker.io [2022-10-10T14:36:36.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T14:36:37.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T14:36:37.260Z] Configure a credential helper to remove this warning. See [2022-10-10T14:36:37.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T14:36:37.260Z] [2022-10-10T14:36:37.260Z] Login Succeeded [2022-10-10T14:36:37.528Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T14:36:37.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T14:36:37.686Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T14:36:37.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T14:36:37.707Z] ========================================================= [2022-10-10T14:36:37.707Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T14:36:37.707Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:36:38.034Z] + 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:36:38.306Z] Sending build context to Docker daemon 3.203MB [2022-10-10T14:36:38.306Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T14:36:38.306Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T14:36:38.577Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T14:36:38.577Z] b3c136eddcbf: Pulling fs layer [2022-10-10T14:36:38.577Z] c0a3192eca97: Pulling fs layer [2022-10-10T14:36:38.577Z] a050256f5b6f: Pulling fs layer [2022-10-10T14:36:38.577Z] 656be50a0ddc: Pulling fs layer [2022-10-10T14:36:38.577Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T14:36:38.577Z] f607e4fc86c3: Pulling fs layer [2022-10-10T14:36:38.577Z] 4d572c569a2c: Pulling fs layer [2022-10-10T14:36:38.577Z] fcf976331f73: Pulling fs layer [2022-10-10T14:36:38.577Z] 656be50a0ddc: Waiting [2022-10-10T14:36:38.577Z] 2bbca73fdf42: Waiting [2022-10-10T14:36:38.577Z] f607e4fc86c3: Waiting [2022-10-10T14:36:38.577Z] 4d572c569a2c: Waiting [2022-10-10T14:36:38.577Z] fcf976331f73: Waiting [2022-10-10T14:36:38.578Z] a050256f5b6f: Verifying Checksum [2022-10-10T14:36:38.578Z] a050256f5b6f: Download complete [2022-10-10T14:36:38.578Z] c0a3192eca97: Verifying Checksum [2022-10-10T14:36:38.578Z] c0a3192eca97: Download complete [2022-10-10T14:36:38.578Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T14:36:38.578Z] 2bbca73fdf42: Download complete [2022-10-10T14:36:38.578Z] b3c136eddcbf: Verifying Checksum [2022-10-10T14:36:38.578Z] b3c136eddcbf: Download complete [2022-10-10T14:36:38.578Z] f607e4fc86c3: Verifying Checksum [2022-10-10T14:36:38.578Z] f607e4fc86c3: Download complete [2022-10-10T14:36:39.556Z] fcf976331f73: Verifying Checksum [2022-10-10T14:36:39.556Z] fcf976331f73: Download complete [2022-10-10T14:36:39.556Z] b3c136eddcbf: Pull complete [2022-10-10T14:36:40.155Z] c0a3192eca97: Pull complete [2022-10-10T14:36:40.429Z] a050256f5b6f: Pull complete [2022-10-10T14:36:41.021Z] 4d572c569a2c: Verifying Checksum [2022-10-10T14:36:41.021Z] 4d572c569a2c: Download complete [2022-10-10T14:36:41.608Z] 656be50a0ddc: Verifying Checksum [2022-10-10T14:36:41.608Z] 656be50a0ddc: Download complete [2022-10-10T14:36:53.946Z] 656be50a0ddc: Pull complete [2022-10-10T14:36:53.946Z] 2bbca73fdf42: Pull complete [2022-10-10T14:36:53.946Z] f607e4fc86c3: Pull complete [2022-10-10T14:37:00.614Z] 4d572c569a2c: Pull complete [2022-10-10T14:37:02.583Z] fcf976331f73: Pull complete [2022-10-10T14:37:02.583Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T14:37:02.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T14:37:02.583Z] ---> 3970a7415f9e [2022-10-10T14:37:02.583Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T14:37:04.003Z] ---> Running in 0692727e4ea5 [2022-10-10T14:37:04.587Z] Removing intermediate container 0692727e4ea5 [2022-10-10T14:37:04.587Z] ---> ab3f8643b38a [2022-10-10T14:37:04.587Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T14:37:04.587Z] ---> Running in b35421975d06 [2022-10-10T14:37:04.854Z] Removing intermediate container b35421975d06 [2022-10-10T14:37:04.854Z] ---> 4a4ec5b78f4d [2022-10-10T14:37:04.854Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T14:37:04.854Z] ---> Running in 3533cf99cb41 [2022-10-10T14:37:05.125Z] Removing intermediate container 3533cf99cb41 [2022-10-10T14:37:05.125Z] ---> 839dc6f494fd [2022-10-10T14:37:05.125Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T14:37:05.125Z] ---> Running in 923a07000167 [2022-10-10T14:37:05.397Z] Removing intermediate container 923a07000167 [2022-10-10T14:37:05.397Z] ---> ce8e58567826 [2022-10-10T14:37:05.397Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T14:37:05.666Z] ---> Running in 79fd5f07b370 [2022-10-10T14:37:07.615Z] Removing intermediate container 79fd5f07b370 [2022-10-10T14:37:07.615Z] ---> c3af8afec8b8 [2022-10-10T14:37:07.615Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T14:37:07.615Z] ---> Running in 0a3b63f81613 [2022-10-10T14:37:08.204Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T14:37:09.164Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T14:37:10.120Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T14:37:10.120Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T14:37:10.385Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T14:37:10.385Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T14:37:10.652Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T14:37:10.652Z] OK: 226 MiB in 55 packages [2022-10-10T14:37:11.617Z] Removing intermediate container 0a3b63f81613 [2022-10-10T14:37:11.617Z] ---> a931aac73ba0 [2022-10-10T14:37:11.617Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T14:37:11.617Z] ---> Running in e21996817322 [2022-10-10T14:37:12.204Z] Removing intermediate container e21996817322 [2022-10-10T14:37:12.204Z] ---> 6e9d3b2dc66e [2022-10-10T14:37:12.204Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T14:37:12.472Z] ---> d1591f5e26ad [2022-10-10T14:37:12.472Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T14:37:12.740Z] ---> Running in 8114c91cb1e7 [2022-10-10T14:38:09.157Z] Removing intermediate container 8114c91cb1e7 [2022-10-10T14:38:09.157Z] ---> fd26af105795 [2022-10-10T14:38:09.157Z] Step 12/13 : COPY . . [2022-10-10T14:38:09.157Z] ---> 335c2031b9e0 [2022-10-10T14:38:09.157Z] Step 13/13 : RUN $MAKE [2022-10-10T14:38:09.157Z] ---> Running in 8de7b7f38761 [2022-10-10T14:38:09.157Z] noop [2022-10-10T14:38:09.157Z] Removing intermediate container 8de7b7f38761 [2022-10-10T14:38:09.157Z] ---> 86e42705d87d [2022-10-10T14:38:09.157Z] Successfully built 86e42705d87d [2022-10-10T14:38:09.157Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:38:09.504Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T14:38:09.504Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:38:09.684Z] prd-ubuntu20.04-docker-arm64-4c-16g-7525 does not seem to be running inside a container [2022-10-10T14:38:09.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T14:38:10.956Z] $ docker top 864a3e8d799d9e5bef8b91ef8ed9234e8c92f9bc531f9ee92ca68d136007f52d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T14:38:11.790Z] + go version [2022-10-10T14:38:11.790Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T14:38:11.806Z] $ docker stop --time=1 864a3e8d799d9e5bef8b91ef8ed9234e8c92f9bc531f9ee92ca68d136007f52d [2022-10-10T14:38:13.399Z] $ docker rm -f 864a3e8d799d9e5bef8b91ef8ed9234e8c92f9bc531f9ee92ca68d136007f52d [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:38:13.973Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T14:38:13.974Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:38:14.140Z] prd-ubuntu20.04-docker-arm64-4c-16g-7525 does not seem to be running inside a container [2022-10-10T14:38:14.194Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T14:38:15.310Z] $ docker top 9a554e7aed76094b8ae60153a53abaf1d36d30a9124035e8140ddecdb6ca7c86 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T14:38:15.805Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-10T14:38:16.135Z] + make test [2022-10-10T14:38:16.135Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T14:38:18.076Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T14:39:39.690Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T14:39:39.690Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements [2022-10-10T14:39:39.690Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T14:39:39.690Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T14:39:39.690Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T14:40:01.757Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T14:40:01.757Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T14:40:01.757Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T14:40:01.776Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T14:40:01.785Z] $ docker stop --time=1 9a554e7aed76094b8ae60153a53abaf1d36d30a9124035e8140ddecdb6ca7c86 [2022-10-10T14:40:03.564Z] $ docker rm -f 9a554e7aed76094b8ae60153a53abaf1d36d30a9124035e8140ddecdb6ca7c86 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T14:40:04.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T14:40:04.498Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T14:40:04.862Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T14:40:05.227Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T14:40:05.538Z] + ls -al . [2022-10-10T14:40:05.539Z] total 180 [2022-10-10T14:40:05.539Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 14:38 . [2022-10-10T14:40:05.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:36 .. [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 14:36 .dockerignore [2022-10-10T14:40:05.539Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 14:36 .git [2022-10-10T14:40:05.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:36 .github [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 14:36 .gitignore [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 14:36 .golangci.yml [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 14:36 Attribution.txt [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 14:36 CHANGELOG.md [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 14:36 Dockerfile [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 14:36 GOVERNANCE.md [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 14:36 Jenkinsfile [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 14:36 LICENSE [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 14:36 Makefile [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 14:36 OWNERS.md [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 14:36 README.md [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 14:34 VERSION [2022-10-10T14:40:05.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:36 bin [2022-10-10T14:40:05.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:36 cmd [2022-10-10T14:40:05.539Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 14:39 coverage.out [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 14:36 go.mod [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 14:36 go.sum [2022-10-10T14:40:05.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:36 internal [2022-10-10T14:40:05.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:36 mock [2022-10-10T14:40:05.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:36 snap [2022-10-10T14:40:05.539Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 14:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:40:05.862Z] + 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=a29e63d7aa5605164e6e1c6cd07337351782d1a4 --label arch=arm64 --label version=0.0.0 . [2022-10-10T14:40:06.130Z] Sending build context to Docker daemon 3.222MB [2022-10-10T14:40:06.130Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T14:40:06.130Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T14:40:06.130Z] ---> 86e42705d87d [2022-10-10T14:40:06.130Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T14:40:06.130Z] ---> Running in 9c9898dc4165 [2022-10-10T14:40:06.397Z] Removing intermediate container 9c9898dc4165 [2022-10-10T14:40:06.397Z] ---> cea828d0e8ce [2022-10-10T14:40:06.397Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T14:40:06.664Z] ---> Running in db34e541717d [2022-10-10T14:40:06.930Z] Removing intermediate container db34e541717d [2022-10-10T14:40:06.930Z] ---> 6a75584b9ed2 [2022-10-10T14:40:06.930Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T14:40:06.930Z] ---> Running in ce7aa2f3c246 [2022-10-10T14:40:07.197Z] Removing intermediate container ce7aa2f3c246 [2022-10-10T14:40:07.197Z] ---> 4a71ca219d21 [2022-10-10T14:40:07.197Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T14:40:07.197Z] ---> Running in 27ff0a4fc9a2 [2022-10-10T14:40:07.465Z] Removing intermediate container 27ff0a4fc9a2 [2022-10-10T14:40:07.466Z] ---> b49af6765f03 [2022-10-10T14:40:07.466Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T14:40:07.466Z] ---> Running in cf9cf7567c9d [2022-10-10T14:40:09.405Z] Removing intermediate container cf9cf7567c9d [2022-10-10T14:40:09.405Z] ---> 107db2b777cd [2022-10-10T14:40:09.405Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T14:40:09.405Z] ---> Running in 120b81f5c3ed [2022-10-10T14:40:09.986Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T14:40:10.948Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T14:40:11.907Z] OK: 226 MiB in 55 packages [2022-10-10T14:40:12.497Z] Removing intermediate container 120b81f5c3ed [2022-10-10T14:40:12.497Z] ---> 3835a062e9ee [2022-10-10T14:40:12.497Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T14:40:12.497Z] ---> Running in 91fa34f68422 [2022-10-10T14:40:12.763Z] Removing intermediate container 91fa34f68422 [2022-10-10T14:40:12.763Z] ---> 956767334110 [2022-10-10T14:40:12.763Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T14:40:13.348Z] ---> 3fa22f8f6bc9 [2022-10-10T14:40:13.348Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T14:40:13.348Z] ---> Running in 8b0f0f288019 [2022-10-10T14:40:15.288Z] Removing intermediate container 8b0f0f288019 [2022-10-10T14:40:15.288Z] ---> ffa0015ed8cd [2022-10-10T14:40:15.288Z] Step 12/25 : COPY . . [2022-10-10T14:40:16.247Z] ---> 51ee6ca819bd [2022-10-10T14:40:16.247Z] Step 13/25 : RUN $MAKE [2022-10-10T14:40:16.247Z] ---> Running in a2b26ad1aa71 [2022-10-10T14:40:17.208Z] 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:42:54.137Z] Removing intermediate container a2b26ad1aa71 [2022-10-10T14:42:54.137Z] ---> 9c707535f169 [2022-10-10T14:42:54.137Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T14:42:54.137Z] 3.16: Pulling from library/alpine [2022-10-10T14:42:54.137Z] 9b18e9b68314: Pulling fs layer [2022-10-10T14:42:54.137Z] 9b18e9b68314: Verifying Checksum [2022-10-10T14:42:54.137Z] 9b18e9b68314: Download complete [2022-10-10T14:42:54.137Z] 9b18e9b68314: Pull complete [2022-10-10T14:42:54.137Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T14:42:54.137Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T14:42:54.137Z] ---> a6215f271958 [2022-10-10T14:42:54.137Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T14:42:54.137Z] ---> Running in 9dc161f6143b [2022-10-10T14:42:54.137Z] Removing intermediate container 9dc161f6143b [2022-10-10T14:42:54.137Z] ---> 6fa7ce904272 [2022-10-10T14:42:54.137Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T14:42:54.137Z] ---> Running in 6b0b658240f8 [2022-10-10T14:42:54.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T14:42:54.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T14:42:54.137Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T14:42:54.137Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T14:42:54.137Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T14:42:54.137Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T14:42:54.137Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T14:42:54.137Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T14:42:54.137Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T14:42:54.137Z] OK: 8 MiB in 20 packages [2022-10-10T14:42:54.137Z] Removing intermediate container 6b0b658240f8 [2022-10-10T14:42:54.137Z] ---> 2c630b20255d [2022-10-10T14:42:54.137Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T14:42:54.137Z] ---> 091d2a3d2e68 [2022-10-10T14:42:54.137Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T14:42:54.137Z] ---> 4a59fb368af9 [2022-10-10T14:42:54.137Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T14:42:54.137Z] ---> bc15fee9a5b5 [2022-10-10T14:42:54.137Z] Step 20/25 : EXPOSE 59982 [2022-10-10T14:42:54.137Z] ---> Running in 941c77ac7a4c [2022-10-10T14:42:54.137Z] Removing intermediate container 941c77ac7a4c [2022-10-10T14:42:54.137Z] ---> c3a5799fbb90 [2022-10-10T14:42:54.137Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T14:42:54.137Z] ---> Running in 5e80a55cd9a2 [2022-10-10T14:42:54.137Z] Removing intermediate container 5e80a55cd9a2 [2022-10-10T14:42:54.137Z] ---> 9773ae83b3d0 [2022-10-10T14:42:54.137Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T14:42:54.137Z] ---> Running in 286050d5887a [2022-10-10T14:42:54.137Z] Removing intermediate container 286050d5887a [2022-10-10T14:42:54.137Z] ---> 3f7b4c5733e7 [2022-10-10T14:42:54.137Z] Step 23/25 : LABEL arch=arm64 [2022-10-10T14:42:54.137Z] ---> Running in ec99d45a9f2b [2022-10-10T14:42:54.137Z] Removing intermediate container ec99d45a9f2b [2022-10-10T14:42:54.137Z] ---> 5f0507e75837 [2022-10-10T14:42:54.137Z] Step 24/25 : LABEL git_sha=a29e63d7aa5605164e6e1c6cd07337351782d1a4 [2022-10-10T14:42:54.137Z] ---> Running in cbd63207466a [2022-10-10T14:42:54.137Z] Removing intermediate container cbd63207466a [2022-10-10T14:42:54.137Z] ---> 88e10ce3adde [2022-10-10T14:42:54.137Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T14:42:54.137Z] ---> Running in bf9e56527b92 [2022-10-10T14:42:54.137Z] Removing intermediate container bf9e56527b92 [2022-10-10T14:42:54.137Z] ---> 93a3043ee870 [2022-10-10T14:42:54.137Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T14:42:54.137Z] Successfully built 93a3043ee870 [2022-10-10T14:42:54.137Z] 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:42:54.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T14:42:54.616Z] [2022-10-10T14:42:54.616Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:42:54.954Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T14:42:54.954Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T14:42:54.954Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T14:42:54.954Z] 04944245beec: Pulling fs layer [2022-10-10T14:42:54.954Z] 699f458cf7ca: Pulling fs layer [2022-10-10T14:42:54.954Z] 765212b225bb: Pulling fs layer [2022-10-10T14:42:54.954Z] f23df028b6ca: Pulling fs layer [2022-10-10T14:42:54.954Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T14:42:54.954Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T14:42:54.954Z] f23df028b6ca: Waiting [2022-10-10T14:42:54.954Z] d65c8cfc05b1: Waiting [2022-10-10T14:42:54.954Z] 2437ff75d9bd: Waiting [2022-10-10T14:42:54.954Z] 765212b225bb: Waiting [2022-10-10T14:42:55.224Z] 04944245beec: Verifying Checksum [2022-10-10T14:42:55.224Z] 04944245beec: Download complete [2022-10-10T14:42:55.224Z] 765212b225bb: Verifying Checksum [2022-10-10T14:42:55.224Z] 765212b225bb: Download complete [2022-10-10T14:42:55.224Z] f23df028b6ca: Verifying Checksum [2022-10-10T14:42:55.224Z] f23df028b6ca: Download complete [2022-10-10T14:42:55.224Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T14:42:55.224Z] d65c8cfc05b1: Download complete [2022-10-10T14:42:55.224Z] 699f458cf7ca: Verifying Checksum [2022-10-10T14:42:55.807Z] 8998bd30e6a1: Verifying Checksum [2022-10-10T14:42:55.807Z] 8998bd30e6a1: Download complete [2022-10-10T14:42:57.751Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T14:42:57.751Z] 2437ff75d9bd: Download complete [2022-10-10T14:42:59.713Z] 8998bd30e6a1: Pull complete [2022-10-10T14:42:59.980Z] 04944245beec: Pull complete [2022-10-10T14:43:01.399Z] 699f458cf7ca: Pull complete [2022-10-10T14:43:01.399Z] 765212b225bb: Pull complete [2022-10-10T14:43:01.983Z] f23df028b6ca: Pull complete [2022-10-10T14:43:02.250Z] d65c8cfc05b1: Pull complete [2022-10-10T14:43:17.254Z] 2437ff75d9bd: Pull complete [2022-10-10T14:43:17.255Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T14:43:17.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T14:43:17.255Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:43:17.424Z] prd-ubuntu20.04-docker-arm64-4c-16g-7525 does not seem to be running inside a container [2022-10-10T14:43:17.481Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-10T14:43:20.000Z] $ docker top cfca28f66b97f753f5bf0919a31b8af01e0871fc1393e57766898d15a7dfab39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:43:20.532Z] ---> job-cost.sh [2022-10-10T14:43:20.797Z] lf-activate-venv: SKIPPING [2022-10-10T14:43:20.797Z] INFO: No Stack... [2022-10-10T14:43:21.374Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T14:43:21.950Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T14:43:22.267Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2022-10-10T14:43:22.267Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T14:43:22.568Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] [2022-10-10T14:43:22.574Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] did not exist. Created. [2022-10-10T14:43:22.574Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T14:43:22.909Z] /w/workspace/device-mqtt-go/2@tmp/durable-d76747c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T14:43:23.235Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T14:43:23.259Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T14:43:23.296Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T14:43:23.302Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T14:43:23.310Z] $ docker stop --time=1 cfca28f66b97f753f5bf0919a31b8af01e0871fc1393e57766898d15a7dfab39 [2022-10-10T14:43:24.774Z] $ docker rm -f cfca28f66b97f753f5bf0919a31b8af01e0871fc1393e57766898d15a7dfab39 [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:43:25.177Z] provisioning config files... [2022-10-10T14:43:25.186Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config8682003530173636145tmp [Pipeline] { [Pipeline] sh [2022-10-10T14:43:25.484Z] + set +x [2022-10-10T14:43:25.484Z] + curl -s https://codecov.io/bash [2022-10-10T14:43:25.484Z] + bash -s -- [2022-10-10T14:43:25.484Z] [2022-10-10T14:43:25.484Z] _____ _ [2022-10-10T14:43:25.484Z] / ____| | | [2022-10-10T14:43:25.484Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T14:43:25.484Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T14:43:25.484Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T14:43:25.484Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T14:43:25.484Z] Bash-1.0.6 [2022-10-10T14:43:25.484Z] [2022-10-10T14:43:25.484Z] [2022-10-10T14:43:25.484Z] ==> git version 2.25.1 found [2022-10-10T14:43:25.484Z] ==> 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:43:25.484Z] Release-Date: 2020-01-08 [2022-10-10T14:43:25.484Z] 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:43:25.484Z] 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:43:25.484Z] ==> Jenkins CI detected. [2022-10-10T14:43:25.484Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-10T14:43:25.484Z] project root: . [2022-10-10T14:43:25.484Z] --> token set from env [2022-10-10T14:43:25.484Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T14:43:25.484Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T14:43:25.484Z] ==> Python coveragepy not found [2022-10-10T14:43:25.484Z] ==> Searching for coverage reports in: [2022-10-10T14:43:25.484Z] + . [2022-10-10T14:43:25.484Z] -> Found 1 reports [2022-10-10T14:43:25.484Z] ==> Detecting git/mercurial file structure [2022-10-10T14:43:25.484Z] ==> Reading reports [2022-10-10T14:43:25.484Z] + ./coverage.out bytes=17887 [2022-10-10T14:43:25.484Z] ==> Appending adjustments [2022-10-10T14:43:25.484Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T14:43:25.744Z] + Found adjustments [2022-10-10T14:43:25.744Z] ==> Gzipping contents [2022-10-10T14:43:25.744Z] 4.0K /tmp/codecov.zR8O7U.gz [2022-10-10T14:43:25.744Z] ==> Uploading reports [2022-10-10T14:43:25.744Z] url: https://codecov.io [2022-10-10T14:43:25.744Z] query: branch=PR-423&commit=a29e63d7aa5605164e6e1c6cd07337351782d1a4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2022-10-10T14:43:25.744Z] -> Pinging Codecov [2022-10-10T14:43:25.744Z] 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=a29e63d7aa5605164e6e1c6cd07337351782d1a4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2022-10-10T14:43:26.004Z] -> Uploading to [2022-10-10T14:43:26.004Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/a29e63d7aa5605164e6e1c6cd07337351782d1a4/5bf8c816-135f-4405-97e7-b97e335d5e36.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T144325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=73e5d5319527daf4b22075c649805114d38db1badaaadbd6296b5eea3fc20fa7 [2022-10-10T14:43:26.004Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T14:43:26.004Z] Dload Upload Total Spent Left Speed [2022-10-10T14:43:26.263Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 10857 --:--:-- --:--:-- --:--:-- 10857 [2022-10-10T14:43:26.263Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a29e63d7aa5605164e6e1c6cd07337351782d1a4 [Pipeline] } [2022-10-10T14:43:26.270Z] 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:43:27.039Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives ] [2022-10-10T14:43:27.039Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T14:43:27.039Z] total 16 [2022-10-10T14:43:27.039Z] drwxr-xr-x 3 root root 4096 Oct 10 14:35 . [2022-10-10T14:43:27.039Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 14:35 .. [2022-10-10T14:43:27.039Z] drwxr-xr-x 2 root root 4096 Oct 10 14:35 cost [2022-10-10T14:43:27.039Z] -rw-r--r-- 1 root root 86 Oct 10 14:35 cost.csv [2022-10-10T14:43:27.039Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T14:43:27.039Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T14:43:27.039Z] total 16 [2022-10-10T14:43:27.039Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 14:35 . [2022-10-10T14:43:27.039Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 14:35 .. [2022-10-10T14:43:27.039Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 14:35 cost [2022-10-10T14:43:27.039Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 10 14:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:43:27.331Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:43:28.194Z] ---> package-listing.sh [2022-10-10T14:43:28.194Z] ++ facter osfamily [2022-10-10T14:43:28.194Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T14:43:28.194Z] + OS_FAMILY=debian [2022-10-10T14:43:28.194Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-10T14:43:28.194Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T14:43:28.194Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T14:43:28.194Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T14:43:28.194Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T14:43:28.194Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' [2022-10-10T14:43:28.194Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T14:43:28.194Z] + case "${OS_FAMILY}" in [2022-10-10T14:43:28.194Z] + dpkg -l [2022-10-10T14:43:28.194Z] + grep '^ii' [2022-10-10T14:43:28.453Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T14:43:28.453Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T14:43:28.453Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T14:43:28.453Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' [2022-10-10T14:43:28.453Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ [2022-10-10T14:43:28.453Z] + 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:43:28.466Z] 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:43:28.744Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T14:43:29.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T14:43:29.047Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T14:43:29.118Z] prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container [2022-10-10T14:43:29.162Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T14:43:29.380Z] $ docker top cf39c2cfa676ceac3d86f867d1948e56c26648ec715e1d529e9cab411255ee5e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T14:43:29.713Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T14:43:30.001Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T14:43:30.286Z] + ls /var/log/sa-host [2022-10-10T14:43:30.286Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T14:43:30.368Z] provisioning config files... [2022-10-10T14:43:30.377Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config18052057580085506503tmp [Pipeline] { [Pipeline] echo [2022-10-10T14:43:30.393Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:43:30.672Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T14:43:30.679Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:43:31.022Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T14:43:31.030Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:43:31.315Z] ---> sudo-logs.sh [2022-10-10T14:43:31.315Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T14:43:31.342Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:43:31.623Z] ---> job-cost.sh [2022-10-10T14:43:31.624Z] lf-activate-venv: SKIPPING [2022-10-10T14:43:31.624Z] DEBUG: total: 0.2199999988079071 [2022-10-10T14:43:31.624Z] INFO: Retrieving Stack Cost... [2022-10-10T14:43:32.191Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T14:43:32.451Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T14:43:32.464Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T14:43:32.757Z] ---> logs-deploy.sh [2022-10-10T14:43:32.757Z] lf-activate-venv: SKIPPING [2022-10-10T14:43:32.757Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-423/2 [2022-10-10T14:43:32.757Z] INFO: archiving workspace using pattern(s): [2022-10-10T14:43:33.699Z] Archives upload complete. [2022-10-10T14:43:33.699Z] INFO: archiving logs to Nexus