Pull request #422 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6c6658be644320c88b61369ef56939c7ea182beb+1a028d96f2f1053b1975dad0f0d16109b5d4490c (93a67c5f89553e664af5d61d1e321123c2cd6e2d) 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-ssh15430783262764898803.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-ssh2342913601682016350.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-422/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-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10012622910863870582.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-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10427776057555142694.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-ssh3144270801977400748.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-422/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-422/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15122162017420610074.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-7470 in /w/workspace/gexfoundry_device-mqtt-go_PR-422 [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-422 # 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/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a028d96f2f1053b1975dad0f0d16109b5d4490c into PR head commit 6c6658be644320c88b61369ef56939c7ea182beb Merge succeeded, producing 6c6658be644320c88b61369ef56939c7ea182beb Checking out Revision 6c6658be644320c88b61369ef56939c7ea182beb (PR-422) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d > git config core.sparsecheckout # timeout=10 > git checkout -f 6c6658be644320c88b61369ef56939c7ea182beb # 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 6c6658be644320c88b61369ef56939c7ea182beb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T01:30:04.157Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T01:30:04.366Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T01:30:04.480Z] ========================================================= [2022-10-10T01:30:04.481Z] EdgeX Global Pipelines Version Info [2022-10-10T01:30:04.481Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:30:05.251Z] ------------------- [2022-10-10T01:30:05.251Z] stable info: [2022-10-10T01:30:05.251Z] ------------------- [2022-10-10T01:30:05.251Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T01:30:05.251Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T01:30:05.251Z] Message: update stable to v1.0.239 [2022-10-10T01:30:05.823Z] ------------------- [2022-10-10T01:30:05.823Z] experimental info: [2022-10-10T01:30:05.823Z] ------------------- [2022-10-10T01:30:05.823Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T01:30:05.823Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T01:30:05.823Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T01:30:06.097Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-10T01:30:06.138Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-10T01:30:06.174Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T01:30:06.217Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T01:30:06.259Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T01:30:06.294Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T01:30:06.334Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T01:30:06.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T01:30:06.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T01:30:06.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T01:30:06.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T01:30:06.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-10T01:30:06.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T01:30:06.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T01:30:06.661Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T01:30:06.705Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T01:30:06.745Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T01:30:06.785Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T01:30:06.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T01:30:06.872Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T01:30:06.924Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T01:30:06.966Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T01:30:07.008Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T01:30:07.046Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T01:30:07.093Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T01:30:07.140Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T01:30:07.187Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T01:30:07.230Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-422 [Pipeline] echo [2022-10-10T01:30:07.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-422 [Pipeline] echo [2022-10-10T01:30:07.320Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-422 [Pipeline] echo [2022-10-10T01:30:07.369Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c6658be644320c88b61369ef56939c7ea182beb [Pipeline] echo [2022-10-10T01:30:07.417Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c6658b [Pipeline] echo [2022-10-10T01:30:07.460Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T01:30:07.582Z] provisioning config files... [2022-10-10T01:30:07.596Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/config15505568030477380094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:30:07.953Z] ---> docker-login.sh [2022-10-10T01:30:07.953Z] nexus3.edgexfoundry.org:10001 [2022-10-10T01:30:07.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:30:08.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:30:08.221Z] Configure a credential helper to remove this warning. See [2022-10-10T01:30:08.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:30:08.221Z] [2022-10-10T01:30:08.221Z] Login Succeeded [2022-10-10T01:30:08.221Z] nexus3.edgexfoundry.org:10002 [2022-10-10T01:30:08.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:30:08.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:30:08.221Z] Configure a credential helper to remove this warning. See [2022-10-10T01:30:08.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:30:08.221Z] [2022-10-10T01:30:08.221Z] Login Succeeded [2022-10-10T01:30:08.221Z] nexus3.edgexfoundry.org:10003 [2022-10-10T01:30:08.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:30:08.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:30:08.486Z] Configure a credential helper to remove this warning. See [2022-10-10T01:30:08.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:30:08.486Z] [2022-10-10T01:30:08.486Z] Login Succeeded [2022-10-10T01:30:08.486Z] nexus3.edgexfoundry.org:10004 [2022-10-10T01:30:08.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:30:08.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:30:08.486Z] Configure a credential helper to remove this warning. See [2022-10-10T01:30:08.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:30:08.486Z] [2022-10-10T01:30:08.486Z] Login Succeeded [2022-10-10T01:30:08.486Z] docker.io [2022-10-10T01:30:08.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:30:09.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:30:09.056Z] Configure a credential helper to remove this warning. See [2022-10-10T01:30:09.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:30:09.056Z] [2022-10-10T01:30:09.056Z] Login Succeeded [2022-10-10T01:30:09.056Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T01:30:09.084Z] 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:30:09.789Z] + git rev-list -1 --merges 6c6658be644320c88b61369ef56939c7ea182beb~1..6c6658be644320c88b61369ef56939c7ea182beb [Pipeline] echo [2022-10-10T01:30:09.837Z] -----------> git rev-list -1 --merges 6c6658be644320c88b61369ef56939c7ea182beb~1..6c6658be644320c88b61369ef56939c7ea182beb 6c6658be644320c88b61369ef56939c7ea182beb [false] [Pipeline] sh [2022-10-10T01:30:10.149Z] + git log --format=format:%s -1 6c6658be644320c88b61369ef56939c7ea182beb [Pipeline] echo [2022-10-10T01:30:10.192Z] ========================================================= [2022-10-10T01:30:10.192Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T01:30:10.192Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T01:30:10.637Z] + git log --format=format:%s -1 6c6658be644320c88b61369ef56939c7ea182beb [Pipeline] echo [2022-10-10T01:30:10.673Z] [semverPrep] GIT_COMMIT: 6c6658be644320c88b61369ef56939c7ea182beb, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-10T01:30:10.704Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T01:30:11.097Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T01:30:11.097Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T01:30:11.097Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T01:30:11.097Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T01:30:11.097Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T01:30:11.097Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T01:30:11.097Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:30:11.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T01:30:11.537Z] [2022-10-10T01:30:11.537Z] 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:30:11.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T01:30:11.914Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T01:30:11.914Z] b85a868b505f: Pulling fs layer [2022-10-10T01:30:11.914Z] e2be974225ed: Pulling fs layer [2022-10-10T01:30:11.914Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T01:30:11.914Z] 988bab9f4d93: Pulling fs layer [2022-10-10T01:30:11.914Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T01:30:11.914Z] eaf3925da568: Pulling fs layer [2022-10-10T01:30:11.914Z] 988bab9f4d93: Waiting [2022-10-10T01:30:11.914Z] 1469e6f7b9e6: Waiting [2022-10-10T01:30:11.914Z] eaf3925da568: Waiting [2022-10-10T01:30:11.914Z] bab4dde63d76: Pulling fs layer [2022-10-10T01:30:11.914Z] bde34c3a00c8: Pulling fs layer [2022-10-10T01:30:11.914Z] b352a97aabf1: Pulling fs layer [2022-10-10T01:30:11.914Z] bab4dde63d76: Waiting [2022-10-10T01:30:11.914Z] bde34c3a00c8: Waiting [2022-10-10T01:30:11.914Z] 4872d77fe225: Pulling fs layer [2022-10-10T01:30:11.914Z] b352a97aabf1: Waiting [2022-10-10T01:30:11.914Z] 5851b861e8e6: Pulling fs layer [2022-10-10T01:30:11.914Z] 4872d77fe225: Waiting [2022-10-10T01:30:11.914Z] 5851b861e8e6: Waiting [2022-10-10T01:30:11.914Z] e2be974225ed: Verifying Checksum [2022-10-10T01:30:11.914Z] e2be974225ed: Download complete [2022-10-10T01:30:11.914Z] 988bab9f4d93: Verifying Checksum [2022-10-10T01:30:11.914Z] 988bab9f4d93: Download complete [2022-10-10T01:30:12.179Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T01:30:12.179Z] 1469e6f7b9e6: Download complete [2022-10-10T01:30:12.179Z] eaf3925da568: Verifying Checksum [2022-10-10T01:30:12.179Z] eaf3925da568: Download complete [2022-10-10T01:30:12.179Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T01:30:12.179Z] 339a4e72a1f5: Download complete [2022-10-10T01:30:12.179Z] bde34c3a00c8: Verifying Checksum [2022-10-10T01:30:12.179Z] bde34c3a00c8: Download complete [2022-10-10T01:30:12.179Z] b352a97aabf1: Verifying Checksum [2022-10-10T01:30:12.179Z] b352a97aabf1: Download complete [2022-10-10T01:30:12.179Z] 4872d77fe225: Verifying Checksum [2022-10-10T01:30:12.179Z] 4872d77fe225: Download complete [2022-10-10T01:30:12.179Z] 5851b861e8e6: Verifying Checksum [2022-10-10T01:30:12.179Z] 5851b861e8e6: Download complete [2022-10-10T01:30:12.179Z] b85a868b505f: Verifying Checksum [2022-10-10T01:30:12.179Z] b85a868b505f: Download complete [2022-10-10T01:30:12.437Z] bab4dde63d76: Verifying Checksum [2022-10-10T01:30:12.437Z] bab4dde63d76: Download complete [2022-10-10T01:30:13.372Z] b85a868b505f: Pull complete [2022-10-10T01:30:13.631Z] e2be974225ed: Pull complete [2022-10-10T01:30:14.200Z] 339a4e72a1f5: Pull complete [2022-10-10T01:30:14.200Z] 988bab9f4d93: Pull complete [2022-10-10T01:30:14.460Z] 1469e6f7b9e6: Pull complete [2022-10-10T01:30:14.460Z] eaf3925da568: Pull complete [2022-10-10T01:30:16.368Z] bab4dde63d76: Pull complete [2022-10-10T01:30:16.368Z] bde34c3a00c8: Pull complete [2022-10-10T01:30:16.629Z] b352a97aabf1: Pull complete [2022-10-10T01:30:16.629Z] 4872d77fe225: Pull complete [2022-10-10T01:30:16.629Z] 5851b861e8e6: Pull complete [2022-10-10T01:30:16.629Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T01:30:16.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T01:30:16.629Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:30:16.855Z] prd-ubuntu20.04-docker-8c-8g-7470 does not seem to be running inside a container [2022-10-10T01:30:16.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-422 -v /w/workspace/gexfoundry_device-mqtt-go_PR-422:/w/workspace/gexfoundry_device-mqtt-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-422@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:30:20.007Z] $ docker top f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 -eo pid,comm [2022-10-10T01:30:20.063Z] 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:30:20.063Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T01:30:20.182Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T01:30:20.182Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T01:30:20.316Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T01:30:20.313Z] $ docker exec f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 ssh-agent [2022-10-10T01:30:20.430Z] SSH_AUTH_SOCK=/tmp/ssh-UO1A3pP4qAz5/agent.33 [2022-10-10T01:30:20.430Z] SSH_AGENT_PID=39 [2022-10-10T01:30:20.440Z] Running ssh-add (command line suppressed) [2022-10-10T01:30:20.545Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/private_key_3230970130355114202.key (/w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/private_key_3230970130355114202.key) [2022-10-10T01:30:20.575Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T01:30:20.910Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T01:30:20.931Z] $ docker exec --env ******** --env ******** f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 ssh-agent -k [2022-10-10T01:30:21.027Z] unset SSH_AUTH_SOCK; [2022-10-10T01:30:21.028Z] unset SSH_AGENT_PID; [2022-10-10T01:30:21.030Z] echo Agent pid 39 killed; [2022-10-10T01:30:21.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T01:30:21.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T01:30:21.125Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T01:30:21.241Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T01:30:21.239Z] $ docker exec f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 ssh-agent [2022-10-10T01:30:21.343Z] SSH_AUTH_SOCK=/tmp/ssh-IMafMvz4oOJH/agent.70 [2022-10-10T01:30:21.343Z] SSH_AGENT_PID=76 [2022-10-10T01:30:21.347Z] Running ssh-add (command line suppressed) [2022-10-10T01:30:21.445Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/private_key_12337227605192096985.key (/w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/private_key_12337227605192096985.key) [2022-10-10T01:30:21.466Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T01:30:21.791Z] + git semver init [2022-10-10T01:30:22.049Z] 2022-10-10 01:30:21,992 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T01:30:22.049Z] 2022-10-10 01:30:21,993 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver [2022-10-10T01:30:22.049Z] 2022-10-10 01:30:21,994 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver [2022-10-10T01:30:22.049Z] 2022-10-10 01:30:21,994 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-422, universal_newlines=False, shell=None, istream=None) [2022-10-10T01:30:22.989Z] 2022-10-10 01:30:22,935 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-422/.git/info/exclude [2022-10-10T01:30:22.989Z] 2022-10-10 01:30:22,936 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver/PR-422 with force:False [2022-10-10T01:30:22.989Z] 2022-10-10 01:30:22,936 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver/PR-422 [2022-10-10T01:30:22.989Z] 2022-10-10 01:30:22,941 [execute] INFO git cat-file --batch-check [2022-10-10T01:30:22.989Z] 2022-10-10 01:30:22,941 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T01:30:22.989Z] 2022-10-10 01:30:22,948 [execute] INFO git cat-file --batch [2022-10-10T01:30:22.989Z] 2022-10-10 01:30:22,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T01:30:22.989Z] 2022-10-10 01:30:22,953 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver/PR-422 [2022-10-10T01:30:22.989Z] 0.0.0 [Pipeline] } [2022-10-10T01:30:23.063Z] $ docker exec --env ******** --env ******** f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 ssh-agent -k [2022-10-10T01:30:23.149Z] unset SSH_AUTH_SOCK; [2022-10-10T01:30:23.149Z] unset SSH_AGENT_PID; [2022-10-10T01:30:23.150Z] echo Agent pid 76 killed; [2022-10-10T01:30:23.170Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T01:30:23.581Z] + git semver [Pipeline] } [2022-10-10T01:30:23.859Z] $ docker stop --time=1 f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 [2022-10-10T01:30:25.144Z] $ docker rm -f f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T01:30:25.549Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T01:30:25.773Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T01:30:25.789Z] [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:30:26.350Z] provisioning config files... [2022-10-10T01:30:26.358Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/config700382988322831337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:30:26.703Z] ---> docker-login.sh [2022-10-10T01:30:26.703Z] nexus3.edgexfoundry.org:10001 [2022-10-10T01:30:26.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:30:26.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:30:26.703Z] Configure a credential helper to remove this warning. See [2022-10-10T01:30:26.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:30:26.703Z] [2022-10-10T01:30:26.703Z] Login Succeeded [2022-10-10T01:30:26.703Z] nexus3.edgexfoundry.org:10002 [2022-10-10T01:30:26.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:30:26.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:30:26.703Z] Configure a credential helper to remove this warning. See [2022-10-10T01:30:26.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:30:26.703Z] [2022-10-10T01:30:26.703Z] Login Succeeded [2022-10-10T01:30:26.703Z] nexus3.edgexfoundry.org:10003 [2022-10-10T01:30:26.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:30:26.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:30:26.961Z] Configure a credential helper to remove this warning. See [2022-10-10T01:30:26.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:30:26.961Z] [2022-10-10T01:30:26.961Z] Login Succeeded [2022-10-10T01:30:26.961Z] nexus3.edgexfoundry.org:10004 [2022-10-10T01:30:26.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:30:26.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:30:26.961Z] Configure a credential helper to remove this warning. See [2022-10-10T01:30:26.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:30:26.961Z] [2022-10-10T01:30:26.961Z] Login Succeeded [2022-10-10T01:30:26.961Z] docker.io [2022-10-10T01:30:26.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:30:27.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:30:27.532Z] Configure a credential helper to remove this warning. See [2022-10-10T01:30:27.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:30:27.532Z] [2022-10-10T01:30:27.532Z] Login Succeeded [2022-10-10T01:30:27.532Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T01:30:27.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T01:30:27.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T01:30:27.767Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T01:30:27.797Z] ========================================================= [2022-10-10T01:30:27.797Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T01:30:27.797Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:30:28.272Z] + 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:30:28.272Z] Sending build context to Docker daemon 6.161MB [2022-10-10T01:30:28.272Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T01:30:28.272Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T01:30:28.272Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T01:30:28.272Z] 2408cc74d12b: Pulling fs layer [2022-10-10T01:30:28.272Z] ea60b727a1ce: Pulling fs layer [2022-10-10T01:30:28.272Z] 30c4a7721957: Pulling fs layer [2022-10-10T01:30:28.272Z] 370296b7ddb6: Pulling fs layer [2022-10-10T01:30:28.272Z] 7c6cee850709: Pulling fs layer [2022-10-10T01:30:28.272Z] aa9baa53a306: Pulling fs layer [2022-10-10T01:30:28.272Z] 8b309c321861: Pulling fs layer [2022-10-10T01:30:28.272Z] d8d76fd02f46: Pulling fs layer [2022-10-10T01:30:28.272Z] fa31f396de31: Pulling fs layer [2022-10-10T01:30:28.272Z] 8b309c321861: Waiting [2022-10-10T01:30:28.272Z] d8d76fd02f46: Waiting [2022-10-10T01:30:28.272Z] fa31f396de31: Waiting [2022-10-10T01:30:28.272Z] 370296b7ddb6: Waiting [2022-10-10T01:30:28.272Z] 7c6cee850709: Waiting [2022-10-10T01:30:28.272Z] 30c4a7721957: Verifying Checksum [2022-10-10T01:30:28.272Z] 30c4a7721957: Download complete [2022-10-10T01:30:28.272Z] ea60b727a1ce: Verifying Checksum [2022-10-10T01:30:28.272Z] ea60b727a1ce: Download complete [2022-10-10T01:30:28.272Z] 7c6cee850709: Verifying Checksum [2022-10-10T01:30:28.272Z] 7c6cee850709: Download complete [2022-10-10T01:30:28.272Z] aa9baa53a306: Verifying Checksum [2022-10-10T01:30:28.272Z] aa9baa53a306: Download complete [2022-10-10T01:30:28.534Z] 2408cc74d12b: Verifying Checksum [2022-10-10T01:30:28.534Z] 2408cc74d12b: Download complete [2022-10-10T01:30:28.534Z] 8b309c321861: Download complete [2022-10-10T01:30:28.534Z] 2408cc74d12b: Pull complete [2022-10-10T01:30:28.800Z] ea60b727a1ce: Pull complete [2022-10-10T01:30:28.800Z] 30c4a7721957: Pull complete [2022-10-10T01:30:28.800Z] fa31f396de31: Verifying Checksum [2022-10-10T01:30:28.800Z] fa31f396de31: Download complete [2022-10-10T01:30:29.060Z] d8d76fd02f46: Verifying Checksum [2022-10-10T01:30:29.060Z] d8d76fd02f46: Download complete [2022-10-10T01:30:29.060Z] 370296b7ddb6: Verifying Checksum [2022-10-10T01:30:29.060Z] 370296b7ddb6: Download complete [2022-10-10T01:30:32.378Z] 370296b7ddb6: Pull complete [2022-10-10T01:30:32.639Z] 7c6cee850709: Pull complete [2022-10-10T01:30:32.639Z] aa9baa53a306: Pull complete [2022-10-10T01:30:32.639Z] 8b309c321861: Pull complete [2022-10-10T01:30:34.561Z] d8d76fd02f46: Pull complete [2022-10-10T01:30:35.210Z] fa31f396de31: Pull complete [2022-10-10T01:30:35.210Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T01:30:35.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T01:30:35.210Z] ---> cef68f9685f8 [2022-10-10T01:30:35.210Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T01:30:40.491Z] ---> Running in 48213d45e4c1 [2022-10-10T01:30:40.491Z] Removing intermediate container 48213d45e4c1 [2022-10-10T01:30:40.491Z] ---> ef6473fad498 [2022-10-10T01:30:40.491Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T01:30:40.491Z] ---> Running in 5fbf5b702ffc [2022-10-10T01:30:40.491Z] Removing intermediate container 5fbf5b702ffc [2022-10-10T01:30:40.491Z] ---> 2ed0701e6bc2 [2022-10-10T01:30:40.491Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T01:30:40.491Z] ---> Running in b77282b648d1 [2022-10-10T01:30:40.491Z] Removing intermediate container b77282b648d1 [2022-10-10T01:30:40.491Z] ---> e1c0829d7726 [2022-10-10T01:30:40.491Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T01:30:40.491Z] ---> Running in f762b59cc4de [2022-10-10T01:30:40.491Z] Removing intermediate container f762b59cc4de [2022-10-10T01:30:40.491Z] ---> 1ee42d3ab5e9 [2022-10-10T01:30:40.491Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T01:30:40.491Z] ---> Running in 551efdbfc536 [2022-10-10T01:30:40.749Z] Removing intermediate container 551efdbfc536 [2022-10-10T01:30:40.749Z] ---> 42c6f8f4bb63 [2022-10-10T01:30:40.749Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T01:30:40.749Z] ---> Running in 154ed89b943a [2022-10-10T01:30:41.007Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T01:30:41.179Z] Still waiting to schedule task [2022-10-10T01:30:41.180Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7464’ [2022-10-10T01:30:41.946Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T01:30:42.205Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T01:30:42.205Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T01:30:42.205Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T01:30:42.467Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T01:30:42.467Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T01:30:42.467Z] OK: 216 MiB in 55 packages [2022-10-10T01:30:43.034Z] Removing intermediate container 154ed89b943a [2022-10-10T01:30:43.034Z] ---> 1907a82b0b37 [2022-10-10T01:30:43.034Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T01:30:43.034Z] ---> Running in 520bc6801b23 [2022-10-10T01:30:43.034Z] Removing intermediate container 520bc6801b23 [2022-10-10T01:30:43.034Z] ---> 51a1353f7b4d [2022-10-10T01:30:43.034Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T01:30:43.294Z] ---> 2eaefeda21e5 [2022-10-10T01:30:43.294Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T01:30:43.294Z] ---> Running in 4579bdb96b89 [2022-10-10T01:31:05.284Z] Removing intermediate container 4579bdb96b89 [2022-10-10T01:31:05.284Z] ---> 43d736762dfb [2022-10-10T01:31:05.284Z] Step 12/13 : COPY . . [2022-10-10T01:31:05.850Z] ---> 72a1136b6b32 [2022-10-10T01:31:05.850Z] Step 13/13 : RUN $MAKE [2022-10-10T01:31:05.850Z] ---> Running in 5755ef7e309b [2022-10-10T01:31:06.109Z] noop [2022-10-10T01:31:06.367Z] Removing intermediate container 5755ef7e309b [2022-10-10T01:31:06.367Z] ---> 7c8f996c38a4 [2022-10-10T01:31:06.367Z] Successfully built 7c8f996c38a4 [2022-10-10T01:31:06.367Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:31:06.807Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T01:31:06.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:31:06.945Z] prd-ubuntu20.04-docker-8c-8g-7470 does not seem to be running inside a container [2022-10-10T01:31:06.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-422 -v /w/workspace/gexfoundry_device-mqtt-go_PR-422:/w/workspace/gexfoundry_device-mqtt-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-422@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:31:07.307Z] $ docker top 2ada8b302d03835ea499c239115923a166bc32bce79e5a84dd2b210ce21db6c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T01:31:07.699Z] + go version [2022-10-10T01:31:07.699Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T01:31:07.731Z] $ docker stop --time=1 2ada8b302d03835ea499c239115923a166bc32bce79e5a84dd2b210ce21db6c8 [2022-10-10T01:31:08.990Z] $ docker rm -f 2ada8b302d03835ea499c239115923a166bc32bce79e5a84dd2b210ce21db6c8 [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:31:09.663Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T01:31:09.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:31:09.816Z] prd-ubuntu20.04-docker-8c-8g-7470 does not seem to be running inside a container [2022-10-10T01:31:09.849Z] $ 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-422 -v /w/workspace/gexfoundry_device-mqtt-go_PR-422:/w/workspace/gexfoundry_device-mqtt-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-422@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:31:10.147Z] $ docker top 3c04f72bfd42c9c84ee977c9ad3b8327c60d1505668112585332af505e4ba439 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T01:31:10.535Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-422 [Pipeline] fileExists [Pipeline] sh [2022-10-10T01:31:10.887Z] + make test [2022-10-10T01:31:10.887Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T01:31:11.146Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T01:31:19.251Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T01:31:19.817Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2022-10-10T01:31:19.817Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T01:31:26.442Z] 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:31:26.442Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T01:31:28.974Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T01:31:28.974Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T01:31:28.974Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T01:31:29.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T01:31:29.054Z] $ docker stop --time=1 3c04f72bfd42c9c84ee977c9ad3b8327c60d1505668112585332af505e4ba439 [2022-10-10T01:31:31.600Z] $ docker rm -f 3c04f72bfd42c9c84ee977c9ad3b8327c60d1505668112585332af505e4ba439 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T01:31:32.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T01:31:32.166Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T01:31:32.799Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T01:31:33.113Z] + ls -al . [2022-10-10T01:31:33.114Z] total 184 [2022-10-10T01:31:33.114Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 01:31 . [2022-10-10T01:31:33.114Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:30 .. [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 01:30 .dockerignore [2022-10-10T01:31:33.114Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 01:31 .git [2022-10-10T01:31:33.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:30 .github [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 01:30 .gitignore [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 01:30 .golangci.yml [2022-10-10T01:31:33.114Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 01:30 .semver [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 01:30 Attribution.txt [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 01:30 CHANGELOG.md [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 01:30 Dockerfile [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 01:30 GOVERNANCE.md [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 01:30 Jenkinsfile [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 01:30 LICENSE [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 01:30 Makefile [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 01:30 OWNERS.md [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 01:30 README.md [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 01:30 VERSION [2022-10-10T01:31:33.114Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:30 bin [2022-10-10T01:31:33.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:30 cmd [2022-10-10T01:31:33.114Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 01:31 coverage.out [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 01:30 go.mod [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 01:30 go.sum [2022-10-10T01:31:33.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:30 internal [2022-10-10T01:31:33.114Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:30 mock [2022-10-10T01:31:33.114Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:30 snap [2022-10-10T01:31:33.114Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 01:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:31:33.520Z] + 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=6c6658be644320c88b61369ef56939c7ea182beb --label arch=amd64 --label version=0.0.0 . [2022-10-10T01:31:33.520Z] Sending build context to Docker daemon 6.179MB [2022-10-10T01:31:33.520Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T01:31:33.520Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T01:31:33.520Z] ---> 7c8f996c38a4 [2022-10-10T01:31:33.520Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T01:31:33.783Z] ---> Running in 4268583d3119 [2022-10-10T01:31:33.783Z] Removing intermediate container 4268583d3119 [2022-10-10T01:31:33.783Z] ---> b24673b5c49c [2022-10-10T01:31:33.783Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T01:31:33.783Z] ---> Running in eb84eeeec65a [2022-10-10T01:31:33.783Z] Removing intermediate container eb84eeeec65a [2022-10-10T01:31:33.783Z] ---> e314b01d806b [2022-10-10T01:31:33.783Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T01:31:33.783Z] ---> Running in a92343c24b26 [2022-10-10T01:31:33.783Z] Removing intermediate container a92343c24b26 [2022-10-10T01:31:33.783Z] ---> 29ae4f389198 [2022-10-10T01:31:33.783Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T01:31:34.044Z] ---> Running in c40cbddb7cca [2022-10-10T01:31:34.044Z] Removing intermediate container c40cbddb7cca [2022-10-10T01:31:34.044Z] ---> eb3fa3be9ef9 [2022-10-10T01:31:34.044Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T01:31:34.044Z] ---> Running in b98493401cab [2022-10-10T01:31:34.609Z] Removing intermediate container b98493401cab [2022-10-10T01:31:34.609Z] ---> 89f4e5875b6e [2022-10-10T01:31:34.609Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T01:31:34.609Z] ---> Running in 7bc5079335fd [2022-10-10T01:31:34.866Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T01:31:35.810Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T01:31:36.068Z] OK: 216 MiB in 55 packages [2022-10-10T01:31:36.326Z] Removing intermediate container 7bc5079335fd [2022-10-10T01:31:36.326Z] ---> 8794bc3a2604 [2022-10-10T01:31:36.326Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T01:31:36.326Z] ---> Running in d9d7c9da5c18 [2022-10-10T01:31:36.326Z] Removing intermediate container d9d7c9da5c18 [2022-10-10T01:31:36.326Z] ---> 01eab3928787 [2022-10-10T01:31:36.326Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T01:31:36.326Z] ---> 6bf082a0feaa [2022-10-10T01:31:36.326Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T01:31:36.584Z] ---> Running in 2bb79e33b662 [2022-10-10T01:31:37.151Z] Removing intermediate container 2bb79e33b662 [2022-10-10T01:31:37.151Z] ---> 56b911b654f7 [2022-10-10T01:31:37.151Z] Step 12/25 : COPY . . [2022-10-10T01:31:37.408Z] ---> a4addf3dc4d1 [2022-10-10T01:31:37.408Z] Step 13/25 : RUN $MAKE [2022-10-10T01:31:37.408Z] ---> Running in 33735b5f36e6 [2022-10-10T01:31:37.665Z] 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:59.581Z] Removing intermediate container 33735b5f36e6 [2022-10-10T01:31:59.581Z] ---> e35ad9682175 [2022-10-10T01:31:59.581Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T01:31:59.581Z] 3.16: Pulling from library/alpine [2022-10-10T01:31:59.581Z] 213ec9aee27d: Pulling fs layer [2022-10-10T01:31:59.581Z] 213ec9aee27d: Verifying Checksum [2022-10-10T01:31:59.581Z] 213ec9aee27d: Download complete [2022-10-10T01:31:59.581Z] 213ec9aee27d: Pull complete [2022-10-10T01:31:59.581Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T01:31:59.581Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T01:31:59.581Z] ---> 9c6f07244728 [2022-10-10T01:31:59.581Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T01:31:59.581Z] ---> Running in 8f45ee4a0897 [2022-10-10T01:31:59.581Z] Removing intermediate container 8f45ee4a0897 [2022-10-10T01:31:59.581Z] ---> 7417f602290c [2022-10-10T01:31:59.581Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T01:31:59.581Z] ---> Running in 5a68f7c3430a [2022-10-10T01:31:59.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T01:32:00.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T01:32:00.361Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T01:32:00.361Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T01:32:00.361Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T01:32:00.361Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T01:32:00.361Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T01:32:00.361Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T01:32:00.361Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T01:32:00.361Z] OK: 8 MiB in 20 packages [2022-10-10T01:32:00.929Z] Removing intermediate container 5a68f7c3430a [2022-10-10T01:32:00.929Z] ---> fb482ca0b232 [2022-10-10T01:32:00.929Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T01:32:01.862Z] ---> d0be53f24c15 [2022-10-10T01:32:01.862Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T01:32:01.862Z] ---> a8d69883e038 [2022-10-10T01:32:01.862Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T01:32:02.120Z] ---> 3a38cd740791 [2022-10-10T01:32:02.120Z] Step 20/25 : EXPOSE 59982 [2022-10-10T01:32:02.120Z] ---> Running in 1783277076cd [2022-10-10T01:32:02.120Z] Removing intermediate container 1783277076cd [2022-10-10T01:32:02.120Z] ---> 1e2b9c0dd40a [2022-10-10T01:32:02.120Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T01:32:02.120Z] ---> Running in cef68dad1953 [2022-10-10T01:32:02.120Z] Removing intermediate container cef68dad1953 [2022-10-10T01:32:02.120Z] ---> 4822f50fa875 [2022-10-10T01:32:02.120Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T01:32:02.378Z] ---> Running in ee7a2b026de5 [2022-10-10T01:32:02.378Z] Removing intermediate container ee7a2b026de5 [2022-10-10T01:32:02.378Z] ---> 7fab4a7097ec [2022-10-10T01:32:02.378Z] Step 23/25 : LABEL arch=amd64 [2022-10-10T01:32:02.378Z] ---> Running in 7e031396f0d3 [2022-10-10T01:32:02.378Z] Removing intermediate container 7e031396f0d3 [2022-10-10T01:32:02.378Z] ---> 4433b7c4402c [2022-10-10T01:32:02.378Z] Step 24/25 : LABEL git_sha=6c6658be644320c88b61369ef56939c7ea182beb [2022-10-10T01:32:02.379Z] ---> Running in 57993a4d988a [2022-10-10T01:32:02.379Z] Removing intermediate container 57993a4d988a [2022-10-10T01:32:02.379Z] ---> 3db8d31b01da [2022-10-10T01:32:02.379Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T01:32:02.637Z] ---> Running in b4fa8b5cc258 [2022-10-10T01:32:02.637Z] Removing intermediate container b4fa8b5cc258 [2022-10-10T01:32:02.637Z] ---> aa631fb2a798 [2022-10-10T01:32:02.637Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T01:32:02.637Z] Successfully built aa631fb2a798 [2022-10-10T01:32:02.637Z] 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:32:03.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T01:32:03.488Z] [2022-10-10T01:32:03.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:32:03.870Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T01:32:03.870Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T01:32:03.870Z] 5eb5b503b376: Pulling fs layer [2022-10-10T01:32:03.870Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T01:32:03.870Z] ec43610c2a17: Pulling fs layer [2022-10-10T01:32:03.870Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T01:32:03.870Z] 33b1e0a273af: Pulling fs layer [2022-10-10T01:32:03.870Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T01:32:03.870Z] 2f39f015ded8: Pulling fs layer [2022-10-10T01:32:03.870Z] 2f39f015ded8: Waiting [2022-10-10T01:32:03.870Z] 5d3b04190fa2: Waiting [2022-10-10T01:32:03.870Z] 3a2ae6a8a46f: Waiting [2022-10-10T01:32:03.870Z] 33b1e0a273af: Waiting [2022-10-10T01:32:03.870Z] 5c69ac0246d0: Download complete [2022-10-10T01:32:03.870Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T01:32:03.870Z] 3a2ae6a8a46f: Download complete [2022-10-10T01:32:03.870Z] 33b1e0a273af: Verifying Checksum [2022-10-10T01:32:03.870Z] 33b1e0a273af: Download complete [2022-10-10T01:32:03.870Z] 5d3b04190fa2: Verifying Checksum [2022-10-10T01:32:03.870Z] 5d3b04190fa2: Download complete [2022-10-10T01:32:03.870Z] ec43610c2a17: Verifying Checksum [2022-10-10T01:32:03.870Z] ec43610c2a17: Download complete [2022-10-10T01:32:04.129Z] 5eb5b503b376: Verifying Checksum [2022-10-10T01:32:04.129Z] 5eb5b503b376: Download complete [2022-10-10T01:32:04.695Z] 2f39f015ded8: Download complete [2022-10-10T01:32:05.262Z] 5eb5b503b376: Pull complete [2022-10-10T01:32:05.262Z] 5c69ac0246d0: Pull complete [2022-10-10T01:32:05.827Z] ec43610c2a17: Pull complete [2022-10-10T01:32:05.827Z] 3a2ae6a8a46f: Pull complete [2022-10-10T01:32:06.085Z] 33b1e0a273af: Pull complete [2022-10-10T01:32:06.085Z] 5d3b04190fa2: Pull complete [2022-10-10T01:32:10.268Z] 2f39f015ded8: Pull complete [2022-10-10T01:32:10.268Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T01:32:10.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T01:32:10.268Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:32:10.483Z] prd-ubuntu20.04-docker-8c-8g-7470 does not seem to be running inside a container [2022-10-10T01:32:10.512Z] $ 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-422 -v /w/workspace/gexfoundry_device-mqtt-go_PR-422:/w/workspace/gexfoundry_device-mqtt-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-422@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:32:14.505Z] $ docker top 26bbf3ff907d197b49904ca3b2f1c85e958545767e17297feb6c1060c5457360 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:32:14.934Z] ---> job-cost.sh [2022-10-10T01:32:14.934Z] lf-activate-venv: SKIPPING [2022-10-10T01:32:14.934Z] INFO: No Stack... [2022-10-10T01:32:15.192Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T01:32:15.451Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T01:32:15.762Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives/cost.csv [2022-10-10T01:32:15.762Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T01:32:15.804Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] [2022-10-10T01:32:15.809Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] did not exist. Created. [2022-10-10T01:32:15.809Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T01:32:16.204Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T01:32:16.253Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T01:32:16.278Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T01:32:16.350Z] $ docker stop --time=1 26bbf3ff907d197b49904ca3b2f1c85e958545767e17297feb6c1060c5457360 [2022-10-10T01:32:17.492Z] $ docker rm -f 26bbf3ff907d197b49904ca3b2f1c85e958545767e17297feb6c1060c5457360 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T01:33:39.279Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7475 in /w/workspace/gexfoundry_device-mqtt-go_PR-422 [Pipeline] { [Pipeline] ws [2022-10-10T01:33:39.316Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-10-10T01:33:39.398Z] Selected Git installation does not exist. Using Default [2022-10-10T01:33:39.398Z] The recommended git tool is: NONE [2022-10-10T01:33:45.324Z] using credential edgex-jenkins-ssh [2022-10-10T01:33:45.342Z] Cloning the remote Git repository [2022-10-10T01:33:45.396Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T01:33:45.486Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-10-10T01:33:45.667Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T01:33:45.668Z] > git --version # timeout=10 [2022-10-10T01:33:45.692Z] > git --version # 'git version 2.25.1' [2022-10-10T01:33:45.694Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T01:33:45.753Z] Verifying host key using known hosts file [2022-10-10T01:33:45.982Z] 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:33:45.998Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T01:33:47.154Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T01:33:47.178Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T01:33:48.061Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T01:33:48.104Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T01:33:48.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T01:33:48.110Z] Verifying host key using known hosts file [2022-10-10T01:33:48.118Z] 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:33:48.129Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T01:33:48.696Z] Merging remotes/origin/main commit 1a028d96f2f1053b1975dad0f0d16109b5d4490c into PR head commit 6c6658be644320c88b61369ef56939c7ea182beb [2022-10-10T01:33:48.899Z] Merge succeeded, producing 6c6658be644320c88b61369ef56939c7ea182beb [2022-10-10T01:33:48.900Z] Checking out Revision 6c6658be644320c88b61369ef56939c7ea182beb (PR-422) [2022-10-10T01:33:49.388Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-10T01:33:49.438Z] > git --version # timeout=10 [2022-10-10T01:33:49.448Z] > git --version # 'git version 2.25.1' [2022-10-10T01:33:49.470Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T01:33:48.713Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T01:33:48.732Z] > git checkout -f 6c6658be644320c88b61369ef56939c7ea182beb # timeout=10 [2022-10-10T01:33:48.810Z] > git remote # timeout=10 [2022-10-10T01:33:48.825Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T01:33:48.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T01:33:48.846Z] Verifying host key using known hosts file [2022-10-10T01:33:48.850Z] 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:33:48.859Z] > git merge 1a028d96f2f1053b1975dad0f0d16109b5d4490c # timeout=10 [2022-10-10T01:33:48.885Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T01:33:48.907Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T01:33:48.921Z] > git checkout -f 6c6658be644320c88b61369ef56939c7ea182beb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T01:33:50.519Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T01:33:50.519Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T01:33:50.519Z] Dload Upload Total Spent Left Speed [2022-10-10T01:33:50.519Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh [2022-10-10T01:33:51.117Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T01:33:51.492Z] + sudo tee /etc/docker/daemon.new [2022-10-10T01:33:51.492Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T01:33:51.492Z] { [2022-10-10T01:33:51.492Z] "registry-mirrors": [ [2022-10-10T01:33:51.492Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T01:33:51.492Z] ], [2022-10-10T01:33:51.492Z] "bip": "10.250.0.254/24", [2022-10-10T01:33:51.492Z] "hosts": [ [2022-10-10T01:33:51.492Z] "tcp://0.0.0.0:5555", [2022-10-10T01:33:51.492Z] "unix:///var/run/docker.sock" [2022-10-10T01:33:51.492Z] ], [2022-10-10T01:33:51.492Z] "mtu": 1458, [2022-10-10T01:33:51.492Z] "selinux-enabled": true, [2022-10-10T01:33:51.492Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T01:33:51.492Z] } [Pipeline] sh [2022-10-10T01:33:51.846Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T01:33:52.193Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T01:34:10.508Z] provisioning config files... [2022-10-10T01:34:10.534Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7515956327218308521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:34:10.913Z] ---> docker-login.sh [2022-10-10T01:34:10.913Z] nexus3.edgexfoundry.org:10001 [2022-10-10T01:34:11.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:34:11.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:34:11.498Z] Configure a credential helper to remove this warning. See [2022-10-10T01:34:11.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:34:11.498Z] [2022-10-10T01:34:11.498Z] Login Succeeded [2022-10-10T01:34:11.498Z] nexus3.edgexfoundry.org:10002 [2022-10-10T01:34:11.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:34:11.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:34:11.765Z] Configure a credential helper to remove this warning. See [2022-10-10T01:34:11.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:34:11.765Z] [2022-10-10T01:34:11.765Z] Login Succeeded [2022-10-10T01:34:11.765Z] nexus3.edgexfoundry.org:10003 [2022-10-10T01:34:12.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:34:12.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:34:12.305Z] Configure a credential helper to remove this warning. See [2022-10-10T01:34:12.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:34:12.305Z] [2022-10-10T01:34:12.305Z] Login Succeeded [2022-10-10T01:34:12.305Z] nexus3.edgexfoundry.org:10004 [2022-10-10T01:34:12.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:34:12.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:34:12.845Z] Configure a credential helper to remove this warning. See [2022-10-10T01:34:12.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:34:12.845Z] [2022-10-10T01:34:12.845Z] Login Succeeded [2022-10-10T01:34:12.845Z] docker.io [2022-10-10T01:34:13.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T01:34:13.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T01:34:13.378Z] Configure a credential helper to remove this warning. See [2022-10-10T01:34:13.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T01:34:13.378Z] [2022-10-10T01:34:13.378Z] Login Succeeded [2022-10-10T01:34:13.378Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T01:34:13.406Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T01:34:13.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T01:34:13.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T01:34:13.772Z] ========================================================= [2022-10-10T01:34:13.772Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T01:34:13.772Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:34:14.335Z] + 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:34:14.602Z] Sending build context to Docker daemon 3.188MB [2022-10-10T01:34:14.602Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T01:34:14.602Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T01:34:14.870Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T01:34:14.870Z] b3c136eddcbf: Pulling fs layer [2022-10-10T01:34:14.870Z] c0a3192eca97: Pulling fs layer [2022-10-10T01:34:14.870Z] a050256f5b6f: Pulling fs layer [2022-10-10T01:34:14.870Z] 656be50a0ddc: Pulling fs layer [2022-10-10T01:34:14.870Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T01:34:14.870Z] f607e4fc86c3: Pulling fs layer [2022-10-10T01:34:14.870Z] 4d572c569a2c: Pulling fs layer [2022-10-10T01:34:14.870Z] fcf976331f73: Pulling fs layer [2022-10-10T01:34:14.870Z] 656be50a0ddc: Waiting [2022-10-10T01:34:14.870Z] 2bbca73fdf42: Waiting [2022-10-10T01:34:14.870Z] f607e4fc86c3: Waiting [2022-10-10T01:34:14.870Z] 4d572c569a2c: Waiting [2022-10-10T01:34:14.870Z] fcf976331f73: Waiting [2022-10-10T01:34:14.870Z] a050256f5b6f: Verifying Checksum [2022-10-10T01:34:14.870Z] a050256f5b6f: Download complete [2022-10-10T01:34:14.870Z] c0a3192eca97: Verifying Checksum [2022-10-10T01:34:14.870Z] c0a3192eca97: Download complete [2022-10-10T01:34:14.870Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T01:34:14.870Z] 2bbca73fdf42: Download complete [2022-10-10T01:34:14.870Z] f607e4fc86c3: Verifying Checksum [2022-10-10T01:34:14.870Z] f607e4fc86c3: Download complete [2022-10-10T01:34:14.870Z] b3c136eddcbf: Verifying Checksum [2022-10-10T01:34:14.870Z] b3c136eddcbf: Download complete [2022-10-10T01:34:15.842Z] fcf976331f73: Verifying Checksum [2022-10-10T01:34:15.842Z] fcf976331f73: Download complete [2022-10-10T01:34:16.438Z] b3c136eddcbf: Pull complete [2022-10-10T01:34:16.710Z] c0a3192eca97: Pull complete [2022-10-10T01:34:16.982Z] a050256f5b6f: Pull complete [2022-10-10T01:34:16.982Z] 4d572c569a2c: Verifying Checksum [2022-10-10T01:34:16.982Z] 4d572c569a2c: Download complete [2022-10-10T01:34:18.055Z] 656be50a0ddc: Verifying Checksum [2022-10-10T01:34:18.055Z] 656be50a0ddc: Download complete [2022-10-10T01:34:30.390Z] 656be50a0ddc: Pull complete [2022-10-10T01:34:30.390Z] 2bbca73fdf42: Pull complete [2022-10-10T01:34:30.390Z] f607e4fc86c3: Pull complete [2022-10-10T01:34:37.057Z] 4d572c569a2c: Pull complete [2022-10-10T01:34:38.477Z] fcf976331f73: Pull complete [2022-10-10T01:34:38.746Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T01:34:38.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T01:34:38.746Z] ---> 3970a7415f9e [2022-10-10T01:34:38.746Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T01:34:40.700Z] ---> Running in e5a9b5b9fbc9 [2022-10-10T01:34:40.968Z] Removing intermediate container e5a9b5b9fbc9 [2022-10-10T01:34:40.968Z] ---> 9c2f101dea91 [2022-10-10T01:34:40.968Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T01:34:40.968Z] ---> Running in 0f3f5dbf495f [2022-10-10T01:34:41.240Z] Removing intermediate container 0f3f5dbf495f [2022-10-10T01:34:41.240Z] ---> 87739969e02f [2022-10-10T01:34:41.240Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T01:34:41.509Z] ---> Running in 7fe8b4ef3458 [2022-10-10T01:34:41.779Z] Removing intermediate container 7fe8b4ef3458 [2022-10-10T01:34:41.779Z] ---> 7fc55ab8d5aa [2022-10-10T01:34:41.779Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T01:34:41.779Z] ---> Running in 032d4ca5a87b [2022-10-10T01:34:42.046Z] Removing intermediate container 032d4ca5a87b [2022-10-10T01:34:42.046Z] ---> ee235c011a04 [2022-10-10T01:34:42.046Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T01:34:42.319Z] ---> Running in 05928cb00bef [2022-10-10T01:34:44.276Z] Removing intermediate container 05928cb00bef [2022-10-10T01:34:44.276Z] ---> 4136111a82ec [2022-10-10T01:34:44.276Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T01:34:44.276Z] ---> Running in f27913f211fd [2022-10-10T01:34:45.240Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T01:34:46.207Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T01:34:47.170Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T01:34:47.170Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T01:34:47.438Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T01:34:47.708Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T01:34:47.708Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T01:34:47.708Z] OK: 226 MiB in 55 packages [2022-10-10T01:34:48.678Z] Removing intermediate container f27913f211fd [2022-10-10T01:34:48.678Z] ---> 662e913850e9 [2022-10-10T01:34:48.678Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T01:34:48.948Z] ---> Running in 2a5ec625008c [2022-10-10T01:34:49.216Z] Removing intermediate container 2a5ec625008c [2022-10-10T01:34:49.216Z] ---> 79bcfd5b5b9c [2022-10-10T01:34:49.216Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T01:34:49.803Z] ---> b4fdf7b78782 [2022-10-10T01:34:49.803Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T01:34:49.803Z] ---> Running in b70f6b8053c6 [2022-10-10T01:35:36.685Z] Removing intermediate container b70f6b8053c6 [2022-10-10T01:35:36.685Z] ---> 3c97cf7981e9 [2022-10-10T01:35:36.685Z] Step 12/13 : COPY . . [2022-10-10T01:35:37.283Z] ---> 55aed1a40e19 [2022-10-10T01:35:37.283Z] Step 13/13 : RUN $MAKE [2022-10-10T01:35:37.283Z] ---> Running in b787d5197ab2 [2022-10-10T01:35:38.248Z] noop [2022-10-10T01:35:39.210Z] Removing intermediate container b787d5197ab2 [2022-10-10T01:35:39.210Z] ---> 75efe066be17 [2022-10-10T01:35:39.210Z] Successfully built 75efe066be17 [2022-10-10T01:35:39.210Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:35:39.684Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T01:35:39.684Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:35:39.946Z] prd-ubuntu20.04-docker-arm64-4c-16g-7475 does not seem to be running inside a container [2022-10-10T01:35:40.013Z] $ 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:35:41.196Z] $ docker top b00436753da20d7e8e921152c03985417e260c085a5e3d0e5bb27b3e6fdac052 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T01:35:42.085Z] + go version [2022-10-10T01:35:42.085Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T01:35:42.117Z] $ docker stop --time=1 b00436753da20d7e8e921152c03985417e260c085a5e3d0e5bb27b3e6fdac052 [2022-10-10T01:35:43.781Z] $ docker rm -f b00436753da20d7e8e921152c03985417e260c085a5e3d0e5bb27b3e6fdac052 [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:35:44.697Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T01:35:44.697Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:35:44.952Z] prd-ubuntu20.04-docker-arm64-4c-16g-7475 does not seem to be running inside a container [2022-10-10T01:35:45.025Z] $ 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:35:46.212Z] $ docker top e9be7c0e888de21ade783f6cd8e25b7d3f7aba947bbd9554c9e35b9a1f611558 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T01:35:47.101Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-10T01:35:47.544Z] + make test [2022-10-10T01:35:47.812Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T01:35:49.224Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T01:37:25.906Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T01:37:25.906Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements [2022-10-10T01:37:25.906Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T01:37:25.906Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T01:37:25.906Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T01:37:44.138Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T01:37:44.138Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T01:37:44.138Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T01:37:44.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T01:37:44.213Z] $ docker stop --time=1 e9be7c0e888de21ade783f6cd8e25b7d3f7aba947bbd9554c9e35b9a1f611558 [2022-10-10T01:37:46.072Z] $ docker rm -f e9be7c0e888de21ade783f6cd8e25b7d3f7aba947bbd9554c9e35b9a1f611558 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T01:37:47.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T01:37:47.170Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T01:37:47.651Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T01:37:48.263Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T01:37:48.622Z] + ls -al . [2022-10-10T01:37:48.623Z] total 180 [2022-10-10T01:37:48.623Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 01:35 . [2022-10-10T01:37:48.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:33 .. [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 01:33 .dockerignore [2022-10-10T01:37:48.623Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 01:33 .git [2022-10-10T01:37:48.623Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:33 .github [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 01:33 .gitignore [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 01:33 .golangci.yml [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 01:33 Attribution.txt [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 01:33 CHANGELOG.md [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 01:33 Dockerfile [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 01:33 GOVERNANCE.md [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 01:33 Jenkinsfile [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 01:33 LICENSE [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 01:33 Makefile [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 01:33 OWNERS.md [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 01:33 README.md [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 01:30 VERSION [2022-10-10T01:37:48.623Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:33 bin [2022-10-10T01:37:48.623Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:33 cmd [2022-10-10T01:37:48.623Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 01:37 coverage.out [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 01:33 go.mod [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 01:33 go.sum [2022-10-10T01:37:48.623Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:33 internal [2022-10-10T01:37:48.623Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:33 mock [2022-10-10T01:37:48.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:33 snap [2022-10-10T01:37:48.623Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 01:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:37:49.038Z] + 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=6c6658be644320c88b61369ef56939c7ea182beb --label arch=arm64 --label version=0.0.0 . [2022-10-10T01:37:49.311Z] Sending build context to Docker daemon 3.206MB [2022-10-10T01:37:49.311Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T01:37:49.311Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T01:37:49.311Z] ---> 75efe066be17 [2022-10-10T01:37:49.311Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T01:37:49.581Z] ---> Running in e218de1fbc10 [2022-10-10T01:37:49.850Z] Removing intermediate container e218de1fbc10 [2022-10-10T01:37:49.850Z] ---> 5f12fbb81936 [2022-10-10T01:37:49.850Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T01:37:49.850Z] ---> Running in eb9367a0f569 [2022-10-10T01:37:50.433Z] Removing intermediate container eb9367a0f569 [2022-10-10T01:37:50.433Z] ---> b83ac45cb7b5 [2022-10-10T01:37:50.433Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T01:37:50.433Z] ---> Running in 6ae9db6ae510 [2022-10-10T01:37:50.703Z] Removing intermediate container 6ae9db6ae510 [2022-10-10T01:37:50.703Z] ---> 8d07daeae5f0 [2022-10-10T01:37:50.703Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T01:37:50.974Z] ---> Running in eef085393e3d [2022-10-10T01:37:51.242Z] Removing intermediate container eef085393e3d [2022-10-10T01:37:51.242Z] ---> 6fb975da1fc5 [2022-10-10T01:37:51.242Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T01:37:51.242Z] ---> Running in 8406b16f09b2 [2022-10-10T01:37:53.192Z] Removing intermediate container 8406b16f09b2 [2022-10-10T01:37:53.192Z] ---> 5f76a15e612a [2022-10-10T01:37:53.192Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T01:37:53.475Z] ---> Running in 3b112567be6c [2022-10-10T01:37:54.443Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T01:37:55.415Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T01:37:56.833Z] OK: 226 MiB in 55 packages [2022-10-10T01:37:57.800Z] Removing intermediate container 3b112567be6c [2022-10-10T01:37:57.800Z] ---> 0bcdadddde1c [2022-10-10T01:37:57.800Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T01:37:57.800Z] ---> Running in 283e323f8cc7 [2022-10-10T01:37:58.069Z] Removing intermediate container 283e323f8cc7 [2022-10-10T01:37:58.069Z] ---> ebd42adbf629 [2022-10-10T01:37:58.069Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T01:37:58.656Z] ---> aa626556b17c [2022-10-10T01:37:58.656Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T01:37:58.656Z] ---> Running in f2e1d96039ce [2022-10-10T01:38:01.248Z] Removing intermediate container f2e1d96039ce [2022-10-10T01:38:01.248Z] ---> 7ad9ccabc83b [2022-10-10T01:38:01.248Z] Step 12/25 : COPY . . [2022-10-10T01:38:02.214Z] ---> 4304437e5ec7 [2022-10-10T01:38:02.214Z] Step 13/25 : RUN $MAKE [2022-10-10T01:38:02.214Z] ---> Running in 61909b00b6b2 [2022-10-10T01:38:03.622Z] 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:40:40.736Z] Removing intermediate container 61909b00b6b2 [2022-10-10T01:40:40.736Z] ---> 434e6a11747a [2022-10-10T01:40:40.736Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T01:40:40.736Z] 3.16: Pulling from library/alpine [2022-10-10T01:40:40.736Z] 9b18e9b68314: Pulling fs layer [2022-10-10T01:40:40.736Z] 9b18e9b68314: Verifying Checksum [2022-10-10T01:40:40.736Z] 9b18e9b68314: Download complete [2022-10-10T01:40:40.736Z] 9b18e9b68314: Pull complete [2022-10-10T01:40:40.736Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T01:40:40.736Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T01:40:40.736Z] ---> a6215f271958 [2022-10-10T01:40:40.736Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T01:40:40.736Z] ---> Running in 764d133afe53 [2022-10-10T01:40:40.736Z] Removing intermediate container 764d133afe53 [2022-10-10T01:40:40.736Z] ---> 813e55a088f3 [2022-10-10T01:40:40.736Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T01:40:40.736Z] ---> Running in a899a2f21f30 [2022-10-10T01:40:41.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T01:40:41.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T01:40:42.234Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T01:40:42.234Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T01:40:42.234Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T01:40:42.234Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T01:40:42.234Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T01:40:42.234Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T01:40:42.234Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T01:40:42.234Z] OK: 8 MiB in 20 packages [2022-10-10T01:40:43.200Z] Removing intermediate container a899a2f21f30 [2022-10-10T01:40:43.200Z] ---> 653d962ea101 [2022-10-10T01:40:43.200Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T01:40:44.628Z] ---> 651e2dd2cffb [2022-10-10T01:40:44.628Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T01:40:45.212Z] ---> 5f1df509fc2f [2022-10-10T01:40:45.212Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T01:40:45.481Z] ---> 2158ae54a0bb [2022-10-10T01:40:45.481Z] Step 20/25 : EXPOSE 59982 [2022-10-10T01:40:45.761Z] ---> Running in 28f64225406e [2022-10-10T01:40:46.027Z] Removing intermediate container 28f64225406e [2022-10-10T01:40:46.027Z] ---> aaac1eb5347d [2022-10-10T01:40:46.027Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T01:40:46.027Z] ---> Running in 4004c8d9f990 [2022-10-10T01:40:46.295Z] Removing intermediate container 4004c8d9f990 [2022-10-10T01:40:46.295Z] ---> ef9d82a4ce83 [2022-10-10T01:40:46.295Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T01:40:46.295Z] ---> Running in dec1786e9e36 [2022-10-10T01:40:46.572Z] Removing intermediate container dec1786e9e36 [2022-10-10T01:40:46.572Z] ---> 4240adaa66c3 [2022-10-10T01:40:46.572Z] Step 23/25 : LABEL arch=arm64 [2022-10-10T01:40:46.843Z] ---> Running in 729cb6032307 [2022-10-10T01:40:47.113Z] Removing intermediate container 729cb6032307 [2022-10-10T01:40:47.113Z] ---> 4147cc64cff0 [2022-10-10T01:40:47.113Z] Step 24/25 : LABEL git_sha=6c6658be644320c88b61369ef56939c7ea182beb [2022-10-10T01:40:47.113Z] ---> Running in cdf866249fca [2022-10-10T01:40:47.384Z] Removing intermediate container cdf866249fca [2022-10-10T01:40:47.384Z] ---> 41790f4635cd [2022-10-10T01:40:47.384Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T01:40:47.384Z] ---> Running in 20635b853c3d [2022-10-10T01:40:47.652Z] Removing intermediate container 20635b853c3d [2022-10-10T01:40:47.652Z] ---> d1e6ad50acb3 [2022-10-10T01:40:47.652Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T01:40:47.652Z] Successfully built d1e6ad50acb3 [2022-10-10T01:40:47.652Z] 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:40:48.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T01:40:48.441Z] [2022-10-10T01:40:48.441Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:40:48.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T01:40:48.841Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T01:40:48.841Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T01:40:48.841Z] 04944245beec: Pulling fs layer [2022-10-10T01:40:48.841Z] 699f458cf7ca: Pulling fs layer [2022-10-10T01:40:48.841Z] 765212b225bb: Pulling fs layer [2022-10-10T01:40:48.841Z] f23df028b6ca: Pulling fs layer [2022-10-10T01:40:48.841Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T01:40:48.841Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T01:40:48.841Z] f23df028b6ca: Waiting [2022-10-10T01:40:48.841Z] d65c8cfc05b1: Waiting [2022-10-10T01:40:48.841Z] 2437ff75d9bd: Waiting [2022-10-10T01:40:48.841Z] 765212b225bb: Waiting [2022-10-10T01:40:49.119Z] 04944245beec: Verifying Checksum [2022-10-10T01:40:49.119Z] 04944245beec: Download complete [2022-10-10T01:40:49.119Z] 765212b225bb: Verifying Checksum [2022-10-10T01:40:49.119Z] 765212b225bb: Download complete [2022-10-10T01:40:49.119Z] f23df028b6ca: Download complete [2022-10-10T01:40:49.119Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T01:40:49.119Z] d65c8cfc05b1: Download complete [2022-10-10T01:40:49.119Z] 699f458cf7ca: Verifying Checksum [2022-10-10T01:40:49.119Z] 699f458cf7ca: Download complete [2022-10-10T01:40:49.710Z] 8998bd30e6a1: Verifying Checksum [2022-10-10T01:40:49.710Z] 8998bd30e6a1: Download complete [2022-10-10T01:40:52.288Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T01:40:52.288Z] 2437ff75d9bd: Download complete [2022-10-10T01:40:53.702Z] 8998bd30e6a1: Pull complete [2022-10-10T01:40:53.968Z] 04944245beec: Pull complete [2022-10-10T01:40:55.381Z] 699f458cf7ca: Pull complete [2022-10-10T01:40:55.649Z] 765212b225bb: Pull complete [2022-10-10T01:40:56.230Z] f23df028b6ca: Pull complete [2022-10-10T01:40:56.496Z] d65c8cfc05b1: Pull complete [2022-10-10T01:41:11.487Z] 2437ff75d9bd: Pull complete [2022-10-10T01:41:11.487Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T01:41:11.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T01:41:11.487Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:41:11.795Z] prd-ubuntu20.04-docker-arm64-4c-16g-7475 does not seem to be running inside a container [2022-10-10T01:41:11.866Z] $ 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:41:15.042Z] $ docker top 5efea49b00a8c2d72f16e7f6dbda10ed3d09bda6c295fa420d0b0ebc5fa4cc3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:41:15.936Z] ---> job-cost.sh [2022-10-10T01:41:15.936Z] lf-activate-venv: SKIPPING [2022-10-10T01:41:15.936Z] INFO: No Stack... [2022-10-10T01:41:16.202Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T01:41:17.158Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T01:41:17.765Z] + cut -d, -f6 [2022-10-10T01:41:17.765Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2022-10-10T01:41:17.815Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] [2022-10-10T01:41:17.821Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] did not exist. Created. [2022-10-10T01:41:17.821Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T01:41:18.547Z] /w/workspace/device-mqtt-go/1@tmp/durable-28db3313/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T01:41:18.903Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T01:41:18.936Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T01:41:18.981Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T01:41:18.998Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T01:41:19.076Z] $ docker stop --time=1 5efea49b00a8c2d72f16e7f6dbda10ed3d09bda6c295fa420d0b0ebc5fa4cc3e [2022-10-10T01:41:20.539Z] $ docker rm -f 5efea49b00a8c2d72f16e7f6dbda10ed3d09bda6c295fa420d0b0ebc5fa4cc3e [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:41:21.512Z] provisioning config files... [2022-10-10T01:41:21.519Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/config6268717944905178452tmp [Pipeline] { [Pipeline] sh [2022-10-10T01:41:21.855Z] + set +x [2022-10-10T01:41:21.855Z] + bash -s -- [2022-10-10T01:41:21.855Z] + curl -s https://codecov.io/bash [2022-10-10T01:41:21.855Z] [2022-10-10T01:41:21.855Z] _____ _ [2022-10-10T01:41:21.855Z] / ____| | | [2022-10-10T01:41:21.855Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T01:41:21.855Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T01:41:21.855Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T01:41:21.855Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T01:41:21.855Z] Bash-1.0.6 [2022-10-10T01:41:21.855Z] [2022-10-10T01:41:21.855Z] [2022-10-10T01:41:21.855Z] ==> git version 2.25.1 found [2022-10-10T01:41:21.855Z] ==> 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:41:21.855Z] Release-Date: 2020-01-08 [2022-10-10T01:41:21.855Z] 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:41:21.855Z] 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:41:21.855Z] ==> Jenkins CI detected. [2022-10-10T01:41:21.855Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-422 [2022-10-10T01:41:21.855Z] project root: . [2022-10-10T01:41:21.855Z] --> token set from env [2022-10-10T01:41:21.855Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T01:41:21.855Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T01:41:21.855Z] ==> Python coveragepy not found [2022-10-10T01:41:21.855Z] ==> Searching for coverage reports in: [2022-10-10T01:41:21.855Z] + . [2022-10-10T01:41:21.855Z] -> Found 1 reports [2022-10-10T01:41:21.855Z] ==> Detecting git/mercurial file structure [2022-10-10T01:41:21.855Z] ==> Reading reports [2022-10-10T01:41:21.855Z] + ./coverage.out bytes=17887 [2022-10-10T01:41:21.855Z] ==> Appending adjustments [2022-10-10T01:41:21.855Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T01:41:22.114Z] + Found adjustments [2022-10-10T01:41:22.114Z] ==> Gzipping contents [2022-10-10T01:41:22.114Z] 4.0K /tmp/codecov.3xUCEx.gz [2022-10-10T01:41:22.114Z] ==> Uploading reports [2022-10-10T01:41:22.114Z] url: https://codecov.io [2022-10-10T01:41:22.114Z] query: branch=PR-422&commit=6c6658be644320c88b61369ef56939c7ea182beb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=422&job=&cmd_args= [2022-10-10T01:41:22.114Z] -> Pinging Codecov [2022-10-10T01:41:22.114Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-422&commit=6c6658be644320c88b61369ef56939c7ea182beb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=422&job=&cmd_args= [2022-10-10T01:41:22.375Z] -> Uploading to [2022-10-10T01:41:22.375Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/6c6658be644320c88b61369ef56939c7ea182beb/e90220c3-cd26-45cd-8a06-f33b1750626b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T014122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d1f28322847c2ff5fca6fce60ccb4790622089c0b8af51ce1791cc166a3eb27 [2022-10-10T01:41:22.375Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T01:41:22.375Z] Dload Upload Total Spent Left Speed [2022-10-10T01:41:22.634Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 14226 --:--:-- --:--:-- --:--:-- 14226 [2022-10-10T01:41:22.634Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/6c6658be644320c88b61369ef56939c7ea182beb [Pipeline] } [2022-10-10T01:41:22.665Z] 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:41:24.370Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives ] [2022-10-10T01:41:24.370Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives [2022-10-10T01:41:24.370Z] total 16 [2022-10-10T01:41:24.370Z] drwxr-xr-x 3 root root 4096 Oct 10 01:32 . [2022-10-10T01:41:24.370Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 01:32 .. [2022-10-10T01:41:24.370Z] drwxr-xr-x 2 root root 4096 Oct 10 01:32 cost [2022-10-10T01:41:24.370Z] -rw-r--r-- 1 root root 86 Oct 10 01:32 cost.csv [2022-10-10T01:41:24.370Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives [2022-10-10T01:41:24.370Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives [2022-10-10T01:41:24.370Z] total 16 [2022-10-10T01:41:24.370Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 01:32 . [2022-10-10T01:41:24.370Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 01:32 .. [2022-10-10T01:41:24.370Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 01:32 cost [2022-10-10T01:41:24.370Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 10 01:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:41:24.697Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:41:25.580Z] ---> package-listing.sh [2022-10-10T01:41:25.580Z] ++ facter osfamily [2022-10-10T01:41:25.580Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T01:41:25.839Z] + OS_FAMILY=debian [2022-10-10T01:41:25.839Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-422 [2022-10-10T01:41:25.839Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T01:41:25.839Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T01:41:25.839Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T01:41:25.839Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T01:41:25.839Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-422 ']' [2022-10-10T01:41:25.839Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T01:41:25.839Z] + case "${OS_FAMILY}" in [2022-10-10T01:41:25.839Z] + dpkg -l [2022-10-10T01:41:25.839Z] + grep '^ii' [2022-10-10T01:41:25.839Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T01:41:25.839Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T01:41:25.839Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T01:41:25.839Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-422 ']' [2022-10-10T01:41:25.839Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives/ [2022-10-10T01:41:25.839Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives/ [Pipeline] echo [2022-10-10T01:41:25.872Z] 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-422/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:41:26.162Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T01:41:26.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T01:41:26.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T01:41:26.931Z] prd-ubuntu20.04-docker-8c-8g-7470 does not seem to be running inside a container [2022-10-10T01:41:26.964Z] $ 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-422/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-422 -v /w/workspace/gexfoundry_device-mqtt-go_PR-422:/w/workspace/gexfoundry_device-mqtt-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-422@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:41:27.150Z] $ docker top f88d936a824b5db0bf1128e598aaf59662345e23db1f423490357e7d26e9cf12 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T01:41:27.539Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T01:41:27.847Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T01:41:28.159Z] + ls /var/log/sa-host [2022-10-10T01:41:28.159Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T01:41:28.289Z] provisioning config files... [2022-10-10T01:41:28.298Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/config16876522348244278021tmp [Pipeline] { [Pipeline] echo [2022-10-10T01:41:28.350Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:41:28.666Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T01:41:28.692Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:41:29.093Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T01:41:29.129Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:41:29.439Z] ---> sudo-logs.sh [2022-10-10T01:41:29.439Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T01:41:29.524Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:41:29.832Z] ---> job-cost.sh [2022-10-10T01:41:29.832Z] lf-activate-venv: SKIPPING [2022-10-10T01:41:29.832Z] DEBUG: total: 0.2199999988079071 [2022-10-10T01:41:29.832Z] INFO: Retrieving Stack Cost... [2022-10-10T01:41:30.399Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T01:41:30.659Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T01:41:30.695Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T01:41:31.006Z] ---> logs-deploy.sh [2022-10-10T01:41:31.006Z] lf-activate-venv: SKIPPING [2022-10-10T01:41:31.006Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-422/1 [2022-10-10T01:41:31.006Z] INFO: archiving workspace using pattern(s): [2022-10-10T01:41:31.945Z] Archives upload complete. [2022-10-10T01:41:31.945Z] INFO: archiving logs to Nexus [2022-10-10T01:41:32.513Z] ---> uname -a: [2022-10-10T01:41:32.513Z] Linux prd-ubuntu20-04-docker-8c-8g-7470 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-10T01:41:32.513Z] [2022-10-10T01:41:32.513Z]