Pull request #414 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 lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 606ea677ca7ca6730308224ec77114b9f60eec0f+57f44dfb208181fe6cb075f759c071dd5c5ec6f2 (5e2221e461a4a1896978252f87ac145d2db8fe19) 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-ssh8116085405185987874.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-ssh13574384168016986777.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-414/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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8088744052940980236.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-ssh1933987679748562001.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-414/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-414/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17773474154345268880.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1406 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [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-414 # 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/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 into PR head commit 606ea677ca7ca6730308224ec77114b9f60eec0f Merge succeeded, producing 606ea677ca7ca6730308224ec77114b9f60eec0f Checking out Revision 606ea677ca7ca6730308224ec77114b9f60eec0f (PR-414) > git config core.sparsecheckout # timeout=10 > git checkout -f 606ea677ca7ca6730308224ec77114b9f60eec0f # 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 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 606ea677ca7ca6730308224ec77114b9f60eec0f # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git rev-list --no-walk 69a6e2b4fd297e99bd2cc5c8b9f21467e82d6f41 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T20:58:52.802Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T20:58:52.856Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T20:58:52.877Z] ========================================================= [2022-09-27T20:58:52.877Z] EdgeX Global Pipelines Version Info [2022-09-27T20:58:52.877Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T20:58:53.606Z] ------------------- [2022-09-27T20:58:53.606Z] stable info: [2022-09-27T20:58:53.606Z] ------------------- [2022-09-27T20:58:53.606Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T20:58:53.606Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T20:58:53.606Z] Message: update stable to v1.0.239 [2022-09-27T20:58:54.177Z] ------------------- [2022-09-27T20:58:54.177Z] experimental info: [2022-09-27T20:58:54.177Z] ------------------- [2022-09-27T20:58:54.178Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T20:58:54.178Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T20:58:54.178Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T20:58:54.347Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-09-27T20:58:54.361Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-09-27T20:58:54.372Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T20:58:54.385Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T20:58:54.397Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T20:58:54.408Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T20:58:54.422Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T20:58:54.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-27T20:58:54.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T20:58:54.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T20:58:54.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T20:58:54.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-09-27T20:58:54.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T20:58:54.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T20:58:54.523Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T20:58:54.538Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T20:58:54.555Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T20:58:54.563Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T20:58:54.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T20:58:54.585Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T20:58:54.598Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-27T20:58:54.612Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-27T20:58:54.630Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T20:58:54.645Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T20:58:54.659Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T20:58:54.669Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T20:58:54.685Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T20:58:54.702Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo [2022-09-27T20:58:54.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo [2022-09-27T20:58:54.721Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo [2022-09-27T20:58:54.732Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 606ea677ca7ca6730308224ec77114b9f60eec0f [Pipeline] echo [2022-09-27T20:58:54.743Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 606ea67 [Pipeline] echo [2022-09-27T20:58:54.755Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T20:58:54.798Z] provisioning config files... [2022-09-27T20:58:54.812Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config17668377550389658473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T20:58:55.120Z] ---> docker-login.sh [2022-09-27T20:58:55.120Z] nexus3.edgexfoundry.org:10001 [2022-09-27T20:58:55.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:55.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:55.381Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:55.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:55.381Z] [2022-09-27T20:58:55.381Z] Login Succeeded [2022-09-27T20:58:55.381Z] nexus3.edgexfoundry.org:10002 [2022-09-27T20:58:55.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:55.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:55.642Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:55.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:55.642Z] [2022-09-27T20:58:55.642Z] Login Succeeded [2022-09-27T20:58:55.642Z] nexus3.edgexfoundry.org:10003 [2022-09-27T20:58:55.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:55.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:55.642Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:55.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:55.642Z] [2022-09-27T20:58:55.642Z] Login Succeeded [2022-09-27T20:58:55.642Z] nexus3.edgexfoundry.org:10004 [2022-09-27T20:58:55.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:55.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:55.642Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:55.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:55.642Z] [2022-09-27T20:58:55.642Z] Login Succeeded [2022-09-27T20:58:55.642Z] docker.io [2022-09-27T20:58:55.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:58:56.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:58:56.162Z] Configure a credential helper to remove this warning. See [2022-09-27T20:58:56.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:58:56.162Z] [2022-09-27T20:58:56.162Z] Login Succeeded [2022-09-27T20:58:56.162Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T20:58:56.170Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T20:58:56.551Z] + git rev-list -1 --merges 606ea677ca7ca6730308224ec77114b9f60eec0f~1..606ea677ca7ca6730308224ec77114b9f60eec0f [Pipeline] echo [2022-09-27T20:58:56.580Z] -----------> git rev-list -1 --merges 606ea677ca7ca6730308224ec77114b9f60eec0f~1..606ea677ca7ca6730308224ec77114b9f60eec0f 606ea677ca7ca6730308224ec77114b9f60eec0f [false] [Pipeline] sh [2022-09-27T20:58:56.869Z] + git log --format=format:%s -1 606ea677ca7ca6730308224ec77114b9f60eec0f [Pipeline] echo [2022-09-27T20:58:56.883Z] ========================================================= [2022-09-27T20:58:56.883Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T20:58:56.883Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T20:58:57.192Z] + git log --format=format:%s -1 606ea677ca7ca6730308224ec77114b9f60eec0f [Pipeline] echo [2022-09-27T20:58:57.202Z] [semverPrep] GIT_COMMIT: 606ea677ca7ca6730308224ec77114b9f60eec0f, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo [2022-09-27T20:58:57.209Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T20:58:57.556Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T20:58:57.556Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T20:58:57.556Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T20:58:57.556Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T20:58:57.556Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-27T20:58:57.556Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T20:58:57.556Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:58:57.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T20:58:57.907Z] [2022-09-27T20:58:57.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:58:58.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T20:58:58.209Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T20:58:58.209Z] b85a868b505f: Pulling fs layer [2022-09-27T20:58:58.209Z] e2be974225ed: Pulling fs layer [2022-09-27T20:58:58.209Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T20:58:58.209Z] 988bab9f4d93: Pulling fs layer [2022-09-27T20:58:58.209Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T20:58:58.209Z] eaf3925da568: Pulling fs layer [2022-09-27T20:58:58.209Z] bab4dde63d76: Pulling fs layer [2022-09-27T20:58:58.209Z] bde34c3a00c8: Pulling fs layer [2022-09-27T20:58:58.209Z] b352a97aabf1: Pulling fs layer [2022-09-27T20:58:58.209Z] 4872d77fe225: Pulling fs layer [2022-09-27T20:58:58.209Z] 5851b861e8e6: Pulling fs layer [2022-09-27T20:58:58.209Z] eaf3925da568: Waiting [2022-09-27T20:58:58.209Z] 4872d77fe225: Waiting [2022-09-27T20:58:58.209Z] bab4dde63d76: Waiting [2022-09-27T20:58:58.209Z] bde34c3a00c8: Waiting [2022-09-27T20:58:58.209Z] b352a97aabf1: Waiting [2022-09-27T20:58:58.209Z] 988bab9f4d93: Waiting [2022-09-27T20:58:58.209Z] 1469e6f7b9e6: Waiting [2022-09-27T20:58:58.209Z] 5851b861e8e6: Waiting [2022-09-27T20:58:58.209Z] e2be974225ed: Verifying Checksum [2022-09-27T20:58:58.209Z] e2be974225ed: Download complete [2022-09-27T20:58:58.209Z] 988bab9f4d93: Download complete [2022-09-27T20:58:58.209Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T20:58:58.209Z] 1469e6f7b9e6: Download complete [2022-09-27T20:58:58.468Z] eaf3925da568: Download complete [2022-09-27T20:58:58.468Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T20:58:58.468Z] 339a4e72a1f5: Download complete [2022-09-27T20:58:58.468Z] bde34c3a00c8: Verifying Checksum [2022-09-27T20:58:58.468Z] bde34c3a00c8: Download complete [2022-09-27T20:58:58.468Z] b352a97aabf1: Verifying Checksum [2022-09-27T20:58:58.468Z] b352a97aabf1: Download complete [2022-09-27T20:58:58.468Z] 4872d77fe225: Verifying Checksum [2022-09-27T20:58:58.468Z] 4872d77fe225: Download complete [2022-09-27T20:58:58.468Z] 5851b861e8e6: Download complete [2022-09-27T20:58:58.468Z] b85a868b505f: Verifying Checksum [2022-09-27T20:58:58.468Z] b85a868b505f: Download complete [2022-09-27T20:58:58.729Z] bab4dde63d76: Verifying Checksum [2022-09-27T20:58:58.729Z] bab4dde63d76: Download complete [2022-09-27T20:58:59.666Z] b85a868b505f: Pull complete [2022-09-27T20:58:59.924Z] e2be974225ed: Pull complete [2022-09-27T20:59:00.490Z] 339a4e72a1f5: Pull complete [2022-09-27T20:59:00.490Z] 988bab9f4d93: Pull complete [2022-09-27T20:59:00.750Z] 1469e6f7b9e6: Pull complete [2022-09-27T20:59:00.750Z] eaf3925da568: Pull complete [2022-09-27T20:59:02.654Z] bab4dde63d76: Pull complete [2022-09-27T20:59:02.654Z] bde34c3a00c8: Pull complete [2022-09-27T20:59:02.914Z] b352a97aabf1: Pull complete [2022-09-27T20:59:02.914Z] 4872d77fe225: Pull complete [2022-09-27T20:59:03.174Z] 5851b861e8e6: Pull complete [2022-09-27T20:59:03.174Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T20:59:03.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T20:59:03.174Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T20:59:03.265Z] prd-ubuntu20.04-docker-8c-8g-1406 does not seem to be running inside a container [2022-09-27T20:59:03.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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-09-27T20:59:06.595Z] $ docker top 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca -eo pid,comm [2022-09-27T20:59:06.647Z] 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-09-27T20:59:06.647Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T20:59:06.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T20:59:06.670Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T20:59:06.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T20:59:06.806Z] $ docker exec 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca ssh-agent [2022-09-27T20:59:06.911Z] SSH_AUTH_SOCK=/tmp/ssh-jQEI4U2fy5C8/agent.32 [2022-09-27T20:59:06.911Z] SSH_AGENT_PID=38 [2022-09-27T20:59:06.918Z] Running ssh-add (command line suppressed) [2022-09-27T20:59:07.023Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_4742536211994428411.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_4742536211994428411.key) [2022-09-27T20:59:07.032Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T20:59:07.318Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T20:59:07.333Z] $ docker exec --env ******** --env ******** 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca ssh-agent -k [2022-09-27T20:59:07.432Z] unset SSH_AUTH_SOCK; [2022-09-27T20:59:07.432Z] unset SSH_AGENT_PID; [2022-09-27T20:59:07.432Z] echo Agent pid 38 killed; [2022-09-27T20:59:07.440Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T20:59:07.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T20:59:07.467Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T20:59:07.576Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T20:59:07.582Z] $ docker exec 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca ssh-agent [2022-09-27T20:59:07.689Z] SSH_AUTH_SOCK=/tmp/ssh-NRYsRoq2G5xW/agent.71 [2022-09-27T20:59:07.689Z] SSH_AGENT_PID=77 [2022-09-27T20:59:07.694Z] Running ssh-add (command line suppressed) [2022-09-27T20:59:07.795Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_8869701746952998618.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_8869701746952998618.key) [2022-09-27T20:59:07.806Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T20:59:08.092Z] + git semver init [2022-09-27T20:59:08.350Z] 2022-09-27 20:59:08,276 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T20:59:08.350Z] 2022-09-27 20:59:08,276 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver [2022-09-27T20:59:08.350Z] 2022-09-27 20:59:08,277 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver [2022-09-27T20:59:08.350Z] 2022-09-27 20:59:08,278 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414, universal_newlines=False, shell=None, istream=None) [2022-09-27T20:59:09.287Z] 2022-09-27 20:59:09,176 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.git/info/exclude [2022-09-27T20:59:09.287Z] 2022-09-27 20:59:09,177 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 with force:False [2022-09-27T20:59:09.287Z] 2022-09-27 20:59:09,177 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 [2022-09-27T20:59:09.287Z] 2022-09-27 20:59:09,181 [execute] INFO git cat-file --batch-check [2022-09-27T20:59:09.287Z] 2022-09-27 20:59:09,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T20:59:09.287Z] 2022-09-27 20:59:09,188 [execute] INFO git cat-file --batch [2022-09-27T20:59:09.287Z] 2022-09-27 20:59:09,189 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T20:59:09.287Z] 2022-09-27 20:59:09,195 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 [2022-09-27T20:59:09.287Z] 0.0.0 [Pipeline] } [2022-09-27T20:59:09.301Z] $ docker exec --env ******** --env ******** 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca ssh-agent -k [2022-09-27T20:59:09.395Z] unset SSH_AUTH_SOCK; [2022-09-27T20:59:09.396Z] unset SSH_AGENT_PID; [2022-09-27T20:59:09.396Z] echo Agent pid 77 killed; [2022-09-27T20:59:09.401Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T20:59:09.699Z] + git semver [Pipeline] } [2022-09-27T20:59:09.973Z] $ docker stop --time=1 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca [2022-09-27T20:59:11.280Z] $ docker rm -f 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T20:59:11.613Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T20:59:11.801Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T20:59:11.803Z] [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-09-27T20:59:11.893Z] provisioning config files... [2022-09-27T20:59:11.902Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config4688223978950806010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T20:59:12.197Z] ---> docker-login.sh [2022-09-27T20:59:12.197Z] nexus3.edgexfoundry.org:10001 [2022-09-27T20:59:12.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:59:12.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:59:12.197Z] Configure a credential helper to remove this warning. See [2022-09-27T20:59:12.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:59:12.197Z] [2022-09-27T20:59:12.197Z] Login Succeeded [2022-09-27T20:59:12.197Z] nexus3.edgexfoundry.org:10002 [2022-09-27T20:59:12.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:59:12.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:59:12.197Z] Configure a credential helper to remove this warning. See [2022-09-27T20:59:12.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:59:12.197Z] [2022-09-27T20:59:12.197Z] Login Succeeded [2022-09-27T20:59:12.197Z] nexus3.edgexfoundry.org:10003 [2022-09-27T20:59:12.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:59:12.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:59:12.456Z] Configure a credential helper to remove this warning. See [2022-09-27T20:59:12.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:59:12.456Z] [2022-09-27T20:59:12.456Z] Login Succeeded [2022-09-27T20:59:12.456Z] nexus3.edgexfoundry.org:10004 [2022-09-27T20:59:12.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:59:12.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:59:12.456Z] Configure a credential helper to remove this warning. See [2022-09-27T20:59:12.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:59:12.456Z] [2022-09-27T20:59:12.456Z] Login Succeeded [2022-09-27T20:59:12.456Z] docker.io [2022-09-27T20:59:12.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T20:59:12.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T20:59:12.976Z] Configure a credential helper to remove this warning. See [2022-09-27T20:59:12.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T20:59:12.976Z] [2022-09-27T20:59:12.976Z] Login Succeeded [2022-09-27T20:59:12.976Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T20:59:12.983Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T20:59:13.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T20:59:13.054Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T20:59:13.060Z] ========================================================= [2022-09-27T20:59:13.060Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T20:59:13.060Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:59:13.358Z] + 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-09-27T20:59:13.358Z] Sending build context to Docker daemon 6.132MB [2022-09-27T20:59:13.358Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T20:59:13.358Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T20:59:13.358Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T20:59:13.358Z] 2408cc74d12b: Pulling fs layer [2022-09-27T20:59:13.358Z] ea60b727a1ce: Pulling fs layer [2022-09-27T20:59:13.358Z] 30c4a7721957: Pulling fs layer [2022-09-27T20:59:13.358Z] 370296b7ddb6: Pulling fs layer [2022-09-27T20:59:13.358Z] 7c6cee850709: Pulling fs layer [2022-09-27T20:59:13.358Z] 370296b7ddb6: Waiting [2022-09-27T20:59:13.358Z] 7c6cee850709: Waiting [2022-09-27T20:59:13.358Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T20:59:13.358Z] d94ebbe4e438: Pulling fs layer [2022-09-27T20:59:13.358Z] 39a5fcdaea64: Waiting [2022-09-27T20:59:13.358Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T20:59:13.358Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T20:59:13.358Z] d94ebbe4e438: Waiting [2022-09-27T20:59:13.358Z] bcfd1f05c69d: Waiting [2022-09-27T20:59:13.358Z] 59ccb84bbe0f: Waiting [2022-09-27T20:59:13.358Z] 30c4a7721957: Verifying Checksum [2022-09-27T20:59:13.358Z] 30c4a7721957: Download complete [2022-09-27T20:59:13.358Z] ea60b727a1ce: Download complete [2022-09-27T20:59:13.358Z] 7c6cee850709: Verifying Checksum [2022-09-27T20:59:13.358Z] 7c6cee850709: Download complete [2022-09-27T20:59:13.618Z] 39a5fcdaea64: Download complete [2022-09-27T20:59:13.618Z] 2408cc74d12b: Verifying Checksum [2022-09-27T20:59:13.618Z] 2408cc74d12b: Download complete [2022-09-27T20:59:13.618Z] d94ebbe4e438: Verifying Checksum [2022-09-27T20:59:13.618Z] d94ebbe4e438: Download complete [2022-09-27T20:59:13.618Z] 2408cc74d12b: Pull complete [2022-09-27T20:59:13.878Z] ea60b727a1ce: Pull complete [2022-09-27T20:59:13.878Z] 30c4a7721957: Pull complete [2022-09-27T20:59:14.138Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T20:59:14.138Z] 59ccb84bbe0f: Download complete [2022-09-27T20:59:14.138Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T20:59:14.138Z] bcfd1f05c69d: Download complete [2022-09-27T20:59:14.397Z] 370296b7ddb6: Verifying Checksum [2022-09-27T20:59:14.397Z] 370296b7ddb6: Download complete [2022-09-27T20:59:18.585Z] 370296b7ddb6: Pull complete [2022-09-27T20:59:18.585Z] 7c6cee850709: Pull complete [2022-09-27T20:59:18.585Z] 39a5fcdaea64: Pull complete [2022-09-27T20:59:18.585Z] d94ebbe4e438: Pull complete [2022-09-27T20:59:19.959Z] bcfd1f05c69d: Pull complete [2022-09-27T20:59:20.895Z] 59ccb84bbe0f: Pull complete [2022-09-27T20:59:20.895Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T20:59:20.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T20:59:20.895Z] ---> a4fb48ad2a94 [2022-09-27T20:59:20.895Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-27T20:59:26.657Z] ---> Running in 50b7a05c106a [2022-09-27T20:59:26.657Z] Removing intermediate container 50b7a05c106a [2022-09-27T20:59:26.657Z] ---> 073a2f46d9b0 [2022-09-27T20:59:26.657Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T20:59:26.657Z] ---> Running in 5cba03083013 [2022-09-27T20:59:26.657Z] Removing intermediate container 5cba03083013 [2022-09-27T20:59:26.657Z] ---> 5b8315e5a62f [2022-09-27T20:59:26.657Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T20:59:26.657Z] ---> Running in 45f5941f279b [2022-09-27T20:59:26.657Z] Removing intermediate container 45f5941f279b [2022-09-27T20:59:26.657Z] ---> 380d32e9111a [2022-09-27T20:59:26.657Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T20:59:26.657Z] ---> Running in 666588b20778 [2022-09-27T20:59:26.657Z] Removing intermediate container 666588b20778 [2022-09-27T20:59:26.657Z] ---> fb47a4aedc1d [2022-09-27T20:59:26.657Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T20:59:26.657Z] ---> Running in f977d649adcd [2022-09-27T20:59:26.867Z] Still waiting to schedule task [2022-09-27T20:59:26.868Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-27T20:59:27.222Z] Removing intermediate container f977d649adcd [2022-09-27T20:59:27.222Z] ---> 2902db358f50 [2022-09-27T20:59:27.222Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T20:59:27.222Z] ---> Running in 55e9e773eb44 [2022-09-27T20:59:27.480Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T20:59:28.416Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T20:59:28.416Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T20:59:28.678Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-27T20:59:28.678Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T20:59:28.937Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T20:59:28.937Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T20:59:28.937Z] OK: 216 MiB in 55 packages [2022-09-27T20:59:29.504Z] Removing intermediate container 55e9e773eb44 [2022-09-27T20:59:29.504Z] ---> d1653ca1da3e [2022-09-27T20:59:29.504Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-09-27T20:59:29.504Z] ---> Running in 170689abaae2 [2022-09-27T20:59:29.504Z] Removing intermediate container 170689abaae2 [2022-09-27T20:59:29.504Z] ---> e25d657ca064 [2022-09-27T20:59:29.504Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T20:59:29.504Z] ---> a83a8beb166f [2022-09-27T20:59:29.504Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T20:59:29.504Z] ---> Running in 56c841c6afca [2022-09-27T20:59:51.594Z] Removing intermediate container 56c841c6afca [2022-09-27T20:59:51.594Z] ---> 4e9a4e43b668 [2022-09-27T20:59:51.594Z] Step 12/13 : COPY . . [2022-09-27T20:59:51.594Z] ---> dc3a244a674f [2022-09-27T20:59:51.594Z] Step 13/13 : RUN $MAKE [2022-09-27T20:59:51.594Z] ---> Running in 015648c93d23 [2022-09-27T20:59:51.594Z] noop [2022-09-27T20:59:51.594Z] Removing intermediate container 015648c93d23 [2022-09-27T20:59:51.594Z] ---> d9b809b603aa [2022-09-27T20:59:51.594Z] Successfully built d9b809b603aa [2022-09-27T20:59:51.594Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:59:51.897Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T20:59:51.897Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T20:59:51.961Z] prd-ubuntu20.04-docker-8c-8g-1406 does not seem to be running inside a container [2022-09-27T20:59:51.996Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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-09-27T20:59:52.355Z] $ docker top e899df58959c1e2074028217d350790bf445e721f6a54bdbf3b9b0722036c441 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T20:59:52.705Z] + go version [2022-09-27T20:59:52.706Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T20:59:52.719Z] $ docker stop --time=1 e899df58959c1e2074028217d350790bf445e721f6a54bdbf3b9b0722036c441 [2022-09-27T20:59:54.030Z] $ docker rm -f e899df58959c1e2074028217d350790bf445e721f6a54bdbf3b9b0722036c441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T20:59:54.421Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T20:59:54.421Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T20:59:54.484Z] prd-ubuntu20.04-docker-8c-8g-1406 does not seem to be running inside a container [2022-09-27T20:59:54.513Z] $ 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-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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-09-27T20:59:54.841Z] $ docker top f3800d531ae846c369bbef246bb851c3762746f852ba5efd833b32b4d0ca01d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T20:59:55.171Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] fileExists [Pipeline] sh [2022-09-27T20:59:55.463Z] + make test [2022-09-27T20:59:55.463Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T20:59:55.728Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-09-27T21:00:05.693Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-09-27T21:00:06.261Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-09-27T21:00:06.261Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-09-27T21:00:12.823Z] 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-09-27T21:00:13.081Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T21:00:16.363Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T21:00:16.363Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T21:00:16.363Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T21:00:16.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T21:00:16.387Z] $ docker stop --time=1 f3800d531ae846c369bbef246bb851c3762746f852ba5efd833b32b4d0ca01d1 [2022-09-27T21:00:19.797Z] $ docker rm -f f3800d531ae846c369bbef246bb851c3762746f852ba5efd833b32b4d0ca01d1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T21:00:20.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T21:00:20.292Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T21:00:20.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T21:00:20.972Z] + ls -al . [2022-09-27T21:00:20.972Z] total 184 [2022-09-27T21:00:20.972Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 20:59 . [2022-09-27T21:00:20.972Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:58 .. [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 20:58 .dockerignore [2022-09-27T21:00:20.972Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:00 .git [2022-09-27T21:00:20.972Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:58 .github [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 20:58 .gitignore [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 20:58 .golangci.yml [2022-09-27T21:00:20.972Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 20:59 .semver [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 9293 Sep 27 20:58 Attribution.txt [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 11365 Sep 27 20:58 CHANGELOG.md [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 1988 Sep 27 20:58 Dockerfile [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 20:58 GOVERNANCE.md [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 27 20:58 Jenkinsfile [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 20:58 LICENSE [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 2126 Sep 27 20:58 Makefile [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 20:58 OWNERS.md [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 3165 Sep 27 20:58 README.md [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:59 VERSION [2022-09-27T21:00:20.972Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:58 bin [2022-09-27T21:00:20.972Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:58 cmd [2022-09-27T21:00:20.972Z] -rw-r--r-- 1 jenkins jenkins 17887 Sep 27 21:00 coverage.out [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 3523 Sep 27 20:58 go.mod [2022-09-27T21:00:20.972Z] -rw-rw-r-- 1 jenkins jenkins 37945 Sep 27 20:58 go.sum [2022-09-27T21:00:20.973Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:58 internal [2022-09-27T21:00:20.973Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:58 mock [2022-09-27T21:00:20.973Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:58 snap [2022-09-27T21:00:20.973Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 27 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:00:21.271Z] + 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=606ea677ca7ca6730308224ec77114b9f60eec0f --label arch=amd64 --label version=0.0.0 . [2022-09-27T21:00:21.271Z] Sending build context to Docker daemon 6.15MB [2022-09-27T21:00:21.271Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T21:00:21.271Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T21:00:21.271Z] ---> d9b809b603aa [2022-09-27T21:00:21.271Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-09-27T21:00:21.531Z] ---> Running in 673d850fedac [2022-09-27T21:00:21.789Z] Removing intermediate container 673d850fedac [2022-09-27T21:00:21.789Z] ---> 84ec1e1ea766 [2022-09-27T21:00:21.789Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T21:00:21.789Z] ---> Running in 8703df7c34af [2022-09-27T21:00:21.789Z] Removing intermediate container 8703df7c34af [2022-09-27T21:00:21.789Z] ---> 3677291922f8 [2022-09-27T21:00:21.789Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T21:00:21.789Z] ---> Running in 5e704cc7df57 [2022-09-27T21:00:21.789Z] Removing intermediate container 5e704cc7df57 [2022-09-27T21:00:21.789Z] ---> 5971d1fde7e2 [2022-09-27T21:00:21.789Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T21:00:21.789Z] ---> Running in 42b1fefed312 [2022-09-27T21:00:22.047Z] Removing intermediate container 42b1fefed312 [2022-09-27T21:00:22.047Z] ---> 97b3d0aa494e [2022-09-27T21:00:22.047Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:00:22.047Z] ---> Running in a86599f98cf1 [2022-09-27T21:00:22.614Z] Removing intermediate container a86599f98cf1 [2022-09-27T21:00:22.614Z] ---> fe4549a4a496 [2022-09-27T21:00:22.614Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T21:00:22.614Z] ---> Running in 8ccff6da71ef [2022-09-27T21:00:22.873Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T21:00:23.807Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T21:00:24.066Z] OK: 216 MiB in 55 packages [2022-09-27T21:00:24.325Z] Removing intermediate container 8ccff6da71ef [2022-09-27T21:00:24.325Z] ---> 2a68efa99bb1 [2022-09-27T21:00:24.325Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-09-27T21:00:24.325Z] ---> Running in b8c0e540eb7e [2022-09-27T21:00:24.325Z] Removing intermediate container b8c0e540eb7e [2022-09-27T21:00:24.325Z] ---> 8b85b35a7adb [2022-09-27T21:00:24.325Z] Step 10/25 : COPY go.mod vendor* ./ [2022-09-27T21:00:24.583Z] ---> ccc4c1cc1f81 [2022-09-27T21:00:24.583Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T21:00:24.583Z] ---> Running in a746c7ffc2fa [2022-09-27T21:00:25.150Z] Removing intermediate container a746c7ffc2fa [2022-09-27T21:00:25.150Z] ---> efed63468d75 [2022-09-27T21:00:25.150Z] Step 12/25 : COPY . . [2022-09-27T21:00:25.408Z] ---> b84e5f1bd6d6 [2022-09-27T21:00:25.408Z] Step 13/25 : RUN $MAKE [2022-09-27T21:00:25.408Z] ---> Running in aaabd7d70c89 [2022-09-27T21:00:25.664Z] 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-09-27T21:00:47.580Z] Removing intermediate container aaabd7d70c89 [2022-09-27T21:00:47.580Z] ---> 3ce52b16ce82 [2022-09-27T21:00:47.580Z] Step 14/25 : FROM alpine:3.16 [2022-09-27T21:00:47.839Z] 3.16: Pulling from library/alpine [2022-09-27T21:00:47.839Z] 213ec9aee27d: Pulling fs layer [2022-09-27T21:00:48.098Z] 213ec9aee27d: Verifying Checksum [2022-09-27T21:00:48.098Z] 213ec9aee27d: Download complete [2022-09-27T21:00:48.356Z] 213ec9aee27d: Pull complete [2022-09-27T21:00:48.356Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T21:00:48.356Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T21:00:48.356Z] ---> 9c6f07244728 [2022-09-27T21:00:48.356Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-09-27T21:00:48.356Z] ---> Running in 18bec1f08fa3 [2022-09-27T21:00:48.615Z] Removing intermediate container 18bec1f08fa3 [2022-09-27T21:00:48.615Z] ---> 8532cdb0b1bc [2022-09-27T21:00:48.615Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T21:00:48.615Z] ---> Running in 6b8e3542a0d8 [2022-09-27T21:00:48.874Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T21:00:48.874Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T21:00:49.133Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T21:00:49.133Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T21:00:49.133Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T21:00:49.133Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T21:00:49.392Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T21:00:49.392Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T21:00:49.392Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T21:00:49.392Z] OK: 8 MiB in 20 packages [2022-09-27T21:00:49.650Z] Removing intermediate container 6b8e3542a0d8 [2022-09-27T21:00:49.650Z] ---> 81aefc620119 [2022-09-27T21:00:49.650Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-09-27T21:00:50.623Z] ---> b00dcac3c7e4 [2022-09-27T21:00:50.623Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-09-27T21:00:50.623Z] ---> ba828ef4d138 [2022-09-27T21:00:50.623Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-09-27T21:00:50.623Z] ---> 5ec6f1443082 [2022-09-27T21:00:50.623Z] Step 20/25 : EXPOSE 59982 [2022-09-27T21:00:50.623Z] ---> Running in 0e00a187e41b [2022-09-27T21:00:50.623Z] Removing intermediate container 0e00a187e41b [2022-09-27T21:00:50.623Z] ---> e4649127d942 [2022-09-27T21:00:50.623Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-09-27T21:00:50.623Z] ---> Running in baf81bb1ae28 [2022-09-27T21:00:50.882Z] Removing intermediate container baf81bb1ae28 [2022-09-27T21:00:50.882Z] ---> 37dc235b61d3 [2022-09-27T21:00:50.882Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T21:00:50.882Z] ---> Running in 6a2db27a263d [2022-09-27T21:00:50.882Z] Removing intermediate container 6a2db27a263d [2022-09-27T21:00:50.882Z] ---> 0b9cb17aa2a5 [2022-09-27T21:00:50.882Z] Step 23/25 : LABEL arch=amd64 [2022-09-27T21:00:50.882Z] ---> Running in 1f87e0a7c186 [2022-09-27T21:00:50.882Z] Removing intermediate container 1f87e0a7c186 [2022-09-27T21:00:50.882Z] ---> e4129e9b5edd [2022-09-27T21:00:50.882Z] Step 24/25 : LABEL git_sha=606ea677ca7ca6730308224ec77114b9f60eec0f [2022-09-27T21:00:50.882Z] ---> Running in 1f0492daaa67 [2022-09-27T21:00:51.141Z] Removing intermediate container 1f0492daaa67 [2022-09-27T21:00:51.141Z] ---> 1b5769bd0567 [2022-09-27T21:00:51.141Z] Step 25/25 : LABEL version=0.0.0 [2022-09-27T21:00:51.141Z] ---> Running in d4de992c0470 [2022-09-27T21:00:51.141Z] Removing intermediate container d4de992c0470 [2022-09-27T21:00:51.141Z] ---> db08a839e7c5 [2022-09-27T21:00:51.141Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T21:00:51.141Z] Successfully built db08a839e7c5 [2022-09-27T21:00:51.141Z] 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-09-27T21:00:51.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:00:51.552Z] [2022-09-27T21:00:51.552Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:00:51.844Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:00:51.844Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T21:00:51.844Z] 5eb5b503b376: Pulling fs layer [2022-09-27T21:00:51.844Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T21:00:51.844Z] ec43610c2a17: Pulling fs layer [2022-09-27T21:00:51.844Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T21:00:51.844Z] 33b1e0a273af: Pulling fs layer [2022-09-27T21:00:51.844Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T21:00:51.844Z] 2f39f015ded8: Pulling fs layer [2022-09-27T21:00:51.844Z] 3a2ae6a8a46f: Waiting [2022-09-27T21:00:51.844Z] 33b1e0a273af: Waiting [2022-09-27T21:00:51.844Z] 5d3b04190fa2: Waiting [2022-09-27T21:00:51.844Z] 2f39f015ded8: Waiting [2022-09-27T21:00:51.844Z] 5c69ac0246d0: Download complete [2022-09-27T21:00:51.844Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T21:00:51.844Z] 3a2ae6a8a46f: Download complete [2022-09-27T21:00:52.103Z] 33b1e0a273af: Verifying Checksum [2022-09-27T21:00:52.103Z] 33b1e0a273af: Download complete [2022-09-27T21:00:52.103Z] ec43610c2a17: Verifying Checksum [2022-09-27T21:00:52.103Z] ec43610c2a17: Download complete [2022-09-27T21:00:52.103Z] 5d3b04190fa2: Download complete [2022-09-27T21:00:52.103Z] 5eb5b503b376: Verifying Checksum [2022-09-27T21:00:52.103Z] 5eb5b503b376: Download complete [2022-09-27T21:00:52.671Z] 2f39f015ded8: Download complete [2022-09-27T21:00:53.239Z] 5eb5b503b376: Pull complete [2022-09-27T21:00:53.498Z] 5c69ac0246d0: Pull complete [2022-09-27T21:00:53.758Z] ec43610c2a17: Pull complete [2022-09-27T21:00:53.758Z] 3a2ae6a8a46f: Pull complete [2022-09-27T21:00:54.017Z] 33b1e0a273af: Pull complete [2022-09-27T21:00:54.017Z] 5d3b04190fa2: Pull complete [2022-09-27T21:00:58.202Z] 2f39f015ded8: Pull complete [2022-09-27T21:00:58.202Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T21:00:58.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:00:58.202Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:00:58.269Z] prd-ubuntu20.04-docker-8c-8g-1406 does not seem to be running inside a container [2022-09-27T21:00:58.301Z] $ 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-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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-09-27T21:01:02.229Z] $ docker top 703105ede2a3e8ea7155989394cfe64c566fccb6689f1df621753b8ad381da3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:01:02.594Z] ---> job-cost.sh [2022-09-27T21:01:02.594Z] lf-activate-venv: SKIPPING [2022-09-27T21:01:02.594Z] INFO: No Stack... [2022-09-27T21:01:02.852Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T21:01:03.418Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T21:01:03.704Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/cost.csv [2022-09-27T21:01:03.704Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T21:01:03.717Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] [2022-09-27T21:01:03.726Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] did not exist. Created. [2022-09-27T21:01:03.726Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T21:01:04.022Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T21:01:04.051Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T21:01:04.057Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T21:01:04.073Z] $ docker stop --time=1 703105ede2a3e8ea7155989394cfe64c566fccb6689f1df621753b8ad381da3f [2022-09-27T21:01:05.233Z] $ docker rm -f 703105ede2a3e8ea7155989394cfe64c566fccb6689f1df621753b8ad381da3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T21:02:15.629Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1409 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] { [Pipeline] ws [2022-09-27T21:02:15.642Z] Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout [2022-09-27T21:02:15.681Z] Selected Git installation does not exist. Using Default [2022-09-27T21:02:15.681Z] The recommended git tool is: NONE [2022-09-27T21:02:21.540Z] using credential edgex-jenkins-ssh [2022-09-27T21:02:21.556Z] Cloning the remote Git repository [2022-09-27T21:02:21.605Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-27T21:02:21.684Z] > git init /w/workspace/device-mqtt-go/5 # timeout=10 [2022-09-27T21:02:21.854Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-27T21:02:21.855Z] > git --version # timeout=10 [2022-09-27T21:02:21.881Z] > git --version # 'git version 2.25.1' [2022-09-27T21:02:21.884Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T21:02:21.943Z] Verifying host key using known hosts file [2022-09-27T21:02:22.176Z] 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-09-27T21:02:22.192Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T21:02:23.488Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-09-27T21:02:23.520Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T21:02:24.459Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-09-27T21:02:24.505Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-27T21:02:24.507Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T21:02:24.513Z] Verifying host key using known hosts file [2022-09-27T21:02:24.521Z] 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-09-27T21:02:24.537Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T21:02:25.169Z] Merging remotes/origin/main commit 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 into PR head commit 606ea677ca7ca6730308224ec77114b9f60eec0f [2022-09-27T21:02:25.457Z] Merge succeeded, producing 606ea677ca7ca6730308224ec77114b9f60eec0f [2022-09-27T21:02:25.457Z] Checking out Revision 606ea677ca7ca6730308224ec77114b9f60eec0f (PR-414) [2022-09-27T21:02:25.191Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T21:02:25.222Z] > git checkout -f 606ea677ca7ca6730308224ec77114b9f60eec0f # timeout=10 [2022-09-27T21:02:25.339Z] > git remote # timeout=10 [2022-09-27T21:02:25.359Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T21:02:25.380Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T21:02:25.386Z] Verifying host key using known hosts file [2022-09-27T21:02:25.393Z] 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-09-27T21:02:25.406Z] > git merge 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 # timeout=10 [2022-09-27T21:02:25.434Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T21:02:25.465Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T21:02:25.483Z] > git checkout -f 606ea677ca7ca6730308224ec77114b9f60eec0f # timeout=10 [2022-09-27T21:02:29.012Z] Commit message: "build: Add option to build Service with NATS Capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T21:02:29.861Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T21:02:29.861Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T21:02:29.861Z] Dload Upload Total Spent Left Speed [2022-09-27T21:02:29.861Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 201k 0 --:--:-- --:--:-- --:--:-- 205k [Pipeline] sh [2022-09-27T21:02:30.584Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T21:02:30.921Z] + sudo tee /etc/docker/daemon.new [2022-09-27T21:02:30.921Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T21:02:30.921Z] { [2022-09-27T21:02:30.921Z] "registry-mirrors": [ [2022-09-27T21:02:30.921Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T21:02:30.921Z] ], [2022-09-27T21:02:30.921Z] "bip": "10.250.0.254/24", [2022-09-27T21:02:30.921Z] "hosts": [ [2022-09-27T21:02:30.921Z] "tcp://0.0.0.0:5555", [2022-09-27T21:02:30.921Z] "unix:///var/run/docker.sock" [2022-09-27T21:02:30.921Z] ], [2022-09-27T21:02:30.921Z] "mtu": 1458, [2022-09-27T21:02:30.921Z] "selinux-enabled": true, [2022-09-27T21:02:30.921Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T21:02:30.921Z] } [Pipeline] sh [2022-09-27T21:02:31.254Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T21:02:31.597Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T21:02:49.887Z] provisioning config files... [2022-09-27T21:02:49.915Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config331290760379504732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:02:50.267Z] ---> docker-login.sh [2022-09-27T21:02:50.267Z] nexus3.edgexfoundry.org:10001 [2022-09-27T21:02:50.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:02:50.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:02:50.857Z] Configure a credential helper to remove this warning. See [2022-09-27T21:02:50.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:02:50.857Z] [2022-09-27T21:02:50.857Z] Login Succeeded [2022-09-27T21:02:50.857Z] nexus3.edgexfoundry.org:10002 [2022-09-27T21:02:51.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:02:51.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:02:51.396Z] Configure a credential helper to remove this warning. See [2022-09-27T21:02:51.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:02:51.396Z] [2022-09-27T21:02:51.396Z] Login Succeeded [2022-09-27T21:02:51.396Z] nexus3.edgexfoundry.org:10003 [2022-09-27T21:02:51.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:02:51.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:02:51.669Z] Configure a credential helper to remove this warning. See [2022-09-27T21:02:51.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:02:51.669Z] [2022-09-27T21:02:51.669Z] Login Succeeded [2022-09-27T21:02:51.669Z] nexus3.edgexfoundry.org:10004 [2022-09-27T21:02:51.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:02:51.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:02:51.939Z] Configure a credential helper to remove this warning. See [2022-09-27T21:02:51.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:02:51.939Z] [2022-09-27T21:02:51.939Z] Login Succeeded [2022-09-27T21:02:51.939Z] docker.io [2022-09-27T21:02:52.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T21:02:52.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T21:02:52.802Z] Configure a credential helper to remove this warning. See [2022-09-27T21:02:52.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T21:02:52.802Z] [2022-09-27T21:02:52.802Z] Login Succeeded [2022-09-27T21:02:52.802Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T21:02:52.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T21:02:52.984Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T21:02:52.995Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T21:02:53.002Z] ========================================================= [2022-09-27T21:02:53.002Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T21:02:53.002Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:02:53.346Z] + 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-09-27T21:02:53.618Z] Sending build context to Docker daemon 3.176MB [2022-09-27T21:02:53.618Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T21:02:53.618Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T21:02:53.892Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T21:02:53.892Z] b3c136eddcbf: Pulling fs layer [2022-09-27T21:02:53.892Z] c0a3192eca97: Pulling fs layer [2022-09-27T21:02:53.892Z] a050256f5b6f: Pulling fs layer [2022-09-27T21:02:53.892Z] 656be50a0ddc: Pulling fs layer [2022-09-27T21:02:53.892Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T21:02:53.892Z] 46d945488cbd: Pulling fs layer [2022-09-27T21:02:53.892Z] 8a5474983e97: Pulling fs layer [2022-09-27T21:02:53.892Z] 329c88fbcd65: Pulling fs layer [2022-09-27T21:02:53.892Z] 2bbca73fdf42: Waiting [2022-09-27T21:02:53.892Z] 46d945488cbd: Waiting [2022-09-27T21:02:53.892Z] 8a5474983e97: Waiting [2022-09-27T21:02:53.892Z] 656be50a0ddc: Waiting [2022-09-27T21:02:53.892Z] 329c88fbcd65: Waiting [2022-09-27T21:02:53.892Z] a050256f5b6f: Verifying Checksum [2022-09-27T21:02:53.892Z] a050256f5b6f: Download complete [2022-09-27T21:02:53.892Z] c0a3192eca97: Verifying Checksum [2022-09-27T21:02:53.892Z] c0a3192eca97: Download complete [2022-09-27T21:02:53.892Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T21:02:53.892Z] 2bbca73fdf42: Download complete [2022-09-27T21:02:53.892Z] 46d945488cbd: Verifying Checksum [2022-09-27T21:02:53.892Z] 46d945488cbd: Download complete [2022-09-27T21:02:53.892Z] b3c136eddcbf: Verifying Checksum [2022-09-27T21:02:53.892Z] b3c136eddcbf: Download complete [2022-09-27T21:02:54.876Z] b3c136eddcbf: Pull complete [2022-09-27T21:02:55.157Z] 329c88fbcd65: Verifying Checksum [2022-09-27T21:02:55.157Z] 329c88fbcd65: Download complete [2022-09-27T21:02:55.427Z] c0a3192eca97: Pull complete [2022-09-27T21:02:55.700Z] a050256f5b6f: Pull complete [2022-09-27T21:02:56.297Z] 8a5474983e97: Verifying Checksum [2022-09-27T21:02:56.297Z] 8a5474983e97: Download complete [2022-09-27T21:02:56.887Z] 656be50a0ddc: Verifying Checksum [2022-09-27T21:02:56.887Z] 656be50a0ddc: Download complete [2022-09-27T21:03:09.227Z] 656be50a0ddc: Pull complete [2022-09-27T21:03:09.227Z] 2bbca73fdf42: Pull complete [2022-09-27T21:03:09.227Z] 46d945488cbd: Pull complete [2022-09-27T21:03:14.577Z] 8a5474983e97: Pull complete [2022-09-27T21:03:16.526Z] 329c88fbcd65: Pull complete [2022-09-27T21:03:16.526Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T21:03:16.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T21:03:16.526Z] ---> ff4287adb874 [2022-09-27T21:03:16.526Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-27T21:03:18.483Z] ---> Running in 5ee210153e44 [2022-09-27T21:03:18.483Z] Removing intermediate container 5ee210153e44 [2022-09-27T21:03:18.483Z] ---> 4bc6f441ecb5 [2022-09-27T21:03:18.483Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T21:03:18.750Z] ---> Running in c10c9b171149 [2022-09-27T21:03:19.018Z] Removing intermediate container c10c9b171149 [2022-09-27T21:03:19.018Z] ---> d74b2a63a226 [2022-09-27T21:03:19.018Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T21:03:19.018Z] ---> Running in c5ec5dbe883d [2022-09-27T21:03:19.293Z] Removing intermediate container c5ec5dbe883d [2022-09-27T21:03:19.293Z] ---> b517c3f237a4 [2022-09-27T21:03:19.293Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T21:03:19.293Z] ---> Running in b43863baff92 [2022-09-27T21:03:19.880Z] Removing intermediate container b43863baff92 [2022-09-27T21:03:19.880Z] ---> e9fc9ded6c40 [2022-09-27T21:03:19.880Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:03:19.880Z] ---> Running in 2eb97d218442 [2022-09-27T21:03:21.830Z] Removing intermediate container 2eb97d218442 [2022-09-27T21:03:21.830Z] ---> efa931acbf66 [2022-09-27T21:03:21.830Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T21:03:21.830Z] ---> Running in c5caa1cb9050 [2022-09-27T21:03:22.792Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:03:23.756Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:03:24.724Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-27T21:03:24.724Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-27T21:03:24.724Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-27T21:03:25.000Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-27T21:03:25.001Z] Executing busybox-1.35.0-r13.trigger [2022-09-27T21:03:25.001Z] OK: 226 MiB in 55 packages [2022-09-27T21:03:25.978Z] Removing intermediate container c5caa1cb9050 [2022-09-27T21:03:25.978Z] ---> b8e4bb5ee9f0 [2022-09-27T21:03:25.978Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-09-27T21:03:26.248Z] ---> Running in 29192f086282 [2022-09-27T21:03:26.517Z] Removing intermediate container 29192f086282 [2022-09-27T21:03:26.517Z] ---> d560b19ba696 [2022-09-27T21:03:26.517Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T21:03:27.108Z] ---> e5ff5f8e99c3 [2022-09-27T21:03:27.108Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T21:03:27.108Z] ---> Running in 6503f8cbca56 [2022-09-27T21:04:23.555Z] Removing intermediate container 6503f8cbca56 [2022-09-27T21:04:23.555Z] ---> 46efee072401 [2022-09-27T21:04:23.555Z] Step 12/13 : COPY . . [2022-09-27T21:04:23.555Z] ---> f08f2b09a72d [2022-09-27T21:04:23.555Z] Step 13/13 : RUN $MAKE [2022-09-27T21:04:23.555Z] ---> Running in 7ca262a08c24 [2022-09-27T21:04:23.555Z] noop [2022-09-27T21:04:23.555Z] Removing intermediate container 7ca262a08c24 [2022-09-27T21:04:23.555Z] ---> bfc8024b8efa [2022-09-27T21:04:23.555Z] Successfully built bfc8024b8efa [2022-09-27T21:04:23.555Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:04:23.912Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T21:04:23.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:04:24.096Z] prd-ubuntu20.04-docker-arm64-4c-16g-1409 does not seem to be running inside a container [2022-09-27T21:04:24.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** ci-base-image-arm64 cat [2022-09-27T21:04:25.462Z] $ docker top 9e7ce794821db3db74e1edc0d9b54d581d545c69f1291d73e34e7d96cf9fa67a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:04:26.316Z] + go version [2022-09-27T21:04:26.316Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T21:04:26.340Z] $ docker stop --time=1 9e7ce794821db3db74e1edc0d9b54d581d545c69f1291d73e34e7d96cf9fa67a [2022-09-27T21:04:27.994Z] $ docker rm -f 9e7ce794821db3db74e1edc0d9b54d581d545c69f1291d73e34e7d96cf9fa67a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:04:28.542Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T21:04:28.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:04:28.709Z] prd-ubuntu20.04-docker-arm64-4c-16g-1409 does not seem to be running inside a container [2022-09-27T21:04:28.776Z] $ 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/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 ******** ci-base-image-arm64 cat [2022-09-27T21:04:29.967Z] $ docker top a8672e096b24183c85816420f4ad3981f31b8f6d933572158e91ee8a228a0725 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:04:30.825Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/5 [Pipeline] fileExists [Pipeline] sh [2022-09-27T21:04:31.157Z] + make test [2022-09-27T21:04:31.157Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T21:04:33.109Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-09-27T21:06:09.810Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-09-27T21:06:09.810Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements [2022-09-27T21:06:09.810Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-09-27T21:06:09.810Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T21:06:09.810Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T21:06:28.042Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T21:06:28.042Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T21:06:28.042Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T21:06:28.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T21:06:28.078Z] $ docker stop --time=1 a8672e096b24183c85816420f4ad3981f31b8f6d933572158e91ee8a228a0725 [2022-09-27T21:06:30.023Z] $ docker rm -f a8672e096b24183c85816420f4ad3981f31b8f6d933572158e91ee8a228a0725 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T21:06:30.984Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T21:06:31.011Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T21:06:31.439Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T21:06:31.850Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T21:06:32.187Z] + ls -al . [2022-09-27T21:06:32.187Z] total 180 [2022-09-27T21:06:32.187Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 21:04 . [2022-09-27T21:06:32.187Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:02 .. [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 21:02 .dockerignore [2022-09-27T21:06:32.187Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:02 .git [2022-09-27T21:06:32.187Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:02 .github [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 21:02 .gitignore [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:02 .golangci.yml [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 9293 Sep 27 21:02 Attribution.txt [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 11365 Sep 27 21:02 CHANGELOG.md [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 1988 Sep 27 21:02 Dockerfile [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:02 GOVERNANCE.md [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 27 21:02 Jenkinsfile [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:02 LICENSE [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 2126 Sep 27 21:02 Makefile [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 21:02 OWNERS.md [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 3165 Sep 27 21:02 README.md [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:59 VERSION [2022-09-27T21:06:32.187Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:02 bin [2022-09-27T21:06:32.187Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:02 cmd [2022-09-27T21:06:32.187Z] -rw-r--r-- 1 jenkins jenkins 17887 Sep 27 21:06 coverage.out [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 3523 Sep 27 21:02 go.mod [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 37945 Sep 27 21:02 go.sum [2022-09-27T21:06:32.187Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:02 internal [2022-09-27T21:06:32.187Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:02 mock [2022-09-27T21:06:32.187Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:02 snap [2022-09-27T21:06:32.187Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 27 21:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:06:32.533Z] + 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=606ea677ca7ca6730308224ec77114b9f60eec0f --label arch=arm64 --label version=0.0.0 . [2022-09-27T21:06:33.493Z] Sending build context to Docker daemon 3.194MB [2022-09-27T21:06:33.493Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T21:06:33.493Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T21:06:33.493Z] ---> bfc8024b8efa [2022-09-27T21:06:33.493Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-09-27T21:06:33.763Z] ---> Running in fd2a4e0b8285 [2022-09-27T21:06:34.031Z] Removing intermediate container fd2a4e0b8285 [2022-09-27T21:06:34.031Z] ---> bd1e4d4b35e4 [2022-09-27T21:06:34.031Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-27T21:06:34.031Z] ---> Running in a114672c08f4 [2022-09-27T21:06:34.299Z] Removing intermediate container a114672c08f4 [2022-09-27T21:06:34.299Z] ---> 8ca159fdf183 [2022-09-27T21:06:34.299Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T21:06:34.582Z] ---> Running in ef4fe1f65796 [2022-09-27T21:06:34.853Z] Removing intermediate container ef4fe1f65796 [2022-09-27T21:06:34.853Z] ---> 599464e51b04 [2022-09-27T21:06:34.853Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T21:06:34.853Z] ---> Running in c1c622c9e7ad [2022-09-27T21:06:35.440Z] Removing intermediate container c1c622c9e7ad [2022-09-27T21:06:35.440Z] ---> dd59a31f0f19 [2022-09-27T21:06:35.440Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T21:06:35.440Z] ---> Running in a1bcc6e677a7 [2022-09-27T21:06:37.392Z] Removing intermediate container a1bcc6e677a7 [2022-09-27T21:06:37.392Z] ---> 92fe0b9d9479 [2022-09-27T21:06:37.392Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T21:06:37.392Z] ---> Running in faec0084726d [2022-09-27T21:06:38.353Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:06:39.315Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:06:40.288Z] OK: 226 MiB in 55 packages [2022-09-27T21:06:41.255Z] Removing intermediate container faec0084726d [2022-09-27T21:06:41.255Z] ---> 8031a9589212 [2022-09-27T21:06:41.255Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-09-27T21:06:41.255Z] ---> Running in b6b6b068cdcf [2022-09-27T21:06:41.524Z] Removing intermediate container b6b6b068cdcf [2022-09-27T21:06:41.524Z] ---> 7cd51f7e3ead [2022-09-27T21:06:41.524Z] Step 10/25 : COPY go.mod vendor* ./ [2022-09-27T21:06:42.117Z] ---> d8fd6dc6a337 [2022-09-27T21:06:42.117Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T21:06:42.117Z] ---> Running in fef1aeeb70a7 [2022-09-27T21:06:44.705Z] Removing intermediate container fef1aeeb70a7 [2022-09-27T21:06:44.706Z] ---> 09ddb975a5d3 [2022-09-27T21:06:44.706Z] Step 12/25 : COPY . . [2022-09-27T21:06:45.676Z] ---> 506e85d78066 [2022-09-27T21:06:45.676Z] Step 13/25 : RUN $MAKE [2022-09-27T21:06:45.676Z] ---> Running in ab77f487732b [2022-09-27T21:06:47.796Z] 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-09-27T21:09:24.679Z] Removing intermediate container ab77f487732b [2022-09-27T21:09:24.679Z] ---> cb15a48c0fa8 [2022-09-27T21:09:24.679Z] Step 14/25 : FROM alpine:3.16 [2022-09-27T21:09:24.679Z] 3.16: Pulling from library/alpine [2022-09-27T21:09:24.679Z] 9b18e9b68314: Pulling fs layer [2022-09-27T21:09:24.679Z] 9b18e9b68314: Verifying Checksum [2022-09-27T21:09:24.679Z] 9b18e9b68314: Download complete [2022-09-27T21:09:24.679Z] 9b18e9b68314: Pull complete [2022-09-27T21:09:24.679Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T21:09:24.679Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T21:09:24.679Z] ---> a6215f271958 [2022-09-27T21:09:24.679Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-09-27T21:09:24.679Z] ---> Running in ef18964f8318 [2022-09-27T21:09:24.679Z] Removing intermediate container ef18964f8318 [2022-09-27T21:09:24.679Z] ---> 6b1e27ec9a51 [2022-09-27T21:09:24.679Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T21:09:24.679Z] ---> Running in eb75355bc5a7 [2022-09-27T21:09:24.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T21:09:24.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T21:09:24.679Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T21:09:24.679Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T21:09:24.679Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T21:09:24.679Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T21:09:24.679Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T21:09:24.679Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T21:09:24.679Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T21:09:24.679Z] OK: 8 MiB in 20 packages [2022-09-27T21:09:24.679Z] Removing intermediate container eb75355bc5a7 [2022-09-27T21:09:24.679Z] ---> 3c29f1f540e5 [2022-09-27T21:09:24.679Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-09-27T21:09:24.679Z] ---> 8dc117b3b9e5 [2022-09-27T21:09:24.679Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-09-27T21:09:24.679Z] ---> 5ed502a0436b [2022-09-27T21:09:24.679Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-09-27T21:09:24.679Z] ---> ca5f335ea3b1 [2022-09-27T21:09:24.679Z] Step 20/25 : EXPOSE 59982 [2022-09-27T21:09:24.679Z] ---> Running in 82a10d826b25 [2022-09-27T21:09:24.679Z] Removing intermediate container 82a10d826b25 [2022-09-27T21:09:24.679Z] ---> a33c7b789b02 [2022-09-27T21:09:24.679Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-09-27T21:09:24.679Z] ---> Running in 408a1b4a2add [2022-09-27T21:09:24.679Z] Removing intermediate container 408a1b4a2add [2022-09-27T21:09:24.679Z] ---> 6a81af06dbd3 [2022-09-27T21:09:24.679Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T21:09:24.679Z] ---> Running in 81c7b759914d [2022-09-27T21:09:24.679Z] Removing intermediate container 81c7b759914d [2022-09-27T21:09:24.679Z] ---> db27ad655287 [2022-09-27T21:09:24.679Z] Step 23/25 : LABEL arch=arm64 [2022-09-27T21:09:24.679Z] ---> Running in 2eb0f9911582 [2022-09-27T21:09:24.679Z] Removing intermediate container 2eb0f9911582 [2022-09-27T21:09:24.679Z] ---> 99488dd96dff [2022-09-27T21:09:24.679Z] Step 24/25 : LABEL git_sha=606ea677ca7ca6730308224ec77114b9f60eec0f [2022-09-27T21:09:24.679Z] ---> Running in 88793c173796 [2022-09-27T21:09:24.946Z] Removing intermediate container 88793c173796 [2022-09-27T21:09:24.946Z] ---> 20d3989a7e73 [2022-09-27T21:09:24.946Z] Step 25/25 : LABEL version=0.0.0 [2022-09-27T21:09:24.946Z] ---> Running in 98ec3f261965 [2022-09-27T21:09:25.213Z] Removing intermediate container 98ec3f261965 [2022-09-27T21:09:25.213Z] ---> c55458517926 [2022-09-27T21:09:25.213Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T21:09:25.213Z] Successfully built c55458517926 [2022-09-27T21:09:25.213Z] 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-09-27T21:09:25.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:09:25.634Z] [2022-09-27T21:09:25.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:09:25.957Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:09:25.957Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T21:09:25.957Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T21:09:25.957Z] 04944245beec: Pulling fs layer [2022-09-27T21:09:25.957Z] 699f458cf7ca: Pulling fs layer [2022-09-27T21:09:25.957Z] 765212b225bb: Pulling fs layer [2022-09-27T21:09:25.957Z] f23df028b6ca: Pulling fs layer [2022-09-27T21:09:25.957Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T21:09:25.957Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T21:09:25.957Z] f23df028b6ca: Waiting [2022-09-27T21:09:25.957Z] d65c8cfc05b1: Waiting [2022-09-27T21:09:25.957Z] 765212b225bb: Waiting [2022-09-27T21:09:25.957Z] 2437ff75d9bd: Waiting [2022-09-27T21:09:26.225Z] 04944245beec: Verifying Checksum [2022-09-27T21:09:26.225Z] 04944245beec: Download complete [2022-09-27T21:09:26.225Z] 765212b225bb: Verifying Checksum [2022-09-27T21:09:26.225Z] 765212b225bb: Download complete [2022-09-27T21:09:26.225Z] f23df028b6ca: Download complete [2022-09-27T21:09:26.225Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T21:09:26.225Z] d65c8cfc05b1: Download complete [2022-09-27T21:09:26.493Z] 699f458cf7ca: Verifying Checksum [2022-09-27T21:09:26.493Z] 699f458cf7ca: Download complete [2022-09-27T21:09:26.761Z] 8998bd30e6a1: Verifying Checksum [2022-09-27T21:09:26.761Z] 8998bd30e6a1: Download complete [2022-09-27T21:09:29.342Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T21:09:29.342Z] 2437ff75d9bd: Download complete [2022-09-27T21:09:31.288Z] 8998bd30e6a1: Pull complete [2022-09-27T21:09:31.870Z] 04944245beec: Pull complete [2022-09-27T21:09:33.280Z] 699f458cf7ca: Pull complete [2022-09-27T21:09:33.280Z] 765212b225bb: Pull complete [2022-09-27T21:09:34.238Z] f23df028b6ca: Pull complete [2022-09-27T21:09:34.238Z] d65c8cfc05b1: Pull complete [2022-09-27T21:09:49.232Z] 2437ff75d9bd: Pull complete [2022-09-27T21:09:49.232Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T21:09:49.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T21:09:49.232Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:09:49.425Z] prd-ubuntu20.04-docker-arm64-4c-16g-1409 does not seem to be running inside a container [2022-09-27T21:09:49.488Z] $ 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/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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:arm64 cat [2022-09-27T21:09:52.229Z] $ docker top e7d408c676f794726249d18ebcda8a06e01d5cd35513c9a6f636cf344654ef12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:09:53.057Z] ---> job-cost.sh [2022-09-27T21:09:53.058Z] lf-activate-venv: SKIPPING [2022-09-27T21:09:53.058Z] INFO: No Stack... [2022-09-27T21:09:53.323Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T21:09:54.282Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T21:09:54.916Z] + cat /w/workspace/device-mqtt-go/5/archives/cost.csv [2022-09-27T21:09:54.916Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T21:09:54.983Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] [2022-09-27T21:09:54.989Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] did not exist. Created. [2022-09-27T21:09:54.989Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T21:09:55.314Z] /w/workspace/device-mqtt-go/5@tmp/durable-00459827/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T21:09:55.646Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T21:09:55.664Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T21:09:55.711Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T21:09:55.717Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T21:09:55.739Z] $ docker stop --time=1 e7d408c676f794726249d18ebcda8a06e01d5cd35513c9a6f636cf344654ef12 [2022-09-27T21:09:57.187Z] $ docker rm -f e7d408c676f794726249d18ebcda8a06e01d5cd35513c9a6f636cf344654ef12 [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-09-27T21:09:57.554Z] provisioning config files... [2022-09-27T21:09:57.561Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config3278953577408499875tmp [Pipeline] { [Pipeline] sh [2022-09-27T21:09:57.857Z] + set +x [2022-09-27T21:09:57.857Z] + + bash -s -- [2022-09-27T21:09:57.857Z] curl -s https://codecov.io/bash [2022-09-27T21:09:57.857Z] [2022-09-27T21:09:57.857Z] _____ _ [2022-09-27T21:09:57.857Z] / ____| | | [2022-09-27T21:09:57.857Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T21:09:57.857Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T21:09:57.857Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T21:09:57.857Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T21:09:57.857Z] Bash-1.0.6 [2022-09-27T21:09:57.857Z] [2022-09-27T21:09:57.857Z] [2022-09-27T21:09:57.857Z] ==> git version 2.25.1 found [2022-09-27T21:09:57.857Z] ==> 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-09-27T21:09:57.857Z] Release-Date: 2020-01-08 [2022-09-27T21:09:57.857Z] 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-09-27T21:09:57.857Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T21:09:57.857Z] ==> Jenkins CI detected. [2022-09-27T21:09:57.857Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-414 [2022-09-27T21:09:57.857Z] project root: . [2022-09-27T21:09:57.857Z] --> token set from env [2022-09-27T21:09:57.857Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T21:09:57.857Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T21:09:57.857Z] ==> Python coveragepy not found [2022-09-27T21:09:57.857Z] ==> Searching for coverage reports in: [2022-09-27T21:09:57.857Z] + . [2022-09-27T21:09:57.857Z] -> Found 1 reports [2022-09-27T21:09:57.857Z] ==> Detecting git/mercurial file structure [2022-09-27T21:09:57.857Z] ==> Reading reports [2022-09-27T21:09:57.857Z] + ./coverage.out bytes=17887 [2022-09-27T21:09:57.857Z] ==> Appending adjustments [2022-09-27T21:09:57.857Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T21:09:58.117Z] + Found adjustments [2022-09-27T21:09:58.117Z] ==> Gzipping contents [2022-09-27T21:09:58.117Z] 4.0K /tmp/codecov.9QDczu.gz [2022-09-27T21:09:58.117Z] ==> Uploading reports [2022-09-27T21:09:58.117Z] url: https://codecov.io [2022-09-27T21:09:58.117Z] query: branch=PR-414&commit=606ea677ca7ca6730308224ec77114b9f60eec0f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= [2022-09-27T21:09:58.117Z] -> Pinging Codecov [2022-09-27T21:09:58.117Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-414&commit=606ea677ca7ca6730308224ec77114b9f60eec0f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= [2022-09-27T21:09:58.375Z] -> Uploading to [2022-09-27T21:09:58.375Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/7D719EC7BBE17E464838252E33014C33/606ea677ca7ca6730308224ec77114b9f60eec0f/aaafc2dd-5261-4db8-a4db-db7822a18132.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T210958Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e017bd753442e517337b47775a6e4b8b3ef7976bfa21bfa3a62de85f4f171730 [2022-09-27T21:09:58.375Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T21:09:58.375Z] Dload Upload Total Spent Left Speed [2022-09-27T21:09:58.634Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3196 0 0 100 3196 0 14267 --:--:-- --:--:-- --:--:-- 14267 [2022-09-27T21:09:58.634Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/606ea677ca7ca6730308224ec77114b9f60eec0f [Pipeline] } [2022-09-27T21:09:58.644Z] 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-09-27T21:09:59.273Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives ] [2022-09-27T21:09:59.273Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives [2022-09-27T21:09:59.273Z] total 16 [2022-09-27T21:09:59.273Z] drwxr-xr-x 3 root root 4096 Sep 27 21:01 . [2022-09-27T21:09:59.273Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:01 .. [2022-09-27T21:09:59.273Z] drwxr-xr-x 2 root root 4096 Sep 27 21:01 cost [2022-09-27T21:09:59.273Z] -rw-r--r-- 1 root root 86 Sep 27 21:01 cost.csv [2022-09-27T21:09:59.273Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives [2022-09-27T21:09:59.273Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives [2022-09-27T21:09:59.273Z] total 16 [2022-09-27T21:09:59.273Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:01 . [2022-09-27T21:09:59.273Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:01 .. [2022-09-27T21:09:59.273Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:01 cost [2022-09-27T21:09:59.273Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 27 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:09:59.561Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:10:00.418Z] ---> package-listing.sh [2022-09-27T21:10:00.418Z] ++ facter osfamily [2022-09-27T21:10:00.418Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T21:10:00.677Z] + OS_FAMILY=debian [2022-09-27T21:10:00.677Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-414 [2022-09-27T21:10:00.677Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T21:10:00.677Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T21:10:00.677Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T21:10:00.677Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T21:10:00.677Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' [2022-09-27T21:10:00.677Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T21:10:00.677Z] + case "${OS_FAMILY}" in [2022-09-27T21:10:00.677Z] + dpkg -l [2022-09-27T21:10:00.677Z] + grep '^ii' [2022-09-27T21:10:00.677Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T21:10:00.677Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T21:10:00.677Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T21:10:00.677Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' [2022-09-27T21:10:00.677Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ [2022-09-27T21:10:00.677Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ [Pipeline] echo [2022-09-27T21:10:00.686Z] 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-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-27T21:10:00.965Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T21:10:01.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T21:10:01.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T21:10:01.581Z] prd-ubuntu20.04-docker-8c-8g-1406 does not seem to be running inside a container [2022-09-27T21:10:01.612Z] $ 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-414/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-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@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-09-27T21:10:01.803Z] $ docker top 958a74f6fce5eea17741a6cb27acdd461a1bef521787743f4c0e2d41f5177cab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T21:10:02.152Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T21:10:02.436Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T21:10:02.718Z] + ls /var/log/sa-host [2022-09-27T21:10:02.718Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T21:10:02.792Z] provisioning config files... [2022-09-27T21:10:02.800Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config12618128895400296577tmp [Pipeline] { [Pipeline] echo [2022-09-27T21:10:02.812Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:10:03.093Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T21:10:03.101Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:10:03.411Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T21:10:03.419Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:10:03.699Z] ---> sudo-logs.sh [2022-09-27T21:10:03.699Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T21:10:03.726Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:10:04.007Z] ---> job-cost.sh [2022-09-27T21:10:04.007Z] lf-activate-venv: SKIPPING [2022-09-27T21:10:04.007Z] DEBUG: total: 0.2199999988079071 [2022-09-27T21:10:04.007Z] INFO: Retrieving Stack Cost... [2022-09-27T21:10:04.265Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T21:10:04.837Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T21:10:04.848Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T21:10:05.137Z] ---> logs-deploy.sh [2022-09-27T21:10:05.137Z] lf-activate-venv: SKIPPING [2022-09-27T21:10:05.137Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-414/5 [2022-09-27T21:10:05.137Z] INFO: archiving workspace using pattern(s): [2022-09-27T21:10:06.075Z] Archives upload complete. [2022-09-27T21:10:06.075Z] INFO: archiving logs to Nexus