Pull request #420 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at c1f0bf142c77c6d86ff5b845358552b8abffa481 rather than c855e4505beb1c3beede59cebacc0914420eb1f9 Obtained Jenkinsfile from c1f0bf142c77c6d86ff5b845358552b8abffa481 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-ssh1939215000234828794.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-ssh3756062457600928892.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-420/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-420/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9132760502346938477.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-420/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8162515457810372394.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-ssh3704597943288453173.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-420/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-420/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10100967072940950146.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7314’ Running on prd-ubuntu20.04-docker-8c-8g-7316 in /w/workspace/gexfoundry_device-mqtt-go_PR-420 [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-420 # 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/420/head:refs/remotes/origin/PR-420 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c1f0bf142c77c6d86ff5b845358552b8abffa481 into PR head commit c855e4505beb1c3beede59cebacc0914420eb1f9 Merge succeeded, producing c855e4505beb1c3beede59cebacc0914420eb1f9 Checking out Revision c855e4505beb1c3beede59cebacc0914420eb1f9 (PR-420) > git config core.sparsecheckout # timeout=10 > git checkout -f c855e4505beb1c3beede59cebacc0914420eb1f9 # 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 c1f0bf142c77c6d86ff5b845358552b8abffa481 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c855e4505beb1c3beede59cebacc0914420eb1f9 # timeout=10 Commit message: "fix(snap): Remove duplicate file copying in install hook " 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-07T10:15:35.234Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-07T10:15:35.410Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-07T10:15:35.506Z] ========================================================= [2022-10-07T10:15:35.506Z] EdgeX Global Pipelines Version Info [2022-10-07T10:15:35.506Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:15:36.244Z] ------------------- [2022-10-07T10:15:36.244Z] stable info: [2022-10-07T10:15:36.244Z] ------------------- [2022-10-07T10:15:36.244Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-07T10:15:36.244Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T10:15:36.244Z] Message: update stable to v1.0.239 [2022-10-07T10:15:36.815Z] ------------------- [2022-10-07T10:15:36.815Z] experimental info: [2022-10-07T10:15:36.815Z] ------------------- [2022-10-07T10:15:36.815Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-07T10:15:36.815Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T10:15:36.815Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-07T10:15:37.093Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-07T10:15:37.135Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-07T10:15:37.174Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-07T10:15:37.215Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-07T10:15:37.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-07T10:15:37.298Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-07T10:15:37.341Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-07T10:15:37.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-07T10:15:37.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-07T10:15:37.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-07T10:15:37.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-07T10:15:37.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-07T10:15:37.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-07T10:15:37.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-07T10:15:37.678Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T10:15:37.724Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T10:15:37.758Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T10:15:37.795Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T10:15:37.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-07T10:15:37.867Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-07T10:15:37.904Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-07T10:15:37.946Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-07T10:15:37.981Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-07T10:15:38.017Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-07T10:15:38.059Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-07T10:15:38.105Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-07T10:15:38.144Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-07T10:15:38.182Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-420 [Pipeline] echo [2022-10-07T10:15:38.220Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-420 [Pipeline] echo [2022-10-07T10:15:38.261Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-420 [Pipeline] echo [2022-10-07T10:15:38.300Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c855e4505beb1c3beede59cebacc0914420eb1f9 [Pipeline] echo [2022-10-07T10:15:38.338Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c855e45 [Pipeline] echo [2022-10-07T10:15:38.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T10:15:38.480Z] provisioning config files... [2022-10-07T10:15:38.494Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/config13019883215596039481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:15:38.832Z] ---> docker-login.sh [2022-10-07T10:15:38.832Z] nexus3.edgexfoundry.org:10001 [2022-10-07T10:15:39.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:15:39.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:15:39.092Z] Configure a credential helper to remove this warning. See [2022-10-07T10:15:39.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:15:39.092Z] [2022-10-07T10:15:39.092Z] Login Succeeded [2022-10-07T10:15:39.092Z] nexus3.edgexfoundry.org:10002 [2022-10-07T10:15:39.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:15:39.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:15:39.092Z] Configure a credential helper to remove this warning. See [2022-10-07T10:15:39.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:15:39.092Z] [2022-10-07T10:15:39.092Z] Login Succeeded [2022-10-07T10:15:39.092Z] nexus3.edgexfoundry.org:10003 [2022-10-07T10:15:39.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:15:39.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:15:39.352Z] Configure a credential helper to remove this warning. See [2022-10-07T10:15:39.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:15:39.352Z] [2022-10-07T10:15:39.352Z] Login Succeeded [2022-10-07T10:15:39.352Z] nexus3.edgexfoundry.org:10004 [2022-10-07T10:15:39.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:15:39.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:15:39.352Z] Configure a credential helper to remove this warning. See [2022-10-07T10:15:39.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:15:39.352Z] [2022-10-07T10:15:39.352Z] Login Succeeded [2022-10-07T10:15:39.352Z] docker.io [2022-10-07T10:15:39.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:15:39.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:15:39.871Z] Configure a credential helper to remove this warning. See [2022-10-07T10:15:39.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:15:39.871Z] [2022-10-07T10:15:39.871Z] Login Succeeded [2022-10-07T10:15:39.871Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T10:15:39.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-07T10:15:40.517Z] + git rev-list -1 --merges c855e4505beb1c3beede59cebacc0914420eb1f9~1..c855e4505beb1c3beede59cebacc0914420eb1f9 [Pipeline] echo [2022-10-07T10:15:40.563Z] -----------> git rev-list -1 --merges c855e4505beb1c3beede59cebacc0914420eb1f9~1..c855e4505beb1c3beede59cebacc0914420eb1f9 c855e4505beb1c3beede59cebacc0914420eb1f9 [false] [Pipeline] sh [2022-10-07T10:15:40.870Z] + git log --format=format:%s -1 c855e4505beb1c3beede59cebacc0914420eb1f9 [Pipeline] echo [2022-10-07T10:15:40.901Z] ========================================================= [2022-10-07T10:15:40.901Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-07T10:15:40.901Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T10:15:41.328Z] + git log --format=format:%s -1 c855e4505beb1c3beede59cebacc0914420eb1f9 [Pipeline] echo [2022-10-07T10:15:41.359Z] [semverPrep] GIT_COMMIT: c855e4505beb1c3beede59cebacc0914420eb1f9, Commit Message: fix(snap): Remove duplicate file copying in install hook [Pipeline] echo [2022-10-07T10:15:41.390Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-07T10:15:41.786Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-07T10:15:41.786Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-07T10:15:41.786Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-07T10:15:41.786Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-07T10:15:41.786Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-07T10:15:41.786Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-07T10:15:41.786Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:15:42.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T10:15:42.214Z] [2022-10-07T10:15:42.214Z] 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-07T10:15:42.586Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T10:15:42.586Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-07T10:15:42.586Z] b85a868b505f: Pulling fs layer [2022-10-07T10:15:42.586Z] e2be974225ed: Pulling fs layer [2022-10-07T10:15:42.586Z] 339a4e72a1f5: Pulling fs layer [2022-10-07T10:15:42.586Z] 988bab9f4d93: Pulling fs layer [2022-10-07T10:15:42.586Z] 1469e6f7b9e6: Pulling fs layer [2022-10-07T10:15:42.586Z] eaf3925da568: Pulling fs layer [2022-10-07T10:15:42.586Z] bab4dde63d76: Pulling fs layer [2022-10-07T10:15:42.586Z] bde34c3a00c8: Pulling fs layer [2022-10-07T10:15:42.586Z] b352a97aabf1: Pulling fs layer [2022-10-07T10:15:42.586Z] 4872d77fe225: Pulling fs layer [2022-10-07T10:15:42.586Z] 5851b861e8e6: Pulling fs layer [2022-10-07T10:15:42.586Z] 988bab9f4d93: Waiting [2022-10-07T10:15:42.586Z] 1469e6f7b9e6: Waiting [2022-10-07T10:15:42.586Z] eaf3925da568: Waiting [2022-10-07T10:15:42.586Z] bab4dde63d76: Waiting [2022-10-07T10:15:42.586Z] bde34c3a00c8: Waiting [2022-10-07T10:15:42.586Z] b352a97aabf1: Waiting [2022-10-07T10:15:42.586Z] 4872d77fe225: Waiting [2022-10-07T10:15:42.586Z] 5851b861e8e6: Waiting [2022-10-07T10:15:42.586Z] e2be974225ed: Download complete [2022-10-07T10:15:42.586Z] 988bab9f4d93: Verifying Checksum [2022-10-07T10:15:42.586Z] 988bab9f4d93: Download complete [2022-10-07T10:15:42.847Z] 339a4e72a1f5: Verifying Checksum [2022-10-07T10:15:42.847Z] 339a4e72a1f5: Download complete [2022-10-07T10:15:42.847Z] 1469e6f7b9e6: Verifying Checksum [2022-10-07T10:15:42.847Z] 1469e6f7b9e6: Download complete [2022-10-07T10:15:42.847Z] eaf3925da568: Download complete [2022-10-07T10:15:42.847Z] bde34c3a00c8: Verifying Checksum [2022-10-07T10:15:42.847Z] bde34c3a00c8: Download complete [2022-10-07T10:15:42.847Z] b352a97aabf1: Verifying Checksum [2022-10-07T10:15:42.847Z] b352a97aabf1: Download complete [2022-10-07T10:15:42.847Z] 4872d77fe225: Verifying Checksum [2022-10-07T10:15:42.847Z] 4872d77fe225: Download complete [2022-10-07T10:15:42.847Z] 5851b861e8e6: Download complete [2022-10-07T10:15:42.847Z] b85a868b505f: Verifying Checksum [2022-10-07T10:15:42.847Z] b85a868b505f: Download complete [2022-10-07T10:15:43.107Z] bab4dde63d76: Verifying Checksum [2022-10-07T10:15:43.107Z] bab4dde63d76: Download complete [2022-10-07T10:15:44.516Z] b85a868b505f: Pull complete [2022-10-07T10:15:44.516Z] e2be974225ed: Pull complete [2022-10-07T10:15:44.775Z] 339a4e72a1f5: Pull complete [2022-10-07T10:15:44.775Z] 988bab9f4d93: Pull complete [2022-10-07T10:15:45.039Z] 1469e6f7b9e6: Pull complete [2022-10-07T10:15:45.304Z] eaf3925da568: Pull complete [2022-10-07T10:15:47.210Z] bab4dde63d76: Pull complete [2022-10-07T10:15:47.210Z] bde34c3a00c8: Pull complete [2022-10-07T10:15:47.210Z] b352a97aabf1: Pull complete [2022-10-07T10:15:47.210Z] 4872d77fe225: Pull complete [2022-10-07T10:15:47.469Z] 5851b861e8e6: Pull complete [2022-10-07T10:15:47.469Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-07T10:15:47.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T10:15:47.469Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:15:47.676Z] prd-ubuntu20.04-docker-8c-8g-7316 does not seem to be running inside a container [2022-10-07T10:15:47.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-420 -v /w/workspace/gexfoundry_device-mqtt-go_PR-420:/w/workspace/gexfoundry_device-mqtt-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-420@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-devops/py-git-semver:0.1.4 cat [2022-10-07T10:15:50.640Z] $ docker top 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d -eo pid,comm [2022-10-07T10:15:50.698Z] 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-07T10:15:50.698Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-07T10:15:50.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T10:15:50.816Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T10:15:50.925Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T10:15:50.925Z] $ docker exec 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d ssh-agent [2022-10-07T10:15:51.042Z] SSH_AUTH_SOCK=/tmp/ssh-KxWNxsxt1wlN/agent.33 [2022-10-07T10:15:51.042Z] SSH_AGENT_PID=39 [2022-10-07T10:15:51.048Z] Running ssh-add (command line suppressed) [2022-10-07T10:15:51.147Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/private_key_4537220675809817766.key (/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/private_key_4537220675809817766.key) [2022-10-07T10:15:51.164Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T10:15:51.494Z] + git tag --points-at HEAD [Pipeline] } [2022-10-07T10:15:51.516Z] $ docker exec --env ******** --env ******** 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d ssh-agent -k [2022-10-07T10:15:51.612Z] unset SSH_AUTH_SOCK; [2022-10-07T10:15:51.613Z] unset SSH_AGENT_PID; [2022-10-07T10:15:51.613Z] echo Agent pid 39 killed; [2022-10-07T10:15:51.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-07T10:15:51.707Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T10:15:51.707Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T10:15:51.819Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T10:15:51.819Z] $ docker exec 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d ssh-agent [2022-10-07T10:15:51.929Z] SSH_AUTH_SOCK=/tmp/ssh-mJIwtiE2CtOJ/agent.71 [2022-10-07T10:15:51.929Z] SSH_AGENT_PID=77 [2022-10-07T10:15:51.933Z] Running ssh-add (command line suppressed) [2022-10-07T10:15:52.040Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/private_key_13180973907809864151.key (/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/private_key_13180973907809864151.key) [2022-10-07T10:15:52.057Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T10:15:52.379Z] + git semver init [2022-10-07T10:15:52.638Z] 2022-10-07 10:15:52,568 [run_init] DEBUG init version:0.0.0 force:False [2022-10-07T10:15:52.638Z] 2022-10-07 10:15:52,569 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver [2022-10-07T10:15:52.638Z] 2022-10-07 10:15:52,569 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver [2022-10-07T10:15:52.638Z] 2022-10-07 10:15:52,569 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-420, universal_newlines=False, shell=None, istream=None) [2022-10-07T10:15:53.577Z] 2022-10-07 10:15:53,523 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-420/.git/info/exclude [2022-10-07T10:15:53.578Z] 2022-10-07 10:15:53,524 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver/PR-420 with force:False [2022-10-07T10:15:53.578Z] 2022-10-07 10:15:53,524 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver/PR-420 [2022-10-07T10:15:53.578Z] 2022-10-07 10:15:53,528 [execute] INFO git cat-file --batch-check [2022-10-07T10:15:53.578Z] 2022-10-07 10:15:53,529 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T10:15:53.578Z] 2022-10-07 10:15:53,534 [execute] INFO git cat-file --batch [2022-10-07T10:15:53.578Z] 2022-10-07 10:15:53,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T10:15:53.578Z] 2022-10-07 10:15:53,540 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-420/.semver/PR-420 [2022-10-07T10:15:53.578Z] 0.0.0 [Pipeline] } [2022-10-07T10:15:53.601Z] $ docker exec --env ******** --env ******** 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d ssh-agent -k [2022-10-07T10:15:53.691Z] unset SSH_AUTH_SOCK; [2022-10-07T10:15:53.692Z] unset SSH_AGENT_PID; [2022-10-07T10:15:53.692Z] echo Agent pid 77 killed; [2022-10-07T10:15:53.704Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-07T10:15:54.120Z] + git semver [Pipeline] } [2022-10-07T10:15:54.403Z] $ docker stop --time=1 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d [2022-10-07T10:15:55.687Z] $ docker rm -f 55d98001766938468af58208d3420634dd62e0ce819c3943a95780ed011f779d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T10:15:56.086Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-07T10:15:56.325Z] Stashed 1 file(s) [Pipeline] echo [2022-10-07T10:15:56.342Z] [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-07T10:15:56.937Z] provisioning config files... [2022-10-07T10:15:56.948Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/config8524399472384931582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:15:57.290Z] ---> docker-login.sh [2022-10-07T10:15:57.290Z] nexus3.edgexfoundry.org:10001 [2022-10-07T10:15:57.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:15:57.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:15:57.290Z] Configure a credential helper to remove this warning. See [2022-10-07T10:15:57.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:15:57.290Z] [2022-10-07T10:15:57.290Z] Login Succeeded [2022-10-07T10:15:57.290Z] nexus3.edgexfoundry.org:10002 [2022-10-07T10:15:57.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:15:57.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:15:57.290Z] Configure a credential helper to remove this warning. See [2022-10-07T10:15:57.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:15:57.290Z] [2022-10-07T10:15:57.290Z] Login Succeeded [2022-10-07T10:15:57.290Z] nexus3.edgexfoundry.org:10003 [2022-10-07T10:15:57.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:15:57.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:15:57.549Z] Configure a credential helper to remove this warning. See [2022-10-07T10:15:57.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:15:57.549Z] [2022-10-07T10:15:57.549Z] Login Succeeded [2022-10-07T10:15:57.549Z] nexus3.edgexfoundry.org:10004 [2022-10-07T10:15:57.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:15:57.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:15:57.549Z] Configure a credential helper to remove this warning. See [2022-10-07T10:15:57.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:15:57.549Z] [2022-10-07T10:15:57.549Z] Login Succeeded [2022-10-07T10:15:57.549Z] docker.io [2022-10-07T10:15:57.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:15:58.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:15:58.067Z] Configure a credential helper to remove this warning. See [2022-10-07T10:15:58.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:15:58.067Z] [2022-10-07T10:15:58.067Z] Login Succeeded [2022-10-07T10:15:58.067Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T10:15:58.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T10:15:58.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T10:15:58.326Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T10:15:58.356Z] ========================================================= [2022-10-07T10:15:58.356Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-07T10:15:58.356Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:15:58.805Z] + 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-07T10:15:58.805Z] Sending build context to Docker daemon 6.15MB [2022-10-07T10:15:58.805Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T10:15:58.805Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-07T10:15:58.805Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-07T10:15:58.805Z] 2408cc74d12b: Pulling fs layer [2022-10-07T10:15:58.805Z] ea60b727a1ce: Pulling fs layer [2022-10-07T10:15:58.805Z] 30c4a7721957: Pulling fs layer [2022-10-07T10:15:58.805Z] 370296b7ddb6: Pulling fs layer [2022-10-07T10:15:58.805Z] 7c6cee850709: Pulling fs layer [2022-10-07T10:15:58.805Z] aa9baa53a306: Pulling fs layer [2022-10-07T10:15:58.805Z] 8b309c321861: Pulling fs layer [2022-10-07T10:15:58.805Z] d8d76fd02f46: Pulling fs layer [2022-10-07T10:15:58.805Z] fa31f396de31: Pulling fs layer [2022-10-07T10:15:58.805Z] aa9baa53a306: Waiting [2022-10-07T10:15:58.805Z] 8b309c321861: Waiting [2022-10-07T10:15:58.805Z] d8d76fd02f46: Waiting [2022-10-07T10:15:58.805Z] fa31f396de31: Waiting [2022-10-07T10:15:58.805Z] 370296b7ddb6: Waiting [2022-10-07T10:15:58.805Z] 7c6cee850709: Waiting [2022-10-07T10:15:58.805Z] 30c4a7721957: Verifying Checksum [2022-10-07T10:15:58.805Z] 30c4a7721957: Download complete [2022-10-07T10:15:58.805Z] ea60b727a1ce: Verifying Checksum [2022-10-07T10:15:58.805Z] ea60b727a1ce: Download complete [2022-10-07T10:15:58.805Z] 7c6cee850709: Verifying Checksum [2022-10-07T10:15:58.805Z] 7c6cee850709: Download complete [2022-10-07T10:15:59.068Z] aa9baa53a306: Download complete [2022-10-07T10:15:59.068Z] 2408cc74d12b: Download complete [2022-10-07T10:15:59.068Z] 8b309c321861: Verifying Checksum [2022-10-07T10:15:59.068Z] 8b309c321861: Download complete [2022-10-07T10:15:59.068Z] 2408cc74d12b: Pull complete [2022-10-07T10:15:59.337Z] ea60b727a1ce: Pull complete [2022-10-07T10:15:59.337Z] 30c4a7721957: Pull complete [2022-10-07T10:15:59.600Z] fa31f396de31: Verifying Checksum [2022-10-07T10:15:59.600Z] fa31f396de31: Download complete [2022-10-07T10:15:59.600Z] d8d76fd02f46: Verifying Checksum [2022-10-07T10:15:59.600Z] d8d76fd02f46: Download complete [2022-10-07T10:15:59.860Z] 370296b7ddb6: Download complete [2022-10-07T10:16:04.052Z] 370296b7ddb6: Pull complete [2022-10-07T10:16:04.052Z] 7c6cee850709: Pull complete [2022-10-07T10:16:04.052Z] aa9baa53a306: Pull complete [2022-10-07T10:16:04.052Z] 8b309c321861: Pull complete [2022-10-07T10:16:05.951Z] d8d76fd02f46: Pull complete [2022-10-07T10:16:06.209Z] fa31f396de31: Pull complete [2022-10-07T10:16:06.209Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-07T10:16:06.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-07T10:16:06.209Z] ---> cef68f9685f8 [2022-10-07T10:16:06.209Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-07T10:16:11.737Z] Still waiting to schedule task [2022-10-07T10:16:11.737Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7315’ is offline [2022-10-07T10:16:12.798Z] ---> Running in f8ddd9cf97e7 [2022-10-07T10:16:12.798Z] Removing intermediate container f8ddd9cf97e7 [2022-10-07T10:16:12.798Z] ---> 61d443d8bfc7 [2022-10-07T10:16:12.798Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T10:16:12.798Z] ---> Running in 89783affda69 [2022-10-07T10:16:12.798Z] Removing intermediate container 89783affda69 [2022-10-07T10:16:12.798Z] ---> b95cb1addcf6 [2022-10-07T10:16:12.798Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T10:16:12.798Z] ---> Running in 62f554978045 [2022-10-07T10:16:12.798Z] Removing intermediate container 62f554978045 [2022-10-07T10:16:12.798Z] ---> 26785350ece8 [2022-10-07T10:16:12.798Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T10:16:12.798Z] ---> Running in 3284d1ac59c1 [2022-10-07T10:16:12.798Z] Removing intermediate container 3284d1ac59c1 [2022-10-07T10:16:12.798Z] ---> 3b178d0d87c3 [2022-10-07T10:16:12.798Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T10:16:12.798Z] ---> Running in 88cc106055b5 [2022-10-07T10:16:13.367Z] Removing intermediate container 88cc106055b5 [2022-10-07T10:16:13.367Z] ---> 569d5d92ab5e [2022-10-07T10:16:13.367Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T10:16:13.367Z] ---> Running in 2c504c83ba4f [2022-10-07T10:16:13.626Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T10:16:14.561Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T10:16:14.818Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-07T10:16:14.818Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-07T10:16:14.818Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-07T10:16:15.076Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-07T10:16:15.076Z] Executing busybox-1.35.0-r13.trigger [2022-10-07T10:16:15.076Z] OK: 216 MiB in 55 packages [2022-10-07T10:16:15.654Z] Removing intermediate container 2c504c83ba4f [2022-10-07T10:16:15.654Z] ---> 5b0d836f1d03 [2022-10-07T10:16:15.654Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-07T10:16:15.654Z] ---> Running in 7b4b6d15caee [2022-10-07T10:16:15.913Z] Removing intermediate container 7b4b6d15caee [2022-10-07T10:16:15.913Z] ---> 1065259b7bcc [2022-10-07T10:16:15.913Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-07T10:16:15.913Z] ---> 5aff33e09e65 [2022-10-07T10:16:15.913Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T10:16:15.913Z] ---> Running in 40f2735c8a08 [2022-10-07T10:16:42.463Z] Removing intermediate container 40f2735c8a08 [2022-10-07T10:16:42.463Z] ---> f8f5cc89f020 [2022-10-07T10:16:42.463Z] Step 12/13 : COPY . . [2022-10-07T10:16:42.463Z] ---> 7f7d2f648ca7 [2022-10-07T10:16:42.463Z] Step 13/13 : RUN $MAKE [2022-10-07T10:16:42.463Z] ---> Running in 38bd1f3b02fe [2022-10-07T10:16:42.464Z] noop [2022-10-07T10:16:42.464Z] Removing intermediate container 38bd1f3b02fe [2022-10-07T10:16:42.464Z] ---> 2c3d1f977b8d [2022-10-07T10:16:42.464Z] Successfully built 2c3d1f977b8d [2022-10-07T10:16:42.464Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:16:42.907Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T10:16:42.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:16:43.058Z] prd-ubuntu20.04-docker-8c-8g-7316 does not seem to be running inside a container [2022-10-07T10:16:43.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-420 -v /w/workspace/gexfoundry_device-mqtt-go_PR-420:/w/workspace/gexfoundry_device-mqtt-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-07T10:16:43.449Z] $ docker top b404ce05a1bc2dcc5879fbd4b7ec3b497249d4c9e10a92a376731e54cbf81d6b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:16:43.830Z] + go version [2022-10-07T10:16:43.830Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-07T10:16:43.862Z] $ docker stop --time=1 b404ce05a1bc2dcc5879fbd4b7ec3b497249d4c9e10a92a376731e54cbf81d6b [2022-10-07T10:16:45.159Z] $ docker rm -f b404ce05a1bc2dcc5879fbd4b7ec3b497249d4c9e10a92a376731e54cbf81d6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:16:45.890Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T10:16:45.890Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:16:46.029Z] prd-ubuntu20.04-docker-8c-8g-7316 does not seem to be running inside a container [2022-10-07T10:16:46.061Z] $ 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-420 -v /w/workspace/gexfoundry_device-mqtt-go_PR-420:/w/workspace/gexfoundry_device-mqtt-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-07T10:16:46.398Z] $ docker top db522736822814c1a1f0ced081676d108468617f82ac6db5ed118a6cdc38892c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:16:46.795Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-420 [Pipeline] fileExists [Pipeline] sh [2022-10-07T10:16:47.159Z] + make test [2022-10-07T10:16:47.159Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-07T10:16:47.417Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-07T10:16:57.386Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-07T10:16:57.386Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-10-07T10:16:57.386Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-07T10:17:05.494Z] 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-07T10:17:05.494Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T10:17:08.020Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T10:17:08.020Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T10:17:08.020Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T10:17:08.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T10:17:08.089Z] $ docker stop --time=1 db522736822814c1a1f0ced081676d108468617f82ac6db5ed118a6cdc38892c [2022-10-07T10:17:11.178Z] $ docker rm -f db522736822814c1a1f0ced081676d108468617f82ac6db5ed118a6cdc38892c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T10:17:11.685Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T10:17:11.745Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-07T10:17:12.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T10:17:12.639Z] + ls -al . [2022-10-07T10:17:12.639Z] total 184 [2022-10-07T10:17:12.639Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 10:16 . [2022-10-07T10:17:12.639Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:15 .. [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 10:15 .dockerignore [2022-10-07T10:17:12.639Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 10:16 .git [2022-10-07T10:17:12.639Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:15 .github [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 7 10:15 .gitignore [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 10:15 .golangci.yml [2022-10-07T10:17:12.639Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 10:15 .semver [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 7 10:15 Attribution.txt [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 7 10:15 CHANGELOG.md [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 7 10:15 Dockerfile [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 10:15 GOVERNANCE.md [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 7 10:15 Jenkinsfile [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 10:15 LICENSE [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 7 10:15 Makefile [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 10:15 OWNERS.md [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 7 10:15 README.md [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 10:15 VERSION [2022-10-07T10:17:12.639Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:15 bin [2022-10-07T10:17:12.639Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:15 cmd [2022-10-07T10:17:12.639Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 7 10:16 coverage.out [2022-10-07T10:17:12.639Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 7 10:15 go.mod [2022-10-07T10:17:12.640Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 7 10:15 go.sum [2022-10-07T10:17:12.640Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:15 internal [2022-10-07T10:17:12.640Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:15 mock [2022-10-07T10:17:12.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:15 snap [2022-10-07T10:17:12.640Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 7 10:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:17:13.028Z] + 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=c855e4505beb1c3beede59cebacc0914420eb1f9 --label arch=amd64 --label version=0.0.0 . [2022-10-07T10:17:13.029Z] Sending build context to Docker daemon 6.169MB [2022-10-07T10:17:13.029Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T10:17:13.029Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-07T10:17:13.029Z] ---> 2c3d1f977b8d [2022-10-07T10:17:13.029Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-07T10:17:13.288Z] ---> Running in 0b896712d536 [2022-10-07T10:17:13.288Z] Removing intermediate container 0b896712d536 [2022-10-07T10:17:13.288Z] ---> ff10f16c5313 [2022-10-07T10:17:13.288Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T10:17:13.288Z] ---> Running in 854ba2db28a8 [2022-10-07T10:17:13.288Z] Removing intermediate container 854ba2db28a8 [2022-10-07T10:17:13.288Z] ---> 9f066939cb8d [2022-10-07T10:17:13.288Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T10:17:13.288Z] ---> Running in 17f78e9bb0b4 [2022-10-07T10:17:13.547Z] Removing intermediate container 17f78e9bb0b4 [2022-10-07T10:17:13.547Z] ---> 0e5c1699275f [2022-10-07T10:17:13.547Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T10:17:13.547Z] ---> Running in 7a9b17b61f3f [2022-10-07T10:17:13.547Z] Removing intermediate container 7a9b17b61f3f [2022-10-07T10:17:13.547Z] ---> 0d8c2252e911 [2022-10-07T10:17:13.547Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T10:17:13.547Z] ---> Running in a2f5cd3c649d [2022-10-07T10:17:14.114Z] Removing intermediate container a2f5cd3c649d [2022-10-07T10:17:14.114Z] ---> 2f0ac5f999e5 [2022-10-07T10:17:14.114Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T10:17:14.114Z] ---> Running in 84a7e91d8123 [2022-10-07T10:17:14.373Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T10:17:15.321Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T10:17:15.321Z] OK: 216 MiB in 55 packages [2022-10-07T10:17:15.889Z] Removing intermediate container 84a7e91d8123 [2022-10-07T10:17:15.889Z] ---> e8f3647aa756 [2022-10-07T10:17:15.889Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-07T10:17:15.889Z] ---> Running in ac607799a1ab [2022-10-07T10:17:15.889Z] Removing intermediate container ac607799a1ab [2022-10-07T10:17:15.889Z] ---> 8ec1f5e3b641 [2022-10-07T10:17:15.889Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-07T10:17:15.889Z] ---> 16fb2785f01a [2022-10-07T10:17:15.889Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T10:17:15.889Z] ---> Running in 2b89dcaa969e [2022-10-07T10:17:16.458Z] Removing intermediate container 2b89dcaa969e [2022-10-07T10:17:16.458Z] ---> 41d3b75c261d [2022-10-07T10:17:16.458Z] Step 12/25 : COPY . . [2022-10-07T10:17:17.024Z] ---> 7bcc91ddc6d2 [2022-10-07T10:17:17.024Z] Step 13/25 : RUN $MAKE [2022-10-07T10:17:17.024Z] ---> Running in ef1393ac1dd9 [2022-10-07T10:17:17.284Z] 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-07T10:17:43.644Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7318 in /w/workspace/gexfoundry_device-mqtt-go_PR-420 [Pipeline] { [Pipeline] ws [2022-10-07T10:17:43.685Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-10-07T10:17:43.770Z] Selected Git installation does not exist. Using Default [2022-10-07T10:17:43.770Z] The recommended git tool is: NONE [2022-10-07T10:17:43.869Z] Removing intermediate container ef1393ac1dd9 [2022-10-07T10:17:43.869Z] ---> 58cc0a362573 [2022-10-07T10:17:43.869Z] Step 14/25 : FROM alpine:3.16 [2022-10-07T10:17:43.869Z] 3.16: Pulling from library/alpine [2022-10-07T10:17:43.869Z] 213ec9aee27d: Pulling fs layer [2022-10-07T10:17:43.869Z] 213ec9aee27d: Verifying Checksum [2022-10-07T10:17:43.869Z] 213ec9aee27d: Download complete [2022-10-07T10:17:43.869Z] 213ec9aee27d: Pull complete [2022-10-07T10:17:43.869Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T10:17:43.869Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T10:17:43.869Z] ---> 9c6f07244728 [2022-10-07T10:17:43.869Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-07T10:17:43.869Z] ---> Running in 86b665344086 [2022-10-07T10:17:43.869Z] Removing intermediate container 86b665344086 [2022-10-07T10:17:43.869Z] ---> 4c68b974c530 [2022-10-07T10:17:43.869Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T10:17:43.869Z] ---> Running in 1cc6a492cd2a [2022-10-07T10:17:43.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T10:17:43.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T10:17:43.869Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T10:17:43.869Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T10:17:43.869Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T10:17:43.869Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T10:17:43.869Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T10:17:43.869Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T10:17:43.869Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T10:17:43.869Z] OK: 8 MiB in 20 packages [2022-10-07T10:17:43.869Z] Removing intermediate container 1cc6a492cd2a [2022-10-07T10:17:43.869Z] ---> 9084f72cf430 [2022-10-07T10:17:43.869Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-07T10:17:43.869Z] ---> 7136f82a3b85 [2022-10-07T10:17:43.869Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-07T10:17:43.869Z] ---> f90964eed5f7 [2022-10-07T10:17:43.869Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-07T10:17:43.869Z] ---> fcee75f454a9 [2022-10-07T10:17:43.869Z] Step 20/25 : EXPOSE 59982 [2022-10-07T10:17:43.869Z] ---> Running in 82b75a80d852 [2022-10-07T10:17:43.869Z] Removing intermediate container 82b75a80d852 [2022-10-07T10:17:43.869Z] ---> 1cda598fea85 [2022-10-07T10:17:43.869Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-07T10:17:43.869Z] ---> Running in 60f835787f67 [2022-10-07T10:17:43.869Z] Removing intermediate container 60f835787f67 [2022-10-07T10:17:43.869Z] ---> 6c15fdce1e0e [2022-10-07T10:17:43.869Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T10:17:43.869Z] ---> Running in fb570f65afb8 [2022-10-07T10:17:43.869Z] Removing intermediate container fb570f65afb8 [2022-10-07T10:17:43.869Z] ---> 7e2cbc16f704 [2022-10-07T10:17:43.869Z] Step 23/25 : LABEL arch=amd64 [2022-10-07T10:17:43.869Z] ---> Running in 9eaf5600606e [2022-10-07T10:17:44.129Z] Removing intermediate container 9eaf5600606e [2022-10-07T10:17:44.129Z] ---> 8f7e9736b34c [2022-10-07T10:17:44.129Z] Step 24/25 : LABEL git_sha=c855e4505beb1c3beede59cebacc0914420eb1f9 [2022-10-07T10:17:44.129Z] ---> Running in d63e7f9012bd [2022-10-07T10:17:44.129Z] Removing intermediate container d63e7f9012bd [2022-10-07T10:17:44.129Z] ---> b8c2a68840c0 [2022-10-07T10:17:44.129Z] Step 25/25 : LABEL version=0.0.0 [2022-10-07T10:17:44.129Z] ---> Running in 4d6539c63ca8 [2022-10-07T10:17:44.129Z] Removing intermediate container 4d6539c63ca8 [2022-10-07T10:17:44.129Z] ---> 563ff35bc9a9 [2022-10-07T10:17:44.129Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T10:17:44.129Z] Successfully built 563ff35bc9a9 [2022-10-07T10:17:44.129Z] 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-07T10:17:45.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T10:17:45.028Z] [2022-10-07T10:17:45.028Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:17:45.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T10:17:45.399Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-07T10:17:45.399Z] 5eb5b503b376: Pulling fs layer [2022-10-07T10:17:45.399Z] 5c69ac0246d0: Pulling fs layer [2022-10-07T10:17:45.399Z] ec43610c2a17: Pulling fs layer [2022-10-07T10:17:45.399Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-07T10:17:45.399Z] 33b1e0a273af: Pulling fs layer [2022-10-07T10:17:45.399Z] 5d3b04190fa2: Pulling fs layer [2022-10-07T10:17:45.399Z] 2f39f015ded8: Pulling fs layer [2022-10-07T10:17:45.399Z] 5d3b04190fa2: Waiting [2022-10-07T10:17:45.399Z] 3a2ae6a8a46f: Waiting [2022-10-07T10:17:45.399Z] 2f39f015ded8: Waiting [2022-10-07T10:17:45.399Z] 33b1e0a273af: Waiting [2022-10-07T10:17:45.399Z] 5c69ac0246d0: Download complete [2022-10-07T10:17:45.399Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-07T10:17:45.399Z] 3a2ae6a8a46f: Download complete [2022-10-07T10:17:45.399Z] 33b1e0a273af: Verifying Checksum [2022-10-07T10:17:45.399Z] 33b1e0a273af: Download complete [2022-10-07T10:17:45.399Z] 5d3b04190fa2: Verifying Checksum [2022-10-07T10:17:45.399Z] 5d3b04190fa2: Download complete [2022-10-07T10:17:45.399Z] ec43610c2a17: Verifying Checksum [2022-10-07T10:17:45.399Z] ec43610c2a17: Download complete [2022-10-07T10:17:45.660Z] 5eb5b503b376: Verifying Checksum [2022-10-07T10:17:45.660Z] 5eb5b503b376: Download complete [2022-10-07T10:17:46.231Z] 2f39f015ded8: Download complete [2022-10-07T10:17:46.800Z] 5eb5b503b376: Pull complete [2022-10-07T10:17:46.800Z] 5c69ac0246d0: Pull complete [2022-10-07T10:17:47.365Z] ec43610c2a17: Pull complete [2022-10-07T10:17:47.365Z] 3a2ae6a8a46f: Pull complete [2022-10-07T10:17:47.623Z] 33b1e0a273af: Pull complete [2022-10-07T10:17:47.623Z] 5d3b04190fa2: Pull complete [2022-10-07T10:17:48.674Z] using credential edgex-jenkins-ssh [2022-10-07T10:17:48.692Z] Cloning the remote Git repository [2022-10-07T10:17:48.731Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-07T10:17:48.808Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-10-07T10:17:48.953Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-07T10:17:48.954Z] > git --version # timeout=10 [2022-10-07T10:17:48.975Z] > git --version # 'git version 2.25.1' [2022-10-07T10:17:48.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T10:17:49.032Z] Verifying host key using known hosts file [2022-10-07T10:17:49.210Z] 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-07T10:17:49.220Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T10:17:50.302Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-07T10:17:50.332Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T10:17:51.093Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-07T10:17:51.147Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-07T10:17:51.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T10:17:51.153Z] Verifying host key using known hosts file [2022-10-07T10:17:51.159Z] 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-07T10:17:51.176Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/420/head:refs/remotes/origin/PR-420 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-07T10:17:51.779Z] Merging remotes/origin/main commit c1f0bf142c77c6d86ff5b845358552b8abffa481 into PR head commit c855e4505beb1c3beede59cebacc0914420eb1f9 [2022-10-07T10:17:51.816Z] 2f39f015ded8: Pull complete [2022-10-07T10:17:51.816Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-07T10:17:51.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T10:17:51.816Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:17:52.028Z] Merge succeeded, producing c855e4505beb1c3beede59cebacc0914420eb1f9 [2022-10-07T10:17:52.028Z] Checking out Revision c855e4505beb1c3beede59cebacc0914420eb1f9 (PR-420) [2022-10-07T10:17:52.048Z] prd-ubuntu20.04-docker-8c-8g-7316 does not seem to be running inside a container [2022-10-07T10:17:52.083Z] $ 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-420 -v /w/workspace/gexfoundry_device-mqtt-go_PR-420:/w/workspace/gexfoundry_device-mqtt-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-07T10:17:51.797Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T10:17:51.812Z] > git checkout -f c855e4505beb1c3beede59cebacc0914420eb1f9 # timeout=10 [2022-10-07T10:17:51.912Z] > git remote # timeout=10 [2022-10-07T10:17:51.932Z] > git config --get remote.origin.url # timeout=10 [2022-10-07T10:17:51.967Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T10:17:51.971Z] Verifying host key using known hosts file [2022-10-07T10:17:51.977Z] 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-07T10:17:51.986Z] > git merge c1f0bf142c77c6d86ff5b845358552b8abffa481 # timeout=10 [2022-10-07T10:17:52.010Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-07T10:17:52.035Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T10:17:52.049Z] > git checkout -f c855e4505beb1c3beede59cebacc0914420eb1f9 # timeout=10 [2022-10-07T10:17:55.521Z] Commit message: "fix(snap): Remove duplicate file copying in install hook " [2022-10-07T10:17:55.567Z] > git --version # timeout=10 [2022-10-07T10:17:55.582Z] > git --version # 'git version 2.25.1' [2022-10-07T10:17:55.594Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T10:17:55.969Z] [2022-10-07T10:17:55.969Z] GitHub has been notified of this commit’s build result [2022-10-07T10:17:55.969Z] [2022-10-07T10:17:56.978Z] $ docker top e7dd8c9bb38420b51dd5775e3e1a2bfb30f0a6f3e693d2b7369a394af88cb878 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2022-10-07T10:17:57.420Z] ---> job-cost.sh [2022-10-07T10:17:57.420Z] lf-activate-venv: SKIPPING [2022-10-07T10:17:57.420Z] INFO: No Stack... [Pipeline] sh [2022-10-07T10:17:57.716Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T10:17:57.903Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-07T10:17:57.903Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T10:17:57.903Z] Dload Upload Total Spent Left Speed [2022-10-07T10:17:57.903Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 76375 0 --:--:-- --:--:-- --:--:-- 76841 [2022-10-07T10:17:57.974Z] INFO: Archiving Costs [Pipeline] sh [2022-10-07T10:17:58.285Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives/cost.csv [2022-10-07T10:17:58.285Z] + cut -d, -f6 [Pipeline] lock [2022-10-07T10:17:58.326Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] [2022-10-07T10:17:58.331Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] did not exist. Created. [2022-10-07T10:17:58.331Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2022-10-07T10:17:58.697Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-07T10:17:58.778Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-07T10:17:58.853Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T10:17:58.886Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T10:17:58.966Z] $ docker stop --time=1 e7dd8c9bb38420b51dd5775e3e1a2bfb30f0a6f3e693d2b7369a394af88cb878 [2022-10-07T10:17:59.037Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-07T10:17:59.037Z] + sudo tee /etc/docker/daemon.new [2022-10-07T10:17:59.037Z] { [2022-10-07T10:17:59.037Z] "registry-mirrors": [ [2022-10-07T10:17:59.037Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-07T10:17:59.037Z] ], [2022-10-07T10:17:59.037Z] "bip": "10.250.0.254/24", [2022-10-07T10:17:59.037Z] "hosts": [ [2022-10-07T10:17:59.037Z] "tcp://0.0.0.0:5555", [2022-10-07T10:17:59.037Z] "unix:///var/run/docker.sock" [2022-10-07T10:17:59.037Z] ], [2022-10-07T10:17:59.037Z] "mtu": 1458, [2022-10-07T10:17:59.037Z] "selinux-enabled": true, [2022-10-07T10:17:59.037Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-07T10:17:59.037Z] } [2022-10-07T10:18:00.116Z] $ docker rm -f e7dd8c9bb38420b51dd5775e3e1a2bfb30f0a6f3e693d2b7369a394af88cb878 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-07T10:18:00.562Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-07T10:18:00.905Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T10:18:19.251Z] provisioning config files... [2022-10-07T10:18:19.280Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config13762123690789215823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:18:19.671Z] ---> docker-login.sh [2022-10-07T10:18:19.671Z] nexus3.edgexfoundry.org:10001 [2022-10-07T10:18:19.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:18:20.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:18:20.209Z] Configure a credential helper to remove this warning. See [2022-10-07T10:18:20.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:18:20.209Z] [2022-10-07T10:18:20.209Z] Login Succeeded [2022-10-07T10:18:20.209Z] nexus3.edgexfoundry.org:10002 [2022-10-07T10:18:20.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:18:20.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:18:20.750Z] Configure a credential helper to remove this warning. See [2022-10-07T10:18:20.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:18:20.750Z] [2022-10-07T10:18:20.750Z] Login Succeeded [2022-10-07T10:18:20.750Z] nexus3.edgexfoundry.org:10003 [2022-10-07T10:18:20.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:18:21.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:18:21.021Z] Configure a credential helper to remove this warning. See [2022-10-07T10:18:21.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:18:21.021Z] [2022-10-07T10:18:21.021Z] Login Succeeded [2022-10-07T10:18:21.021Z] nexus3.edgexfoundry.org:10004 [2022-10-07T10:18:21.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:18:21.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:18:21.294Z] Configure a credential helper to remove this warning. See [2022-10-07T10:18:21.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:18:21.294Z] [2022-10-07T10:18:21.294Z] Login Succeeded [2022-10-07T10:18:21.294Z] docker.io [2022-10-07T10:18:21.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:18:21.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:18:21.833Z] Configure a credential helper to remove this warning. See [2022-10-07T10:18:21.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:18:21.833Z] [2022-10-07T10:18:22.102Z] Login Succeeded [2022-10-07T10:18:22.102Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T10:18:22.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T10:18:22.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T10:18:22.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T10:18:22.437Z] ========================================================= [2022-10-07T10:18:22.437Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-07T10:18:22.437Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:18:22.905Z] + 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-07T10:18:23.177Z] Sending build context to Docker daemon 3.181MB [2022-10-07T10:18:23.177Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T10:18:23.177Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-07T10:18:23.447Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-07T10:18:23.447Z] b3c136eddcbf: Pulling fs layer [2022-10-07T10:18:23.447Z] c0a3192eca97: Pulling fs layer [2022-10-07T10:18:23.447Z] a050256f5b6f: Pulling fs layer [2022-10-07T10:18:23.447Z] 656be50a0ddc: Pulling fs layer [2022-10-07T10:18:23.447Z] 2bbca73fdf42: Pulling fs layer [2022-10-07T10:18:23.447Z] f607e4fc86c3: Pulling fs layer [2022-10-07T10:18:23.447Z] 4d572c569a2c: Pulling fs layer [2022-10-07T10:18:23.447Z] fcf976331f73: Pulling fs layer [2022-10-07T10:18:23.447Z] f607e4fc86c3: Waiting [2022-10-07T10:18:23.447Z] 4d572c569a2c: Waiting [2022-10-07T10:18:23.447Z] fcf976331f73: Waiting [2022-10-07T10:18:23.447Z] 656be50a0ddc: Waiting [2022-10-07T10:18:23.447Z] 2bbca73fdf42: Waiting [2022-10-07T10:18:23.447Z] a050256f5b6f: Verifying Checksum [2022-10-07T10:18:23.447Z] a050256f5b6f: Download complete [2022-10-07T10:18:23.447Z] c0a3192eca97: Verifying Checksum [2022-10-07T10:18:23.448Z] c0a3192eca97: Download complete [2022-10-07T10:18:23.448Z] 2bbca73fdf42: Verifying Checksum [2022-10-07T10:18:23.448Z] 2bbca73fdf42: Download complete [2022-10-07T10:18:23.448Z] f607e4fc86c3: Verifying Checksum [2022-10-07T10:18:23.448Z] f607e4fc86c3: Download complete [2022-10-07T10:18:23.448Z] b3c136eddcbf: Verifying Checksum [2022-10-07T10:18:23.448Z] b3c136eddcbf: Download complete [2022-10-07T10:18:24.434Z] b3c136eddcbf: Pull complete [2022-10-07T10:18:24.434Z] fcf976331f73: Verifying Checksum [2022-10-07T10:18:24.434Z] fcf976331f73: Download complete [2022-10-07T10:18:24.706Z] c0a3192eca97: Pull complete [2022-10-07T10:18:25.294Z] a050256f5b6f: Pull complete [2022-10-07T10:18:25.566Z] 4d572c569a2c: Verifying Checksum [2022-10-07T10:18:25.566Z] 4d572c569a2c: Download complete [2022-10-07T10:18:26.539Z] 656be50a0ddc: Verifying Checksum [2022-10-07T10:18:26.539Z] 656be50a0ddc: Download complete [2022-10-07T10:18:38.863Z] 656be50a0ddc: Pull complete [2022-10-07T10:18:38.863Z] 2bbca73fdf42: Pull complete [2022-10-07T10:18:38.863Z] f607e4fc86c3: Pull complete [2022-10-07T10:18:44.224Z] 4d572c569a2c: Pull complete [2022-10-07T10:18:46.185Z] fcf976331f73: Pull complete [2022-10-07T10:18:46.185Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-07T10:18:46.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-07T10:18:46.185Z] ---> 3970a7415f9e [2022-10-07T10:18:46.185Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-07T10:18:48.133Z] ---> Running in 68658f02b429 [2022-10-07T10:18:48.133Z] Removing intermediate container 68658f02b429 [2022-10-07T10:18:48.133Z] ---> caff35b427b2 [2022-10-07T10:18:48.133Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T10:18:48.133Z] ---> Running in e071b4e580e4 [2022-10-07T10:18:48.402Z] Removing intermediate container e071b4e580e4 [2022-10-07T10:18:48.402Z] ---> d2c89df5cec2 [2022-10-07T10:18:48.402Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T10:18:48.674Z] ---> Running in 0597e499329a [2022-10-07T10:18:48.943Z] Removing intermediate container 0597e499329a [2022-10-07T10:18:48.943Z] ---> 101cfbf28eac [2022-10-07T10:18:48.943Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T10:18:48.943Z] ---> Running in d20dcfb25e0c [2022-10-07T10:18:49.212Z] Removing intermediate container d20dcfb25e0c [2022-10-07T10:18:49.212Z] ---> 1985791c5562 [2022-10-07T10:18:49.212Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T10:18:49.212Z] ---> Running in 305fe7226ac5 [2022-10-07T10:18:51.163Z] Removing intermediate container 305fe7226ac5 [2022-10-07T10:18:51.163Z] ---> 7150704a3114 [2022-10-07T10:18:51.163Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T10:18:51.163Z] ---> Running in 1b86d65425b3 [2022-10-07T10:18:52.128Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T10:18:53.090Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T10:18:54.052Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-07T10:18:54.052Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-07T10:18:54.320Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-07T10:18:54.320Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-07T10:18:54.593Z] Executing busybox-1.35.0-r13.trigger [2022-10-07T10:18:54.593Z] OK: 226 MiB in 55 packages [2022-10-07T10:18:55.557Z] Removing intermediate container 1b86d65425b3 [2022-10-07T10:18:55.557Z] ---> 0a6ca718367d [2022-10-07T10:18:55.558Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-07T10:18:55.558Z] ---> Running in 878fdb9f5eb1 [2022-10-07T10:18:56.159Z] Removing intermediate container 878fdb9f5eb1 [2022-10-07T10:18:56.159Z] ---> b3497338f533 [2022-10-07T10:18:56.159Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-07T10:18:56.428Z] ---> 8b1939fa95b1 [2022-10-07T10:18:56.428Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T10:18:56.700Z] ---> Running in d2d1fc9448f3 [2022-10-07T10:19:43.542Z] Removing intermediate container d2d1fc9448f3 [2022-10-07T10:19:43.542Z] ---> ed13368dd017 [2022-10-07T10:19:43.542Z] Step 12/13 : COPY . . [2022-10-07T10:19:44.502Z] ---> 14601b324a04 [2022-10-07T10:19:44.502Z] Step 13/13 : RUN $MAKE [2022-10-07T10:19:44.502Z] ---> Running in 980380543d86 [2022-10-07T10:19:45.088Z] noop [2022-10-07T10:19:45.676Z] Removing intermediate container 980380543d86 [2022-10-07T10:19:45.676Z] ---> dedba1c4654c [2022-10-07T10:19:45.940Z] Successfully built dedba1c4654c [2022-10-07T10:19:45.940Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:19:46.399Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T10:19:46.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:19:46.636Z] prd-ubuntu20.04-docker-arm64-4c-16g-7318 does not seem to be running inside a container [2022-10-07T10:19:46.694Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-07T10:19:47.782Z] $ docker top ffcccaee0d06213188602540ec9e86351e121d09dce0488ac6a4ed034ac4acc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:19:48.624Z] + go version [2022-10-07T10:19:48.624Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-07T10:19:48.658Z] $ docker stop --time=1 ffcccaee0d06213188602540ec9e86351e121d09dce0488ac6a4ed034ac4acc1 [2022-10-07T10:19:50.216Z] $ docker rm -f ffcccaee0d06213188602540ec9e86351e121d09dce0488ac6a4ed034ac4acc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:19:51.057Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T10:19:51.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:19:51.289Z] prd-ubuntu20.04-docker-arm64-4c-16g-7318 does not seem to be running inside a container [2022-10-07T10:19:51.352Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-07T10:19:52.387Z] $ docker top bfc11ea2f95b32bda94e194369662bf8a7b842e7d3c081b9da01177e2d0df1ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:19:52.920Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-07T10:19:53.301Z] + make test [2022-10-07T10:19:53.301Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-07T10:19:55.244Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-07T10:21:31.999Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-07T10:21:31.999Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 21.8% of statements [2022-10-07T10:21:31.999Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-07T10:21:31.999Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-07T10:21:31.999Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T10:21:44.321Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T10:21:44.321Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T10:21:44.321Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T10:21:44.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T10:21:44.388Z] $ docker stop --time=1 bfc11ea2f95b32bda94e194369662bf8a7b842e7d3c081b9da01177e2d0df1ff [2022-10-07T10:21:46.116Z] $ docker rm -f bfc11ea2f95b32bda94e194369662bf8a7b842e7d3c081b9da01177e2d0df1ff [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T10:21:47.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T10:21:47.178Z] Warning: overwriting stash ‘coverage-report’ [2022-10-07T10:21:47.569Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T10:21:48.218Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T10:21:48.574Z] + ls -al . [2022-10-07T10:21:48.574Z] total 180 [2022-10-07T10:21:48.574Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 10:19 . [2022-10-07T10:21:48.574Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:17 .. [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 10:17 .dockerignore [2022-10-07T10:21:48.574Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 10:17 .git [2022-10-07T10:21:48.574Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:17 .github [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 7 10:17 .gitignore [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 10:17 .golangci.yml [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 7 10:17 Attribution.txt [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 7 10:17 CHANGELOG.md [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 7 10:17 Dockerfile [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 10:17 GOVERNANCE.md [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 7 10:17 Jenkinsfile [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 10:17 LICENSE [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 7 10:17 Makefile [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 10:17 OWNERS.md [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 7 10:17 README.md [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 10:15 VERSION [2022-10-07T10:21:48.574Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:17 bin [2022-10-07T10:21:48.574Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:17 cmd [2022-10-07T10:21:48.574Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 7 10:21 coverage.out [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 7 10:17 go.mod [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 7 10:17 go.sum [2022-10-07T10:21:48.574Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:17 internal [2022-10-07T10:21:48.574Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:17 mock [2022-10-07T10:21:48.574Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:17 snap [2022-10-07T10:21:48.574Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 7 10:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:21:49.008Z] + 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=c855e4505beb1c3beede59cebacc0914420eb1f9 --label arch=arm64 --label version=0.0.0 . [2022-10-07T10:21:49.279Z] Sending build context to Docker daemon 3.199MB [2022-10-07T10:21:49.279Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T10:21:49.279Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-07T10:21:49.279Z] ---> dedba1c4654c [2022-10-07T10:21:49.279Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-07T10:21:49.554Z] ---> Running in 65be1d85db76 [2022-10-07T10:21:49.825Z] Removing intermediate container 65be1d85db76 [2022-10-07T10:21:49.825Z] ---> 3eb64c530061 [2022-10-07T10:21:49.825Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T10:21:49.825Z] ---> Running in ebe9e8bbe74a [2022-10-07T10:21:50.093Z] Removing intermediate container ebe9e8bbe74a [2022-10-07T10:21:50.093Z] ---> a11f816b15a8 [2022-10-07T10:21:50.093Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T10:21:50.093Z] ---> Running in e095b355c8d7 [2022-10-07T10:21:50.367Z] Removing intermediate container e095b355c8d7 [2022-10-07T10:21:50.367Z] ---> 58b8bc4c7f2c [2022-10-07T10:21:50.367Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T10:21:50.637Z] ---> Running in ca01156433f0 [2022-10-07T10:21:50.905Z] Removing intermediate container ca01156433f0 [2022-10-07T10:21:50.905Z] ---> 51ffb3b7b026 [2022-10-07T10:21:50.905Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T10:21:50.905Z] ---> Running in e7fa303ff21e [2022-10-07T10:21:52.860Z] Removing intermediate container e7fa303ff21e [2022-10-07T10:21:52.860Z] ---> fa24827dd872 [2022-10-07T10:21:52.860Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T10:21:52.860Z] ---> Running in b0fc3811bd09 [2022-10-07T10:21:53.445Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T10:21:54.409Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T10:21:55.376Z] OK: 226 MiB in 55 packages [2022-10-07T10:21:56.348Z] Removing intermediate container b0fc3811bd09 [2022-10-07T10:21:56.349Z] ---> 83c15d2013c3 [2022-10-07T10:21:56.349Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-07T10:21:56.349Z] ---> Running in 05110a6ae147 [2022-10-07T10:21:56.617Z] Removing intermediate container 05110a6ae147 [2022-10-07T10:21:56.617Z] ---> 5891e7cfb452 [2022-10-07T10:21:56.617Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-07T10:21:56.888Z] ---> 51245bdab320 [2022-10-07T10:21:56.888Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T10:21:57.158Z] ---> Running in 38b646506702 [2022-10-07T10:21:59.755Z] Removing intermediate container 38b646506702 [2022-10-07T10:21:59.755Z] ---> 3a786d6a275e [2022-10-07T10:21:59.755Z] Step 12/25 : COPY . . [2022-10-07T10:22:00.348Z] ---> f2a41b62690c [2022-10-07T10:22:00.348Z] Step 13/25 : RUN $MAKE [2022-10-07T10:22:00.348Z] ---> Running in bd146a3c3a52 [2022-10-07T10:22:01.321Z] 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-07T10:24:53.125Z] Removing intermediate container bd146a3c3a52 [2022-10-07T10:24:53.125Z] ---> e0cc9e1ea71b [2022-10-07T10:24:53.125Z] Step 14/25 : FROM alpine:3.16 [2022-10-07T10:24:53.125Z] 3.16: Pulling from library/alpine [2022-10-07T10:24:53.125Z] 9b18e9b68314: Pulling fs layer [2022-10-07T10:24:53.125Z] 9b18e9b68314: Download complete [2022-10-07T10:24:53.125Z] 9b18e9b68314: Pull complete [2022-10-07T10:24:53.125Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T10:24:53.125Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T10:24:53.125Z] ---> a6215f271958 [2022-10-07T10:24:53.125Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-07T10:24:53.125Z] ---> Running in e92fd64822c6 [2022-10-07T10:24:53.125Z] Removing intermediate container e92fd64822c6 [2022-10-07T10:24:53.125Z] ---> 19625135560d [2022-10-07T10:24:53.125Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T10:24:53.125Z] ---> Running in 2464d72f256a [2022-10-07T10:24:53.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T10:24:53.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T10:24:53.125Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T10:24:53.125Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T10:24:53.125Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T10:24:53.125Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T10:24:53.125Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T10:24:53.125Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T10:24:53.125Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T10:24:53.125Z] OK: 8 MiB in 20 packages [2022-10-07T10:24:53.125Z] Removing intermediate container 2464d72f256a [2022-10-07T10:24:53.125Z] ---> 1ee37b753d7a [2022-10-07T10:24:53.125Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-07T10:24:53.125Z] ---> 6f5e8662b80a [2022-10-07T10:24:53.125Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-07T10:24:53.125Z] ---> 0470ec01bac7 [2022-10-07T10:24:53.125Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-07T10:24:53.125Z] ---> d7627afa33c1 [2022-10-07T10:24:53.125Z] Step 20/25 : EXPOSE 59982 [2022-10-07T10:24:53.125Z] ---> Running in 3a30b4618d63 [2022-10-07T10:24:53.125Z] Removing intermediate container 3a30b4618d63 [2022-10-07T10:24:53.125Z] ---> 6632294ffb6c [2022-10-07T10:24:53.125Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-07T10:24:53.125Z] ---> Running in 8ba7f9ad7712 [2022-10-07T10:24:53.125Z] Removing intermediate container 8ba7f9ad7712 [2022-10-07T10:24:53.125Z] ---> 93353b320525 [2022-10-07T10:24:53.125Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T10:24:53.125Z] ---> Running in d530c0ef2443 [2022-10-07T10:24:53.125Z] Removing intermediate container d530c0ef2443 [2022-10-07T10:24:53.125Z] ---> 48dfa3571a04 [2022-10-07T10:24:53.125Z] Step 23/25 : LABEL arch=arm64 [2022-10-07T10:24:53.125Z] ---> Running in 4e055a674f82 [2022-10-07T10:24:53.125Z] Removing intermediate container 4e055a674f82 [2022-10-07T10:24:53.125Z] ---> 96524cf91e0b [2022-10-07T10:24:53.125Z] Step 24/25 : LABEL git_sha=c855e4505beb1c3beede59cebacc0914420eb1f9 [2022-10-07T10:24:53.125Z] ---> Running in 856999cdd9b2 [2022-10-07T10:24:53.125Z] Removing intermediate container 856999cdd9b2 [2022-10-07T10:24:53.125Z] ---> 1971f8a52f71 [2022-10-07T10:24:53.125Z] Step 25/25 : LABEL version=0.0.0 [2022-10-07T10:24:53.125Z] ---> Running in 56dda52dacea [2022-10-07T10:24:53.125Z] Removing intermediate container 56dda52dacea [2022-10-07T10:24:53.125Z] ---> b4233dcac366 [2022-10-07T10:24:53.125Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T10:24:53.125Z] Successfully built b4233dcac366 [2022-10-07T10:24:53.125Z] 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-07T10:24:53.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T10:24:53.945Z] [2022-10-07T10:24:53.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:24:54.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T10:24:54.357Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-07T10:24:54.357Z] 8998bd30e6a1: Pulling fs layer [2022-10-07T10:24:54.357Z] 04944245beec: Pulling fs layer [2022-10-07T10:24:54.357Z] 699f458cf7ca: Pulling fs layer [2022-10-07T10:24:54.357Z] 765212b225bb: Pulling fs layer [2022-10-07T10:24:54.357Z] f23df028b6ca: Pulling fs layer [2022-10-07T10:24:54.357Z] d65c8cfc05b1: Pulling fs layer [2022-10-07T10:24:54.357Z] 2437ff75d9bd: Pulling fs layer [2022-10-07T10:24:54.357Z] f23df028b6ca: Waiting [2022-10-07T10:24:54.357Z] d65c8cfc05b1: Waiting [2022-10-07T10:24:54.357Z] 2437ff75d9bd: Waiting [2022-10-07T10:24:54.357Z] 765212b225bb: Waiting [2022-10-07T10:24:54.628Z] 04944245beec: Verifying Checksum [2022-10-07T10:24:54.628Z] 04944245beec: Download complete [2022-10-07T10:24:54.628Z] 765212b225bb: Download complete [2022-10-07T10:24:54.628Z] f23df028b6ca: Download complete [2022-10-07T10:24:54.628Z] d65c8cfc05b1: Verifying Checksum [2022-10-07T10:24:54.628Z] d65c8cfc05b1: Download complete [2022-10-07T10:24:54.895Z] 699f458cf7ca: Verifying Checksum [2022-10-07T10:24:54.895Z] 699f458cf7ca: Download complete [2022-10-07T10:24:55.164Z] 8998bd30e6a1: Verifying Checksum [2022-10-07T10:24:55.164Z] 8998bd30e6a1: Download complete [2022-10-07T10:24:57.751Z] 2437ff75d9bd: Verifying Checksum [2022-10-07T10:24:57.751Z] 2437ff75d9bd: Download complete [2022-10-07T10:24:59.160Z] 8998bd30e6a1: Pull complete [2022-10-07T10:24:59.427Z] 04944245beec: Pull complete [2022-10-07T10:25:00.835Z] 699f458cf7ca: Pull complete [2022-10-07T10:25:01.102Z] 765212b225bb: Pull complete [2022-10-07T10:25:01.689Z] f23df028b6ca: Pull complete [2022-10-07T10:25:01.958Z] d65c8cfc05b1: Pull complete [2022-10-07T10:25:16.953Z] 2437ff75d9bd: Pull complete [2022-10-07T10:25:16.953Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-07T10:25:16.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T10:25:16.953Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:25:17.276Z] prd-ubuntu20.04-docker-arm64-4c-16g-7318 does not seem to be running inside a container [2022-10-07T10:25:17.341Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-07T10:25:19.976Z] $ docker top 349704ec77a3c652b786f77966779fd3291acb19d745c36585c4700406cb09b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:25:20.884Z] ---> job-cost.sh [2022-10-07T10:25:20.885Z] lf-activate-venv: SKIPPING [2022-10-07T10:25:20.885Z] INFO: No Stack... [2022-10-07T10:25:21.149Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-07T10:25:22.108Z] INFO: Archiving Costs [Pipeline] sh [2022-10-07T10:25:22.765Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-10-07T10:25:22.765Z] + cut -d, -f6 [Pipeline] lock [2022-10-07T10:25:22.819Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] [2022-10-07T10:25:22.823Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] did not exist. Created. [2022-10-07T10:25:22.823Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-07T10:25:23.557Z] /w/workspace/device-mqtt-go/1@tmp/durable-c217ac22/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-07T10:25:23.905Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-07T10:25:23.945Z] Warning: overwriting stash ‘stack-cost’ [2022-10-07T10:25:23.987Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T10:25:24.001Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-420-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T10:25:24.072Z] $ docker stop --time=1 349704ec77a3c652b786f77966779fd3291acb19d745c36585c4700406cb09b9 [2022-10-07T10:25:25.574Z] $ docker rm -f 349704ec77a3c652b786f77966779fd3291acb19d745c36585c4700406cb09b9 [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-07T10:25:26.516Z] provisioning config files... [2022-10-07T10:25:26.523Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/config6803494319917500765tmp [Pipeline] { [Pipeline] sh [2022-10-07T10:25:26.857Z] + set +x [2022-10-07T10:25:26.857Z] + curl -s https://codecov.io/bash [2022-10-07T10:25:26.857Z] + bash -s -- [2022-10-07T10:25:26.857Z] [2022-10-07T10:25:26.857Z] _____ _ [2022-10-07T10:25:26.857Z] / ____| | | [2022-10-07T10:25:26.857Z] | | ___ __| | ___ ___ _____ __ [2022-10-07T10:25:26.857Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-07T10:25:26.857Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-07T10:25:26.857Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-07T10:25:26.857Z] Bash-1.0.6 [2022-10-07T10:25:26.857Z] [2022-10-07T10:25:26.857Z] [2022-10-07T10:25:26.857Z] ==> git version 2.25.1 found [2022-10-07T10:25:26.857Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-07T10:25:26.857Z] Release-Date: 2020-01-08 [2022-10-07T10:25:26.857Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-07T10:25:26.857Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-07T10:25:26.857Z] ==> Jenkins CI detected. [2022-10-07T10:25:26.858Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-420 [2022-10-07T10:25:26.858Z] project root: . [2022-10-07T10:25:26.858Z] --> token set from env [2022-10-07T10:25:26.858Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-07T10:25:26.858Z] ==> Running gcov in . (disable via -X gcov) [2022-10-07T10:25:26.858Z] ==> Python coveragepy not found [2022-10-07T10:25:26.858Z] ==> Searching for coverage reports in: [2022-10-07T10:25:26.858Z] + . [2022-10-07T10:25:26.858Z] -> Found 1 reports [2022-10-07T10:25:26.858Z] ==> Detecting git/mercurial file structure [2022-10-07T10:25:26.858Z] ==> Reading reports [2022-10-07T10:25:26.858Z] + ./coverage.out bytes=17887 [2022-10-07T10:25:26.858Z] ==> Appending adjustments [2022-10-07T10:25:26.858Z] https://docs.codecov.io/docs/fixing-reports [2022-10-07T10:25:27.116Z] + Found adjustments [2022-10-07T10:25:27.116Z] ==> Gzipping contents [2022-10-07T10:25:27.116Z] 4.0K /tmp/codecov.urM6Sy.gz [2022-10-07T10:25:27.116Z] ==> Uploading reports [2022-10-07T10:25:27.116Z] url: https://codecov.io [2022-10-07T10:25:27.116Z] query: branch=PR-420&commit=c855e4505beb1c3beede59cebacc0914420eb1f9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-420%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=420&job=&cmd_args= [2022-10-07T10:25:27.116Z] -> Pinging Codecov [2022-10-07T10:25:27.116Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-420&commit=c855e4505beb1c3beede59cebacc0914420eb1f9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-420%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=420&job=&cmd_args= [2022-10-07T10:25:27.375Z] -> Uploading to [2022-10-07T10:25:27.375Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-07/7D719EC7BBE17E464838252E33014C33/c855e4505beb1c3beede59cebacc0914420eb1f9/75640f27-9fbe-41e2-805d-77884e0a15b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T102527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6f80fb563b15d98694550b1bb012f66e7950f7cde2057eee1bf6f09462bf09b [2022-10-07T10:25:27.375Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T10:25:27.375Z] Dload Upload Total Spent Left Speed [2022-10-07T10:25:27.634Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 15242 --:--:-- --:--:-- --:--:-- 15242 [2022-10-07T10:25:27.634Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/c855e4505beb1c3beede59cebacc0914420eb1f9 [Pipeline] } [2022-10-07T10:25:27.664Z] 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-07T10:25:29.344Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives ] [2022-10-07T10:25:29.344Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives [2022-10-07T10:25:29.344Z] total 16 [2022-10-07T10:25:29.344Z] drwxr-xr-x 3 root root 4096 Oct 7 10:17 . [2022-10-07T10:25:29.344Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 10:17 .. [2022-10-07T10:25:29.344Z] drwxr-xr-x 2 root root 4096 Oct 7 10:17 cost [2022-10-07T10:25:29.344Z] -rw-r--r-- 1 root root 86 Oct 7 10:17 cost.csv [2022-10-07T10:25:29.344Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives [2022-10-07T10:25:29.344Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives [2022-10-07T10:25:29.344Z] total 16 [2022-10-07T10:25:29.344Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 10:17 . [2022-10-07T10:25:29.344Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 10:17 .. [2022-10-07T10:25:29.344Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 10:17 cost [2022-10-07T10:25:29.344Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 7 10:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:25:29.681Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:25:30.576Z] ---> package-listing.sh [2022-10-07T10:25:30.576Z] ++ facter osfamily [2022-10-07T10:25:30.576Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-07T10:25:30.837Z] + OS_FAMILY=debian [2022-10-07T10:25:30.837Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-420 [2022-10-07T10:25:30.837Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-07T10:25:30.837Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-07T10:25:30.837Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-07T10:25:30.837Z] + PACKAGES=/tmp/packages_start.txt [2022-10-07T10:25:30.837Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-420 ']' [2022-10-07T10:25:30.837Z] + PACKAGES=/tmp/packages_end.txt [2022-10-07T10:25:30.837Z] + case "${OS_FAMILY}" in [2022-10-07T10:25:30.837Z] + dpkg -l [2022-10-07T10:25:30.837Z] + grep '^ii' [2022-10-07T10:25:30.837Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-07T10:25:30.837Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-07T10:25:30.837Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-07T10:25:30.837Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-420 ']' [2022-10-07T10:25:30.837Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives/ [2022-10-07T10:25:30.838Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-420/archives/ [Pipeline] echo [2022-10-07T10:25:30.877Z] 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-420/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-07T10:25:31.168Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:25:31.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T10:25:31.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:25:31.922Z] prd-ubuntu20.04-docker-8c-8g-7316 does not seem to be running inside a container [2022-10-07T10:25:31.957Z] $ 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-420/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-420 -v /w/workspace/gexfoundry_device-mqtt-go_PR-420:/w/workspace/gexfoundry_device-mqtt-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-07T10:25:32.164Z] $ docker top 8f4f8e4daf677b99a94be87945697242152525bba2a56f6c48f72390ae12cf33 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:25:32.558Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-07T10:25:32.863Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-07T10:25:33.169Z] + ls /var/log/sa-host [2022-10-07T10:25:33.169Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T10:25:33.302Z] provisioning config files... [2022-10-07T10:25:33.310Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-420@tmp/config3692166362261481837tmp [Pipeline] { [Pipeline] echo [2022-10-07T10:25:33.361Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:25:33.671Z] ---> create-netrc.sh [Pipeline] } [2022-10-07T10:25:33.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:25:34.106Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-07T10:25:34.140Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:25:34.446Z] ---> sudo-logs.sh [2022-10-07T10:25:34.446Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-07T10:25:34.540Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:25:34.846Z] ---> job-cost.sh [2022-10-07T10:25:34.846Z] lf-activate-venv: SKIPPING [2022-10-07T10:25:34.846Z] DEBUG: total: 0.2199999988079071 [2022-10-07T10:25:34.846Z] INFO: Retrieving Stack Cost... [2022-10-07T10:25:35.413Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T10:25:35.673Z] INFO: Archiving Costs [Pipeline] echo [2022-10-07T10:25:35.708Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:25:36.017Z] ---> logs-deploy.sh [2022-10-07T10:25:36.017Z] lf-activate-venv: SKIPPING [2022-10-07T10:25:36.017Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-420/1 [2022-10-07T10:25:36.017Z] INFO: archiving workspace using pattern(s): [2022-10-07T10:25:36.951Z] Archives upload complete. [2022-10-07T10:25:37.210Z] INFO: archiving logs to Nexus