Pull request #417 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 40728c0c9192581239a0f3fc91f826ee991611f5+328ff548ea1794223110aa3bbf079b4887c6fdbc (31f60a6dd7b399476e270d481d78d71f3eecd46f) 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-ssh12972144556524409989.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-ssh12126718776878654075.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-417/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-417/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5269168559068377777.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-417/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10008881973350186957.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16224824884030747444.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-417/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-417/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10421829515612284805.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6633 in /w/workspace/gexfoundry_device-mqtt-go_PR-417 [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-417 # 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/417/head:refs/remotes/origin/PR-417 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 328ff548ea1794223110aa3bbf079b4887c6fdbc into PR head commit 40728c0c9192581239a0f3fc91f826ee991611f5 Merge succeeded, producing 40728c0c9192581239a0f3fc91f826ee991611f5 Checking out Revision 40728c0c9192581239a0f3fc91f826ee991611f5 (PR-417) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T01:32:36.327Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T01:32:36.505Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 40728c0c9192581239a0f3fc91f826ee991611f5 # 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 328ff548ea1794223110aa3bbf079b4887c6fdbc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40728c0c9192581239a0f3fc91f826ee991611f5 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T01:32:36.610Z] ========================================================= [2022-10-03T01:32:36.610Z] EdgeX Global Pipelines Version Info [2022-10-03T01:32:36.610Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:32:37.357Z] ------------------- [2022-10-03T01:32:37.357Z] stable info: [2022-10-03T01:32:37.357Z] ------------------- [2022-10-03T01:32:37.357Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T01:32:37.357Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T01:32:37.357Z] Message: update stable to v1.0.239 [2022-10-03T01:32:37.927Z] ------------------- [2022-10-03T01:32:37.927Z] experimental info: [2022-10-03T01:32:37.927Z] ------------------- [2022-10-03T01:32:37.927Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T01:32:37.927Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T01:32:37.927Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T01:32:38.185Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-03T01:32:38.225Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-03T01:32:38.268Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T01:32:38.311Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T01:32:38.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T01:32:38.389Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T01:32:38.428Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T01:32:38.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T01:32:38.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T01:32:38.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T01:32:38.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T01:32:38.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-03T01:32:38.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T01:32:38.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T01:32:38.746Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T01:32:38.783Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T01:32:38.824Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T01:32:38.862Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T01:32:38.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T01:32:38.940Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T01:32:38.982Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-03T01:32:39.023Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-03T01:32:39.067Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T01:32:39.111Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T01:32:39.153Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T01:32:39.197Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T01:32:39.243Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T01:32:39.286Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-417 [Pipeline] echo [2022-10-03T01:32:39.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-417 [Pipeline] echo [2022-10-03T01:32:39.367Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-417 [Pipeline] echo [2022-10-03T01:32:39.409Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40728c0c9192581239a0f3fc91f826ee991611f5 [Pipeline] echo [2022-10-03T01:32:39.450Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40728c0 [Pipeline] echo [2022-10-03T01:32:39.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T01:32:39.598Z] provisioning config files... [2022-10-03T01:32:39.614Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/config5811964250185770247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:32:39.949Z] ---> docker-login.sh [2022-10-03T01:32:39.950Z] nexus3.edgexfoundry.org:10001 [2022-10-03T01:32:40.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:40.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:40.216Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:40.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:40.216Z] [2022-10-03T01:32:40.216Z] Login Succeeded [2022-10-03T01:32:40.216Z] nexus3.edgexfoundry.org:10002 [2022-10-03T01:32:40.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:40.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:40.475Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:40.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:40.475Z] [2022-10-03T01:32:40.475Z] Login Succeeded [2022-10-03T01:32:40.475Z] nexus3.edgexfoundry.org:10003 [2022-10-03T01:32:40.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:40.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:40.475Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:40.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:40.475Z] [2022-10-03T01:32:40.475Z] Login Succeeded [2022-10-03T01:32:40.475Z] nexus3.edgexfoundry.org:10004 [2022-10-03T01:32:40.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:40.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:40.737Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:40.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:40.737Z] [2022-10-03T01:32:40.737Z] Login Succeeded [2022-10-03T01:32:40.737Z] docker.io [2022-10-03T01:32:40.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:40.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:40.997Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:40.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:40.997Z] [2022-10-03T01:32:40.997Z] Login Succeeded [2022-10-03T01:32:40.997Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T01:32:41.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T01:32:41.645Z] + git rev-list -1 --merges 40728c0c9192581239a0f3fc91f826ee991611f5~1..40728c0c9192581239a0f3fc91f826ee991611f5 [Pipeline] echo [2022-10-03T01:32:41.692Z] -----------> git rev-list -1 --merges 40728c0c9192581239a0f3fc91f826ee991611f5~1..40728c0c9192581239a0f3fc91f826ee991611f5 40728c0c9192581239a0f3fc91f826ee991611f5 [false] [Pipeline] sh [2022-10-03T01:32:42.001Z] + git log --format=format:%s -1 40728c0c9192581239a0f3fc91f826ee991611f5 [Pipeline] echo [2022-10-03T01:32:42.032Z] ========================================================= [2022-10-03T01:32:42.032Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T01:32:42.032Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T01:32:42.452Z] + git log --format=format:%s -1 40728c0c9192581239a0f3fc91f826ee991611f5 [Pipeline] echo [2022-10-03T01:32:42.482Z] [semverPrep] GIT_COMMIT: 40728c0c9192581239a0f3fc91f826ee991611f5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-10-03T01:32:42.512Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T01:32:42.888Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T01:32:42.888Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T01:32:42.889Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T01:32:42.889Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T01:32:42.889Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T01:32:42.889Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T01:32:42.889Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:32:43.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T01:32:43.310Z] [2022-10-03T01:32:43.310Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:32:43.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T01:32:43.697Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T01:32:43.697Z] b85a868b505f: Pulling fs layer [2022-10-03T01:32:43.697Z] e2be974225ed: Pulling fs layer [2022-10-03T01:32:43.697Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T01:32:43.697Z] 988bab9f4d93: Pulling fs layer [2022-10-03T01:32:43.697Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T01:32:43.697Z] eaf3925da568: Pulling fs layer [2022-10-03T01:32:43.697Z] bab4dde63d76: Pulling fs layer [2022-10-03T01:32:43.697Z] bde34c3a00c8: Pulling fs layer [2022-10-03T01:32:43.697Z] b352a97aabf1: Pulling fs layer [2022-10-03T01:32:43.697Z] 4872d77fe225: Pulling fs layer [2022-10-03T01:32:43.697Z] 5851b861e8e6: Pulling fs layer [2022-10-03T01:32:43.697Z] bab4dde63d76: Waiting [2022-10-03T01:32:43.697Z] b352a97aabf1: Waiting [2022-10-03T01:32:43.697Z] 5851b861e8e6: Waiting [2022-10-03T01:32:43.697Z] 988bab9f4d93: Waiting [2022-10-03T01:32:43.697Z] eaf3925da568: Waiting [2022-10-03T01:32:43.697Z] bde34c3a00c8: Waiting [2022-10-03T01:32:43.697Z] 1469e6f7b9e6: Waiting [2022-10-03T01:32:43.697Z] 4872d77fe225: Waiting [2022-10-03T01:32:43.697Z] e2be974225ed: Verifying Checksum [2022-10-03T01:32:43.697Z] e2be974225ed: Download complete [2022-10-03T01:32:43.697Z] 988bab9f4d93: Download complete [2022-10-03T01:32:43.959Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T01:32:43.959Z] 1469e6f7b9e6: Download complete [2022-10-03T01:32:43.959Z] eaf3925da568: Download complete [2022-10-03T01:32:43.959Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T01:32:43.959Z] 339a4e72a1f5: Download complete [2022-10-03T01:32:43.959Z] bde34c3a00c8: Download complete [2022-10-03T01:32:43.959Z] b352a97aabf1: Verifying Checksum [2022-10-03T01:32:43.959Z] b352a97aabf1: Download complete [2022-10-03T01:32:43.959Z] 4872d77fe225: Verifying Checksum [2022-10-03T01:32:43.959Z] 4872d77fe225: Download complete [2022-10-03T01:32:43.959Z] 5851b861e8e6: Download complete [2022-10-03T01:32:44.218Z] b85a868b505f: Download complete [2022-10-03T01:32:44.782Z] bab4dde63d76: Download complete [2022-10-03T01:32:45.348Z] b85a868b505f: Pull complete [2022-10-03T01:32:45.606Z] e2be974225ed: Pull complete [2022-10-03T01:32:46.175Z] 339a4e72a1f5: Pull complete [2022-10-03T01:32:46.175Z] 988bab9f4d93: Pull complete [2022-10-03T01:32:46.433Z] 1469e6f7b9e6: Pull complete [2022-10-03T01:32:46.433Z] eaf3925da568: Pull complete [2022-10-03T01:32:48.330Z] bab4dde63d76: Pull complete [2022-10-03T01:32:48.330Z] bde34c3a00c8: Pull complete [2022-10-03T01:32:48.588Z] b352a97aabf1: Pull complete [2022-10-03T01:32:48.589Z] 4872d77fe225: Pull complete [2022-10-03T01:32:48.589Z] 5851b861e8e6: Pull complete [2022-10-03T01:32:48.589Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T01:32:48.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T01:32:48.589Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:32:48.875Z] prd-ubuntu20.04-docker-8c-8g-6633 does not seem to be running inside a container [2022-10-03T01:32:48.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-417 -v /w/workspace/gexfoundry_device-mqtt-go_PR-417:/w/workspace/gexfoundry_device-mqtt-go_PR-417:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-417@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-03T01:32:50.394Z] $ docker top eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff -eo pid,comm [2022-10-03T01:32:50.450Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-03T01:32:50.450Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T01:32:50.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T01:32:50.579Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T01:32:50.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T01:32:50.708Z] $ docker exec eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff ssh-agent [2022-10-03T01:32:50.825Z] SSH_AUTH_SOCK=/tmp/ssh-pwbPlWvwrIX0/agent.33 [2022-10-03T01:32:50.825Z] SSH_AGENT_PID=39 [2022-10-03T01:32:50.831Z] Running ssh-add (command line suppressed) [2022-10-03T01:32:50.942Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/private_key_10098865570989293040.key (/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/private_key_10098865570989293040.key) [2022-10-03T01:32:50.952Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T01:32:51.284Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T01:32:51.311Z] $ docker exec --env ******** --env ******** eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff ssh-agent -k [2022-10-03T01:32:51.424Z] unset SSH_AUTH_SOCK; [2022-10-03T01:32:51.425Z] unset SSH_AGENT_PID; [2022-10-03T01:32:51.425Z] echo Agent pid 39 killed; [2022-10-03T01:32:51.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T01:32:51.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T01:32:51.521Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T01:32:51.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T01:32:51.633Z] $ docker exec eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff ssh-agent [2022-10-03T01:32:51.753Z] SSH_AUTH_SOCK=/tmp/ssh-g4udjBfaBVNk/agent.72 [2022-10-03T01:32:51.753Z] SSH_AGENT_PID=78 [2022-10-03T01:32:51.758Z] Running ssh-add (command line suppressed) [2022-10-03T01:32:51.874Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/private_key_8918740460506478701.key (/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/private_key_8918740460506478701.key) [2022-10-03T01:32:51.885Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T01:32:52.214Z] + git semver init [2022-10-03T01:32:52.473Z] 2022-10-03 01:32:52,399 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T01:32:52.473Z] 2022-10-03 01:32:52,400 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver [2022-10-03T01:32:52.473Z] 2022-10-03 01:32:52,400 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver [2022-10-03T01:32:52.473Z] 2022-10-03 01:32:52,401 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-417, universal_newlines=False, shell=None, istream=None) [2022-10-03T01:32:53.408Z] 2022-10-03 01:32:53,401 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-417/.git/info/exclude [2022-10-03T01:32:53.408Z] 2022-10-03 01:32:53,402 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver/PR-417 with force:False [2022-10-03T01:32:53.408Z] 2022-10-03 01:32:53,402 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver/PR-417 [2022-10-03T01:32:53.408Z] 2022-10-03 01:32:53,406 [execute] INFO git cat-file --batch-check [2022-10-03T01:32:53.408Z] 2022-10-03 01:32:53,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T01:32:53.667Z] 2022-10-03 01:32:53,414 [execute] INFO git cat-file --batch [2022-10-03T01:32:53.667Z] 2022-10-03 01:32:53,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T01:32:53.667Z] 2022-10-03 01:32:53,420 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-417/.semver/PR-417 [2022-10-03T01:32:53.667Z] 0.0.0 [Pipeline] } [2022-10-03T01:32:53.697Z] $ docker exec --env ******** --env ******** eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff ssh-agent -k [2022-10-03T01:32:53.797Z] unset SSH_AUTH_SOCK; [2022-10-03T01:32:53.798Z] unset SSH_AGENT_PID; [2022-10-03T01:32:53.798Z] echo Agent pid 78 killed; [2022-10-03T01:32:53.804Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T01:32:54.229Z] + git semver [Pipeline] } [2022-10-03T01:32:54.511Z] $ docker stop --time=1 eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff [2022-10-03T01:32:55.837Z] $ docker rm -f eeb931eeec116b997982beb27bd16595c9e13946cc56b9f303363aa5108887ff [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T01:32:56.239Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T01:32:56.468Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T01:32:56.484Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T01:32:57.104Z] provisioning config files... [2022-10-03T01:32:57.118Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/config16185861068374481352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:32:57.460Z] ---> docker-login.sh [2022-10-03T01:32:57.460Z] nexus3.edgexfoundry.org:10001 [2022-10-03T01:32:57.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:57.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:57.460Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:57.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:57.460Z] [2022-10-03T01:32:57.460Z] Login Succeeded [2022-10-03T01:32:57.460Z] nexus3.edgexfoundry.org:10002 [2022-10-03T01:32:57.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:57.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:57.460Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:57.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:57.460Z] [2022-10-03T01:32:57.460Z] Login Succeeded [2022-10-03T01:32:57.720Z] nexus3.edgexfoundry.org:10003 [2022-10-03T01:32:57.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:57.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:57.720Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:57.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:57.720Z] [2022-10-03T01:32:57.720Z] Login Succeeded [2022-10-03T01:32:57.720Z] nexus3.edgexfoundry.org:10004 [2022-10-03T01:32:57.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:57.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:57.720Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:57.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:57.720Z] [2022-10-03T01:32:57.720Z] Login Succeeded [2022-10-03T01:32:57.720Z] docker.io [2022-10-03T01:32:57.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:58.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:58.237Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:58.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:58.237Z] [2022-10-03T01:32:58.237Z] Login Succeeded [2022-10-03T01:32:58.237Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T01:32:58.260Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T01:32:58.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T01:32:58.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T01:32:58.503Z] ========================================================= [2022-10-03T01:32:58.503Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T01:32:58.503Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:32:58.958Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-03T01:32:58.958Z] Sending build context to Docker daemon 6.153MB [2022-10-03T01:32:58.958Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T01:32:58.958Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T01:32:58.958Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T01:32:58.958Z] 2408cc74d12b: Pulling fs layer [2022-10-03T01:32:58.958Z] ea60b727a1ce: Pulling fs layer [2022-10-03T01:32:58.958Z] 30c4a7721957: Pulling fs layer [2022-10-03T01:32:58.958Z] 370296b7ddb6: Pulling fs layer [2022-10-03T01:32:58.958Z] 7c6cee850709: Pulling fs layer [2022-10-03T01:32:58.958Z] aa9baa53a306: Pulling fs layer [2022-10-03T01:32:58.958Z] 8b309c321861: Pulling fs layer [2022-10-03T01:32:58.958Z] d8d76fd02f46: Pulling fs layer [2022-10-03T01:32:58.958Z] fa31f396de31: Pulling fs layer [2022-10-03T01:32:58.958Z] 370296b7ddb6: Waiting [2022-10-03T01:32:58.958Z] aa9baa53a306: Waiting [2022-10-03T01:32:58.958Z] 7c6cee850709: Waiting [2022-10-03T01:32:58.958Z] 8b309c321861: Waiting [2022-10-03T01:32:58.958Z] fa31f396de31: Waiting [2022-10-03T01:32:58.958Z] d8d76fd02f46: Waiting [2022-10-03T01:32:58.958Z] 30c4a7721957: Verifying Checksum [2022-10-03T01:32:58.958Z] 30c4a7721957: Download complete [2022-10-03T01:32:58.958Z] ea60b727a1ce: Verifying Checksum [2022-10-03T01:32:58.958Z] ea60b727a1ce: Download complete [2022-10-03T01:32:58.958Z] 7c6cee850709: Download complete [2022-10-03T01:32:58.958Z] aa9baa53a306: Verifying Checksum [2022-10-03T01:32:58.958Z] aa9baa53a306: Download complete [2022-10-03T01:32:59.225Z] 2408cc74d12b: Download complete [2022-10-03T01:32:59.225Z] 8b309c321861: Verifying Checksum [2022-10-03T01:32:59.225Z] 8b309c321861: Download complete [2022-10-03T01:32:59.225Z] 2408cc74d12b: Pull complete [2022-10-03T01:32:59.503Z] ea60b727a1ce: Pull complete [2022-10-03T01:32:59.503Z] 30c4a7721957: Pull complete [2022-10-03T01:33:00.512Z] fa31f396de31: Verifying Checksum [2022-10-03T01:33:00.512Z] fa31f396de31: Download complete [2022-10-03T01:33:00.512Z] d8d76fd02f46: Verifying Checksum [2022-10-03T01:33:00.512Z] d8d76fd02f46: Download complete [2022-10-03T01:33:00.776Z] 370296b7ddb6: Verifying Checksum [2022-10-03T01:33:00.776Z] 370296b7ddb6: Download complete [2022-10-03T01:33:04.968Z] 370296b7ddb6: Pull complete [2022-10-03T01:33:04.968Z] 7c6cee850709: Pull complete [2022-10-03T01:33:04.968Z] aa9baa53a306: Pull complete [2022-10-03T01:33:04.968Z] 8b309c321861: Pull complete [2022-10-03T01:33:07.496Z] d8d76fd02f46: Pull complete [2022-10-03T01:33:08.063Z] fa31f396de31: Pull complete [2022-10-03T01:33:08.063Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T01:33:08.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T01:33:08.063Z] ---> cef68f9685f8 [2022-10-03T01:33:08.063Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T01:33:09.970Z] ---> Running in f6d63b478133 [2022-10-03T01:33:09.970Z] Removing intermediate container f6d63b478133 [2022-10-03T01:33:09.970Z] ---> 533c5e3f3351 [2022-10-03T01:33:09.970Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T01:33:09.970Z] ---> Running in c657c805520e [2022-10-03T01:33:09.970Z] Removing intermediate container c657c805520e [2022-10-03T01:33:09.970Z] ---> 04c94e09dafc [2022-10-03T01:33:09.970Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T01:33:09.970Z] ---> Running in d800226bc67a [2022-10-03T01:33:10.230Z] Removing intermediate container d800226bc67a [2022-10-03T01:33:10.230Z] ---> 7404aaf0a62b [2022-10-03T01:33:10.230Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T01:33:10.230Z] ---> Running in 993ac7b0bd90 [2022-10-03T01:33:10.230Z] Removing intermediate container 993ac7b0bd90 [2022-10-03T01:33:10.230Z] ---> 025f24b04089 [2022-10-03T01:33:10.230Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:33:10.230Z] ---> Running in e0a728324d97 [2022-10-03T01:33:11.165Z] Removing intermediate container e0a728324d97 [2022-10-03T01:33:11.165Z] ---> 6113032a1674 [2022-10-03T01:33:11.165Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T01:33:11.165Z] ---> Running in 507b966a0111 [2022-10-03T01:33:11.165Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T01:33:11.916Z] Still waiting to schedule task [2022-10-03T01:33:11.916Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-03T01:33:12.109Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T01:33:12.369Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T01:33:12.628Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T01:33:12.628Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T01:33:12.628Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T01:33:12.889Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T01:33:12.889Z] OK: 216 MiB in 55 packages [2022-10-03T01:33:13.455Z] Removing intermediate container 507b966a0111 [2022-10-03T01:33:13.455Z] ---> 0bd5d01dfbcc [2022-10-03T01:33:13.455Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-03T01:33:13.455Z] ---> Running in ca19ce11f2c2 [2022-10-03T01:33:13.455Z] Removing intermediate container ca19ce11f2c2 [2022-10-03T01:33:13.455Z] ---> df5f34567bb9 [2022-10-03T01:33:13.455Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T01:33:13.455Z] ---> 2ee4ccdcb28a [2022-10-03T01:33:13.455Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T01:33:13.713Z] ---> Running in 1e4f54540548 [2022-10-03T01:33:35.641Z] Removing intermediate container 1e4f54540548 [2022-10-03T01:33:35.641Z] ---> 3e668ef7dbf0 [2022-10-03T01:33:35.641Z] Step 12/13 : COPY . . [2022-10-03T01:33:35.641Z] ---> 004eeb55ed2a [2022-10-03T01:33:35.641Z] Step 13/13 : RUN $MAKE [2022-10-03T01:33:35.641Z] ---> Running in 0ba99b835e7b [2022-10-03T01:33:35.641Z] noop [2022-10-03T01:33:35.641Z] Removing intermediate container 0ba99b835e7b [2022-10-03T01:33:35.641Z] ---> e099db9a830b [2022-10-03T01:33:35.641Z] Successfully built e099db9a830b [2022-10-03T01:33:35.641Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:33:36.092Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T01:33:36.092Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:33:36.232Z] prd-ubuntu20.04-docker-8c-8g-6633 does not seem to be running inside a container [2022-10-03T01:33:36.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-417 -v /w/workspace/gexfoundry_device-mqtt-go_PR-417:/w/workspace/gexfoundry_device-mqtt-go_PR-417:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T01:33:36.635Z] $ docker top 65478c8613ff4f9b561df2d2b500dd2d8a87ded67ee588eff14f5bb508c5176c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:33:37.030Z] + go version [2022-10-03T01:33:37.030Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T01:33:37.064Z] $ docker stop --time=1 65478c8613ff4f9b561df2d2b500dd2d8a87ded67ee588eff14f5bb508c5176c [2022-10-03T01:33:38.382Z] $ docker rm -f 65478c8613ff4f9b561df2d2b500dd2d8a87ded67ee588eff14f5bb508c5176c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:33:39.100Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T01:33:39.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:33:39.250Z] prd-ubuntu20.04-docker-8c-8g-6633 does not seem to be running inside a container [2022-10-03T01:33:39.281Z] $ 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-417 -v /w/workspace/gexfoundry_device-mqtt-go_PR-417:/w/workspace/gexfoundry_device-mqtt-go_PR-417:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T01:33:39.633Z] $ docker top 5048d7ca6a5c32035090d8cee4233e2f8691be38210f8dd2a5e09a0331f28770 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:33:40.028Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-417 [Pipeline] fileExists [Pipeline] sh [2022-10-03T01:33:40.380Z] + make test [2022-10-03T01:33:40.380Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T01:33:40.640Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-03T01:33:50.606Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-03T01:33:51.538Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-10-03T01:33:51.538Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-03T01:33:59.654Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-03T01:33:59.654Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T01:34:02.929Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T01:34:02.929Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T01:34:02.929Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T01:34:02.964Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T01:34:02.989Z] $ docker stop --time=1 5048d7ca6a5c32035090d8cee4233e2f8691be38210f8dd2a5e09a0331f28770 [2022-10-03T01:34:04.665Z] $ docker rm -f 5048d7ca6a5c32035090d8cee4233e2f8691be38210f8dd2a5e09a0331f28770 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T01:34:05.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T01:34:05.293Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T01:34:05.894Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T01:34:06.202Z] + ls -al . [2022-10-03T01:34:06.202Z] total 184 [2022-10-03T01:34:06.202Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 01:33 . [2022-10-03T01:34:06.202Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:32 .. [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 01:32 .dockerignore [2022-10-03T01:34:06.202Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:33 .git [2022-10-03T01:34:06.202Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:32 .github [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 01:32 .gitignore [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 01:32 .golangci.yml [2022-10-03T01:34:06.202Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:32 .semver [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 3 01:32 Attribution.txt [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 3 01:32 CHANGELOG.md [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 3 01:32 Dockerfile [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 01:32 GOVERNANCE.md [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 3 01:32 Jenkinsfile [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 01:32 LICENSE [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 3 01:32 Makefile [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 01:32 OWNERS.md [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 3 01:32 README.md [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 01:32 VERSION [2022-10-03T01:34:06.202Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:32 bin [2022-10-03T01:34:06.202Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:32 cmd [2022-10-03T01:34:06.202Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 3 01:33 coverage.out [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 3 01:32 go.mod [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 01:32 go.sum [2022-10-03T01:34:06.202Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:32 internal [2022-10-03T01:34:06.202Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:32 mock [2022-10-03T01:34:06.202Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:32 snap [2022-10-03T01:34:06.202Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 3 01:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:34:06.587Z] + 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=40728c0c9192581239a0f3fc91f826ee991611f5 --label arch=amd64 --label version=0.0.0 . [2022-10-03T01:34:06.587Z] Sending build context to Docker daemon 6.172MB [2022-10-03T01:34:06.587Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T01:34:06.587Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-03T01:34:06.587Z] ---> e099db9a830b [2022-10-03T01:34:06.587Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-03T01:34:06.587Z] ---> Running in 883890f2f8cc [2022-10-03T01:34:06.851Z] Removing intermediate container 883890f2f8cc [2022-10-03T01:34:06.851Z] ---> 2351552e2fea [2022-10-03T01:34:06.851Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T01:34:06.851Z] ---> Running in e32215467b55 [2022-10-03T01:34:06.851Z] Removing intermediate container e32215467b55 [2022-10-03T01:34:06.851Z] ---> fbb04d466543 [2022-10-03T01:34:06.851Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T01:34:06.851Z] ---> Running in 0b8a8a8c9e0e [2022-10-03T01:34:06.851Z] Removing intermediate container 0b8a8a8c9e0e [2022-10-03T01:34:06.851Z] ---> 0e5956a881af [2022-10-03T01:34:06.851Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T01:34:07.110Z] ---> Running in baffb5f7290d [2022-10-03T01:34:07.110Z] Removing intermediate container baffb5f7290d [2022-10-03T01:34:07.110Z] ---> e22c4e87c88d [2022-10-03T01:34:07.110Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:34:07.110Z] ---> Running in 51ade52c6083 [2022-10-03T01:34:07.680Z] Removing intermediate container 51ade52c6083 [2022-10-03T01:34:07.680Z] ---> ec3ae1dbd7eb [2022-10-03T01:34:07.680Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T01:34:07.680Z] ---> Running in ff1ac9118f61 [2022-10-03T01:34:07.939Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T01:34:08.880Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T01:34:09.139Z] OK: 216 MiB in 55 packages [2022-10-03T01:34:09.397Z] Removing intermediate container ff1ac9118f61 [2022-10-03T01:34:09.397Z] ---> 0b4c65a8c8d0 [2022-10-03T01:34:09.397Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-03T01:34:09.655Z] ---> Running in c45f802b6d05 [2022-10-03T01:34:09.655Z] Removing intermediate container c45f802b6d05 [2022-10-03T01:34:09.655Z] ---> e413427285e1 [2022-10-03T01:34:09.655Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-03T01:34:09.655Z] ---> 571700bc57cf [2022-10-03T01:34:09.655Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T01:34:09.913Z] ---> Running in 579d5a3e5b63 [2022-10-03T01:34:10.479Z] Removing intermediate container 579d5a3e5b63 [2022-10-03T01:34:10.479Z] ---> 320f88094afe [2022-10-03T01:34:10.479Z] Step 12/25 : COPY . . [2022-10-03T01:34:10.737Z] ---> 6e717a363540 [2022-10-03T01:34:10.737Z] Step 13/25 : RUN $MAKE [2022-10-03T01:34:10.737Z] ---> Running in 7829bc928bdf [2022-10-03T01:34:10.994Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-10-03T01:34:32.906Z] Removing intermediate container 7829bc928bdf [2022-10-03T01:34:32.906Z] ---> 38e8ad72fdc0 [2022-10-03T01:34:32.906Z] Step 14/25 : FROM alpine:3.16 [2022-10-03T01:34:32.906Z] 3.16: Pulling from library/alpine [2022-10-03T01:34:32.906Z] 213ec9aee27d: Pulling fs layer [2022-10-03T01:34:32.906Z] 213ec9aee27d: Verifying Checksum [2022-10-03T01:34:32.906Z] 213ec9aee27d: Download complete [2022-10-03T01:34:32.906Z] 213ec9aee27d: Pull complete [2022-10-03T01:34:32.906Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T01:34:32.906Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T01:34:32.906Z] ---> 9c6f07244728 [2022-10-03T01:34:32.906Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-03T01:34:32.906Z] ---> Running in 99b2c2a0bb04 [2022-10-03T01:34:32.906Z] Removing intermediate container 99b2c2a0bb04 [2022-10-03T01:34:32.906Z] ---> ee1246fcb02d [2022-10-03T01:34:32.906Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T01:34:32.906Z] ---> Running in df9699020bc2 [2022-10-03T01:34:32.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T01:34:32.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T01:34:32.906Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T01:34:32.906Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T01:34:32.906Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T01:34:32.906Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T01:34:32.906Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T01:34:32.906Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T01:34:32.906Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T01:34:32.906Z] OK: 8 MiB in 20 packages [2022-10-03T01:34:33.164Z] Removing intermediate container df9699020bc2 [2022-10-03T01:34:33.164Z] ---> 2205b502fa6f [2022-10-03T01:34:33.164Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-03T01:34:33.728Z] ---> 82ef6a8528c1 [2022-10-03T01:34:33.729Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-03T01:34:33.729Z] ---> 9185b5c19c66 [2022-10-03T01:34:33.729Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-03T01:34:33.988Z] ---> 31419bc6aa45 [2022-10-03T01:34:33.988Z] Step 20/25 : EXPOSE 59982 [2022-10-03T01:34:33.988Z] ---> Running in a8067c0c9f21 [2022-10-03T01:34:33.988Z] Removing intermediate container a8067c0c9f21 [2022-10-03T01:34:33.988Z] ---> e23b4a0287f2 [2022-10-03T01:34:33.988Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-03T01:34:33.988Z] ---> Running in f4614c66e75f [2022-10-03T01:34:34.246Z] Removing intermediate container f4614c66e75f [2022-10-03T01:34:34.246Z] ---> 340a1cde4019 [2022-10-03T01:34:34.246Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T01:34:34.246Z] ---> Running in 9734eed7e324 [2022-10-03T01:34:34.246Z] Removing intermediate container 9734eed7e324 [2022-10-03T01:34:34.246Z] ---> 723737a01512 [2022-10-03T01:34:34.246Z] Step 23/25 : LABEL arch=amd64 [2022-10-03T01:34:34.246Z] ---> Running in f3c97d9b0b6f [2022-10-03T01:34:34.246Z] Removing intermediate container f3c97d9b0b6f [2022-10-03T01:34:34.246Z] ---> e4c5953b5583 [2022-10-03T01:34:34.246Z] Step 24/25 : LABEL git_sha=40728c0c9192581239a0f3fc91f826ee991611f5 [2022-10-03T01:34:34.504Z] ---> Running in b7c6c0aadca6 [2022-10-03T01:34:34.504Z] Removing intermediate container b7c6c0aadca6 [2022-10-03T01:34:34.504Z] ---> f7bef8a428bb [2022-10-03T01:34:34.504Z] Step 25/25 : LABEL version=0.0.0 [2022-10-03T01:34:34.504Z] ---> Running in b73deb3b7e86 [2022-10-03T01:34:34.504Z] Removing intermediate container b73deb3b7e86 [2022-10-03T01:34:34.504Z] ---> ee7f70a26224 [2022-10-03T01:34:34.504Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T01:34:34.504Z] Successfully built ee7f70a26224 [2022-10-03T01:34:34.504Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:34:35.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T01:34:35.338Z] [2022-10-03T01:34:35.338Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:34:35.704Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T01:34:35.704Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T01:34:35.704Z] 5eb5b503b376: Pulling fs layer [2022-10-03T01:34:35.704Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T01:34:35.704Z] ec43610c2a17: Pulling fs layer [2022-10-03T01:34:35.704Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T01:34:35.704Z] 33b1e0a273af: Pulling fs layer [2022-10-03T01:34:35.704Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T01:34:35.704Z] 2f39f015ded8: Pulling fs layer [2022-10-03T01:34:35.704Z] 3a2ae6a8a46f: Waiting [2022-10-03T01:34:35.704Z] 5d3b04190fa2: Waiting [2022-10-03T01:34:35.704Z] 2f39f015ded8: Waiting [2022-10-03T01:34:35.704Z] 33b1e0a273af: Waiting [2022-10-03T01:34:35.704Z] 5c69ac0246d0: Verifying Checksum [2022-10-03T01:34:35.704Z] 5c69ac0246d0: Download complete [2022-10-03T01:34:35.704Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-03T01:34:35.704Z] 3a2ae6a8a46f: Download complete [2022-10-03T01:34:35.704Z] 33b1e0a273af: Verifying Checksum [2022-10-03T01:34:35.704Z] 33b1e0a273af: Download complete [2022-10-03T01:34:35.965Z] 5d3b04190fa2: Verifying Checksum [2022-10-03T01:34:35.965Z] 5d3b04190fa2: Download complete [2022-10-03T01:34:35.965Z] ec43610c2a17: Download complete [2022-10-03T01:34:35.965Z] 5eb5b503b376: Verifying Checksum [2022-10-03T01:34:35.965Z] 5eb5b503b376: Download complete [2022-10-03T01:34:36.531Z] 2f39f015ded8: Download complete [2022-10-03T01:34:37.095Z] 5eb5b503b376: Pull complete [2022-10-03T01:34:37.352Z] 5c69ac0246d0: Pull complete [2022-10-03T01:34:37.611Z] ec43610c2a17: Pull complete [2022-10-03T01:34:37.611Z] 3a2ae6a8a46f: Pull complete [2022-10-03T01:34:37.869Z] 33b1e0a273af: Pull complete [2022-10-03T01:34:37.869Z] 5d3b04190fa2: Pull complete [2022-10-03T01:34:42.047Z] 2f39f015ded8: Pull complete [2022-10-03T01:34:42.047Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T01:34:42.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T01:34:42.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:34:42.270Z] prd-ubuntu20.04-docker-8c-8g-6633 does not seem to be running inside a container [2022-10-03T01:34:42.299Z] $ 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-417 -v /w/workspace/gexfoundry_device-mqtt-go_PR-417:/w/workspace/gexfoundry_device-mqtt-go_PR-417:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T01:34:43.748Z] $ docker top 914552b00600f3fe09bc9fddd52dcc40d74ffc2257afc2d50d898ff8413a81d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:34:44.207Z] ---> job-cost.sh [2022-10-03T01:34:44.207Z] lf-activate-venv: SKIPPING [2022-10-03T01:34:44.207Z] INFO: No Stack... [2022-10-03T01:34:44.468Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T01:34:44.728Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T01:34:45.040Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives/cost.csv [2022-10-03T01:34:45.040Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T01:34:45.081Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] [2022-10-03T01:34:45.088Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] did not exist. Created. [2022-10-03T01:34:45.088Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T01:34:45.477Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T01:34:45.526Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T01:34:45.557Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T01:34:45.644Z] $ docker stop --time=1 914552b00600f3fe09bc9fddd52dcc40d74ffc2257afc2d50d898ff8413a81d7 [2022-10-03T01:34:46.801Z] $ docker rm -f 914552b00600f3fe09bc9fddd52dcc40d74ffc2257afc2d50d898ff8413a81d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T01:40:42.237Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6708 in /w/workspace/gexfoundry_device-mqtt-go_PR-417 [Pipeline] { [Pipeline] ws [2022-10-03T01:40:42.281Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-10-03T01:40:42.466Z] Selected Git installation does not exist. Using Default [2022-10-03T01:40:42.466Z] The recommended git tool is: NONE [2022-10-03T01:40:48.289Z] using credential edgex-jenkins-ssh [2022-10-03T01:40:48.308Z] Cloning the remote Git repository [2022-10-03T01:40:48.365Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-03T01:40:48.434Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-10-03T01:40:48.575Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-03T01:40:48.576Z] > git --version # timeout=10 [2022-10-03T01:40:48.599Z] > git --version # 'git version 2.25.1' [2022-10-03T01:40:48.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T01:40:48.649Z] Verifying host key using known hosts file [2022-10-03T01:40:48.837Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T01:40:48.852Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T01:40:49.994Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-03T01:40:50.021Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T01:40:50.890Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-03T01:40:50.931Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-03T01:40:50.932Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T01:40:50.938Z] Verifying host key using known hosts file [2022-10-03T01:40:50.944Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T01:40:50.957Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/417/head:refs/remotes/origin/PR-417 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T01:40:51.481Z] Merging remotes/origin/main commit 328ff548ea1794223110aa3bbf079b4887c6fdbc into PR head commit 40728c0c9192581239a0f3fc91f826ee991611f5 [2022-10-03T01:40:51.693Z] Merge succeeded, producing 40728c0c9192581239a0f3fc91f826ee991611f5 [2022-10-03T01:40:51.693Z] Checking out Revision 40728c0c9192581239a0f3fc91f826ee991611f5 (PR-417) [2022-10-03T01:40:52.188Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-10-03T01:40:52.237Z] > git --version # timeout=10 [2022-10-03T01:40:52.249Z] > git --version # 'git version 2.25.1' [2022-10-03T01:40:52.263Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-10-03T01:40:51.499Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T01:40:51.513Z] > git checkout -f 40728c0c9192581239a0f3fc91f826ee991611f5 # timeout=10 [2022-10-03T01:40:51.587Z] > git remote # timeout=10 [2022-10-03T01:40:51.608Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T01:40:51.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T01:40:51.635Z] Verifying host key using known hosts file [2022-10-03T01:40:51.639Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T01:40:51.649Z] > git merge 328ff548ea1794223110aa3bbf079b4887c6fdbc # timeout=10 [2022-10-03T01:40:51.674Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T01:40:51.701Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T01:40:51.717Z] > git checkout -f 40728c0c9192581239a0f3fc91f826ee991611f5 # timeout=10 [Pipeline] sh [2022-10-03T01:40:53.272Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T01:40:53.272Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T01:40:53.272Z] Dload Upload Total Spent Left Speed [2022-10-03T01:40:53.272Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 67390 0 --:--:-- --:--:-- --:--:-- 67752 [Pipeline] sh [2022-10-03T01:40:53.844Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T01:40:54.193Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T01:40:54.193Z] + sudo tee /etc/docker/daemon.new [2022-10-03T01:40:54.193Z] { [2022-10-03T01:40:54.193Z] "registry-mirrors": [ [2022-10-03T01:40:54.193Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T01:40:54.193Z] ], [2022-10-03T01:40:54.193Z] "bip": "10.250.0.254/24", [2022-10-03T01:40:54.193Z] "hosts": [ [2022-10-03T01:40:54.193Z] "tcp://0.0.0.0:5555", [2022-10-03T01:40:54.193Z] "unix:///var/run/docker.sock" [2022-10-03T01:40:54.193Z] ], [2022-10-03T01:40:54.193Z] "mtu": 1458, [2022-10-03T01:40:54.193Z] "selinux-enabled": true, [2022-10-03T01:40:54.193Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T01:40:54.193Z] } [Pipeline] sh [2022-10-03T01:40:54.532Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T01:40:54.892Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T01:41:13.221Z] provisioning config files... [2022-10-03T01:41:13.248Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6386636913141308352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:41:13.637Z] ---> docker-login.sh [2022-10-03T01:41:13.637Z] nexus3.edgexfoundry.org:10001 [2022-10-03T01:41:13.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:41:14.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:41:14.502Z] Configure a credential helper to remove this warning. See [2022-10-03T01:41:14.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:41:14.502Z] [2022-10-03T01:41:14.502Z] Login Succeeded [2022-10-03T01:41:14.502Z] nexus3.edgexfoundry.org:10002 [2022-10-03T01:41:14.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:41:14.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:41:14.770Z] Configure a credential helper to remove this warning. See [2022-10-03T01:41:14.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:41:14.770Z] [2022-10-03T01:41:14.770Z] Login Succeeded [2022-10-03T01:41:14.770Z] nexus3.edgexfoundry.org:10003 [2022-10-03T01:41:15.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:41:15.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:41:15.311Z] Configure a credential helper to remove this warning. See [2022-10-03T01:41:15.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:41:15.311Z] [2022-10-03T01:41:15.311Z] Login Succeeded [2022-10-03T01:41:15.311Z] nexus3.edgexfoundry.org:10004 [2022-10-03T01:41:15.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:41:15.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:41:15.580Z] Configure a credential helper to remove this warning. See [2022-10-03T01:41:15.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:41:15.580Z] [2022-10-03T01:41:15.580Z] Login Succeeded [2022-10-03T01:41:15.580Z] docker.io [2022-10-03T01:41:15.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:41:16.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:41:16.120Z] Configure a credential helper to remove this warning. See [2022-10-03T01:41:16.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:41:16.120Z] [2022-10-03T01:41:16.120Z] Login Succeeded [2022-10-03T01:41:16.120Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T01:41:16.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T01:41:16.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T01:41:16.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T01:41:16.563Z] ========================================================= [2022-10-03T01:41:16.563Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T01:41:16.563Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:41:17.085Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-03T01:41:17.353Z] Sending build context to Docker daemon 3.184MB [2022-10-03T01:41:17.353Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T01:41:17.353Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T01:41:17.622Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T01:41:17.622Z] b3c136eddcbf: Pulling fs layer [2022-10-03T01:41:17.622Z] c0a3192eca97: Pulling fs layer [2022-10-03T01:41:17.622Z] a050256f5b6f: Pulling fs layer [2022-10-03T01:41:17.622Z] 656be50a0ddc: Pulling fs layer [2022-10-03T01:41:17.622Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T01:41:17.622Z] f607e4fc86c3: Pulling fs layer [2022-10-03T01:41:17.622Z] 4d572c569a2c: Pulling fs layer [2022-10-03T01:41:17.622Z] fcf976331f73: Pulling fs layer [2022-10-03T01:41:17.622Z] f607e4fc86c3: Waiting [2022-10-03T01:41:17.622Z] 656be50a0ddc: Waiting [2022-10-03T01:41:17.622Z] fcf976331f73: Waiting [2022-10-03T01:41:17.622Z] 2bbca73fdf42: Waiting [2022-10-03T01:41:17.622Z] a050256f5b6f: Verifying Checksum [2022-10-03T01:41:17.622Z] a050256f5b6f: Download complete [2022-10-03T01:41:17.622Z] c0a3192eca97: Download complete [2022-10-03T01:41:17.622Z] 2bbca73fdf42: Download complete [2022-10-03T01:41:17.622Z] f607e4fc86c3: Verifying Checksum [2022-10-03T01:41:17.622Z] f607e4fc86c3: Download complete [2022-10-03T01:41:17.622Z] b3c136eddcbf: Verifying Checksum [2022-10-03T01:41:17.622Z] b3c136eddcbf: Download complete [2022-10-03T01:41:18.592Z] b3c136eddcbf: Pull complete [2022-10-03T01:41:18.592Z] fcf976331f73: Verifying Checksum [2022-10-03T01:41:18.592Z] fcf976331f73: Download complete [2022-10-03T01:41:19.190Z] c0a3192eca97: Pull complete [2022-10-03T01:41:19.464Z] a050256f5b6f: Pull complete [2022-10-03T01:41:20.064Z] 4d572c569a2c: Verifying Checksum [2022-10-03T01:41:20.064Z] 4d572c569a2c: Download complete [2022-10-03T01:41:20.653Z] 656be50a0ddc: Verifying Checksum [2022-10-03T01:41:20.653Z] 656be50a0ddc: Download complete [2022-10-03T01:41:33.121Z] 656be50a0ddc: Pull complete [2022-10-03T01:41:33.121Z] 2bbca73fdf42: Pull complete [2022-10-03T01:41:33.121Z] f607e4fc86c3: Pull complete [2022-10-03T01:41:39.812Z] 4d572c569a2c: Pull complete [2022-10-03T01:41:42.424Z] fcf976331f73: Pull complete [2022-10-03T01:41:42.424Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T01:41:42.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T01:41:42.424Z] ---> 3970a7415f9e [2022-10-03T01:41:42.424Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T01:41:44.383Z] ---> Running in ea7ec4172be2 [2022-10-03T01:41:44.383Z] Removing intermediate container ea7ec4172be2 [2022-10-03T01:41:44.383Z] ---> ede3107c8924 [2022-10-03T01:41:44.383Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T01:41:44.383Z] ---> Running in d224c996d2ec [2022-10-03T01:41:44.975Z] Removing intermediate container d224c996d2ec [2022-10-03T01:41:44.975Z] ---> 781ba50c01d9 [2022-10-03T01:41:44.975Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T01:41:44.975Z] ---> Running in 3f942bc65e6e [2022-10-03T01:41:45.245Z] Removing intermediate container 3f942bc65e6e [2022-10-03T01:41:45.245Z] ---> 742c9e2fb431 [2022-10-03T01:41:45.245Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T01:41:45.543Z] ---> Running in 49ada281435c [2022-10-03T01:41:45.813Z] Removing intermediate container 49ada281435c [2022-10-03T01:41:45.813Z] ---> 0f16a92e27a9 [2022-10-03T01:41:45.813Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:41:45.813Z] ---> Running in a6cab87c0c19 [2022-10-03T01:41:47.770Z] Removing intermediate container a6cab87c0c19 [2022-10-03T01:41:47.770Z] ---> 783aafead1d8 [2022-10-03T01:41:47.770Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T01:41:48.046Z] ---> Running in 696a1ee13b81 [2022-10-03T01:41:49.017Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T01:41:49.987Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T01:41:50.953Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T01:41:50.953Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T01:41:50.954Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T01:41:51.226Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T01:41:51.226Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T01:41:51.226Z] OK: 226 MiB in 55 packages [2022-10-03T01:41:52.657Z] Removing intermediate container 696a1ee13b81 [2022-10-03T01:41:52.658Z] ---> 8373dea77269 [2022-10-03T01:41:52.658Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-03T01:41:52.658Z] ---> Running in 4c48f3e53783 [2022-10-03T01:41:52.658Z] Removing intermediate container 4c48f3e53783 [2022-10-03T01:41:52.658Z] ---> 4675665ff3a4 [2022-10-03T01:41:52.658Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T01:41:53.254Z] ---> f3952942d7d8 [2022-10-03T01:41:53.254Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T01:41:53.254Z] ---> Running in c276a6b14195 [2022-10-03T01:42:49.688Z] Removing intermediate container c276a6b14195 [2022-10-03T01:42:49.688Z] ---> 99650d35f9e6 [2022-10-03T01:42:49.688Z] Step 12/13 : COPY . . [2022-10-03T01:42:49.688Z] ---> d0db46d84186 [2022-10-03T01:42:49.688Z] Step 13/13 : RUN $MAKE [2022-10-03T01:42:49.688Z] ---> Running in ab20d0a98ec1 [2022-10-03T01:42:49.688Z] noop [2022-10-03T01:42:49.688Z] Removing intermediate container ab20d0a98ec1 [2022-10-03T01:42:49.688Z] ---> 8026acae8697 [2022-10-03T01:42:49.688Z] Successfully built 8026acae8697 [2022-10-03T01:42:49.688Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:42:50.173Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T01:42:50.173Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:42:50.438Z] prd-ubuntu20.04-docker-arm64-4c-16g-6708 does not seem to be running inside a container [2022-10-03T01:42:50.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T01:42:51.828Z] $ docker top 3a888dbeed1fbc40620640ab36338d726bbfe11405266692b723c33f989ada93 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:42:52.736Z] + go version [2022-10-03T01:42:52.736Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T01:42:52.771Z] $ docker stop --time=1 3a888dbeed1fbc40620640ab36338d726bbfe11405266692b723c33f989ada93 [2022-10-03T01:42:54.443Z] $ docker rm -f 3a888dbeed1fbc40620640ab36338d726bbfe11405266692b723c33f989ada93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:42:55.301Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T01:42:55.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:42:55.556Z] prd-ubuntu20.04-docker-arm64-4c-16g-6708 does not seem to be running inside a container [2022-10-03T01:42:55.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T01:42:56.864Z] $ docker top 5cc60856e9dbf696826587c87c7cce5e773cf4da3246a2cebac830b7b691bacc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:42:57.777Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-03T01:42:58.492Z] + make test [2022-10-03T01:42:58.492Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T01:43:00.440Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-03T01:44:37.155Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-03T01:44:39.751Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.082s coverage: 21.8% of statements [2022-10-03T01:44:39.751Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-03T01:44:40.019Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T01:44:40.019Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T01:45:12.305Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T01:45:12.305Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T01:45:12.305Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T01:45:12.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T01:45:12.370Z] $ docker stop --time=1 5cc60856e9dbf696826587c87c7cce5e773cf4da3246a2cebac830b7b691bacc [2022-10-03T01:45:14.286Z] $ docker rm -f 5cc60856e9dbf696826587c87c7cce5e773cf4da3246a2cebac830b7b691bacc [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T01:45:15.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T01:45:15.390Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T01:45:15.950Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T01:45:16.570Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T01:45:16.931Z] + ls -al . [2022-10-03T01:45:16.931Z] total 180 [2022-10-03T01:45:16.931Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 01:42 . [2022-10-03T01:45:16.931Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:40 .. [2022-10-03T01:45:16.931Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 01:40 .dockerignore [2022-10-03T01:45:16.931Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:40 .git [2022-10-03T01:45:16.931Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:40 .github [2022-10-03T01:45:16.931Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 01:40 .gitignore [2022-10-03T01:45:16.931Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 01:40 .golangci.yml [2022-10-03T01:45:16.931Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 3 01:40 Attribution.txt [2022-10-03T01:45:16.931Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 3 01:40 CHANGELOG.md [2022-10-03T01:45:16.931Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 3 01:40 Dockerfile [2022-10-03T01:45:16.931Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 01:40 GOVERNANCE.md [2022-10-03T01:45:16.931Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 3 01:40 Jenkinsfile [2022-10-03T01:45:16.932Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 01:40 LICENSE [2022-10-03T01:45:16.932Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 3 01:40 Makefile [2022-10-03T01:45:16.932Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 01:40 OWNERS.md [2022-10-03T01:45:16.932Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 3 01:40 README.md [2022-10-03T01:45:16.932Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 01:32 VERSION [2022-10-03T01:45:16.932Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:40 bin [2022-10-03T01:45:16.932Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:40 cmd [2022-10-03T01:45:16.932Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 3 01:44 coverage.out [2022-10-03T01:45:16.932Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 3 01:40 go.mod [2022-10-03T01:45:16.932Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 01:40 go.sum [2022-10-03T01:45:16.932Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:40 internal [2022-10-03T01:45:16.932Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:40 mock [2022-10-03T01:45:16.932Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:40 snap [2022-10-03T01:45:16.932Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 3 01:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:45:17.382Z] + 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=40728c0c9192581239a0f3fc91f826ee991611f5 --label arch=arm64 --label version=0.0.0 . [2022-10-03T01:45:17.652Z] Sending build context to Docker daemon 3.203MB [2022-10-03T01:45:17.935Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T01:45:17.935Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-03T01:45:17.935Z] ---> 8026acae8697 [2022-10-03T01:45:17.935Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-03T01:45:17.935Z] ---> Running in d54d97897728 [2022-10-03T01:45:18.205Z] Removing intermediate container d54d97897728 [2022-10-03T01:45:18.205Z] ---> e70d7442a49b [2022-10-03T01:45:18.205Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T01:45:18.473Z] ---> Running in 83d1ab7c5715 [2022-10-03T01:45:19.062Z] Removing intermediate container 83d1ab7c5715 [2022-10-03T01:45:19.062Z] ---> 3837fe0c6dd2 [2022-10-03T01:45:19.062Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T01:45:19.062Z] ---> Running in e794261d1cbb [2022-10-03T01:45:20.031Z] Removing intermediate container e794261d1cbb [2022-10-03T01:45:20.031Z] ---> 3672d802b609 [2022-10-03T01:45:20.031Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T01:45:20.031Z] ---> Running in b4c38320ae9a [2022-10-03T01:45:20.615Z] Removing intermediate container b4c38320ae9a [2022-10-03T01:45:20.615Z] ---> bc25009f707d [2022-10-03T01:45:20.615Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:45:20.615Z] ---> Running in 58a5e4441d09 [2022-10-03T01:45:22.561Z] Removing intermediate container 58a5e4441d09 [2022-10-03T01:45:22.561Z] ---> 7850fa973b61 [2022-10-03T01:45:22.561Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T01:45:22.561Z] ---> Running in 27aef4bf9ba6 [2022-10-03T01:45:23.522Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T01:45:24.479Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T01:45:25.887Z] OK: 226 MiB in 55 packages [2022-10-03T01:45:26.846Z] Removing intermediate container 27aef4bf9ba6 [2022-10-03T01:45:26.846Z] ---> 19ae2ed0f8c9 [2022-10-03T01:45:26.846Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-03T01:45:26.846Z] ---> Running in 70190b627f4b [2022-10-03T01:45:27.114Z] Removing intermediate container 70190b627f4b [2022-10-03T01:45:27.115Z] ---> 872e0d5edf26 [2022-10-03T01:45:27.115Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-03T01:45:27.699Z] ---> 2ef3849dd57c [2022-10-03T01:45:27.699Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T01:45:27.972Z] ---> Running in a7e70ea3da45 [2022-10-03T01:45:30.585Z] Removing intermediate container a7e70ea3da45 [2022-10-03T01:45:30.585Z] ---> 923396e0a8b9 [2022-10-03T01:45:30.585Z] Step 12/25 : COPY . . [2022-10-03T01:45:31.167Z] ---> f6dd02171034 [2022-10-03T01:45:31.167Z] Step 13/25 : RUN $MAKE [2022-10-03T01:45:31.167Z] ---> Running in 08945106c4e6 [2022-10-03T01:45:32.133Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-10-03T01:48:08.876Z] Removing intermediate container 08945106c4e6 [2022-10-03T01:48:08.876Z] ---> c4e155ba5efc [2022-10-03T01:48:08.876Z] Step 14/25 : FROM alpine:3.16 [2022-10-03T01:48:08.876Z] 3.16: Pulling from library/alpine [2022-10-03T01:48:08.876Z] 9b18e9b68314: Pulling fs layer [2022-10-03T01:48:08.876Z] 9b18e9b68314: Verifying Checksum [2022-10-03T01:48:08.876Z] 9b18e9b68314: Download complete [2022-10-03T01:48:08.876Z] 9b18e9b68314: Pull complete [2022-10-03T01:48:08.876Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T01:48:08.876Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T01:48:08.876Z] ---> a6215f271958 [2022-10-03T01:48:08.876Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-03T01:48:08.876Z] ---> Running in 4d198bd4f8cb [2022-10-03T01:48:08.876Z] Removing intermediate container 4d198bd4f8cb [2022-10-03T01:48:08.876Z] ---> 966a53ce6aff [2022-10-03T01:48:08.876Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T01:48:08.876Z] ---> Running in 680f68056966 [2022-10-03T01:48:08.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T01:48:08.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T01:48:08.876Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T01:48:08.876Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T01:48:08.876Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T01:48:08.876Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T01:48:08.876Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T01:48:08.876Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T01:48:08.876Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T01:48:08.876Z] OK: 8 MiB in 20 packages [2022-10-03T01:48:08.876Z] Removing intermediate container 680f68056966 [2022-10-03T01:48:08.876Z] ---> 24c79f2eac96 [2022-10-03T01:48:08.876Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-03T01:48:10.284Z] ---> 62cd52afa848 [2022-10-03T01:48:10.284Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-03T01:48:10.867Z] ---> db3fc29173f9 [2022-10-03T01:48:10.867Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-03T01:48:11.452Z] ---> 07c204090aad [2022-10-03T01:48:11.452Z] Step 20/25 : EXPOSE 59982 [2022-10-03T01:48:11.452Z] ---> Running in cbb6f8d8a186 [2022-10-03T01:48:11.723Z] Removing intermediate container cbb6f8d8a186 [2022-10-03T01:48:11.723Z] ---> ca4a834efd45 [2022-10-03T01:48:11.723Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-03T01:48:11.993Z] ---> Running in 3bb426db1475 [2022-10-03T01:48:12.261Z] Removing intermediate container 3bb426db1475 [2022-10-03T01:48:12.261Z] ---> 4ce885554ca1 [2022-10-03T01:48:12.261Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T01:48:12.261Z] ---> Running in 98a94fdc260a [2022-10-03T01:48:12.529Z] Removing intermediate container 98a94fdc260a [2022-10-03T01:48:12.529Z] ---> 1a3d5a99be60 [2022-10-03T01:48:12.529Z] Step 23/25 : LABEL arch=arm64 [2022-10-03T01:48:12.529Z] ---> Running in f62206d949c5 [2022-10-03T01:48:15.119Z] Removing intermediate container f62206d949c5 [2022-10-03T01:48:15.119Z] ---> 62559b1d586e [2022-10-03T01:48:15.119Z] Step 24/25 : LABEL git_sha=40728c0c9192581239a0f3fc91f826ee991611f5 [2022-10-03T01:48:15.119Z] ---> Running in 4a541d600fed [2022-10-03T01:48:15.119Z] Removing intermediate container 4a541d600fed [2022-10-03T01:48:15.119Z] ---> 10b49d58cc33 [2022-10-03T01:48:15.119Z] Step 25/25 : LABEL version=0.0.0 [2022-10-03T01:48:15.119Z] ---> Running in 121bacfb9840 [2022-10-03T01:48:15.386Z] Removing intermediate container 121bacfb9840 [2022-10-03T01:48:15.386Z] ---> 8a13382f601b [2022-10-03T01:48:15.386Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T01:48:15.386Z] Successfully built 8a13382f601b [2022-10-03T01:48:15.386Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:48:16.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T01:48:16.217Z] [2022-10-03T01:48:16.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:48:16.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T01:48:16.643Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T01:48:16.643Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T01:48:16.643Z] 04944245beec: Pulling fs layer [2022-10-03T01:48:16.643Z] 699f458cf7ca: Pulling fs layer [2022-10-03T01:48:16.643Z] 765212b225bb: Pulling fs layer [2022-10-03T01:48:16.643Z] f23df028b6ca: Pulling fs layer [2022-10-03T01:48:16.643Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T01:48:16.643Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T01:48:16.643Z] 765212b225bb: Waiting [2022-10-03T01:48:16.643Z] f23df028b6ca: Waiting [2022-10-03T01:48:16.643Z] d65c8cfc05b1: Waiting [2022-10-03T01:48:16.643Z] 2437ff75d9bd: Waiting [2022-10-03T01:48:16.930Z] 04944245beec: Verifying Checksum [2022-10-03T01:48:16.930Z] 04944245beec: Download complete [2022-10-03T01:48:16.930Z] 765212b225bb: Verifying Checksum [2022-10-03T01:48:16.930Z] 765212b225bb: Download complete [2022-10-03T01:48:16.930Z] f23df028b6ca: Download complete [2022-10-03T01:48:16.930Z] d65c8cfc05b1: Verifying Checksum [2022-10-03T01:48:16.930Z] d65c8cfc05b1: Download complete [2022-10-03T01:48:17.222Z] 699f458cf7ca: Verifying Checksum [2022-10-03T01:48:17.222Z] 699f458cf7ca: Download complete [2022-10-03T01:48:17.498Z] 8998bd30e6a1: Verifying Checksum [2022-10-03T01:48:20.131Z] 2437ff75d9bd: Download complete [2022-10-03T01:48:21.537Z] 8998bd30e6a1: Pull complete [2022-10-03T01:48:21.804Z] 04944245beec: Pull complete [2022-10-03T01:48:23.209Z] 699f458cf7ca: Pull complete [2022-10-03T01:48:23.477Z] 765212b225bb: Pull complete [2022-10-03T01:48:24.059Z] f23df028b6ca: Pull complete [2022-10-03T01:48:24.327Z] d65c8cfc05b1: Pull complete [2022-10-03T01:48:39.328Z] 2437ff75d9bd: Pull complete [2022-10-03T01:48:39.328Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T01:48:39.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T01:48:39.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:48:39.644Z] prd-ubuntu20.04-docker-arm64-4c-16g-6708 does not seem to be running inside a container [2022-10-03T01:48:39.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-03T01:48:42.516Z] $ docker top 05adefbe11781d042ee01ba4648446f15e3cb363a20a1651f24f831cad4b721d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:43.416Z] ---> job-cost.sh [2022-10-03T01:48:43.416Z] lf-activate-venv: SKIPPING [2022-10-03T01:48:43.416Z] INFO: No Stack... [2022-10-03T01:48:43.684Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T01:48:44.641Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T01:48:45.300Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-10-03T01:48:45.300Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T01:48:45.393Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] [2022-10-03T01:48:45.398Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] did not exist. Created. [2022-10-03T01:48:45.398Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T01:48:45.810Z] /w/workspace/device-mqtt-go/1@tmp/durable-a752ba3c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T01:48:46.481Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T01:48:46.517Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T01:48:46.556Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T01:48:46.577Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-417-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T01:48:46.654Z] $ docker stop --time=1 05adefbe11781d042ee01ba4648446f15e3cb363a20a1651f24f831cad4b721d [2022-10-03T01:48:48.132Z] $ docker rm -f 05adefbe11781d042ee01ba4648446f15e3cb363a20a1651f24f831cad4b721d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-03T01:48:49.073Z] provisioning config files... [2022-10-03T01:48:49.079Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/config3687686852352367497tmp [Pipeline] { [Pipeline] sh [2022-10-03T01:48:49.412Z] + set +x [2022-10-03T01:48:49.412Z] + curl -s https://codecov.io/bash [2022-10-03T01:48:49.412Z] + bash -s -- [2022-10-03T01:48:49.412Z] [2022-10-03T01:48:49.412Z] _____ _ [2022-10-03T01:48:49.412Z] / ____| | | [2022-10-03T01:48:49.412Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T01:48:49.412Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T01:48:49.412Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T01:48:49.412Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T01:48:49.412Z] Bash-1.0.6 [2022-10-03T01:48:49.412Z] [2022-10-03T01:48:49.412Z] [2022-10-03T01:48:49.412Z] ==> git version 2.25.1 found [2022-10-03T01:48:49.412Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-03T01:48:49.412Z] Release-Date: 2020-01-08 [2022-10-03T01:48:49.412Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-03T01:48:49.412Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T01:48:49.412Z] ==> Jenkins CI detected. [2022-10-03T01:48:49.412Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-417 [2022-10-03T01:48:49.412Z] project root: . [2022-10-03T01:48:49.412Z] --> token set from env [2022-10-03T01:48:49.412Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T01:48:49.412Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T01:48:49.412Z] ==> Python coveragepy not found [2022-10-03T01:48:49.412Z] ==> Searching for coverage reports in: [2022-10-03T01:48:49.412Z] + . [2022-10-03T01:48:49.412Z] -> Found 1 reports [2022-10-03T01:48:49.412Z] ==> Detecting git/mercurial file structure [2022-10-03T01:48:49.412Z] ==> Reading reports [2022-10-03T01:48:49.412Z] + ./coverage.out bytes=17887 [2022-10-03T01:48:49.412Z] ==> Appending adjustments [2022-10-03T01:48:49.412Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T01:48:49.670Z] + Found adjustments [2022-10-03T01:48:49.670Z] ==> Gzipping contents [2022-10-03T01:48:49.670Z] 4.0K /tmp/codecov.F4upQA.gz [2022-10-03T01:48:49.670Z] ==> Uploading reports [2022-10-03T01:48:49.670Z] url: https://codecov.io [2022-10-03T01:48:49.670Z] query: branch=PR-417&commit=40728c0c9192581239a0f3fc91f826ee991611f5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-417%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=417&job=&cmd_args= [2022-10-03T01:48:49.670Z] -> Pinging Codecov [2022-10-03T01:48:49.670Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-417&commit=40728c0c9192581239a0f3fc91f826ee991611f5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-417%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=417&job=&cmd_args= [2022-10-03T01:48:49.928Z] -> Uploading to [2022-10-03T01:48:49.928Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/7D719EC7BBE17E464838252E33014C33/40728c0c9192581239a0f3fc91f826ee991611f5/0fdfd127-089b-4038-a48f-93810e58e7aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T014849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f83692d1cb4f17ad0c225f6d29f67b1f42679311f17dbdf1b2d2c9aae35eea6f [2022-10-03T01:48:49.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T01:48:49.928Z] Dload Upload Total Spent Left Speed [2022-10-03T01:48:50.188Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216 0 0 100 3216 0 13627 --:--:-- --:--:-- --:--:-- 13627 [2022-10-03T01:48:50.188Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/40728c0c9192581239a0f3fc91f826ee991611f5 [Pipeline] } [2022-10-03T01:48:50.216Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-03T01:48:51.976Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives ] [2022-10-03T01:48:51.976Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives [2022-10-03T01:48:51.976Z] total 16 [2022-10-03T01:48:51.976Z] drwxr-xr-x 3 root root 4096 Oct 3 01:34 . [2022-10-03T01:48:51.976Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 01:34 .. [2022-10-03T01:48:51.976Z] drwxr-xr-x 2 root root 4096 Oct 3 01:34 cost [2022-10-03T01:48:51.976Z] -rw-r--r-- 1 root root 86 Oct 3 01:34 cost.csv [2022-10-03T01:48:51.976Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives [2022-10-03T01:48:51.976Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives [2022-10-03T01:48:51.976Z] total 16 [2022-10-03T01:48:51.976Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:34 . [2022-10-03T01:48:51.976Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 01:34 .. [2022-10-03T01:48:51.976Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 01:34 cost [2022-10-03T01:48:51.976Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 3 01:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:52.314Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:53.192Z] ---> package-listing.sh [2022-10-03T01:48:53.192Z] ++ facter osfamily [2022-10-03T01:48:53.192Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T01:48:53.451Z] + OS_FAMILY=debian [2022-10-03T01:48:53.451Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-417 [2022-10-03T01:48:53.451Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T01:48:53.451Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T01:48:53.451Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T01:48:53.451Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T01:48:53.451Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-417 ']' [2022-10-03T01:48:53.451Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T01:48:53.451Z] + case "${OS_FAMILY}" in [2022-10-03T01:48:53.451Z] + dpkg -l [2022-10-03T01:48:53.451Z] + grep '^ii' [2022-10-03T01:48:53.451Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T01:48:53.451Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T01:48:53.451Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T01:48:53.451Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-417 ']' [2022-10-03T01:48:53.451Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives/ [2022-10-03T01:48:53.451Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-417/archives/ [Pipeline] echo [2022-10-03T01:48:53.482Z] 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-417/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-03T01:48:53.771Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:48:54.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T01:48:54.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:48:54.517Z] prd-ubuntu20.04-docker-8c-8g-6633 does not seem to be running inside a container [2022-10-03T01:48:54.547Z] $ 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-417/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-417 -v /w/workspace/gexfoundry_device-mqtt-go_PR-417:/w/workspace/gexfoundry_device-mqtt-go_PR-417:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T01:48:54.749Z] $ docker top 87462db52331f1bc82b3d2494cdcb158dfd4ddb7887d6712f4ab65e5adde465d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:48:55.139Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T01:48:55.445Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T01:48:55.751Z] + ls /var/log/sa-host [2022-10-03T01:48:55.751Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T01:48:55.872Z] provisioning config files... [2022-10-03T01:48:55.880Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-417@tmp/config9394289911108825745tmp [Pipeline] { [Pipeline] echo [2022-10-03T01:48:55.930Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:56.241Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T01:48:56.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:56.672Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T01:48:56.707Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:57.020Z] ---> sudo-logs.sh [2022-10-03T01:48:57.020Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T01:48:57.100Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:57.407Z] ---> job-cost.sh [2022-10-03T01:48:57.407Z] lf-activate-venv: SKIPPING [2022-10-03T01:48:57.407Z] DEBUG: total: 0.2199999988079071 [2022-10-03T01:48:57.407Z] INFO: Retrieving Stack Cost... [2022-10-03T01:48:57.666Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T01:48:58.234Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T01:48:58.270Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:58.586Z] ---> logs-deploy.sh [2022-10-03T01:48:58.586Z] lf-activate-venv: SKIPPING [2022-10-03T01:48:58.586Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-417/1 [2022-10-03T01:48:58.586Z] INFO: archiving workspace using pattern(s): [2022-10-03T01:48:59.523Z] Archives upload complete. [2022-10-03T01:48:59.523Z] INFO: archiving logs to Nexus