Pull request #425 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 29bc870321135a347e825f216089213faf1bd72c+1ae20365080d91ee65f801e150a6fed247e9201d (146d5ae8e348977db79a2169c39aabc2b797aef8) 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-ssh15082264601243103142.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-ssh7791884623451628041.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-425/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-425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7122669879506053366.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-425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6761965750044184823.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-ssh12851878569762059340.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-425/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-425/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1410160048019430750.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7990 in /w/workspace/gexfoundry_device-mqtt-go_PR-425 [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-425 # 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/425/head:refs/remotes/origin/PR-425 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1ae20365080d91ee65f801e150a6fed247e9201d into PR head commit 29bc870321135a347e825f216089213faf1bd72c Merge succeeded, producing 29bc870321135a347e825f216089213faf1bd72c Checking out Revision 29bc870321135a347e825f216089213faf1bd72c (PR-425) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T01:31:27.834Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T01:31:28.024Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T01:31:28.129Z] ========================================================= [2022-10-17T01:31:28.129Z] EdgeX Global Pipelines Version Info [2022-10-17T01:31:28.129Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 29bc870321135a347e825f216089213faf1bd72c # 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 1ae20365080d91ee65f801e150a6fed247e9201d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 29bc870321135a347e825f216089213faf1bd72c # timeout=10 [2022-10-17T01:31:28.858Z] ------------------- [2022-10-17T01:31:28.858Z] stable info: [2022-10-17T01:31:28.858Z] ------------------- [2022-10-17T01:31:28.858Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T01:31:28.858Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T01:31:28.858Z] Message: update stable to v1.0.239 [2022-10-17T01:31:29.428Z] ------------------- [2022-10-17T01:31:29.428Z] experimental info: [2022-10-17T01:31:29.428Z] ------------------- [2022-10-17T01:31:29.428Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T01:31:29.428Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T01:31:29.428Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T01:31:29.694Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-17T01:31:29.741Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-17T01:31:29.786Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T01:31:29.831Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T01:31:29.868Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T01:31:29.911Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T01:31:29.953Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T01:31:29.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T01:31:30.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T01:31:30.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T01:31:30.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T01:31:30.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-17T01:31:30.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T01:31:30.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T01:31:30.297Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T01:31:30.382Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T01:31:30.426Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T01:31:30.466Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T01:31:30.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T01:31:30.554Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T01:31:30.599Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-17T01:31:30.639Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-17T01:31:30.678Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T01:31:30.727Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T01:31:30.770Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-17T01:31:30.814Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T01:31:30.882Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T01:31:30.924Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-425 [Pipeline] echo [2022-10-17T01:31:30.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-425 [Pipeline] echo [2022-10-17T01:31:31.016Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-425 [Pipeline] echo [2022-10-17T01:31:31.061Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 29bc870321135a347e825f216089213faf1bd72c [Pipeline] echo [2022-10-17T01:31:31.109Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 29bc870 [Pipeline] echo [2022-10-17T01:31:31.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T01:31:31.317Z] provisioning config files... [2022-10-17T01:31:31.329Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/config1815674418434807727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:31:31.705Z] ---> docker-login.sh [2022-10-17T01:31:31.705Z] nexus3.edgexfoundry.org:10001 [2022-10-17T01:31:31.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:31:31.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:31:31.965Z] Configure a credential helper to remove this warning. See [2022-10-17T01:31:31.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:31:31.965Z] [2022-10-17T01:31:31.965Z] Login Succeeded [2022-10-17T01:31:31.965Z] nexus3.edgexfoundry.org:10002 [2022-10-17T01:31:31.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:31:31.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:31:31.965Z] Configure a credential helper to remove this warning. See [2022-10-17T01:31:31.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:31:31.965Z] [2022-10-17T01:31:31.965Z] Login Succeeded [2022-10-17T01:31:31.965Z] nexus3.edgexfoundry.org:10003 [2022-10-17T01:31:32.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:31:32.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:31:32.225Z] Configure a credential helper to remove this warning. See [2022-10-17T01:31:32.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:31:32.225Z] [2022-10-17T01:31:32.225Z] Login Succeeded [2022-10-17T01:31:32.225Z] nexus3.edgexfoundry.org:10004 [2022-10-17T01:31:32.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:31:32.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:31:32.225Z] Configure a credential helper to remove this warning. See [2022-10-17T01:31:32.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:31:32.225Z] [2022-10-17T01:31:32.225Z] Login Succeeded [2022-10-17T01:31:32.225Z] docker.io [2022-10-17T01:31:32.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:31:32.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:31:32.749Z] Configure a credential helper to remove this warning. See [2022-10-17T01:31:32.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:31:32.749Z] [2022-10-17T01:31:32.749Z] Login Succeeded [2022-10-17T01:31:32.749Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T01:31:32.778Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T01:31:33.429Z] + git rev-list -1 --merges 29bc870321135a347e825f216089213faf1bd72c~1..29bc870321135a347e825f216089213faf1bd72c [Pipeline] echo [2022-10-17T01:31:33.480Z] -----------> git rev-list -1 --merges 29bc870321135a347e825f216089213faf1bd72c~1..29bc870321135a347e825f216089213faf1bd72c 29bc870321135a347e825f216089213faf1bd72c [false] [Pipeline] sh [2022-10-17T01:31:33.794Z] + git log --format=format:%s -1 29bc870321135a347e825f216089213faf1bd72c [Pipeline] echo [2022-10-17T01:31:33.828Z] ========================================================= [2022-10-17T01:31:33.828Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T01:31:33.828Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T01:31:34.277Z] + git log --format=format:%s -1 29bc870321135a347e825f216089213faf1bd72c [Pipeline] echo [2022-10-17T01:31:34.317Z] [semverPrep] GIT_COMMIT: 29bc870321135a347e825f216089213faf1bd72c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-10-17T01:31:34.351Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T01:31:34.724Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T01:31:34.725Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T01:31:34.725Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T01:31:34.725Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T01:31:34.725Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T01:31:34.725Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T01:31:34.725Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:31:35.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T01:31:35.150Z] [2022-10-17T01:31:35.150Z] 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-17T01:31:35.534Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T01:31:35.534Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T01:31:35.534Z] b85a868b505f: Pulling fs layer [2022-10-17T01:31:35.534Z] e2be974225ed: Pulling fs layer [2022-10-17T01:31:35.534Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T01:31:35.534Z] 988bab9f4d93: Pulling fs layer [2022-10-17T01:31:35.534Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T01:31:35.534Z] eaf3925da568: Pulling fs layer [2022-10-17T01:31:35.534Z] bab4dde63d76: Pulling fs layer [2022-10-17T01:31:35.534Z] bde34c3a00c8: Pulling fs layer [2022-10-17T01:31:35.534Z] b352a97aabf1: Pulling fs layer [2022-10-17T01:31:35.534Z] 4872d77fe225: Pulling fs layer [2022-10-17T01:31:35.534Z] 5851b861e8e6: Pulling fs layer [2022-10-17T01:31:35.534Z] 988bab9f4d93: Waiting [2022-10-17T01:31:35.534Z] 1469e6f7b9e6: Waiting [2022-10-17T01:31:35.534Z] eaf3925da568: Waiting [2022-10-17T01:31:35.534Z] bab4dde63d76: Waiting [2022-10-17T01:31:35.534Z] bde34c3a00c8: Waiting [2022-10-17T01:31:35.534Z] 5851b861e8e6: Waiting [2022-10-17T01:31:35.534Z] b352a97aabf1: Waiting [2022-10-17T01:31:35.534Z] 4872d77fe225: Waiting [2022-10-17T01:31:35.534Z] e2be974225ed: Verifying Checksum [2022-10-17T01:31:35.534Z] e2be974225ed: Download complete [2022-10-17T01:31:35.534Z] 988bab9f4d93: Verifying Checksum [2022-10-17T01:31:35.534Z] 988bab9f4d93: Download complete [2022-10-17T01:31:35.793Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T01:31:35.793Z] 1469e6f7b9e6: Download complete [2022-10-17T01:31:35.793Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T01:31:35.793Z] 339a4e72a1f5: Download complete [2022-10-17T01:31:35.793Z] eaf3925da568: Verifying Checksum [2022-10-17T01:31:35.793Z] eaf3925da568: Download complete [2022-10-17T01:31:35.793Z] bde34c3a00c8: Download complete [2022-10-17T01:31:35.793Z] b352a97aabf1: Download complete [2022-10-17T01:31:35.793Z] 4872d77fe225: Verifying Checksum [2022-10-17T01:31:35.793Z] 4872d77fe225: Download complete [2022-10-17T01:31:35.793Z] 5851b861e8e6: Download complete [2022-10-17T01:31:35.793Z] b85a868b505f: Verifying Checksum [2022-10-17T01:31:35.793Z] b85a868b505f: Download complete [2022-10-17T01:31:36.361Z] bab4dde63d76: Verifying Checksum [2022-10-17T01:31:36.361Z] bab4dde63d76: Download complete [2022-10-17T01:31:37.298Z] b85a868b505f: Pull complete [2022-10-17T01:31:37.298Z] e2be974225ed: Pull complete [2022-10-17T01:31:37.866Z] 339a4e72a1f5: Pull complete [2022-10-17T01:31:37.866Z] 988bab9f4d93: Pull complete [2022-10-17T01:31:38.126Z] 1469e6f7b9e6: Pull complete [2022-10-17T01:31:38.126Z] eaf3925da568: Pull complete [2022-10-17T01:31:40.051Z] bab4dde63d76: Pull complete [2022-10-17T01:31:40.051Z] bde34c3a00c8: Pull complete [2022-10-17T01:31:40.315Z] b352a97aabf1: Pull complete [2022-10-17T01:31:40.315Z] 4872d77fe225: Pull complete [2022-10-17T01:31:40.315Z] 5851b861e8e6: Pull complete [2022-10-17T01:31:40.315Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T01:31:40.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T01:31:40.574Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:31:40.836Z] prd-ubuntu20.04-docker-8c-8g-7990 does not seem to be running inside a container [2022-10-17T01:31:40.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-425 -v /w/workspace/gexfoundry_device-mqtt-go_PR-425:/w/workspace/gexfoundry_device-mqtt-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-425@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-17T01:31:42.329Z] $ docker top 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 -eo pid,comm [2022-10-17T01:31:42.401Z] 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-17T01:31:42.401Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T01:31:42.523Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T01:31:42.523Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T01:31:42.641Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T01:31:42.638Z] $ docker exec 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 ssh-agent [2022-10-17T01:31:42.769Z] SSH_AUTH_SOCK=/tmp/ssh-HeGkwHPwjprc/agent.32 [2022-10-17T01:31:42.769Z] SSH_AGENT_PID=38 [2022-10-17T01:31:42.776Z] Running ssh-add (command line suppressed) [2022-10-17T01:31:42.880Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/private_key_11164234702649312576.key (/w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/private_key_11164234702649312576.key) [2022-10-17T01:31:42.897Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T01:31:43.236Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T01:31:43.257Z] $ docker exec --env ******** --env ******** 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 ssh-agent -k [2022-10-17T01:31:43.351Z] unset SSH_AUTH_SOCK; [2022-10-17T01:31:43.352Z] unset SSH_AGENT_PID; [2022-10-17T01:31:43.352Z] echo Agent pid 38 killed; [2022-10-17T01:31:43.365Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T01:31:43.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T01:31:43.447Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T01:31:43.556Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T01:31:43.555Z] $ docker exec 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 ssh-agent [2022-10-17T01:31:43.660Z] SSH_AUTH_SOCK=/tmp/ssh-ttcd6BSEYCte/agent.71 [2022-10-17T01:31:43.660Z] SSH_AGENT_PID=77 [2022-10-17T01:31:43.666Z] Running ssh-add (command line suppressed) [2022-10-17T01:31:43.772Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/private_key_13131170379278750091.key (/w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/private_key_13131170379278750091.key) [2022-10-17T01:31:43.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T01:31:44.121Z] + git semver init [2022-10-17T01:31:44.382Z] 2022-10-17 01:31:44,280 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T01:31:44.382Z] 2022-10-17 01:31:44,281 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver [2022-10-17T01:31:44.382Z] 2022-10-17 01:31:44,281 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver [2022-10-17T01:31:44.382Z] 2022-10-17 01:31:44,281 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-425, universal_newlines=False, shell=None, istream=None) [2022-10-17T01:31:45.319Z] 2022-10-17 01:31:45,191 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-425/.git/info/exclude [2022-10-17T01:31:45.319Z] 2022-10-17 01:31:45,192 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver/PR-425 with force:False [2022-10-17T01:31:45.319Z] 2022-10-17 01:31:45,192 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver/PR-425 [2022-10-17T01:31:45.319Z] 2022-10-17 01:31:45,197 [execute] INFO git cat-file --batch-check [2022-10-17T01:31:45.319Z] 2022-10-17 01:31:45,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T01:31:45.319Z] 2022-10-17 01:31:45,205 [execute] INFO git cat-file --batch [2022-10-17T01:31:45.319Z] 2022-10-17 01:31:45,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T01:31:45.319Z] 2022-10-17 01:31:45,212 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver/PR-425 [2022-10-17T01:31:45.319Z] 0.0.0 [Pipeline] } [2022-10-17T01:31:45.344Z] $ docker exec --env ******** --env ******** 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 ssh-agent -k [2022-10-17T01:31:45.447Z] unset SSH_AUTH_SOCK; [2022-10-17T01:31:45.447Z] unset SSH_AGENT_PID; [2022-10-17T01:31:45.448Z] echo Agent pid 77 killed; [2022-10-17T01:31:45.461Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T01:31:45.881Z] + git semver [Pipeline] } [2022-10-17T01:31:46.167Z] $ docker stop --time=1 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 [2022-10-17T01:31:47.518Z] $ docker rm -f 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T01:31:47.948Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T01:31:48.206Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T01:31:48.224Z] [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-17T01:31:48.826Z] provisioning config files... [2022-10-17T01:31:48.835Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/config18264938575745902800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:31:49.267Z] ---> docker-login.sh [2022-10-17T01:31:49.267Z] nexus3.edgexfoundry.org:10001 [2022-10-17T01:31:49.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:31:49.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:31:49.267Z] Configure a credential helper to remove this warning. See [2022-10-17T01:31:49.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:31:49.267Z] [2022-10-17T01:31:49.267Z] Login Succeeded [2022-10-17T01:31:49.267Z] nexus3.edgexfoundry.org:10002 [2022-10-17T01:31:49.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:31:49.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:31:49.267Z] Configure a credential helper to remove this warning. See [2022-10-17T01:31:49.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:31:49.267Z] [2022-10-17T01:31:49.267Z] Login Succeeded [2022-10-17T01:31:49.267Z] nexus3.edgexfoundry.org:10003 [2022-10-17T01:31:49.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:31:49.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:31:49.526Z] Configure a credential helper to remove this warning. See [2022-10-17T01:31:49.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:31:49.526Z] [2022-10-17T01:31:49.526Z] Login Succeeded [2022-10-17T01:31:49.526Z] nexus3.edgexfoundry.org:10004 [2022-10-17T01:31:49.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:31:49.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:31:49.526Z] Configure a credential helper to remove this warning. See [2022-10-17T01:31:49.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:31:49.526Z] [2022-10-17T01:31:49.526Z] Login Succeeded [2022-10-17T01:31:49.526Z] docker.io [2022-10-17T01:31:49.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:31:50.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:31:50.047Z] Configure a credential helper to remove this warning. See [2022-10-17T01:31:50.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:31:50.047Z] [2022-10-17T01:31:50.047Z] Login Succeeded [2022-10-17T01:31:50.047Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T01:31:50.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T01:31:50.284Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T01:31:50.327Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T01:31:50.359Z] ========================================================= [2022-10-17T01:31:50.359Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T01:31:50.359Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:31:50.843Z] + 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-17T01:31:50.843Z] Sending build context to Docker daemon 6.17MB [2022-10-17T01:31:50.843Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T01:31:50.843Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T01:31:50.843Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T01:31:50.843Z] 213ec9aee27d: Pulling fs layer [2022-10-17T01:31:50.843Z] 4583459ba037: Pulling fs layer [2022-10-17T01:31:50.843Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T01:31:50.843Z] 53926ce57604: Pulling fs layer [2022-10-17T01:31:50.843Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T01:31:50.843Z] 30f14e443154: Pulling fs layer [2022-10-17T01:31:50.843Z] 801331c1e519: Pulling fs layer [2022-10-17T01:31:50.843Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T01:31:50.843Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T01:31:50.843Z] 53926ce57604: Waiting [2022-10-17T01:31:50.843Z] 21b2b0c7a3f4: Waiting [2022-10-17T01:31:50.843Z] 30f14e443154: Waiting [2022-10-17T01:31:50.843Z] 801331c1e519: Waiting [2022-10-17T01:31:50.843Z] 99cc6dd402b0: Waiting [2022-10-17T01:31:50.843Z] 7d9ed39f4882: Waiting [2022-10-17T01:31:50.843Z] 93c1e223e6f2: Download complete [2022-10-17T01:31:50.843Z] 4583459ba037: Verifying Checksum [2022-10-17T01:31:50.843Z] 4583459ba037: Download complete [2022-10-17T01:31:51.106Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-17T01:31:51.106Z] 21b2b0c7a3f4: Download complete [2022-10-17T01:31:51.106Z] 30f14e443154: Verifying Checksum [2022-10-17T01:31:51.106Z] 30f14e443154: Download complete [2022-10-17T01:31:51.106Z] 213ec9aee27d: Verifying Checksum [2022-10-17T01:31:51.106Z] 213ec9aee27d: Download complete [2022-10-17T01:31:51.106Z] 801331c1e519: Download complete [2022-10-17T01:31:51.106Z] 213ec9aee27d: Pull complete [2022-10-17T01:31:51.376Z] 4583459ba037: Pull complete [2022-10-17T01:31:51.376Z] 93c1e223e6f2: Pull complete [2022-10-17T01:31:51.655Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T01:31:51.930Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T01:31:51.930Z] 7d9ed39f4882: Download complete [2022-10-17T01:31:51.930Z] 53926ce57604: Verifying Checksum [2022-10-17T01:31:51.930Z] 53926ce57604: Download complete [2022-10-17T01:31:56.115Z] 53926ce57604: Pull complete [2022-10-17T01:31:56.115Z] 21b2b0c7a3f4: Pull complete [2022-10-17T01:31:56.115Z] 30f14e443154: Pull complete [2022-10-17T01:31:56.115Z] 801331c1e519: Pull complete [2022-10-17T01:31:58.646Z] 99cc6dd402b0: Pull complete [2022-10-17T01:31:59.213Z] 7d9ed39f4882: Pull complete [2022-10-17T01:31:59.213Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T01:31:59.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T01:31:59.213Z] ---> 1dedd983c030 [2022-10-17T01:31:59.213Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T01:32:01.115Z] ---> Running in 67787a82e1d0 [2022-10-17T01:32:01.115Z] Removing intermediate container 67787a82e1d0 [2022-10-17T01:32:01.115Z] ---> 00728add1362 [2022-10-17T01:32:01.115Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T01:32:01.115Z] ---> Running in 0a1a500a8dfc [2022-10-17T01:32:01.115Z] Removing intermediate container 0a1a500a8dfc [2022-10-17T01:32:01.115Z] ---> 4d9a151a4956 [2022-10-17T01:32:01.115Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T01:32:01.115Z] ---> Running in bbee7663723b [2022-10-17T01:32:01.115Z] Removing intermediate container bbee7663723b [2022-10-17T01:32:01.115Z] ---> 6c54cf8c4855 [2022-10-17T01:32:01.115Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T01:32:01.375Z] ---> Running in 01626e4e78d2 [2022-10-17T01:32:01.375Z] Removing intermediate container 01626e4e78d2 [2022-10-17T01:32:01.375Z] ---> bf9d531356c2 [2022-10-17T01:32:01.375Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T01:32:01.375Z] ---> Running in 1ec689f7af12 [2022-10-17T01:32:01.941Z] Removing intermediate container 1ec689f7af12 [2022-10-17T01:32:01.941Z] ---> 704e8f56cacf [2022-10-17T01:32:01.941Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T01:32:01.941Z] ---> Running in 90f9631a690d [2022-10-17T01:32:02.200Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T01:32:03.135Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T01:32:03.393Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T01:32:03.616Z] Still waiting to schedule task [2022-10-17T01:32:03.616Z] ‘prd-centos7-blackbox-4c-2g-7901’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-17T01:32:03.616Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7992’ is offline [2022-10-17T01:32:03.651Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T01:32:03.651Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T01:32:03.910Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T01:32:03.910Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T01:32:03.910Z] OK: 216 MiB in 55 packages [2022-10-17T01:32:04.477Z] Removing intermediate container 90f9631a690d [2022-10-17T01:32:04.477Z] ---> 8a2b13087246 [2022-10-17T01:32:04.477Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-17T01:32:04.477Z] ---> Running in 878797b38eb5 [2022-10-17T01:32:04.477Z] Removing intermediate container 878797b38eb5 [2022-10-17T01:32:04.477Z] ---> f669e79fbdc4 [2022-10-17T01:32:04.477Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T01:32:04.741Z] ---> 2c5cc513d080 [2022-10-17T01:32:04.741Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T01:32:04.741Z] ---> Running in 296747813d17 [2022-10-17T01:32:22.868Z] Removing intermediate container 296747813d17 [2022-10-17T01:32:22.868Z] ---> e96a54c1f58e [2022-10-17T01:32:22.868Z] Step 12/13 : COPY . . [2022-10-17T01:32:22.868Z] ---> feaf45c51269 [2022-10-17T01:32:22.868Z] Step 13/13 : RUN $MAKE [2022-10-17T01:32:22.868Z] ---> Running in d240350700ac [2022-10-17T01:32:22.868Z] noop [2022-10-17T01:32:22.868Z] Removing intermediate container d240350700ac [2022-10-17T01:32:22.868Z] ---> d9e516b9473a [2022-10-17T01:32:22.868Z] Successfully built d9e516b9473a [2022-10-17T01:32:22.868Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:32:23.308Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T01:32:23.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:32:23.459Z] prd-ubuntu20.04-docker-8c-8g-7990 does not seem to be running inside a container [2022-10-17T01:32:23.488Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-425 -v /w/workspace/gexfoundry_device-mqtt-go_PR-425:/w/workspace/gexfoundry_device-mqtt-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-425@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-17T01:32:23.855Z] $ docker top dff14070bbdd4d74da79f78380b3f43032a9ccf7aaf7494f069b7e7592b1b73e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T01:32:24.254Z] + go version [2022-10-17T01:32:24.254Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T01:32:24.290Z] $ docker stop --time=1 dff14070bbdd4d74da79f78380b3f43032a9ccf7aaf7494f069b7e7592b1b73e [2022-10-17T01:32:25.615Z] $ docker rm -f dff14070bbdd4d74da79f78380b3f43032a9ccf7aaf7494f069b7e7592b1b73e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:32:26.357Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T01:32:26.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:32:26.550Z] prd-ubuntu20.04-docker-8c-8g-7990 does not seem to be running inside a container [2022-10-17T01:32:26.579Z] $ 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-425 -v /w/workspace/gexfoundry_device-mqtt-go_PR-425:/w/workspace/gexfoundry_device-mqtt-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-425@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-17T01:32:26.938Z] $ docker top 43904244abcd0031ee2051f56db1ae237681d712e9eb958b90ddd4e7c4cb2685 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T01:32:27.322Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-425 [Pipeline] fileExists [Pipeline] sh [2022-10-17T01:32:27.682Z] + make test [2022-10-17T01:32:27.682Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T01:32:27.939Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-17T01:32:37.904Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-17T01:32:38.163Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements [2022-10-17T01:32:38.163Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-17T01:32:46.275Z] 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-17T01:32:46.275Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T01:32:49.570Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T01:32:49.570Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T01:32:49.570Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T01:32:49.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T01:32:49.645Z] $ docker stop --time=1 43904244abcd0031ee2051f56db1ae237681d712e9eb958b90ddd4e7c4cb2685 [2022-10-17T01:32:51.479Z] $ docker rm -f 43904244abcd0031ee2051f56db1ae237681d712e9eb958b90ddd4e7c4cb2685 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T01:32:52.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T01:32:52.083Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-17T01:32:52.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T01:32:53.058Z] + ls -al . [2022-10-17T01:32:53.058Z] total 184 [2022-10-17T01:32:53.058Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 01:32 . [2022-10-17T01:32:53.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:31 .. [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 01:31 .dockerignore [2022-10-17T01:32:53.058Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 01:32 .git [2022-10-17T01:32:53.058Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:31 .github [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 01:31 .gitignore [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 01:31 .golangci.yml [2022-10-17T01:32:53.058Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 01:31 .semver [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 17 01:31 Attribution.txt [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 17 01:31 CHANGELOG.md [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 17 01:31 Dockerfile [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 01:31 GOVERNANCE.md [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 01:31 Jenkinsfile [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 01:31 LICENSE [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 17 01:31 Makefile [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 01:31 OWNERS.md [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 17 01:31 README.md [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 01:31 VERSION [2022-10-17T01:32:53.058Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:31 bin [2022-10-17T01:32:53.058Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:31 cmd [2022-10-17T01:32:53.058Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 17 01:32 coverage.out [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 17 01:31 go.mod [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 01:31 go.sum [2022-10-17T01:32:53.058Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:31 internal [2022-10-17T01:32:53.058Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:31 mock [2022-10-17T01:32:53.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:31 snap [2022-10-17T01:32:53.058Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 17 01:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:32:53.460Z] + 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=29bc870321135a347e825f216089213faf1bd72c --label arch=amd64 --label version=0.0.0 . [2022-10-17T01:32:53.460Z] Sending build context to Docker daemon 6.188MB [2022-10-17T01:32:53.460Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T01:32:53.460Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-17T01:32:53.460Z] ---> d9e516b9473a [2022-10-17T01:32:53.460Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-17T01:32:53.460Z] ---> Running in 54425c036727 [2022-10-17T01:32:53.720Z] Removing intermediate container 54425c036727 [2022-10-17T01:32:53.720Z] ---> c90d3b9725f5 [2022-10-17T01:32:53.720Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T01:32:53.720Z] ---> Running in ccf36362377b [2022-10-17T01:32:53.720Z] Removing intermediate container ccf36362377b [2022-10-17T01:32:53.720Z] ---> 1962ef496e7a [2022-10-17T01:32:53.720Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T01:32:53.720Z] ---> Running in d63d07602d07 [2022-10-17T01:32:53.980Z] Removing intermediate container d63d07602d07 [2022-10-17T01:32:53.980Z] ---> 574918411084 [2022-10-17T01:32:53.980Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T01:32:53.980Z] ---> Running in 9462f81ece75 [2022-10-17T01:32:53.980Z] Removing intermediate container 9462f81ece75 [2022-10-17T01:32:53.980Z] ---> 4220d855d35b [2022-10-17T01:32:53.980Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T01:32:54.241Z] ---> Running in bf34c651363b [2022-10-17T01:32:54.807Z] Removing intermediate container bf34c651363b [2022-10-17T01:32:54.807Z] ---> 6f4b2944472a [2022-10-17T01:32:54.807Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T01:32:54.807Z] ---> Running in fcd56b6ec2b3 [2022-10-17T01:32:55.067Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T01:32:56.005Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T01:32:56.264Z] OK: 216 MiB in 55 packages [2022-10-17T01:32:56.524Z] Removing intermediate container fcd56b6ec2b3 [2022-10-17T01:32:56.524Z] ---> 9e3936490007 [2022-10-17T01:32:56.524Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-17T01:32:56.524Z] ---> Running in 697c96c8fc4d [2022-10-17T01:32:56.783Z] Removing intermediate container 697c96c8fc4d [2022-10-17T01:32:56.783Z] ---> 1e3570fe0d31 [2022-10-17T01:32:56.783Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-17T01:32:57.042Z] ---> 9fedffb3d1e5 [2022-10-17T01:32:57.042Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T01:32:57.042Z] ---> Running in ed047afae7d2 [2022-10-17T01:32:57.610Z] Removing intermediate container ed047afae7d2 [2022-10-17T01:32:57.610Z] ---> 20641513aa1c [2022-10-17T01:32:57.610Z] Step 12/25 : COPY . . [2022-10-17T01:32:58.179Z] ---> 623403e617f6 [2022-10-17T01:32:58.179Z] Step 13/25 : RUN $MAKE [2022-10-17T01:32:58.179Z] ---> Running in 16cdd439363b [2022-10-17T01:32:58.437Z] 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-17T01:33:20.363Z] Removing intermediate container 16cdd439363b [2022-10-17T01:33:20.363Z] ---> fba49862922a [2022-10-17T01:33:20.363Z] Step 14/25 : FROM alpine:3.16 [2022-10-17T01:33:20.363Z] 3.16: Pulling from library/alpine [2022-10-17T01:33:20.363Z] 213ec9aee27d: Already exists [2022-10-17T01:33:20.363Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T01:33:20.363Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T01:33:20.363Z] ---> 9c6f07244728 [2022-10-17T01:33:20.363Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-17T01:33:20.363Z] ---> Running in 63d9f81dcd75 [2022-10-17T01:33:20.363Z] Removing intermediate container 63d9f81dcd75 [2022-10-17T01:33:20.363Z] ---> 4ede3b400d07 [2022-10-17T01:33:20.363Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T01:33:20.363Z] ---> Running in a00592ee535e [2022-10-17T01:33:20.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T01:33:20.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T01:33:20.363Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T01:33:20.363Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T01:33:20.363Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T01:33:20.363Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T01:33:20.363Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T01:33:20.363Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T01:33:20.363Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T01:33:20.363Z] OK: 8 MiB in 20 packages [2022-10-17T01:33:20.363Z] Removing intermediate container a00592ee535e [2022-10-17T01:33:20.363Z] ---> 5445e408a848 [2022-10-17T01:33:20.363Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-17T01:33:20.930Z] ---> 7c69480c4016 [2022-10-17T01:33:20.930Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-17T01:33:21.190Z] ---> 94febc5f505c [2022-10-17T01:33:21.190Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-17T01:33:21.190Z] ---> 6a76526cd662 [2022-10-17T01:33:21.190Z] Step 20/25 : EXPOSE 59982 [2022-10-17T01:33:21.190Z] ---> Running in 7ec3fa2dd230 [2022-10-17T01:33:21.449Z] Removing intermediate container 7ec3fa2dd230 [2022-10-17T01:33:21.449Z] ---> cef1dc480f83 [2022-10-17T01:33:21.449Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-17T01:33:21.449Z] ---> Running in f047100265ad [2022-10-17T01:33:21.449Z] Removing intermediate container f047100265ad [2022-10-17T01:33:21.449Z] ---> 77093cc963b6 [2022-10-17T01:33:21.449Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T01:33:21.708Z] ---> Running in 6aa532dc4aa2 [2022-10-17T01:33:21.708Z] Removing intermediate container 6aa532dc4aa2 [2022-10-17T01:33:21.708Z] ---> bb2f5a354839 [2022-10-17T01:33:21.708Z] Step 23/25 : LABEL arch=amd64 [2022-10-17T01:33:21.708Z] ---> Running in 17141d72c43a [2022-10-17T01:33:21.708Z] Removing intermediate container 17141d72c43a [2022-10-17T01:33:21.708Z] ---> 6a05a71e6e5d [2022-10-17T01:33:21.708Z] Step 24/25 : LABEL git_sha=29bc870321135a347e825f216089213faf1bd72c [2022-10-17T01:33:21.967Z] ---> Running in ade538e91d98 [2022-10-17T01:33:21.967Z] Removing intermediate container ade538e91d98 [2022-10-17T01:33:21.967Z] ---> 4e51d4f53630 [2022-10-17T01:33:21.967Z] Step 25/25 : LABEL version=0.0.0 [2022-10-17T01:33:21.967Z] ---> Running in f914aa7c3fb0 [2022-10-17T01:33:21.967Z] Removing intermediate container f914aa7c3fb0 [2022-10-17T01:33:21.967Z] ---> d8a951091699 [2022-10-17T01:33:21.967Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T01:33:21.967Z] Successfully built d8a951091699 [2022-10-17T01:33:22.225Z] 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-17T01:33:23.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T01:33:23.094Z] [2022-10-17T01:33:23.094Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:33:23.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T01:33:23.471Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T01:33:23.471Z] 5eb5b503b376: Pulling fs layer [2022-10-17T01:33:23.471Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T01:33:23.471Z] ec43610c2a17: Pulling fs layer [2022-10-17T01:33:23.471Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T01:33:23.471Z] 33b1e0a273af: Pulling fs layer [2022-10-17T01:33:23.471Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T01:33:23.471Z] 2f39f015ded8: Pulling fs layer [2022-10-17T01:33:23.471Z] 3a2ae6a8a46f: Waiting [2022-10-17T01:33:23.471Z] 2f39f015ded8: Waiting [2022-10-17T01:33:23.471Z] 5d3b04190fa2: Waiting [2022-10-17T01:33:23.471Z] 5c69ac0246d0: Verifying Checksum [2022-10-17T01:33:23.471Z] 5c69ac0246d0: Download complete [2022-10-17T01:33:23.471Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T01:33:23.471Z] 3a2ae6a8a46f: Download complete [2022-10-17T01:33:23.731Z] 33b1e0a273af: Verifying Checksum [2022-10-17T01:33:23.731Z] 33b1e0a273af: Download complete [2022-10-17T01:33:23.731Z] 5d3b04190fa2: Verifying Checksum [2022-10-17T01:33:23.731Z] 5d3b04190fa2: Download complete [2022-10-17T01:33:23.731Z] ec43610c2a17: Verifying Checksum [2022-10-17T01:33:23.731Z] ec43610c2a17: Download complete [2022-10-17T01:33:23.731Z] 5eb5b503b376: Verifying Checksum [2022-10-17T01:33:23.731Z] 5eb5b503b376: Download complete [2022-10-17T01:33:24.301Z] 2f39f015ded8: Download complete [2022-10-17T01:33:24.865Z] 5eb5b503b376: Pull complete [2022-10-17T01:33:25.122Z] 5c69ac0246d0: Pull complete [2022-10-17T01:33:25.379Z] ec43610c2a17: Pull complete [2022-10-17T01:33:25.379Z] 3a2ae6a8a46f: Pull complete [2022-10-17T01:33:25.638Z] 33b1e0a273af: Pull complete [2022-10-17T01:33:25.638Z] 5d3b04190fa2: Pull complete [2022-10-17T01:33:29.816Z] 2f39f015ded8: Pull complete [2022-10-17T01:33:29.816Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T01:33:29.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T01:33:29.816Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:33:30.106Z] prd-ubuntu20.04-docker-8c-8g-7990 does not seem to be running inside a container [2022-10-17T01:33:30.139Z] $ 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-425 -v /w/workspace/gexfoundry_device-mqtt-go_PR-425:/w/workspace/gexfoundry_device-mqtt-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-425@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-17T01:33:32.002Z] $ docker top bd464307220df5bfa7794e9662511ef210af7234ba57936dc2f2f986c2662c26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:33:32.434Z] ---> job-cost.sh [2022-10-17T01:33:32.434Z] lf-activate-venv: SKIPPING [2022-10-17T01:33:32.434Z] INFO: No Stack... [2022-10-17T01:33:32.694Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T01:33:33.259Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T01:33:33.569Z] + + cut -d, -f6 [2022-10-17T01:33:33.569Z] cat /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives/cost.csv [Pipeline] lock [2022-10-17T01:33:33.611Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] [2022-10-17T01:33:33.617Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] did not exist. Created. [2022-10-17T01:33:33.617Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T01:33:34.017Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T01:33:34.071Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T01:33:34.101Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T01:33:34.188Z] $ docker stop --time=1 bd464307220df5bfa7794e9662511ef210af7234ba57936dc2f2f986c2662c26 [2022-10-17T01:33:35.381Z] $ docker rm -f bd464307220df5bfa7794e9662511ef210af7234ba57936dc2f2f986c2662c26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-17T01:35:08.849Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7995 in /w/workspace/gexfoundry_device-mqtt-go_PR-425 [Pipeline] { [Pipeline] ws [2022-10-17T01:35:08.896Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-10-17T01:35:08.978Z] Selected Git installation does not exist. Using Default [2022-10-17T01:35:08.978Z] The recommended git tool is: NONE [2022-10-17T01:35:14.888Z] using credential edgex-jenkins-ssh [2022-10-17T01:35:14.909Z] Cloning the remote Git repository [2022-10-17T01:35:14.958Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-17T01:35:15.048Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-10-17T01:35:15.232Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-17T01:35:15.233Z] > git --version # timeout=10 [2022-10-17T01:35:15.262Z] > git --version # 'git version 2.25.1' [2022-10-17T01:35:15.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T01:35:15.339Z] Verifying host key using known hosts file [2022-10-17T01:35:15.576Z] 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-17T01:35:15.593Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T01:35:18.490Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-17T01:35:18.524Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T01:35:20.060Z] Merging remotes/origin/main commit 1ae20365080d91ee65f801e150a6fed247e9201d into PR head commit 29bc870321135a347e825f216089213faf1bd72c [2022-10-17T01:35:20.308Z] Merge succeeded, producing 29bc870321135a347e825f216089213faf1bd72c [2022-10-17T01:35:20.309Z] Checking out Revision 29bc870321135a347e825f216089213faf1bd72c (PR-425) [2022-10-17T01:35:19.427Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-17T01:35:19.471Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-17T01:35:19.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T01:35:19.478Z] Verifying host key using known hosts file [2022-10-17T01:35:19.485Z] 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-17T01:35:19.497Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/425/head:refs/remotes/origin/PR-425 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-17T01:35:20.078Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T01:35:20.100Z] > git checkout -f 29bc870321135a347e825f216089213faf1bd72c # timeout=10 [2022-10-17T01:35:20.195Z] > git remote # timeout=10 [2022-10-17T01:35:20.215Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T01:35:20.240Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T01:35:20.245Z] Verifying host key using known hosts file [2022-10-17T01:35:20.249Z] 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-17T01:35:20.258Z] > git merge 1ae20365080d91ee65f801e150a6fed247e9201d # timeout=10 [2022-10-17T01:35:20.291Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T01:35:20.314Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T01:35:20.328Z] > git checkout -f 29bc870321135a347e825f216089213faf1bd72c # timeout=10 [2022-10-17T01:35:20.854Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-10-17T01:35:20.912Z] > git --version # timeout=10 [2022-10-17T01:35:20.925Z] > git --version # 'git version 2.25.1' [2022-10-17T01:35:20.949Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T01:35:21.981Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T01:35:21.981Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T01:35:21.981Z] Dload Upload Total Spent Left Speed [2022-10-17T01:35:21.981Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2022-10-17T01:35:22.638Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T01:35:22.986Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T01:35:22.986Z] + sudo tee /etc/docker/daemon.new [2022-10-17T01:35:22.986Z] { [2022-10-17T01:35:22.986Z] "registry-mirrors": [ [2022-10-17T01:35:22.986Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T01:35:22.986Z] ], [2022-10-17T01:35:22.986Z] "bip": "10.250.0.254/24", [2022-10-17T01:35:22.986Z] "hosts": [ [2022-10-17T01:35:22.986Z] "tcp://0.0.0.0:5555", [2022-10-17T01:35:22.986Z] "unix:///var/run/docker.sock" [2022-10-17T01:35:22.986Z] ], [2022-10-17T01:35:22.986Z] "mtu": 1458, [2022-10-17T01:35:22.986Z] "selinux-enabled": true, [2022-10-17T01:35:22.986Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T01:35:22.986Z] } [Pipeline] sh [2022-10-17T01:35:23.331Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-17T01:35:23.679Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T01:35:42.028Z] provisioning config files... [2022-10-17T01:35:42.060Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3403648964534885209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:35:42.470Z] ---> docker-login.sh [2022-10-17T01:35:42.470Z] nexus3.edgexfoundry.org:10001 [2022-10-17T01:35:43.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:35:43.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:35:43.061Z] Configure a credential helper to remove this warning. See [2022-10-17T01:35:43.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:35:43.061Z] [2022-10-17T01:35:43.061Z] Login Succeeded [2022-10-17T01:35:43.061Z] nexus3.edgexfoundry.org:10002 [2022-10-17T01:35:43.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:35:43.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:35:43.607Z] Configure a credential helper to remove this warning. See [2022-10-17T01:35:43.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:35:43.607Z] [2022-10-17T01:35:43.607Z] Login Succeeded [2022-10-17T01:35:43.607Z] nexus3.edgexfoundry.org:10003 [2022-10-17T01:35:43.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:35:43.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:35:43.881Z] Configure a credential helper to remove this warning. See [2022-10-17T01:35:43.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:35:43.881Z] [2022-10-17T01:35:43.881Z] Login Succeeded [2022-10-17T01:35:43.881Z] nexus3.edgexfoundry.org:10004 [2022-10-17T01:35:44.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:35:44.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:35:44.435Z] Configure a credential helper to remove this warning. See [2022-10-17T01:35:44.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:35:44.435Z] [2022-10-17T01:35:44.435Z] Login Succeeded [2022-10-17T01:35:44.435Z] docker.io [2022-10-17T01:35:44.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:35:44.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:35:44.972Z] Configure a credential helper to remove this warning. See [2022-10-17T01:35:44.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:35:44.972Z] [2022-10-17T01:35:44.972Z] Login Succeeded [2022-10-17T01:35:44.972Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T01:35:45.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T01:35:45.302Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T01:35:45.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T01:35:45.376Z] ========================================================= [2022-10-17T01:35:45.376Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T01:35:45.376Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:35:45.903Z] + 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-17T01:35:46.173Z] Sending build context to Docker daemon 3.195MB [2022-10-17T01:35:46.173Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T01:35:46.173Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T01:35:46.443Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T01:35:46.443Z] 9b18e9b68314: Pulling fs layer [2022-10-17T01:35:46.443Z] d32db5db7311: Pulling fs layer [2022-10-17T01:35:46.443Z] d0c4b47475fc: Pulling fs layer [2022-10-17T01:35:46.443Z] 5831b945b038: Pulling fs layer [2022-10-17T01:35:46.443Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T01:35:46.443Z] e10730c5d714: Pulling fs layer [2022-10-17T01:35:46.443Z] 5dd5c2283517: Pulling fs layer [2022-10-17T01:35:46.443Z] d5ac0230b979: Pulling fs layer [2022-10-17T01:35:46.443Z] e10730c5d714: Waiting [2022-10-17T01:35:46.443Z] 5dd5c2283517: Waiting [2022-10-17T01:35:46.443Z] d5ac0230b979: Waiting [2022-10-17T01:35:46.443Z] 5831b945b038: Waiting [2022-10-17T01:35:46.443Z] 86bbec2aaacd: Waiting [2022-10-17T01:35:46.443Z] d0c4b47475fc: Verifying Checksum [2022-10-17T01:35:46.443Z] d0c4b47475fc: Download complete [2022-10-17T01:35:46.443Z] d32db5db7311: Download complete [2022-10-17T01:35:46.443Z] 86bbec2aaacd: Verifying Checksum [2022-10-17T01:35:46.443Z] 86bbec2aaacd: Download complete [2022-10-17T01:35:46.443Z] e10730c5d714: Verifying Checksum [2022-10-17T01:35:46.443Z] e10730c5d714: Download complete [2022-10-17T01:35:46.443Z] 9b18e9b68314: Verifying Checksum [2022-10-17T01:35:47.417Z] 9b18e9b68314: Pull complete [2022-10-17T01:35:47.691Z] d5ac0230b979: Verifying Checksum [2022-10-17T01:35:47.691Z] d5ac0230b979: Download complete [2022-10-17T01:35:47.964Z] d32db5db7311: Pull complete [2022-10-17T01:35:48.240Z] d0c4b47475fc: Pull complete [2022-10-17T01:35:48.833Z] 5dd5c2283517: Verifying Checksum [2022-10-17T01:35:48.833Z] 5dd5c2283517: Download complete [2022-10-17T01:35:49.802Z] 5831b945b038: Verifying Checksum [2022-10-17T01:35:49.802Z] 5831b945b038: Download complete [2022-10-17T01:36:02.321Z] 5831b945b038: Pull complete [2022-10-17T01:36:02.321Z] 86bbec2aaacd: Pull complete [2022-10-17T01:36:02.321Z] e10730c5d714: Pull complete [2022-10-17T01:36:09.021Z] 5dd5c2283517: Pull complete [2022-10-17T01:36:10.442Z] d5ac0230b979: Pull complete [2022-10-17T01:36:10.442Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T01:36:10.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T01:36:10.442Z] ---> 59b3b1a385d4 [2022-10-17T01:36:10.442Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T01:36:11.409Z] ---> Running in 2b6131049c7f [2022-10-17T01:36:11.409Z] Removing intermediate container 2b6131049c7f [2022-10-17T01:36:11.409Z] ---> a737004c0521 [2022-10-17T01:36:11.409Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T01:36:11.677Z] ---> Running in e171c08fca74 [2022-10-17T01:36:11.944Z] Removing intermediate container e171c08fca74 [2022-10-17T01:36:11.944Z] ---> d32316c99e9d [2022-10-17T01:36:11.944Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T01:36:11.944Z] ---> Running in 747605aeed57 [2022-10-17T01:36:12.215Z] Removing intermediate container 747605aeed57 [2022-10-17T01:36:12.215Z] ---> 17c766a250b6 [2022-10-17T01:36:12.215Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T01:36:12.485Z] ---> Running in 83addd777eeb [2022-10-17T01:36:12.753Z] Removing intermediate container 83addd777eeb [2022-10-17T01:36:12.753Z] ---> e5c0c0ed9887 [2022-10-17T01:36:12.753Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T01:36:12.753Z] ---> Running in a2fa1e95bdb8 [2022-10-17T01:36:14.714Z] Removing intermediate container a2fa1e95bdb8 [2022-10-17T01:36:14.714Z] ---> a10bfb41e7de [2022-10-17T01:36:14.714Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T01:36:14.714Z] ---> Running in cf1a5f99ebc7 [2022-10-17T01:36:15.672Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T01:36:16.253Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T01:36:17.210Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T01:36:17.210Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T01:36:17.479Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T01:36:17.479Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T01:36:17.746Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T01:36:17.746Z] OK: 226 MiB in 55 packages [2022-10-17T01:36:18.717Z] Removing intermediate container cf1a5f99ebc7 [2022-10-17T01:36:18.717Z] ---> 7e584322f3b9 [2022-10-17T01:36:18.717Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-17T01:36:18.717Z] ---> Running in 2802c2a3e5a2 [2022-10-17T01:36:19.309Z] Removing intermediate container 2802c2a3e5a2 [2022-10-17T01:36:19.309Z] ---> f932ddf054b1 [2022-10-17T01:36:19.309Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T01:36:19.581Z] ---> a44503ec2669 [2022-10-17T01:36:19.581Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T01:36:19.848Z] ---> Running in 805c8f6a77df [2022-10-17T01:37:16.253Z] Removing intermediate container 805c8f6a77df [2022-10-17T01:37:16.253Z] ---> a931e2a8ccb9 [2022-10-17T01:37:16.253Z] Step 12/13 : COPY . . [2022-10-17T01:37:16.253Z] ---> a3037f52e89c [2022-10-17T01:37:16.253Z] Step 13/13 : RUN $MAKE [2022-10-17T01:37:16.253Z] ---> Running in 22dd0e808d74 [2022-10-17T01:37:16.253Z] noop [2022-10-17T01:37:16.253Z] Removing intermediate container 22dd0e808d74 [2022-10-17T01:37:16.253Z] ---> 57abf709dd75 [2022-10-17T01:37:16.253Z] Successfully built 57abf709dd75 [2022-10-17T01:37:16.253Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:37:16.718Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T01:37:16.718Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:37:16.966Z] prd-ubuntu20.04-docker-arm64-4c-16g-7995 does not seem to be running inside a container [2022-10-17T01:37:17.043Z] $ 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-17T01:37:18.312Z] $ docker top a81c5be6e0c415d315ad890b4be459b59c0ee1fac4b8c2d067bfa8bb54d4bda2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T01:37:19.219Z] + go version [2022-10-17T01:37:19.219Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T01:37:19.261Z] $ docker stop --time=1 a81c5be6e0c415d315ad890b4be459b59c0ee1fac4b8c2d067bfa8bb54d4bda2 [2022-10-17T01:37:20.890Z] $ docker rm -f a81c5be6e0c415d315ad890b4be459b59c0ee1fac4b8c2d067bfa8bb54d4bda2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:37:21.746Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T01:37:21.746Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:37:22.002Z] prd-ubuntu20.04-docker-arm64-4c-16g-7995 does not seem to be running inside a container [2022-10-17T01:37:22.077Z] $ 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-17T01:37:23.284Z] $ docker top 75273347d593c9be5370f636195757296fe8efcb24a76eff0e79daf207e878aa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T01:37:24.168Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-17T01:37:24.575Z] + make test [2022-10-17T01:37:24.575Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T01:37:26.524Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-17T01:39:03.314Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-17T01:39:03.314Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements [2022-10-17T01:39:03.314Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-17T01:39:03.314Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T01:39:03.314Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T01:39:30.020Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T01:39:30.020Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T01:39:30.020Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T01:39:30.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T01:39:30.099Z] $ docker stop --time=1 75273347d593c9be5370f636195757296fe8efcb24a76eff0e79daf207e878aa [2022-10-17T01:39:31.943Z] $ docker rm -f 75273347d593c9be5370f636195757296fe8efcb24a76eff0e79daf207e878aa [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T01:39:33.076Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T01:39:33.112Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T01:39:33.676Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T01:39:34.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T01:39:34.632Z] + ls -al . [2022-10-17T01:39:34.632Z] total 180 [2022-10-17T01:39:34.632Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 01:37 . [2022-10-17T01:39:34.632Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:35 .. [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 01:35 .dockerignore [2022-10-17T01:39:34.632Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 01:35 .git [2022-10-17T01:39:34.632Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:35 .github [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 01:35 .gitignore [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 01:35 .golangci.yml [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 17 01:35 Attribution.txt [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 17 01:35 CHANGELOG.md [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 17 01:35 Dockerfile [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 01:35 GOVERNANCE.md [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 01:35 Jenkinsfile [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 01:35 LICENSE [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 17 01:35 Makefile [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 01:35 OWNERS.md [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 17 01:35 README.md [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 01:31 VERSION [2022-10-17T01:39:34.632Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:35 bin [2022-10-17T01:39:34.632Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:35 cmd [2022-10-17T01:39:34.632Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 17 01:39 coverage.out [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 17 01:35 go.mod [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 01:35 go.sum [2022-10-17T01:39:34.632Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:35 internal [2022-10-17T01:39:34.632Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:35 mock [2022-10-17T01:39:34.632Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:35 snap [2022-10-17T01:39:34.632Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 17 01:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:39:35.068Z] + 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=29bc870321135a347e825f216089213faf1bd72c --label arch=arm64 --label version=0.0.0 . [2022-10-17T01:39:35.363Z] Sending build context to Docker daemon 3.213MB [2022-10-17T01:39:35.363Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T01:39:35.363Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-17T01:39:35.363Z] ---> 57abf709dd75 [2022-10-17T01:39:35.363Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-17T01:39:35.634Z] ---> Running in 8e03a87a9a21 [2022-10-17T01:39:35.902Z] Removing intermediate container 8e03a87a9a21 [2022-10-17T01:39:35.902Z] ---> 30d2b501da0d [2022-10-17T01:39:35.902Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T01:39:35.902Z] ---> Running in 66dc35273157 [2022-10-17T01:39:36.492Z] Removing intermediate container 66dc35273157 [2022-10-17T01:39:36.492Z] ---> c4a172f00a58 [2022-10-17T01:39:36.492Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T01:39:36.493Z] ---> Running in c3471cd2618b [2022-10-17T01:39:36.768Z] Removing intermediate container c3471cd2618b [2022-10-17T01:39:36.768Z] ---> 686d63ef11ec [2022-10-17T01:39:36.768Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T01:39:37.041Z] ---> Running in 8be25b822223 [2022-10-17T01:39:37.320Z] Removing intermediate container 8be25b822223 [2022-10-17T01:39:37.320Z] ---> d8d2611f4609 [2022-10-17T01:39:37.320Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T01:39:37.320Z] ---> Running in 06663ab06fe2 [2022-10-17T01:39:39.288Z] Removing intermediate container 06663ab06fe2 [2022-10-17T01:39:39.288Z] ---> 6a71d09abe81 [2022-10-17T01:39:39.288Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T01:39:39.288Z] ---> Running in d939dc0fba87 [2022-10-17T01:39:40.708Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T01:39:41.673Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T01:39:42.658Z] OK: 226 MiB in 55 packages [2022-10-17T01:39:44.073Z] Removing intermediate container d939dc0fba87 [2022-10-17T01:39:44.073Z] ---> a2ca6f7b0037 [2022-10-17T01:39:44.073Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-17T01:39:44.073Z] ---> Running in a9b30bc878fd [2022-10-17T01:39:44.661Z] Removing intermediate container a9b30bc878fd [2022-10-17T01:39:44.661Z] ---> 4911c9fc4a32 [2022-10-17T01:39:44.661Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-17T01:39:45.245Z] ---> 9766e0478ffa [2022-10-17T01:39:45.245Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T01:39:45.245Z] ---> Running in c5c8a1447d8c [2022-10-17T01:39:47.849Z] Removing intermediate container c5c8a1447d8c [2022-10-17T01:39:47.849Z] ---> 92e90526b76f [2022-10-17T01:39:47.849Z] Step 12/25 : COPY . . [2022-10-17T01:39:48.433Z] ---> d745bf9a92d3 [2022-10-17T01:39:48.433Z] Step 13/25 : RUN $MAKE [2022-10-17T01:39:48.700Z] ---> Running in 8550eecb6436 [2022-10-17T01:39:49.662Z] 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-17T01:42:26.417Z] Removing intermediate container 8550eecb6436 [2022-10-17T01:42:26.417Z] ---> ec807df0fbb9 [2022-10-17T01:42:26.417Z] Step 14/25 : FROM alpine:3.16 [2022-10-17T01:42:26.417Z] 3.16: Pulling from library/alpine [2022-10-17T01:42:26.417Z] 9b18e9b68314: Already exists [2022-10-17T01:42:26.417Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T01:42:26.417Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T01:42:26.417Z] ---> a6215f271958 [2022-10-17T01:42:26.417Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-17T01:42:26.417Z] ---> Running in 581ef88d869b [2022-10-17T01:42:26.417Z] Removing intermediate container 581ef88d869b [2022-10-17T01:42:26.417Z] ---> 81bed2961d90 [2022-10-17T01:42:26.417Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T01:42:26.417Z] ---> Running in f681a542319f [2022-10-17T01:42:26.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T01:42:26.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T01:42:26.417Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T01:42:26.417Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T01:42:26.417Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T01:42:26.417Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T01:42:26.417Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T01:42:26.417Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T01:42:26.417Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T01:42:26.417Z] OK: 8 MiB in 20 packages [2022-10-17T01:42:26.417Z] Removing intermediate container f681a542319f [2022-10-17T01:42:26.417Z] ---> 2f82670b85c3 [2022-10-17T01:42:26.417Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-17T01:42:26.417Z] ---> 0775e53c61e2 [2022-10-17T01:42:26.417Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-17T01:42:26.687Z] ---> cc83eaff23ae [2022-10-17T01:42:26.687Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-17T01:42:27.274Z] ---> 115bb5da392b [2022-10-17T01:42:27.274Z] Step 20/25 : EXPOSE 59982 [2022-10-17T01:42:27.274Z] ---> Running in 1c65c2adb380 [2022-10-17T01:42:27.546Z] Removing intermediate container 1c65c2adb380 [2022-10-17T01:42:27.546Z] ---> fd2b1afcc579 [2022-10-17T01:42:27.546Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-17T01:42:27.546Z] ---> Running in 9c53b694b4e2 [2022-10-17T01:42:28.135Z] Removing intermediate container 9c53b694b4e2 [2022-10-17T01:42:28.135Z] ---> 2f3dfc9eb82d [2022-10-17T01:42:28.135Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T01:42:28.135Z] ---> Running in 66eeebadc631 [2022-10-17T01:42:28.404Z] Removing intermediate container 66eeebadc631 [2022-10-17T01:42:28.404Z] ---> d67b72eca952 [2022-10-17T01:42:28.404Z] Step 23/25 : LABEL arch=arm64 [2022-10-17T01:42:28.404Z] ---> Running in e0e76bfcf9b2 [2022-10-17T01:42:28.673Z] Removing intermediate container e0e76bfcf9b2 [2022-10-17T01:42:28.673Z] ---> 571d608db515 [2022-10-17T01:42:28.673Z] Step 24/25 : LABEL git_sha=29bc870321135a347e825f216089213faf1bd72c [2022-10-17T01:42:28.940Z] ---> Running in 61fb6560f1f1 [2022-10-17T01:42:29.207Z] Removing intermediate container 61fb6560f1f1 [2022-10-17T01:42:29.207Z] ---> af6a369920cb [2022-10-17T01:42:29.207Z] Step 25/25 : LABEL version=0.0.0 [2022-10-17T01:42:29.207Z] ---> Running in 9122d0d764a5 [2022-10-17T01:42:29.473Z] Removing intermediate container 9122d0d764a5 [2022-10-17T01:42:29.474Z] ---> ecc3a083190b [2022-10-17T01:42:29.474Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T01:42:29.474Z] Successfully built ecc3a083190b [2022-10-17T01:42:29.474Z] 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-17T01:42:30.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T01:42:30.285Z] [2022-10-17T01:42:30.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:42:30.688Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T01:42:30.688Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T01:42:30.688Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T01:42:30.688Z] 04944245beec: Pulling fs layer [2022-10-17T01:42:30.688Z] 699f458cf7ca: Pulling fs layer [2022-10-17T01:42:30.688Z] 765212b225bb: Pulling fs layer [2022-10-17T01:42:30.688Z] f23df028b6ca: Pulling fs layer [2022-10-17T01:42:30.688Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T01:42:30.688Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T01:42:30.688Z] f23df028b6ca: Waiting [2022-10-17T01:42:30.688Z] d65c8cfc05b1: Waiting [2022-10-17T01:42:30.688Z] 765212b225bb: Waiting [2022-10-17T01:42:30.688Z] 2437ff75d9bd: Waiting [2022-10-17T01:42:30.958Z] 04944245beec: Verifying Checksum [2022-10-17T01:42:30.958Z] 04944245beec: Download complete [2022-10-17T01:42:30.958Z] 765212b225bb: Verifying Checksum [2022-10-17T01:42:30.958Z] 765212b225bb: Download complete [2022-10-17T01:42:30.958Z] f23df028b6ca: Download complete [2022-10-17T01:42:30.958Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T01:42:30.958Z] d65c8cfc05b1: Download complete [2022-10-17T01:42:31.230Z] 699f458cf7ca: Verifying Checksum [2022-10-17T01:42:31.230Z] 699f458cf7ca: Download complete [2022-10-17T01:42:31.500Z] 8998bd30e6a1: Download complete [2022-10-17T01:42:34.093Z] 2437ff75d9bd: Verifying Checksum [2022-10-17T01:42:34.093Z] 2437ff75d9bd: Download complete [2022-10-17T01:42:36.166Z] 8998bd30e6a1: Pull complete [2022-10-17T01:42:36.444Z] 04944245beec: Pull complete [2022-10-17T01:42:37.902Z] 699f458cf7ca: Pull complete [2022-10-17T01:42:38.195Z] 765212b225bb: Pull complete [2022-10-17T01:42:38.797Z] f23df028b6ca: Pull complete [2022-10-17T01:42:39.068Z] d65c8cfc05b1: Pull complete [2022-10-17T01:42:54.099Z] 2437ff75d9bd: Pull complete [2022-10-17T01:42:54.099Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T01:42:54.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T01:42:54.099Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:42:54.412Z] prd-ubuntu20.04-docker-arm64-4c-16g-7995 does not seem to be running inside a container [2022-10-17T01:42:54.500Z] $ 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-17T01:42:57.330Z] $ docker top 8e0c9ea766df155c4031f8ea06d7c79d733b80ce43a94f0359206d0e978dd1e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:42:58.246Z] ---> job-cost.sh [2022-10-17T01:42:58.247Z] lf-activate-venv: SKIPPING [2022-10-17T01:42:58.247Z] INFO: No Stack... [2022-10-17T01:42:58.831Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T01:42:59.793Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T01:43:00.467Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-10-17T01:43:00.467Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T01:43:00.659Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] [2022-10-17T01:43:00.664Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] did not exist. Created. [2022-10-17T01:43:00.664Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T01:43:01.427Z] /w/workspace/device-mqtt-go/1@tmp/durable-79583a65/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T01:43:02.120Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T01:43:02.156Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T01:43:02.205Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T01:43:02.221Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T01:43:02.385Z] $ docker stop --time=1 8e0c9ea766df155c4031f8ea06d7c79d733b80ce43a94f0359206d0e978dd1e8 [2022-10-17T01:43:03.942Z] $ docker rm -f 8e0c9ea766df155c4031f8ea06d7c79d733b80ce43a94f0359206d0e978dd1e8 [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-17T01:43:05.052Z] provisioning config files... [2022-10-17T01:43:05.059Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/config1829765971981012356tmp [Pipeline] { [Pipeline] sh [2022-10-17T01:43:05.393Z] + set +x [2022-10-17T01:43:05.393Z] + curl -s https://codecov.io/bash [2022-10-17T01:43:05.393Z] + bash -s -- [2022-10-17T01:43:05.393Z] [2022-10-17T01:43:05.393Z] _____ _ [2022-10-17T01:43:05.393Z] / ____| | | [2022-10-17T01:43:05.393Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T01:43:05.393Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T01:43:05.393Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T01:43:05.393Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T01:43:05.393Z] Bash-1.0.6 [2022-10-17T01:43:05.393Z] [2022-10-17T01:43:05.393Z] [2022-10-17T01:43:05.393Z] ==> git version 2.25.1 found [2022-10-17T01:43:05.393Z] ==> 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-17T01:43:05.393Z] Release-Date: 2020-01-08 [2022-10-17T01:43:05.393Z] 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-17T01:43:05.393Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T01:43:05.393Z] ==> Jenkins CI detected. [2022-10-17T01:43:05.393Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-425 [2022-10-17T01:43:05.393Z] project root: . [2022-10-17T01:43:05.393Z] --> token set from env [2022-10-17T01:43:05.393Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T01:43:05.393Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T01:43:05.393Z] ==> Python coveragepy not found [2022-10-17T01:43:05.393Z] ==> Searching for coverage reports in: [2022-10-17T01:43:05.393Z] + . [2022-10-17T01:43:05.393Z] -> Found 1 reports [2022-10-17T01:43:05.393Z] ==> Detecting git/mercurial file structure [2022-10-17T01:43:05.393Z] ==> Reading reports [2022-10-17T01:43:05.393Z] + ./coverage.out bytes=17887 [2022-10-17T01:43:05.393Z] ==> Appending adjustments [2022-10-17T01:43:05.393Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T01:43:05.653Z] + Found adjustments [2022-10-17T01:43:05.653Z] ==> Gzipping contents [2022-10-17T01:43:05.653Z] 4.0K /tmp/codecov.so6Ay4.gz [2022-10-17T01:43:05.653Z] ==> Uploading reports [2022-10-17T01:43:05.653Z] url: https://codecov.io [2022-10-17T01:43:05.653Z] query: branch=PR-425&commit=29bc870321135a347e825f216089213faf1bd72c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-425%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=425&job=&cmd_args= [2022-10-17T01:43:05.653Z] -> Pinging Codecov [2022-10-17T01:43:05.653Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-425&commit=29bc870321135a347e825f216089213faf1bd72c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-425%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=425&job=&cmd_args= [2022-10-17T01:43:05.912Z] -> Uploading to [2022-10-17T01:43:05.912Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/7D719EC7BBE17E464838252E33014C33/29bc870321135a347e825f216089213faf1bd72c/f6c6cdcc-a8eb-47a2-a8f3-90e9a272a87d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T014305Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=038e3edb74d80c763f2d89b8759b611bcc60568531e589013ee9253f28c2ea5d [2022-10-17T01:43:05.912Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T01:43:05.912Z] Dload Upload Total Spent Left Speed [2022-10-17T01:43:06.171Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 11698 --:--:-- --:--:-- --:--:-- 11698 [2022-10-17T01:43:06.171Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/29bc870321135a347e825f216089213faf1bd72c [Pipeline] } [2022-10-17T01:43:06.204Z] 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-17T01:43:08.231Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives ] [2022-10-17T01:43:08.231Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives [2022-10-17T01:43:08.231Z] total 16 [2022-10-17T01:43:08.231Z] drwxr-xr-x 3 root root 4096 Oct 17 01:33 . [2022-10-17T01:43:08.231Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 01:33 .. [2022-10-17T01:43:08.231Z] drwxr-xr-x 2 root root 4096 Oct 17 01:33 cost [2022-10-17T01:43:08.231Z] -rw-r--r-- 1 root root 86 Oct 17 01:33 cost.csv [2022-10-17T01:43:08.231Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives [2022-10-17T01:43:08.231Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives [2022-10-17T01:43:08.231Z] total 16 [2022-10-17T01:43:08.231Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 01:33 . [2022-10-17T01:43:08.231Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 01:33 .. [2022-10-17T01:43:08.231Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 01:33 cost [2022-10-17T01:43:08.231Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 17 01:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:43:08.559Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:43:09.447Z] ---> package-listing.sh [2022-10-17T01:43:09.447Z] ++ facter osfamily [2022-10-17T01:43:09.447Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T01:43:09.705Z] + OS_FAMILY=debian [2022-10-17T01:43:09.705Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-425 [2022-10-17T01:43:09.705Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T01:43:09.705Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T01:43:09.705Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T01:43:09.705Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T01:43:09.705Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-425 ']' [2022-10-17T01:43:09.705Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T01:43:09.705Z] + case "${OS_FAMILY}" in [2022-10-17T01:43:09.705Z] + dpkg -l [2022-10-17T01:43:09.705Z] + grep '^ii' [2022-10-17T01:43:09.705Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T01:43:09.705Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T01:43:09.705Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T01:43:09.705Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-425 ']' [2022-10-17T01:43:09.705Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives/ [2022-10-17T01:43:09.705Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives/ [Pipeline] echo [2022-10-17T01:43:09.742Z] 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-425/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-17T01:43:10.032Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:43:10.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T01:43:10.660Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:43:10.808Z] prd-ubuntu20.04-docker-8c-8g-7990 does not seem to be running inside a container [2022-10-17T01:43:10.844Z] $ 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-425/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-425 -v /w/workspace/gexfoundry_device-mqtt-go_PR-425:/w/workspace/gexfoundry_device-mqtt-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-425@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-17T01:43:11.073Z] $ docker top 443da78aa579651407f8015ba40b622be867a2ae2f32846725890c29481f0b70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T01:43:11.459Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T01:43:11.766Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T01:43:12.073Z] + ls /var/log/sa-host [2022-10-17T01:43:12.073Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T01:43:12.210Z] provisioning config files... [2022-10-17T01:43:12.218Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/config4880437049047165488tmp [Pipeline] { [Pipeline] echo [2022-10-17T01:43:12.299Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:43:12.614Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T01:43:12.645Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:43:13.047Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T01:43:13.081Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:43:13.393Z] ---> sudo-logs.sh [2022-10-17T01:43:13.393Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T01:43:13.473Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:43:13.783Z] ---> job-cost.sh [2022-10-17T01:43:13.783Z] lf-activate-venv: SKIPPING [2022-10-17T01:43:13.783Z] DEBUG: total: 0.2199999988079071 [2022-10-17T01:43:13.783Z] INFO: Retrieving Stack Cost... [2022-10-17T01:43:14.357Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T01:43:14.615Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T01:43:14.648Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:43:14.959Z] ---> logs-deploy.sh [2022-10-17T01:43:14.959Z] lf-activate-venv: SKIPPING [2022-10-17T01:43:14.959Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-425/1 [2022-10-17T01:43:14.959Z] INFO: archiving workspace using pattern(s): [2022-10-17T01:43:15.895Z] Archives upload complete. [2022-10-17T01:43:15.895Z] INFO: archiving logs to Nexus