Pull request #421 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ea7901679514ef073c4369edce0c60c6e214a218+1a028d96f2f1053b1975dad0f0d16109b5d4490c (cf3458b9f6f1d53c300382aeb2c20ff0b61b8e18) 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-ssh1975070328821131981.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-ssh14293866936718622154.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-421/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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12163139296759041814.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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6922697511570265689.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-ssh8296873838400502521.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-421/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-421/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11327694157027077686.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 ‘prd-ubuntu20.04-docker-8c-8g-7460’ Running on prd-ubuntu20.04-docker-8c-8g-7469 in /w/workspace/gexfoundry_device-mqtt-go_PR-421 [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-421 # 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/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a028d96f2f1053b1975dad0f0d16109b5d4490c into PR head commit ea7901679514ef073c4369edce0c60c6e214a218 Merge succeeded, producing ea7901679514ef073c4369edce0c60c6e214a218 Checking out Revision ea7901679514ef073c4369edce0c60c6e214a218 (PR-421) 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-10T01:29:08.363Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T01:29:08.533Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T01:29:08.635Z] ========================================================= [2022-10-10T01:29:08.635Z] EdgeX Global Pipelines Version Info [2022-10-10T01:29:08.635Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f ea7901679514ef073c4369edce0c60c6e214a218 # 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 1a028d96f2f1053b1975dad0f0d16109b5d4490c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea7901679514ef073c4369edce0c60c6e214a218 # timeout=10 [2022-10-10T01:29:09.389Z] ------------------- [2022-10-10T01:29:09.389Z] stable info: [2022-10-10T01:29:09.389Z] ------------------- [2022-10-10T01:29:09.389Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T01:29:09.389Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T01:29:09.389Z] Message: update stable to v1.0.239 [2022-10-10T01:29:09.961Z] ------------------- [2022-10-10T01:29:09.961Z] experimental info: [2022-10-10T01:29:09.961Z] ------------------- [2022-10-10T01:29:09.961Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T01:29:09.961Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T01:29:09.961Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T01:29:10.268Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-10T01:29:10.313Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-10T01:29:10.356Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T01:29:10.399Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T01:29:10.437Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T01:29:10.477Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T01:29:10.520Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T01:29:10.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T01:29:10.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T01:29:10.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T01:29:10.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T01:29:10.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-10T01:29:10.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T01:29:10.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T01:29:10.850Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T01:29:10.892Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T01:29:10.933Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T01:29:10.971Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T01:29:11.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T01:29:11.044Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T01:29:11.080Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T01:29:11.117Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T01:29:11.152Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T01:29:11.190Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T01:29:11.229Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T01:29:11.268Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T01:29:11.307Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T01:29:11.343Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-421 [Pipeline] echo [2022-10-10T01:29:11.381Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-421 [Pipeline] echo [2022-10-10T01:29:11.416Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-421 [Pipeline] echo [2022-10-10T01:29:11.450Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea7901679514ef073c4369edce0c60c6e214a218 [Pipeline] echo [2022-10-10T01:29:11.486Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea79016 [Pipeline] echo [2022-10-10T01:29:11.529Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T01:29:11.641Z] provisioning config files... [2022-10-10T01:29:11.656Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/config10739287361115865014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:29:11.993Z] ---> docker-login.sh [2022-10-10T01:29:11.993Z] nexus3.edgexfoundry.org:10001 [2022-10-10T01:29:12.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:29:12.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:29:12.527Z] Configure a credential helper to remove this warning. See [2022-10-10T01:29:12.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:29:12.527Z] [2022-10-10T01:29:12.527Z] Login Succeeded [2022-10-10T01:29:12.527Z] nexus3.edgexfoundry.org:10002 [2022-10-10T01:29:12.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:29:12.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:29:12.527Z] Configure a credential helper to remove this warning. See [2022-10-10T01:29:12.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:29:12.527Z] [2022-10-10T01:29:12.527Z] Login Succeeded [2022-10-10T01:29:12.527Z] nexus3.edgexfoundry.org:10003 [2022-10-10T01:29:12.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:29:12.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:29:12.787Z] Configure a credential helper to remove this warning. See [2022-10-10T01:29:12.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:29:12.787Z] [2022-10-10T01:29:12.787Z] Login Succeeded [2022-10-10T01:29:12.787Z] nexus3.edgexfoundry.org:10004 [2022-10-10T01:29:12.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:29:12.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:29:12.787Z] Configure a credential helper to remove this warning. See [2022-10-10T01:29:12.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:29:12.787Z] [2022-10-10T01:29:12.787Z] Login Succeeded [2022-10-10T01:29:12.787Z] docker.io [2022-10-10T01:29:12.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:29:13.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:29:13.358Z] Configure a credential helper to remove this warning. See [2022-10-10T01:29:13.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:29:13.358Z] [2022-10-10T01:29:13.358Z] Login Succeeded [2022-10-10T01:29:13.358Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T01:29:13.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T01:29:14.024Z] + git rev-list -1 --merges ea7901679514ef073c4369edce0c60c6e214a218~1..ea7901679514ef073c4369edce0c60c6e214a218 [Pipeline] echo [2022-10-10T01:29:14.068Z] -----------> git rev-list -1 --merges ea7901679514ef073c4369edce0c60c6e214a218~1..ea7901679514ef073c4369edce0c60c6e214a218 ea7901679514ef073c4369edce0c60c6e214a218 [false] [Pipeline] sh [2022-10-10T01:29:14.377Z] + git log --format=format:%s -1 ea7901679514ef073c4369edce0c60c6e214a218 [Pipeline] echo [2022-10-10T01:29:14.407Z] ========================================================= [2022-10-10T01:29:14.407Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T01:29:14.407Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T01:29:14.819Z] + git log --format=format:%s -1 ea7901679514ef073c4369edce0c60c6e214a218 [Pipeline] echo [2022-10-10T01:29:14.850Z] [semverPrep] GIT_COMMIT: ea7901679514ef073c4369edce0c60c6e214a218, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-10-10T01:29:14.878Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T01:29:15.264Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T01:29:15.264Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T01:29:15.264Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T01:29:15.264Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T01:29:15.264Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T01:29:15.264Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T01:29:15.264Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:29:15.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T01:29:15.748Z] [2022-10-10T01:29:15.748Z] 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-10T01:29:16.113Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T01:29:16.114Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T01:29:16.114Z] b85a868b505f: Pulling fs layer [2022-10-10T01:29:16.114Z] e2be974225ed: Pulling fs layer [2022-10-10T01:29:16.114Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T01:29:16.114Z] 988bab9f4d93: Pulling fs layer [2022-10-10T01:29:16.114Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T01:29:16.114Z] eaf3925da568: Pulling fs layer [2022-10-10T01:29:16.114Z] 1469e6f7b9e6: Waiting [2022-10-10T01:29:16.114Z] 988bab9f4d93: Waiting [2022-10-10T01:29:16.114Z] eaf3925da568: Waiting [2022-10-10T01:29:16.114Z] bab4dde63d76: Pulling fs layer [2022-10-10T01:29:16.114Z] bde34c3a00c8: Pulling fs layer [2022-10-10T01:29:16.114Z] b352a97aabf1: Pulling fs layer [2022-10-10T01:29:16.114Z] 4872d77fe225: Pulling fs layer [2022-10-10T01:29:16.114Z] 5851b861e8e6: Pulling fs layer [2022-10-10T01:29:16.114Z] bab4dde63d76: Waiting [2022-10-10T01:29:16.114Z] bde34c3a00c8: Waiting [2022-10-10T01:29:16.114Z] b352a97aabf1: Waiting [2022-10-10T01:29:16.114Z] 4872d77fe225: Waiting [2022-10-10T01:29:16.114Z] 5851b861e8e6: Waiting [2022-10-10T01:29:16.114Z] e2be974225ed: Verifying Checksum [2022-10-10T01:29:16.114Z] e2be974225ed: Download complete [2022-10-10T01:29:16.375Z] 988bab9f4d93: Verifying Checksum [2022-10-10T01:29:16.375Z] 988bab9f4d93: Download complete [2022-10-10T01:29:16.375Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T01:29:16.375Z] 1469e6f7b9e6: Download complete [2022-10-10T01:29:16.375Z] eaf3925da568: Verifying Checksum [2022-10-10T01:29:16.375Z] eaf3925da568: Download complete [2022-10-10T01:29:16.375Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T01:29:16.375Z] 339a4e72a1f5: Download complete [2022-10-10T01:29:16.375Z] bde34c3a00c8: Verifying Checksum [2022-10-10T01:29:16.375Z] bde34c3a00c8: Download complete [2022-10-10T01:29:16.375Z] b352a97aabf1: Download complete [2022-10-10T01:29:16.375Z] 4872d77fe225: Download complete [2022-10-10T01:29:16.375Z] 5851b861e8e6: Verifying Checksum [2022-10-10T01:29:16.375Z] 5851b861e8e6: Download complete [2022-10-10T01:29:16.375Z] b85a868b505f: Verifying Checksum [2022-10-10T01:29:16.375Z] b85a868b505f: Download complete [2022-10-10T01:29:16.634Z] bab4dde63d76: Verifying Checksum [2022-10-10T01:29:16.634Z] bab4dde63d76: Download complete [2022-10-10T01:29:17.572Z] b85a868b505f: Pull complete [2022-10-10T01:29:17.831Z] e2be974225ed: Pull complete [2022-10-10T01:29:18.398Z] 339a4e72a1f5: Pull complete [2022-10-10T01:29:18.398Z] 988bab9f4d93: Pull complete [2022-10-10T01:29:18.655Z] 1469e6f7b9e6: Pull complete [2022-10-10T01:29:18.655Z] eaf3925da568: Pull complete [2022-10-10T01:29:20.560Z] bab4dde63d76: Pull complete [2022-10-10T01:29:20.560Z] bde34c3a00c8: Pull complete [2022-10-10T01:29:20.560Z] b352a97aabf1: Pull complete [2022-10-10T01:29:20.819Z] 4872d77fe225: Pull complete [2022-10-10T01:29:20.819Z] 5851b861e8e6: Pull complete [2022-10-10T01:29:20.819Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T01:29:20.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T01:29:20.819Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:29:21.050Z] prd-ubuntu20.04-docker-8c-8g-7469 does not seem to be running inside a container [2022-10-10T01:29:21.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@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-10T01:29:26.069Z] $ docker top afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 -eo pid,comm [2022-10-10T01:29:26.123Z] 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-10T01:29:26.123Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T01:29:26.234Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T01:29:26.234Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T01:29:26.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T01:29:26.349Z] $ docker exec afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 ssh-agent [2022-10-10T01:29:26.455Z] SSH_AUTH_SOCK=/tmp/ssh-Lpt1XtOOjig7/agent.31 [2022-10-10T01:29:26.455Z] SSH_AGENT_PID=37 [2022-10-10T01:29:26.460Z] Running ssh-add (command line suppressed) [2022-10-10T01:29:26.648Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/private_key_9869619617645209099.key (/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/private_key_9869619617645209099.key) [2022-10-10T01:29:26.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T01:29:26.997Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T01:29:27.021Z] $ docker exec --env ******** --env ******** afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 ssh-agent -k [2022-10-10T01:29:27.194Z] unset SSH_AUTH_SOCK; [2022-10-10T01:29:27.195Z] unset SSH_AGENT_PID; [2022-10-10T01:29:27.195Z] echo Agent pid 37 killed; [2022-10-10T01:29:27.208Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T01:29:27.293Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T01:29:27.293Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T01:29:27.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T01:29:27.403Z] $ docker exec afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 ssh-agent [2022-10-10T01:29:27.520Z] SSH_AUTH_SOCK=/tmp/ssh-OqRs87NkG3PM/agent.70 [2022-10-10T01:29:27.520Z] SSH_AGENT_PID=76 [2022-10-10T01:29:27.527Z] Running ssh-add (command line suppressed) [2022-10-10T01:29:27.628Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/private_key_12959740252215148825.key (/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/private_key_12959740252215148825.key) [2022-10-10T01:29:27.647Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T01:29:27.976Z] + git semver init [2022-10-10T01:29:28.548Z] 2022-10-10 01:29:28,275 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T01:29:28.548Z] 2022-10-10 01:29:28,277 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver [2022-10-10T01:29:28.548Z] 2022-10-10 01:29:28,278 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver [2022-10-10T01:29:28.548Z] 2022-10-10 01:29:28,279 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-421, universal_newlines=False, shell=None, istream=None) [2022-10-10T01:29:29.485Z] 2022-10-10 01:29:29,248 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421/.git/info/exclude [2022-10-10T01:29:29.485Z] 2022-10-10 01:29:29,249 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver/PR-421 with force:False [2022-10-10T01:29:29.485Z] 2022-10-10 01:29:29,249 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver/PR-421 [2022-10-10T01:29:29.485Z] 2022-10-10 01:29:29,254 [execute] INFO git cat-file --batch-check [2022-10-10T01:29:29.485Z] 2022-10-10 01:29:29,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T01:29:29.485Z] 2022-10-10 01:29:29,261 [execute] INFO git cat-file --batch [2022-10-10T01:29:29.485Z] 2022-10-10 01:29:29,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T01:29:29.485Z] 2022-10-10 01:29:29,267 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver/PR-421 [2022-10-10T01:29:29.485Z] 0.0.0 [Pipeline] } [2022-10-10T01:29:29.510Z] $ docker exec --env ******** --env ******** afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 ssh-agent -k [2022-10-10T01:29:29.659Z] unset SSH_AUTH_SOCK; [2022-10-10T01:29:29.660Z] unset SSH_AGENT_PID; [2022-10-10T01:29:29.660Z] echo Agent pid 76 killed; [2022-10-10T01:29:29.671Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T01:29:30.099Z] + git semver [Pipeline] } [2022-10-10T01:29:30.384Z] $ docker stop --time=1 afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 [2022-10-10T01:29:32.019Z] $ docker rm -f afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T01:29:32.420Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T01:29:32.651Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T01:29:32.667Z] [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-10T01:29:33.224Z] provisioning config files... [2022-10-10T01:29:33.234Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/config12731907168389080923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:29:33.574Z] ---> docker-login.sh [2022-10-10T01:29:33.574Z] nexus3.edgexfoundry.org:10001 [2022-10-10T01:29:33.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:29:33.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:29:33.574Z] Configure a credential helper to remove this warning. See [2022-10-10T01:29:33.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:29:33.574Z] [2022-10-10T01:29:33.574Z] Login Succeeded [2022-10-10T01:29:33.574Z] nexus3.edgexfoundry.org:10002 [2022-10-10T01:29:33.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:29:33.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:29:33.574Z] Configure a credential helper to remove this warning. See [2022-10-10T01:29:33.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:29:33.574Z] [2022-10-10T01:29:33.574Z] Login Succeeded [2022-10-10T01:29:33.574Z] nexus3.edgexfoundry.org:10003 [2022-10-10T01:29:33.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:29:33.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:29:33.834Z] Configure a credential helper to remove this warning. See [2022-10-10T01:29:33.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:29:33.834Z] [2022-10-10T01:29:33.834Z] Login Succeeded [2022-10-10T01:29:33.834Z] nexus3.edgexfoundry.org:10004 [2022-10-10T01:29:33.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:29:34.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:29:34.093Z] Configure a credential helper to remove this warning. See [2022-10-10T01:29:34.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:29:34.093Z] [2022-10-10T01:29:34.093Z] Login Succeeded [2022-10-10T01:29:34.093Z] docker.io [2022-10-10T01:29:34.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:29:34.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:29:34.352Z] Configure a credential helper to remove this warning. See [2022-10-10T01:29:34.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:29:34.352Z] [2022-10-10T01:29:34.352Z] Login Succeeded [2022-10-10T01:29:34.352Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T01:29:34.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T01:29:34.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T01:29:34.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T01:29:34.655Z] ========================================================= [2022-10-10T01:29:34.655Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T01:29:34.655Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:29:35.128Z] + 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-10T01:29:35.128Z] Sending build context to Docker daemon 6.162MB [2022-10-10T01:29:35.128Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T01:29:35.128Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T01:29:35.388Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T01:29:35.388Z] 2408cc74d12b: Pulling fs layer [2022-10-10T01:29:35.388Z] ea60b727a1ce: Pulling fs layer [2022-10-10T01:29:35.388Z] 30c4a7721957: Pulling fs layer [2022-10-10T01:29:35.388Z] 370296b7ddb6: Pulling fs layer [2022-10-10T01:29:35.388Z] 7c6cee850709: Pulling fs layer [2022-10-10T01:29:35.388Z] aa9baa53a306: Pulling fs layer [2022-10-10T01:29:35.388Z] 8b309c321861: Pulling fs layer [2022-10-10T01:29:35.388Z] d8d76fd02f46: Pulling fs layer [2022-10-10T01:29:35.388Z] fa31f396de31: Pulling fs layer [2022-10-10T01:29:35.388Z] aa9baa53a306: Waiting [2022-10-10T01:29:35.388Z] 370296b7ddb6: Waiting [2022-10-10T01:29:35.388Z] 8b309c321861: Waiting [2022-10-10T01:29:35.388Z] d8d76fd02f46: Waiting [2022-10-10T01:29:35.388Z] fa31f396de31: Waiting [2022-10-10T01:29:35.388Z] 7c6cee850709: Waiting [2022-10-10T01:29:35.388Z] 30c4a7721957: Verifying Checksum [2022-10-10T01:29:35.388Z] 30c4a7721957: Download complete [2022-10-10T01:29:35.388Z] ea60b727a1ce: Verifying Checksum [2022-10-10T01:29:35.388Z] ea60b727a1ce: Download complete [2022-10-10T01:29:35.388Z] 7c6cee850709: Verifying Checksum [2022-10-10T01:29:35.388Z] 7c6cee850709: Download complete [2022-10-10T01:29:35.388Z] aa9baa53a306: Download complete [2022-10-10T01:29:35.388Z] 2408cc74d12b: Verifying Checksum [2022-10-10T01:29:35.388Z] 2408cc74d12b: Download complete [2022-10-10T01:29:35.388Z] 8b309c321861: Download complete [2022-10-10T01:29:35.648Z] 2408cc74d12b: Pull complete [2022-10-10T01:29:35.910Z] ea60b727a1ce: Pull complete [2022-10-10T01:29:35.910Z] 30c4a7721957: Pull complete [2022-10-10T01:29:36.172Z] fa31f396de31: Verifying Checksum [2022-10-10T01:29:36.172Z] fa31f396de31: Download complete [2022-10-10T01:29:36.431Z] 370296b7ddb6: Verifying Checksum [2022-10-10T01:29:36.431Z] 370296b7ddb6: Download complete [2022-10-10T01:29:36.431Z] d8d76fd02f46: Verifying Checksum [2022-10-10T01:29:36.431Z] d8d76fd02f46: Download complete [2022-10-10T01:29:40.615Z] 370296b7ddb6: Pull complete [2022-10-10T01:29:40.615Z] 7c6cee850709: Pull complete [2022-10-10T01:29:40.615Z] aa9baa53a306: Pull complete [2022-10-10T01:29:40.615Z] 8b309c321861: Pull complete [2022-10-10T01:29:43.144Z] d8d76fd02f46: Pull complete [2022-10-10T01:29:43.713Z] fa31f396de31: Pull complete [2022-10-10T01:29:43.713Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T01:29:43.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T01:29:43.972Z] ---> cef68f9685f8 [2022-10-10T01:29:43.972Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T01:29:48.056Z] Still waiting to schedule task [2022-10-10T01:29:48.057Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7464’ [2022-10-10T01:29:50.533Z] ---> Running in 75073ac53454 [2022-10-10T01:29:50.533Z] Removing intermediate container 75073ac53454 [2022-10-10T01:29:50.533Z] ---> 5bf65856ee85 [2022-10-10T01:29:50.533Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T01:29:50.533Z] ---> Running in b3ddc1ed931c [2022-10-10T01:29:50.792Z] Removing intermediate container b3ddc1ed931c [2022-10-10T01:29:50.792Z] ---> a0de9d14fefc [2022-10-10T01:29:50.792Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T01:29:50.792Z] ---> Running in 7744b472b5dd [2022-10-10T01:29:50.792Z] Removing intermediate container 7744b472b5dd [2022-10-10T01:29:50.792Z] ---> 7d2be760449d [2022-10-10T01:29:50.792Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T01:29:50.792Z] ---> Running in 3c17afe8c520 [2022-10-10T01:29:51.051Z] Removing intermediate container 3c17afe8c520 [2022-10-10T01:29:51.051Z] ---> 662233aed7dd [2022-10-10T01:29:51.051Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T01:29:51.051Z] ---> Running in 54c0a3433707 [2022-10-10T01:29:51.620Z] Removing intermediate container 54c0a3433707 [2022-10-10T01:29:51.620Z] ---> 1476dffb07c1 [2022-10-10T01:29:51.620Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T01:29:51.620Z] ---> Running in 0bbc712f0802 [2022-10-10T01:29:51.879Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T01:29:52.816Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T01:29:53.075Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T01:29:53.075Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T01:29:53.075Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T01:29:53.334Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T01:29:53.334Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T01:29:53.334Z] OK: 216 MiB in 55 packages [2022-10-10T01:29:53.900Z] Removing intermediate container 0bbc712f0802 [2022-10-10T01:29:53.900Z] ---> ec9e3a878411 [2022-10-10T01:29:53.900Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T01:29:53.900Z] ---> Running in eeea70d0c763 [2022-10-10T01:29:54.160Z] Removing intermediate container eeea70d0c763 [2022-10-10T01:29:54.160Z] ---> 8612d8d44ca4 [2022-10-10T01:29:54.160Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T01:29:54.160Z] ---> 0c4d6fa2d832 [2022-10-10T01:29:54.160Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T01:29:54.160Z] ---> Running in 2d54a3b3838d [2022-10-10T01:30:26.247Z] Removing intermediate container 2d54a3b3838d [2022-10-10T01:30:26.247Z] ---> 8b5da1fd5b8e [2022-10-10T01:30:26.247Z] Step 12/13 : COPY . . [2022-10-10T01:30:26.247Z] ---> 07c8371c0551 [2022-10-10T01:30:26.247Z] Step 13/13 : RUN $MAKE [2022-10-10T01:30:26.247Z] ---> Running in 291cdf220359 [2022-10-10T01:30:26.247Z] noop [2022-10-10T01:30:26.247Z] Removing intermediate container 291cdf220359 [2022-10-10T01:30:26.247Z] ---> ce1b6badd07c [2022-10-10T01:30:26.247Z] Successfully built ce1b6badd07c [2022-10-10T01:30:26.247Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:30:26.687Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T01:30:26.687Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:30:26.829Z] prd-ubuntu20.04-docker-8c-8g-7469 does not seem to be running inside a container [2022-10-10T01:30:26.859Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@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-10T01:30:27.194Z] $ docker top f16b8e65616604aa523f0628105f524e1f872f1189c7a5eb23d0c038dd572836 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T01:30:27.567Z] + go version [2022-10-10T01:30:27.567Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T01:30:27.604Z] $ docker stop --time=1 f16b8e65616604aa523f0628105f524e1f872f1189c7a5eb23d0c038dd572836 [2022-10-10T01:30:28.843Z] $ docker rm -f f16b8e65616604aa523f0628105f524e1f872f1189c7a5eb23d0c038dd572836 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:30:29.501Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T01:30:29.502Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:30:29.659Z] prd-ubuntu20.04-docker-8c-8g-7469 does not seem to be running inside a container [2022-10-10T01:30:29.693Z] $ 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-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@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-10T01:30:29.995Z] $ docker top 6066c7a06196eab6f756e282000cf738eec9f1c3872443275be4b4c90e14371f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T01:30:30.379Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-421 [Pipeline] fileExists [Pipeline] sh [2022-10-10T01:30:30.724Z] + make test [2022-10-10T01:30:30.724Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T01:30:30.987Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T01:30:40.996Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T01:30:40.996Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-10-10T01:30:40.996Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T01:30:46.389Z] 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-10T01:30:46.389Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T01:30:49.714Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T01:30:49.714Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T01:30:49.714Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T01:30:49.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T01:30:49.789Z] $ docker stop --time=1 6066c7a06196eab6f756e282000cf738eec9f1c3872443275be4b4c90e14371f [2022-10-10T01:30:54.139Z] $ docker rm -f 6066c7a06196eab6f756e282000cf738eec9f1c3872443275be4b4c90e14371f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T01:30:54.666Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T01:30:54.732Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T01:30:55.427Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T01:30:55.740Z] + ls -al . [2022-10-10T01:30:55.741Z] total 184 [2022-10-10T01:30:55.741Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 01:30 . [2022-10-10T01:30:55.741Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:29 .. [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 01:29 .dockerignore [2022-10-10T01:30:55.741Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 01:30 .git [2022-10-10T01:30:55.741Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:29 .github [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 01:29 .gitignore [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 01:29 .golangci.yml [2022-10-10T01:30:55.741Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 01:29 .semver [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 01:29 Attribution.txt [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 01:29 CHANGELOG.md [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 01:29 Dockerfile [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 01:29 GOVERNANCE.md [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 01:29 Jenkinsfile [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 01:29 LICENSE [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 01:29 Makefile [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 01:29 OWNERS.md [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 01:29 README.md [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 01:29 VERSION [2022-10-10T01:30:55.741Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:29 bin [2022-10-10T01:30:55.741Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:29 cmd [2022-10-10T01:30:55.741Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 01:30 coverage.out [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 01:29 go.mod [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 01:29 go.sum [2022-10-10T01:30:55.741Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:29 internal [2022-10-10T01:30:55.741Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:29 mock [2022-10-10T01:30:55.741Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:29 snap [2022-10-10T01:30:55.741Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:30:56.167Z] + 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=ea7901679514ef073c4369edce0c60c6e214a218 --label arch=amd64 --label version=0.0.0 . [2022-10-10T01:30:56.167Z] Sending build context to Docker daemon 6.181MB [2022-10-10T01:30:56.167Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T01:30:56.167Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T01:30:56.167Z] ---> ce1b6badd07c [2022-10-10T01:30:56.167Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T01:30:56.434Z] ---> Running in 1acef86b1901 [2022-10-10T01:30:56.434Z] Removing intermediate container 1acef86b1901 [2022-10-10T01:30:56.434Z] ---> f2459fa4cf18 [2022-10-10T01:30:56.434Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T01:30:56.434Z] ---> Running in 80c2f6c83e0c [2022-10-10T01:30:56.434Z] Removing intermediate container 80c2f6c83e0c [2022-10-10T01:30:56.434Z] ---> 7bddd216cae1 [2022-10-10T01:30:56.434Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T01:30:56.434Z] ---> Running in 12058e668196 [2022-10-10T01:30:56.693Z] Removing intermediate container 12058e668196 [2022-10-10T01:30:56.693Z] ---> b2a73763fc89 [2022-10-10T01:30:56.693Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T01:30:56.693Z] ---> Running in 0feaf1243611 [2022-10-10T01:30:56.693Z] Removing intermediate container 0feaf1243611 [2022-10-10T01:30:56.693Z] ---> 66655b7e5640 [2022-10-10T01:30:56.693Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T01:30:56.693Z] ---> Running in cb91dacab6f1 [2022-10-10T01:30:57.260Z] Removing intermediate container cb91dacab6f1 [2022-10-10T01:30:57.260Z] ---> 64b49f924376 [2022-10-10T01:30:57.260Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T01:30:57.260Z] ---> Running in 997c0c5deebd [2022-10-10T01:30:57.519Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T01:30:58.453Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T01:30:58.712Z] OK: 216 MiB in 55 packages [2022-10-10T01:30:58.972Z] Removing intermediate container 997c0c5deebd [2022-10-10T01:30:58.972Z] ---> 100919439864 [2022-10-10T01:30:58.972Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T01:30:58.972Z] ---> Running in 71fddf0db162 [2022-10-10T01:30:59.230Z] Removing intermediate container 71fddf0db162 [2022-10-10T01:30:59.230Z] ---> 04b250a50c08 [2022-10-10T01:30:59.230Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T01:30:59.230Z] ---> bcd796da6a8a [2022-10-10T01:30:59.230Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T01:30:59.230Z] ---> Running in 0d30304fc93a [2022-10-10T01:30:59.796Z] Removing intermediate container 0d30304fc93a [2022-10-10T01:30:59.796Z] ---> b8e1d36add13 [2022-10-10T01:30:59.796Z] Step 12/25 : COPY . . [2022-10-10T01:31:00.365Z] ---> 58972c06b99a [2022-10-10T01:31:00.365Z] Step 13/25 : RUN $MAKE [2022-10-10T01:31:00.365Z] ---> Running in 1b4848968035 [2022-10-10T01:31:00.624Z] 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-10T01:31:22.535Z] Removing intermediate container 1b4848968035 [2022-10-10T01:31:22.535Z] ---> 702baa909e60 [2022-10-10T01:31:22.535Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T01:31:23.103Z] 3.16: Pulling from library/alpine [2022-10-10T01:31:23.103Z] 213ec9aee27d: Pulling fs layer [2022-10-10T01:31:23.717Z] 213ec9aee27d: Download complete [2022-10-10T01:31:23.717Z] 213ec9aee27d: Pull complete [2022-10-10T01:31:23.717Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T01:31:23.717Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T01:31:23.717Z] ---> 9c6f07244728 [2022-10-10T01:31:23.717Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T01:31:23.976Z] ---> Running in 0efce288704c [2022-10-10T01:31:23.976Z] Removing intermediate container 0efce288704c [2022-10-10T01:31:23.976Z] ---> ba74ac1e0e3b [2022-10-10T01:31:23.976Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T01:31:23.976Z] ---> Running in 06e08d56a6b9 [2022-10-10T01:31:24.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T01:31:24.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T01:31:24.494Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T01:31:24.752Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T01:31:24.752Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T01:31:24.752Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T01:31:24.752Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T01:31:24.752Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T01:31:24.752Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T01:31:24.752Z] OK: 8 MiB in 20 packages [2022-10-10T01:31:25.324Z] Removing intermediate container 06e08d56a6b9 [2022-10-10T01:31:25.324Z] ---> 94df11689071 [2022-10-10T01:31:25.324Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T01:31:25.890Z] ---> 6d08130765f9 [2022-10-10T01:31:25.890Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T01:31:25.890Z] ---> 55f21918b7d7 [2022-10-10T01:31:25.890Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T01:31:26.149Z] ---> 6bc0d2cc753d [2022-10-10T01:31:26.149Z] Step 20/25 : EXPOSE 59982 [2022-10-10T01:31:26.149Z] ---> Running in eb239709b1c6 [2022-10-10T01:31:26.149Z] Removing intermediate container eb239709b1c6 [2022-10-10T01:31:26.149Z] ---> 820f22026192 [2022-10-10T01:31:26.149Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T01:31:26.149Z] ---> Running in 022f73ad7d2e [2022-10-10T01:31:26.149Z] Removing intermediate container 022f73ad7d2e [2022-10-10T01:31:26.149Z] ---> 85f8ac5d4fd7 [2022-10-10T01:31:26.149Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T01:31:26.149Z] ---> Running in 558daeca56f4 [2022-10-10T01:31:26.438Z] Removing intermediate container 558daeca56f4 [2022-10-10T01:31:26.438Z] ---> df0041cea5b5 [2022-10-10T01:31:26.438Z] Step 23/25 : LABEL arch=amd64 [2022-10-10T01:31:26.438Z] ---> Running in 46ea20049632 [2022-10-10T01:31:26.438Z] Removing intermediate container 46ea20049632 [2022-10-10T01:31:26.438Z] ---> 33fea72393f6 [2022-10-10T01:31:26.438Z] Step 24/25 : LABEL git_sha=ea7901679514ef073c4369edce0c60c6e214a218 [2022-10-10T01:31:26.438Z] ---> Running in 293101f1107a [2022-10-10T01:31:26.438Z] Removing intermediate container 293101f1107a [2022-10-10T01:31:26.438Z] ---> 9e5b4453acc9 [2022-10-10T01:31:26.438Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T01:31:26.438Z] ---> Running in 3f02d2f45619 [2022-10-10T01:31:26.438Z] Removing intermediate container 3f02d2f45619 [2022-10-10T01:31:26.438Z] ---> 75ff0c204b0b [2022-10-10T01:31:26.438Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T01:31:26.704Z] Successfully built 75ff0c204b0b [2022-10-10T01:31:26.704Z] 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-10T01:31:27.595Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T01:31:27.596Z] [2022-10-10T01:31:27.596Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:31:27.985Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T01:31:27.985Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T01:31:27.985Z] 5eb5b503b376: Pulling fs layer [2022-10-10T01:31:27.985Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T01:31:27.985Z] ec43610c2a17: Pulling fs layer [2022-10-10T01:31:27.985Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T01:31:27.985Z] 33b1e0a273af: Pulling fs layer [2022-10-10T01:31:27.985Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T01:31:27.985Z] 2f39f015ded8: Pulling fs layer [2022-10-10T01:31:27.985Z] 3a2ae6a8a46f: Waiting [2022-10-10T01:31:27.985Z] 33b1e0a273af: Waiting [2022-10-10T01:31:27.985Z] 5d3b04190fa2: Waiting [2022-10-10T01:31:27.985Z] 2f39f015ded8: Waiting [2022-10-10T01:31:27.985Z] 5c69ac0246d0: Verifying Checksum [2022-10-10T01:31:27.985Z] 5c69ac0246d0: Download complete [2022-10-10T01:31:27.985Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T01:31:27.985Z] 3a2ae6a8a46f: Download complete [2022-10-10T01:31:28.246Z] 33b1e0a273af: Verifying Checksum [2022-10-10T01:31:28.246Z] 33b1e0a273af: Download complete [2022-10-10T01:31:28.246Z] ec43610c2a17: Verifying Checksum [2022-10-10T01:31:28.246Z] ec43610c2a17: Download complete [2022-10-10T01:31:28.246Z] 5d3b04190fa2: Verifying Checksum [2022-10-10T01:31:28.246Z] 5d3b04190fa2: Download complete [2022-10-10T01:31:28.246Z] 5eb5b503b376: Verifying Checksum [2022-10-10T01:31:28.246Z] 5eb5b503b376: Download complete [2022-10-10T01:31:29.621Z] 5eb5b503b376: Pull complete [2022-10-10T01:31:29.621Z] 5c69ac0246d0: Pull complete [2022-10-10T01:31:29.880Z] ec43610c2a17: Pull complete [2022-10-10T01:31:29.880Z] 3a2ae6a8a46f: Pull complete [2022-10-10T01:31:30.137Z] 33b1e0a273af: Pull complete [2022-10-10T01:31:30.137Z] 5d3b04190fa2: Pull complete [2022-10-10T01:31:34.325Z] 2f39f015ded8: Pull complete [2022-10-10T01:31:34.325Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T01:31:34.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T01:31:34.325Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:31:34.567Z] prd-ubuntu20.04-docker-8c-8g-7469 does not seem to be running inside a container [2022-10-10T01:31:34.608Z] $ 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-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@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-10T01:31:39.789Z] $ docker top 36ea26481b0814ab25b4777667d365860543bf550b2124ed6f5f4a278612948d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:31:40.231Z] ---> job-cost.sh [2022-10-10T01:31:40.231Z] lf-activate-venv: SKIPPING [2022-10-10T01:31:40.231Z] INFO: No Stack... [2022-10-10T01:31:40.795Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T01:31:41.055Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T01:31:41.366Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives/cost.csv [2022-10-10T01:31:41.366Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T01:31:41.407Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] [2022-10-10T01:31:41.412Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] did not exist. Created. [2022-10-10T01:31:41.412Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T01:31:41.813Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T01:31:41.861Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T01:31:41.893Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T01:31:41.976Z] $ docker stop --time=1 36ea26481b0814ab25b4777667d365860543bf550b2124ed6f5f4a278612948d [2022-10-10T01:31:43.122Z] $ docker rm -f 36ea26481b0814ab25b4777667d365860543bf550b2124ed6f5f4a278612948d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T01:32:29.899Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7474 in /w/workspace/gexfoundry_device-mqtt-go_PR-421 [Pipeline] { [Pipeline] ws [2022-10-10T01:32:29.940Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-10-10T01:32:30.019Z] Selected Git installation does not exist. Using Default [2022-10-10T01:32:30.019Z] The recommended git tool is: NONE [2022-10-10T01:32:35.385Z] using credential edgex-jenkins-ssh [2022-10-10T01:32:35.399Z] Cloning the remote Git repository [2022-10-10T01:32:35.449Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T01:32:35.534Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-10-10T01:32:35.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T01:32:35.694Z] > git --version # timeout=10 [2022-10-10T01:32:35.715Z] > git --version # 'git version 2.25.1' [2022-10-10T01:32:35.717Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T01:32:35.768Z] Verifying host key using known hosts file [2022-10-10T01:32:35.971Z] 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-10T01:32:35.984Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T01:32:37.106Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T01:32:37.133Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T01:32:38.667Z] Merging remotes/origin/main commit 1a028d96f2f1053b1975dad0f0d16109b5d4490c into PR head commit ea7901679514ef073c4369edce0c60c6e214a218 [2022-10-10T01:32:38.017Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T01:32:38.062Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T01:32:38.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T01:32:38.069Z] Verifying host key using known hosts file [2022-10-10T01:32:38.076Z] 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-10T01:32:38.087Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T01:32:38.686Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T01:32:38.710Z] > git checkout -f ea7901679514ef073c4369edce0c60c6e214a218 # timeout=10 [2022-10-10T01:32:38.913Z] Merge succeeded, producing ea7901679514ef073c4369edce0c60c6e214a218 [2022-10-10T01:32:38.913Z] Checking out Revision ea7901679514ef073c4369edce0c60c6e214a218 (PR-421) [2022-10-10T01:32:39.414Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-10-10T01:32:39.468Z] > git --version # timeout=10 [2022-10-10T01:32:39.482Z] > git --version # 'git version 2.25.1' [2022-10-10T01:32:39.502Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T01:32:38.793Z] > git remote # timeout=10 [2022-10-10T01:32:38.816Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T01:32:38.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T01:32:38.851Z] Verifying host key using known hosts file [2022-10-10T01:32:38.858Z] 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-10T01:32:38.868Z] > git merge 1a028d96f2f1053b1975dad0f0d16109b5d4490c # timeout=10 [2022-10-10T01:32:38.894Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T01:32:38.921Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T01:32:38.934Z] > git checkout -f ea7901679514ef073c4369edce0c60c6e214a218 # timeout=10 [2022-10-10T01:32:40.542Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T01:32:40.542Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T01:32:40.542Z] Dload Upload Total Spent Left Speed [2022-10-10T01:32:40.542Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 93348 [Pipeline] sh [2022-10-10T01:32:41.181Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T01:32:41.535Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T01:32:41.536Z] + sudo tee /etc/docker/daemon.new [2022-10-10T01:32:41.536Z] { [2022-10-10T01:32:41.536Z] "registry-mirrors": [ [2022-10-10T01:32:41.536Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T01:32:41.536Z] ], [2022-10-10T01:32:41.536Z] "bip": "10.250.0.254/24", [2022-10-10T01:32:41.536Z] "hosts": [ [2022-10-10T01:32:41.536Z] "tcp://0.0.0.0:5555", [2022-10-10T01:32:41.536Z] "unix:///var/run/docker.sock" [2022-10-10T01:32:41.536Z] ], [2022-10-10T01:32:41.536Z] "mtu": 1458, [2022-10-10T01:32:41.536Z] "selinux-enabled": true, [2022-10-10T01:32:41.536Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T01:32:41.536Z] } [Pipeline] sh [2022-10-10T01:32:41.880Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T01:32:42.230Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T01:33:00.549Z] provisioning config files... [2022-10-10T01:33:00.577Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15421862595210214009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:33:00.971Z] ---> docker-login.sh [2022-10-10T01:33:00.971Z] nexus3.edgexfoundry.org:10001 [2022-10-10T01:33:01.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:33:01.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:33:01.562Z] Configure a credential helper to remove this warning. See [2022-10-10T01:33:01.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:33:01.562Z] [2022-10-10T01:33:01.562Z] Login Succeeded [2022-10-10T01:33:01.562Z] nexus3.edgexfoundry.org:10002 [2022-10-10T01:33:01.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:33:01.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:33:01.833Z] Configure a credential helper to remove this warning. See [2022-10-10T01:33:01.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:33:01.833Z] [2022-10-10T01:33:01.833Z] Login Succeeded [2022-10-10T01:33:02.104Z] nexus3.edgexfoundry.org:10003 [2022-10-10T01:33:02.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:33:02.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:33:02.374Z] Configure a credential helper to remove this warning. See [2022-10-10T01:33:02.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:33:02.374Z] [2022-10-10T01:33:02.374Z] Login Succeeded [2022-10-10T01:33:02.374Z] nexus3.edgexfoundry.org:10004 [2022-10-10T01:33:02.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:33:02.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:33:02.648Z] Configure a credential helper to remove this warning. See [2022-10-10T01:33:02.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:33:02.648Z] [2022-10-10T01:33:02.648Z] Login Succeeded [2022-10-10T01:33:02.648Z] docker.io [2022-10-10T01:33:02.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:33:03.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:33:03.510Z] Configure a credential helper to remove this warning. See [2022-10-10T01:33:03.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:33:03.510Z] [2022-10-10T01:33:03.510Z] Login Succeeded [2022-10-10T01:33:03.510Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T01:33:03.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T01:33:03.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T01:33:03.899Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T01:33:04.024Z] ========================================================= [2022-10-10T01:33:04.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T01:33:04.024Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:33:04.528Z] + 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-10T01:33:04.799Z] Sending build context to Docker daemon 3.187MB [2022-10-10T01:33:04.799Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T01:33:04.799Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T01:33:05.075Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T01:33:05.075Z] b3c136eddcbf: Pulling fs layer [2022-10-10T01:33:05.075Z] c0a3192eca97: Pulling fs layer [2022-10-10T01:33:05.075Z] a050256f5b6f: Pulling fs layer [2022-10-10T01:33:05.075Z] 656be50a0ddc: Pulling fs layer [2022-10-10T01:33:05.075Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T01:33:05.075Z] f607e4fc86c3: Pulling fs layer [2022-10-10T01:33:05.075Z] 4d572c569a2c: Pulling fs layer [2022-10-10T01:33:05.075Z] fcf976331f73: Pulling fs layer [2022-10-10T01:33:05.075Z] 2bbca73fdf42: Waiting [2022-10-10T01:33:05.075Z] f607e4fc86c3: Waiting [2022-10-10T01:33:05.075Z] 4d572c569a2c: Waiting [2022-10-10T01:33:05.075Z] fcf976331f73: Waiting [2022-10-10T01:33:05.075Z] 656be50a0ddc: Waiting [2022-10-10T01:33:05.075Z] a050256f5b6f: Verifying Checksum [2022-10-10T01:33:05.075Z] a050256f5b6f: Download complete [2022-10-10T01:33:05.075Z] c0a3192eca97: Verifying Checksum [2022-10-10T01:33:05.075Z] c0a3192eca97: Download complete [2022-10-10T01:33:05.075Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T01:33:05.075Z] 2bbca73fdf42: Download complete [2022-10-10T01:33:05.075Z] f607e4fc86c3: Verifying Checksum [2022-10-10T01:33:05.075Z] f607e4fc86c3: Download complete [2022-10-10T01:33:05.075Z] b3c136eddcbf: Verifying Checksum [2022-10-10T01:33:05.075Z] b3c136eddcbf: Download complete [2022-10-10T01:33:06.069Z] b3c136eddcbf: Pull complete [2022-10-10T01:33:06.339Z] fcf976331f73: Verifying Checksum [2022-10-10T01:33:06.339Z] fcf976331f73: Download complete [2022-10-10T01:33:06.611Z] c0a3192eca97: Pull complete [2022-10-10T01:33:06.894Z] a050256f5b6f: Pull complete [2022-10-10T01:33:07.496Z] 4d572c569a2c: Verifying Checksum [2022-10-10T01:33:07.496Z] 4d572c569a2c: Download complete [2022-10-10T01:33:08.082Z] 656be50a0ddc: Verifying Checksum [2022-10-10T01:33:08.082Z] 656be50a0ddc: Download complete [2022-10-10T01:33:20.412Z] 656be50a0ddc: Pull complete [2022-10-10T01:33:20.412Z] 2bbca73fdf42: Pull complete [2022-10-10T01:33:20.412Z] f607e4fc86c3: Pull complete [2022-10-10T01:33:27.161Z] 4d572c569a2c: Pull complete [2022-10-10T01:33:29.776Z] fcf976331f73: Pull complete [2022-10-10T01:33:29.776Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T01:33:29.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T01:33:29.776Z] ---> 3970a7415f9e [2022-10-10T01:33:29.776Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T01:33:30.366Z] ---> Running in 5646f8a3af6b [2022-10-10T01:33:30.636Z] Removing intermediate container 5646f8a3af6b [2022-10-10T01:33:30.636Z] ---> 5b97c7a7c061 [2022-10-10T01:33:30.636Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T01:33:30.636Z] ---> Running in 5898850bc5ae [2022-10-10T01:33:30.904Z] Removing intermediate container 5898850bc5ae [2022-10-10T01:33:30.904Z] ---> e32c062e1c46 [2022-10-10T01:33:30.904Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T01:33:31.172Z] ---> Running in 0db8673fde9b [2022-10-10T01:33:31.441Z] Removing intermediate container 0db8673fde9b [2022-10-10T01:33:31.441Z] ---> 56667b136bfc [2022-10-10T01:33:31.441Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T01:33:31.441Z] ---> Running in 69cf7927c226 [2022-10-10T01:33:31.709Z] Removing intermediate container 69cf7927c226 [2022-10-10T01:33:31.709Z] ---> 7d0d79f019e6 [2022-10-10T01:33:31.709Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T01:33:31.978Z] ---> Running in 9585e0e6189b [2022-10-10T01:33:33.941Z] Removing intermediate container 9585e0e6189b [2022-10-10T01:33:33.941Z] ---> 2cfa0d02c3ed [2022-10-10T01:33:33.941Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T01:33:33.941Z] ---> Running in fa228612219f [2022-10-10T01:33:34.909Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T01:33:35.873Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T01:33:36.838Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T01:33:37.107Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T01:33:37.107Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T01:33:37.377Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T01:33:37.649Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T01:33:37.649Z] OK: 226 MiB in 55 packages [2022-10-10T01:33:38.613Z] Removing intermediate container fa228612219f [2022-10-10T01:33:38.613Z] ---> e074770b34f6 [2022-10-10T01:33:38.613Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T01:33:38.613Z] ---> Running in d4fe51454fa3 [2022-10-10T01:33:39.209Z] Removing intermediate container d4fe51454fa3 [2022-10-10T01:33:39.209Z] ---> e9cd1213b242 [2022-10-10T01:33:39.209Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T01:33:39.479Z] ---> 96357aba4933 [2022-10-10T01:33:39.480Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T01:33:39.752Z] ---> Running in 5ecd417de28b [2022-10-10T01:34:36.277Z] Removing intermediate container 5ecd417de28b [2022-10-10T01:34:36.277Z] ---> 16ba742148b3 [2022-10-10T01:34:36.277Z] Step 12/13 : COPY . . [2022-10-10T01:34:36.277Z] ---> 8ef580f036cb [2022-10-10T01:34:36.277Z] Step 13/13 : RUN $MAKE [2022-10-10T01:34:36.277Z] ---> Running in 372a0f2c409e [2022-10-10T01:34:36.277Z] noop [2022-10-10T01:34:36.277Z] Removing intermediate container 372a0f2c409e [2022-10-10T01:34:36.277Z] ---> cd797169fbe1 [2022-10-10T01:34:36.277Z] Successfully built cd797169fbe1 [2022-10-10T01:34:36.277Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:34:36.761Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T01:34:36.761Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:34:37.043Z] prd-ubuntu20.04-docker-arm64-4c-16g-7474 does not seem to be running inside a container [2022-10-10T01:34:37.113Z] $ 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-10T01:34:38.374Z] $ docker top 5c4098eea7872da70a42be65e46149e7acfc36b3cd3ff9296ec5951cf87f52d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T01:34:39.289Z] + go version [2022-10-10T01:34:39.289Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T01:34:39.319Z] $ docker stop --time=1 5c4098eea7872da70a42be65e46149e7acfc36b3cd3ff9296ec5951cf87f52d6 [2022-10-10T01:34:40.957Z] $ docker rm -f 5c4098eea7872da70a42be65e46149e7acfc36b3cd3ff9296ec5951cf87f52d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:34:41.826Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T01:34:41.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:34:42.087Z] prd-ubuntu20.04-docker-arm64-4c-16g-7474 does not seem to be running inside a container [2022-10-10T01:34:42.159Z] $ 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-10T01:34:43.436Z] $ docker top 8a6684b7443c8d02c09bc34ae903eb64541216bdc238359e247b1605a92692d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T01:34:44.345Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-10T01:34:45.047Z] + make test [2022-10-10T01:34:45.047Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T01:34:46.471Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T01:36:23.152Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T01:36:23.152Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements [2022-10-10T01:36:23.152Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T01:36:23.152Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T01:36:23.152Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T01:36:41.368Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T01:36:41.368Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T01:36:41.368Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T01:36:41.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T01:36:41.443Z] $ docker stop --time=1 8a6684b7443c8d02c09bc34ae903eb64541216bdc238359e247b1605a92692d4 [2022-10-10T01:36:43.258Z] $ docker rm -f 8a6684b7443c8d02c09bc34ae903eb64541216bdc238359e247b1605a92692d4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T01:36:44.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T01:36:44.398Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T01:36:44.884Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T01:36:45.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T01:36:45.862Z] + ls -al . [2022-10-10T01:36:45.863Z] total 180 [2022-10-10T01:36:45.863Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 01:34 . [2022-10-10T01:36:45.863Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:32 .. [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 01:32 .dockerignore [2022-10-10T01:36:45.863Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 01:32 .git [2022-10-10T01:36:45.863Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:32 .github [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 01:32 .gitignore [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 01:32 .golangci.yml [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 01:32 Attribution.txt [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 01:32 CHANGELOG.md [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 01:32 Dockerfile [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 01:32 GOVERNANCE.md [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 01:32 Jenkinsfile [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 01:32 LICENSE [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 01:32 Makefile [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 01:32 OWNERS.md [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 01:32 README.md [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 01:29 VERSION [2022-10-10T01:36:45.863Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:32 bin [2022-10-10T01:36:45.863Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:32 cmd [2022-10-10T01:36:45.863Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 01:36 coverage.out [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 01:32 go.mod [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 01:32 go.sum [2022-10-10T01:36:45.863Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:32 internal [2022-10-10T01:36:45.863Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:32 mock [2022-10-10T01:36:45.863Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:32 snap [2022-10-10T01:36:45.863Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 01:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:36:46.303Z] + 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=ea7901679514ef073c4369edce0c60c6e214a218 --label arch=arm64 --label version=0.0.0 . [2022-10-10T01:36:46.573Z] Sending build context to Docker daemon 3.205MB [2022-10-10T01:36:46.573Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T01:36:46.573Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T01:36:46.573Z] ---> cd797169fbe1 [2022-10-10T01:36:46.573Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T01:36:46.843Z] ---> Running in 28e44060f65e [2022-10-10T01:36:47.113Z] Removing intermediate container 28e44060f65e [2022-10-10T01:36:47.113Z] ---> 30ae6e25c6e5 [2022-10-10T01:36:47.113Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T01:36:47.382Z] ---> Running in da1cb64b75c2 [2022-10-10T01:36:47.653Z] Removing intermediate container da1cb64b75c2 [2022-10-10T01:36:47.653Z] ---> 750a749cc1de [2022-10-10T01:36:47.653Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T01:36:47.653Z] ---> Running in b60f9f1b55f4 [2022-10-10T01:36:47.920Z] Removing intermediate container b60f9f1b55f4 [2022-10-10T01:36:47.920Z] ---> d0d3c764a347 [2022-10-10T01:36:47.920Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T01:36:48.190Z] ---> Running in 47359bfc48cf [2022-10-10T01:36:48.456Z] Removing intermediate container 47359bfc48cf [2022-10-10T01:36:48.456Z] ---> 6d403e4e2dde [2022-10-10T01:36:48.456Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T01:36:48.456Z] ---> Running in 0fc75f1085f9 [2022-10-10T01:36:51.806Z] Removing intermediate container 0fc75f1085f9 [2022-10-10T01:36:51.806Z] ---> 7c83f3b95f45 [2022-10-10T01:36:51.806Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T01:36:51.806Z] ---> Running in 4c6223d28a9f [2022-10-10T01:36:52.768Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T01:36:53.726Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T01:36:54.695Z] OK: 226 MiB in 55 packages [2022-10-10T01:36:55.663Z] Removing intermediate container 4c6223d28a9f [2022-10-10T01:36:55.663Z] ---> 2d6f59192411 [2022-10-10T01:36:55.663Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T01:36:55.663Z] ---> Running in 2528a130690d [2022-10-10T01:36:55.930Z] Removing intermediate container 2528a130690d [2022-10-10T01:36:55.930Z] ---> e810058b8587 [2022-10-10T01:36:55.930Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T01:36:56.517Z] ---> 08f6542fbe53 [2022-10-10T01:36:56.517Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T01:36:56.786Z] ---> Running in e986cb87690b [2022-10-10T01:36:59.392Z] Removing intermediate container e986cb87690b [2022-10-10T01:36:59.392Z] ---> fff02ad58900 [2022-10-10T01:36:59.392Z] Step 12/25 : COPY . . [2022-10-10T01:36:59.980Z] ---> 77b671b143bd [2022-10-10T01:36:59.980Z] Step 13/25 : RUN $MAKE [2022-10-10T01:36:59.980Z] ---> Running in 19bac8047808 [2022-10-10T01:37:01.398Z] 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-10T01:39:53.177Z] Removing intermediate container 19bac8047808 [2022-10-10T01:39:53.178Z] ---> c7be1809d6ec [2022-10-10T01:39:53.178Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T01:39:53.178Z] 3.16: Pulling from library/alpine [2022-10-10T01:39:53.178Z] 9b18e9b68314: Pulling fs layer [2022-10-10T01:39:53.178Z] 9b18e9b68314: Verifying Checksum [2022-10-10T01:39:53.178Z] 9b18e9b68314: Download complete [2022-10-10T01:39:53.178Z] 9b18e9b68314: Pull complete [2022-10-10T01:39:53.178Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T01:39:53.178Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T01:39:53.178Z] ---> a6215f271958 [2022-10-10T01:39:53.178Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T01:39:53.178Z] ---> Running in 814302bd367c [2022-10-10T01:39:53.178Z] Removing intermediate container 814302bd367c [2022-10-10T01:39:53.178Z] ---> 61e5aa567268 [2022-10-10T01:39:53.178Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T01:39:53.178Z] ---> Running in 04355197eb95 [2022-10-10T01:39:53.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T01:39:53.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T01:39:53.178Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T01:39:53.178Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T01:39:53.178Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T01:39:53.178Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T01:39:53.178Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T01:39:53.178Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T01:39:53.178Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T01:39:53.178Z] OK: 8 MiB in 20 packages [2022-10-10T01:39:53.178Z] Removing intermediate container 04355197eb95 [2022-10-10T01:39:53.178Z] ---> 2bd6b1ac5a82 [2022-10-10T01:39:53.178Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T01:39:53.178Z] ---> a9feef4391bf [2022-10-10T01:39:53.178Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T01:39:53.178Z] ---> 75cd124ac6c1 [2022-10-10T01:39:53.178Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T01:39:53.178Z] ---> f0b6e5253d98 [2022-10-10T01:39:53.178Z] Step 20/25 : EXPOSE 59982 [2022-10-10T01:39:53.178Z] ---> Running in 46f7116e747f [2022-10-10T01:39:53.178Z] Removing intermediate container 46f7116e747f [2022-10-10T01:39:53.178Z] ---> b526842301eb [2022-10-10T01:39:53.178Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T01:39:53.178Z] ---> Running in b98f8bd68aa3 [2022-10-10T01:39:53.178Z] Removing intermediate container b98f8bd68aa3 [2022-10-10T01:39:53.178Z] ---> d1b3b22dc86b [2022-10-10T01:39:53.178Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T01:39:53.178Z] ---> Running in 457d178a6279 [2022-10-10T01:39:53.178Z] Removing intermediate container 457d178a6279 [2022-10-10T01:39:53.178Z] ---> cd14941bfd24 [2022-10-10T01:39:53.178Z] Step 23/25 : LABEL arch=arm64 [2022-10-10T01:39:53.178Z] ---> Running in 307b759535bf [2022-10-10T01:39:53.178Z] Removing intermediate container 307b759535bf [2022-10-10T01:39:53.178Z] ---> 5c6925628d66 [2022-10-10T01:39:53.178Z] Step 24/25 : LABEL git_sha=ea7901679514ef073c4369edce0c60c6e214a218 [2022-10-10T01:39:53.178Z] ---> Running in 4282cf5fe890 [2022-10-10T01:39:53.178Z] Removing intermediate container 4282cf5fe890 [2022-10-10T01:39:53.178Z] ---> 8918b47d4a05 [2022-10-10T01:39:53.178Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T01:39:53.178Z] ---> Running in cb5a5a310782 [2022-10-10T01:39:53.178Z] Removing intermediate container cb5a5a310782 [2022-10-10T01:39:53.178Z] ---> 0dc80c450814 [2022-10-10T01:39:53.178Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T01:39:53.178Z] Successfully built 0dc80c450814 [2022-10-10T01:39:53.178Z] 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-10T01:39:53.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T01:39:53.972Z] [2022-10-10T01:39:53.972Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:39:54.374Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T01:39:54.374Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T01:39:54.374Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T01:39:54.374Z] 04944245beec: Pulling fs layer [2022-10-10T01:39:54.374Z] 699f458cf7ca: Pulling fs layer [2022-10-10T01:39:54.374Z] 765212b225bb: Pulling fs layer [2022-10-10T01:39:54.374Z] f23df028b6ca: Pulling fs layer [2022-10-10T01:39:54.374Z] 765212b225bb: Waiting [2022-10-10T01:39:54.374Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T01:39:54.374Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T01:39:54.374Z] f23df028b6ca: Waiting [2022-10-10T01:39:54.374Z] d65c8cfc05b1: Waiting [2022-10-10T01:39:54.374Z] 2437ff75d9bd: Waiting [2022-10-10T01:39:54.641Z] 04944245beec: Verifying Checksum [2022-10-10T01:39:54.641Z] 04944245beec: Download complete [2022-10-10T01:39:54.641Z] 765212b225bb: Verifying Checksum [2022-10-10T01:39:54.641Z] f23df028b6ca: Download complete [2022-10-10T01:39:54.641Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T01:39:54.641Z] d65c8cfc05b1: Download complete [2022-10-10T01:39:54.921Z] 699f458cf7ca: Verifying Checksum [2022-10-10T01:39:54.921Z] 699f458cf7ca: Download complete [2022-10-10T01:39:55.191Z] 8998bd30e6a1: Verifying Checksum [2022-10-10T01:39:55.191Z] 8998bd30e6a1: Download complete [2022-10-10T01:39:57.136Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T01:39:57.136Z] 2437ff75d9bd: Download complete [2022-10-10T01:39:59.079Z] 8998bd30e6a1: Pull complete [2022-10-10T01:39:59.347Z] 04944245beec: Pull complete [2022-10-10T01:40:00.764Z] 699f458cf7ca: Pull complete [2022-10-10T01:40:00.764Z] 765212b225bb: Pull complete [2022-10-10T01:40:01.723Z] f23df028b6ca: Pull complete [2022-10-10T01:40:01.723Z] d65c8cfc05b1: Pull complete [2022-10-10T01:40:16.723Z] 2437ff75d9bd: Pull complete [2022-10-10T01:40:16.723Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T01:40:16.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T01:40:16.723Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:40:17.033Z] prd-ubuntu20.04-docker-arm64-4c-16g-7474 does not seem to be running inside a container [2022-10-10T01:40:17.097Z] $ 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-10T01:40:19.813Z] $ docker top 51b81af3ba36d12fbc7369e06e0cfe0a4818cb7af8fc6dc5fd652dd02972b756 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:40:20.718Z] ---> job-cost.sh [2022-10-10T01:40:20.718Z] lf-activate-venv: SKIPPING [2022-10-10T01:40:20.718Z] INFO: No Stack... [2022-10-10T01:40:21.301Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T01:40:21.884Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T01:40:22.544Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-10-10T01:40:22.544Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T01:40:22.597Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] [2022-10-10T01:40:22.603Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] did not exist. Created. [2022-10-10T01:40:22.603Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T01:40:23.024Z] /w/workspace/device-mqtt-go/1@tmp/durable-4e138966/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T01:40:23.699Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T01:40:23.741Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T01:40:23.784Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T01:40:23.800Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T01:40:23.883Z] $ docker stop --time=1 51b81af3ba36d12fbc7369e06e0cfe0a4818cb7af8fc6dc5fd652dd02972b756 [2022-10-10T01:40:25.396Z] $ docker rm -f 51b81af3ba36d12fbc7369e06e0cfe0a4818cb7af8fc6dc5fd652dd02972b756 [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-10T01:40:26.418Z] provisioning config files... [2022-10-10T01:40:26.426Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/config12900429867589705672tmp [Pipeline] { [Pipeline] sh [2022-10-10T01:40:26.761Z] + set +x [2022-10-10T01:40:26.761Z] + bash -s -- [2022-10-10T01:40:26.761Z] + curl -s https://codecov.io/bash [2022-10-10T01:40:26.761Z] [2022-10-10T01:40:26.761Z] _____ _ [2022-10-10T01:40:26.761Z] / ____| | | [2022-10-10T01:40:26.761Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T01:40:26.761Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T01:40:26.761Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T01:40:26.761Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T01:40:26.761Z] Bash-1.0.6 [2022-10-10T01:40:26.761Z] [2022-10-10T01:40:26.761Z] [2022-10-10T01:40:26.761Z] ==> git version 2.25.1 found [2022-10-10T01:40:26.761Z] ==> 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-10T01:40:26.761Z] Release-Date: 2020-01-08 [2022-10-10T01:40:26.761Z] 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-10T01:40:26.761Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T01:40:26.761Z] ==> Jenkins CI detected. [2022-10-10T01:40:26.761Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-421 [2022-10-10T01:40:26.761Z] project root: . [2022-10-10T01:40:26.761Z] --> token set from env [2022-10-10T01:40:26.761Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T01:40:26.761Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T01:40:26.761Z] ==> Python coveragepy not found [2022-10-10T01:40:26.761Z] ==> Searching for coverage reports in: [2022-10-10T01:40:26.761Z] + . [2022-10-10T01:40:26.761Z] -> Found 1 reports [2022-10-10T01:40:26.761Z] ==> Detecting git/mercurial file structure [2022-10-10T01:40:26.761Z] ==> Reading reports [2022-10-10T01:40:26.761Z] + ./coverage.out bytes=17887 [2022-10-10T01:40:26.761Z] ==> Appending adjustments [2022-10-10T01:40:26.761Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T01:40:27.021Z] + Found adjustments [2022-10-10T01:40:27.021Z] ==> Gzipping contents [2022-10-10T01:40:27.021Z] 4.0K /tmp/codecov.hkRHQV.gz [2022-10-10T01:40:27.021Z] ==> Uploading reports [2022-10-10T01:40:27.021Z] url: https://codecov.io [2022-10-10T01:40:27.021Z] query: branch=PR-421&commit=ea7901679514ef073c4369edce0c60c6e214a218&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-421%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=421&job=&cmd_args= [2022-10-10T01:40:27.021Z] -> Pinging Codecov [2022-10-10T01:40:27.021Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-421&commit=ea7901679514ef073c4369edce0c60c6e214a218&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-421%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=421&job=&cmd_args= [2022-10-10T01:40:27.961Z] -> Uploading to [2022-10-10T01:40:27.961Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/ea7901679514ef073c4369edce0c60c6e214a218/b6a4b002-0cba-4412-a34b-980616dfecde.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T014027Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=28c95d5b13adce1591c04d29d65cd6d1ed6dea0264b08e104781caebf235f636 [2022-10-10T01:40:27.961Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T01:40:27.961Z] Dload Upload Total Spent Left Speed [2022-10-10T01:40:27.961Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 12414 --:--:-- --:--:-- --:--:-- 12414 [2022-10-10T01:40:27.961Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ea7901679514ef073c4369edce0c60c6e214a218 [Pipeline] } [2022-10-10T01:40:27.996Z] 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-10T01:40:29.705Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives ] [2022-10-10T01:40:29.705Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives [2022-10-10T01:40:29.705Z] total 16 [2022-10-10T01:40:29.705Z] drwxr-xr-x 3 root root 4096 Oct 10 01:31 . [2022-10-10T01:40:29.705Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 01:31 .. [2022-10-10T01:40:29.705Z] drwxr-xr-x 2 root root 4096 Oct 10 01:31 cost [2022-10-10T01:40:29.705Z] -rw-r--r-- 1 root root 86 Oct 10 01:31 cost.csv [2022-10-10T01:40:29.705Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives [2022-10-10T01:40:29.705Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives [2022-10-10T01:40:29.705Z] total 16 [2022-10-10T01:40:29.705Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 01:31 . [2022-10-10T01:40:29.705Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 01:31 .. [2022-10-10T01:40:29.705Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 01:31 cost [2022-10-10T01:40:29.705Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 10 01:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:40:30.029Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:40:30.915Z] ---> package-listing.sh [2022-10-10T01:40:30.916Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T01:40:30.916Z] ++ facter osfamily [2022-10-10T01:40:31.174Z] + OS_FAMILY=debian [2022-10-10T01:40:31.174Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-421 [2022-10-10T01:40:31.174Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T01:40:31.174Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T01:40:31.174Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T01:40:31.174Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T01:40:31.174Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-421 ']' [2022-10-10T01:40:31.174Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T01:40:31.174Z] + case "${OS_FAMILY}" in [2022-10-10T01:40:31.174Z] + dpkg -l [2022-10-10T01:40:31.174Z] + grep '^ii' [2022-10-10T01:40:31.174Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T01:40:31.174Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T01:40:31.174Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T01:40:31.174Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-421 ']' [2022-10-10T01:40:31.174Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives/ [2022-10-10T01:40:31.174Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives/ [Pipeline] echo [2022-10-10T01:40:31.207Z] 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-421/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T01:40:31.494Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:40:32.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T01:40:32.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:40:32.253Z] prd-ubuntu20.04-docker-8c-8g-7469 does not seem to be running inside a container [2022-10-10T01:40:32.290Z] $ 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-421/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-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@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-10T01:40:32.493Z] $ docker top 120696b1b73c789fc5a72979766373b353c27616ce617d0a0acd59e8c064832d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T01:40:32.867Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T01:40:33.174Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T01:40:33.484Z] + ls /var/log/sa-host [2022-10-10T01:40:33.484Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T01:40:33.691Z] provisioning config files... [2022-10-10T01:40:33.700Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/config201331878441321155tmp [Pipeline] { [Pipeline] echo [2022-10-10T01:40:33.757Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:40:34.223Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T01:40:34.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:40:34.645Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T01:40:34.675Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:40:34.980Z] ---> sudo-logs.sh [2022-10-10T01:40:34.980Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T01:40:35.061Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:40:35.363Z] ---> job-cost.sh [2022-10-10T01:40:35.363Z] lf-activate-venv: SKIPPING [2022-10-10T01:40:35.363Z] DEBUG: total: 0.2199999988079071 [2022-10-10T01:40:35.363Z] INFO: Retrieving Stack Cost... [2022-10-10T01:40:35.622Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T01:40:36.195Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T01:40:36.227Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:40:36.536Z] ---> logs-deploy.sh [2022-10-10T01:40:36.537Z] lf-activate-venv: SKIPPING [2022-10-10T01:40:36.537Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-421/1 [2022-10-10T01:40:36.537Z] INFO: archiving workspace using pattern(s): [2022-10-10T01:40:37.475Z] Archives upload complete. [2022-10-10T01:40:37.733Z] INFO: archiving logs to Nexus [2022-10-10T01:40:38.307Z] ---> uname -a: [2022-10-10T01:40:38.307Z] Linux prd-ubuntu20-04-docker-8c-8g-7469 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-10T01:40:38.307Z] [2022-10-10T01:40:38.307Z] [2022-10-10T01:40:38.307Z] ---> lscpu: [2022-10-10T01:40:38.307Z] Architecture: x86_64 [2022-10-10T01:40:38.307Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-10T01:40:38.307Z] Byte Order: Little Endian [2022-10-10T01:40:38.307Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-10T01:40:38.307Z] CPU(s): 8 [2022-10-10T01:40:38.307Z] On-line CPU(s) list: 0-7 [2022-10-10T01:40:38.307Z] Thread(s) per core: 1 [2022-10-10T01:40:38.307Z] Core(s) per socket: 1 [2022-10-10T01:40:38.307Z] Socket(s): 8 [2022-10-10T01:40:38.307Z] NUMA node(s): 1 [2022-10-10T01:40:38.307Z] Vendor ID: AuthenticAMD [2022-10-10T01:40:38.307Z] CPU family: 23 [2022-10-10T01:40:38.307Z] Model: 49 [2022-10-10T01:40:38.307Z] Model name: AMD EPYC-Rome Processor [2022-10-10T01:40:38.307Z] Stepping: 0 [2022-10-10T01:40:38.307Z] CPU MHz: 2799.998 [2022-10-10T01:40:38.307Z] BogoMIPS: 5599.99 [2022-10-10T01:40:38.307Z] Virtualization: AMD-V [2022-10-10T01:40:38.307Z] Hypervisor vendor: KVM [2022-10-10T01:40:38.307Z] Virtualization type: full [2022-10-10T01:40:38.307Z] L1d cache: 256 KiB [2022-10-10T01:40:38.307Z] L1i cache: 256 KiB [2022-10-10T01:40:38.307Z] L2 cache: 4 MiB [2022-10-10T01:40:38.307Z] L3 cache: 128 MiB [2022-10-10T01:40:38.307Z] NUMA node0 CPU(s): 0-7 [2022-10-10T01:40:38.307Z] Vulnerability Itlb multihit: Not affected [2022-10-10T01:40:38.307Z] Vulnerability L1tf: Not affected [2022-10-10T01:40:38.307Z] Vulnerability Mds: Not affected [2022-10-10T01:40:38.307Z] Vulnerability Meltdown: Not affected [2022-10-10T01:40:38.307Z] Vulnerability Mmio stale data: Not affected [2022-10-10T01:40:38.307Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-10T01:40:38.307Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-10T01:40:38.307Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-10T01:40:38.307Z] Vulnerability Srbds: Not affected [2022-10-10T01:40:38.307Z] Vulnerability Tsx async abort: Not affected [2022-10-10T01:40:38.307Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-10T01:40:38.307Z] [2022-10-10T01:40:38.307Z] [2022-10-10T01:40:38.307Z] ---> nproc: [2022-10-10T01:40:38.307Z] 8 [2022-10-10T01:40:38.307Z] [2022-10-10T01:40:38.307Z]