Pull request #427 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe+6b3f84b720025cbd9914345d3acb7d77e6659599 (17ea0e06e88adb10eb7f059f28e91dc272fc11a4) 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-ssh9086192656136446254.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13090820626924108582.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-427/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-427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14627510743779050946.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-427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3549202035960693405.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh10612288646597503293.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-427/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-427/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16013050958096030832.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 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8927 in /w/workspace/gexfoundry_device-mqtt-go_PR-427 [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-427 # 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/427/head:refs/remotes/origin/PR-427 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6b3f84b720025cbd9914345d3acb7d77e6659599 into PR head commit 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe Merge succeeded, producing 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe Checking out Revision 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe (PR-427) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T01:32:37.909Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T01:32:38.102Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T01:32:38.202Z] ========================================================= [2022-10-24T01:32:38.202Z] EdgeX Global Pipelines Version Info [2022-10-24T01:32:38.202Z] ========================================================= [Pipeline] libraryResource > git config core.sparsecheckout # timeout=10 > git checkout -f 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe # 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 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe # timeout=10 [Pipeline] sh [2022-10-24T01:32:38.949Z] ------------------- [2022-10-24T01:32:38.949Z] stable info: [2022-10-24T01:32:38.949Z] ------------------- [2022-10-24T01:32:38.949Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T01:32:38.949Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T01:32:38.949Z] Message: update stable to v1.0.243 [2022-10-24T01:32:39.516Z] ------------------- [2022-10-24T01:32:39.516Z] experimental info: [2022-10-24T01:32:39.516Z] ------------------- [2022-10-24T01:32:39.516Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T01:32:39.516Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T01:32:39.516Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T01:32:39.819Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-24T01:32:39.861Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-24T01:32:39.905Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T01:32:39.945Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T01:32:39.985Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T01:32:40.023Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T01:32:40.065Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T01:32:40.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T01:32:40.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T01:32:40.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T01:32:40.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T01:32:40.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-24T01:32:40.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T01:32:40.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T01:32:40.388Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T01:32:40.423Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T01:32:40.460Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T01:32:40.497Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T01:32:40.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T01:32:40.576Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T01:32:40.616Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-24T01:32:40.658Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-24T01:32:40.704Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T01:32:40.747Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T01:32:40.787Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T01:32:40.830Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T01:32:40.871Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T01:32:40.914Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-427 [Pipeline] echo [2022-10-24T01:32:40.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-427 [Pipeline] echo [2022-10-24T01:32:41.001Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-427 [Pipeline] echo [2022-10-24T01:32:41.043Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [Pipeline] echo [2022-10-24T01:32:41.088Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f7b4fd [Pipeline] echo [2022-10-24T01:32:41.129Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T01:32:41.239Z] provisioning config files... [2022-10-24T01:32:41.263Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/config14409205215393753041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:32:41.604Z] ---> docker-login.sh [2022-10-24T01:32:41.604Z] nexus3.edgexfoundry.org:10001 [2022-10-24T01:32:41.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:32:41.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:32:41.868Z] Configure a credential helper to remove this warning. See [2022-10-24T01:32:41.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:32:41.868Z] [2022-10-24T01:32:41.868Z] Login Succeeded [2022-10-24T01:32:41.868Z] nexus3.edgexfoundry.org:10002 [2022-10-24T01:32:41.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:32:42.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:32:42.130Z] Configure a credential helper to remove this warning. See [2022-10-24T01:32:42.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:32:42.130Z] [2022-10-24T01:32:42.130Z] Login Succeeded [2022-10-24T01:32:42.130Z] nexus3.edgexfoundry.org:10003 [2022-10-24T01:32:42.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:32:42.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:32:42.130Z] Configure a credential helper to remove this warning. See [2022-10-24T01:32:42.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:32:42.130Z] [2022-10-24T01:32:42.130Z] Login Succeeded [2022-10-24T01:32:42.130Z] nexus3.edgexfoundry.org:10004 [2022-10-24T01:32:42.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:32:42.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:32:42.130Z] Configure a credential helper to remove this warning. See [2022-10-24T01:32:42.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:32:42.130Z] [2022-10-24T01:32:42.130Z] Login Succeeded [2022-10-24T01:32:42.391Z] docker.io [2022-10-24T01:32:42.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:32:42.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:32:42.653Z] Configure a credential helper to remove this warning. See [2022-10-24T01:32:42.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:32:42.653Z] [2022-10-24T01:32:42.653Z] Login Succeeded [2022-10-24T01:32:42.653Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T01:32:42.685Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T01:32:43.329Z] + git rev-list -1 --merges 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe~1..3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [Pipeline] echo [2022-10-24T01:32:43.374Z] -----------> git rev-list -1 --merges 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe~1..3f7b4fdd431f9c83e0014847f172b7a9acbb09fe 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [false] [Pipeline] sh [2022-10-24T01:32:43.695Z] + git log --format=format:%s -1 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [Pipeline] echo [2022-10-24T01:32:43.730Z] ========================================================= [2022-10-24T01:32:43.730Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T01:32:43.730Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T01:32:44.158Z] + git log --format=format:%s -1 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [Pipeline] echo [2022-10-24T01:32:44.191Z] [semverPrep] GIT_COMMIT: 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-24T01:32:44.218Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T01:32:44.585Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T01:32:44.585Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T01:32:44.585Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T01:32:44.585Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T01:32:44.585Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T01:32:44.585Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T01:32:44.585Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:32:44.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T01:32:44.998Z] [2022-10-24T01:32:44.998Z] 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-24T01:32:45.379Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T01:32:45.379Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T01:32:45.379Z] b85a868b505f: Pulling fs layer [2022-10-24T01:32:45.379Z] e2be974225ed: Pulling fs layer [2022-10-24T01:32:45.379Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T01:32:45.379Z] 988bab9f4d93: Pulling fs layer [2022-10-24T01:32:45.379Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T01:32:45.379Z] eaf3925da568: Pulling fs layer [2022-10-24T01:32:45.379Z] bab4dde63d76: Pulling fs layer [2022-10-24T01:32:45.379Z] bde34c3a00c8: Pulling fs layer [2022-10-24T01:32:45.379Z] b352a97aabf1: Pulling fs layer [2022-10-24T01:32:45.379Z] 4872d77fe225: Pulling fs layer [2022-10-24T01:32:45.379Z] 5851b861e8e6: Pulling fs layer [2022-10-24T01:32:45.379Z] 1469e6f7b9e6: Waiting [2022-10-24T01:32:45.379Z] eaf3925da568: Waiting [2022-10-24T01:32:45.379Z] 5851b861e8e6: Waiting [2022-10-24T01:32:45.379Z] bab4dde63d76: Waiting [2022-10-24T01:32:45.379Z] bde34c3a00c8: Waiting [2022-10-24T01:32:45.379Z] b352a97aabf1: Waiting [2022-10-24T01:32:45.379Z] 988bab9f4d93: Waiting [2022-10-24T01:32:45.379Z] 4872d77fe225: Waiting [2022-10-24T01:32:45.379Z] e2be974225ed: Download complete [2022-10-24T01:32:45.379Z] 988bab9f4d93: Download complete [2022-10-24T01:32:45.640Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T01:32:45.640Z] 1469e6f7b9e6: Download complete [2022-10-24T01:32:45.640Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T01:32:45.641Z] 339a4e72a1f5: Download complete [2022-10-24T01:32:45.641Z] eaf3925da568: Download complete [2022-10-24T01:32:45.641Z] bde34c3a00c8: Download complete [2022-10-24T01:32:45.641Z] b352a97aabf1: Verifying Checksum [2022-10-24T01:32:45.641Z] b352a97aabf1: Download complete [2022-10-24T01:32:45.641Z] 4872d77fe225: Download complete [2022-10-24T01:32:45.641Z] 5851b861e8e6: Verifying Checksum [2022-10-24T01:32:45.641Z] 5851b861e8e6: Download complete [2022-10-24T01:32:45.641Z] b85a868b505f: Verifying Checksum [2022-10-24T01:32:45.641Z] b85a868b505f: Download complete [2022-10-24T01:32:45.900Z] bab4dde63d76: Verifying Checksum [2022-10-24T01:32:45.900Z] bab4dde63d76: Download complete [2022-10-24T01:32:46.840Z] b85a868b505f: Pull complete [2022-10-24T01:32:47.100Z] e2be974225ed: Pull complete [2022-10-24T01:32:47.668Z] 339a4e72a1f5: Pull complete [2022-10-24T01:32:47.668Z] 988bab9f4d93: Pull complete [2022-10-24T01:32:47.928Z] 1469e6f7b9e6: Pull complete [2022-10-24T01:32:47.928Z] eaf3925da568: Pull complete [2022-10-24T01:32:49.831Z] bab4dde63d76: Pull complete [2022-10-24T01:32:49.831Z] bde34c3a00c8: Pull complete [2022-10-24T01:32:49.831Z] b352a97aabf1: Pull complete [2022-10-24T01:32:50.090Z] 4872d77fe225: Pull complete [2022-10-24T01:32:50.090Z] 5851b861e8e6: Pull complete [2022-10-24T01:32:50.090Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T01:32:50.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T01:32:50.090Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:32:50.314Z] prd-ubuntu20.04-docker-8c-8g-8927 does not seem to be running inside a container [2022-10-24T01:32:50.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-427 -v /w/workspace/gexfoundry_device-mqtt-go_PR-427:/w/workspace/gexfoundry_device-mqtt-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-24T01:32:51.595Z] $ docker top 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 -eo pid,comm [2022-10-24T01:32:51.659Z] 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-24T01:32:51.659Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T01:32:51.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T01:32:51.785Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T01:32:51.905Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T01:32:51.906Z] $ docker exec 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 ssh-agent [2022-10-24T01:32:52.021Z] SSH_AUTH_SOCK=/tmp/ssh-lJaoWPRMQLdm/agent.32 [2022-10-24T01:32:52.021Z] SSH_AGENT_PID=38 [2022-10-24T01:32:52.028Z] Running ssh-add (command line suppressed) [2022-10-24T01:32:52.143Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/private_key_15625097507348864422.key (/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/private_key_15625097507348864422.key) [2022-10-24T01:32:52.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T01:32:52.489Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T01:32:52.512Z] $ docker exec --env ******** --env ******** 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 ssh-agent -k [2022-10-24T01:32:52.624Z] unset SSH_AUTH_SOCK; [2022-10-24T01:32:52.625Z] unset SSH_AGENT_PID; [2022-10-24T01:32:52.625Z] echo Agent pid 38 killed; [2022-10-24T01:32:52.637Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T01:32:52.736Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T01:32:52.736Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T01:32:52.863Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T01:32:52.864Z] $ docker exec 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 ssh-agent [2022-10-24T01:32:52.971Z] SSH_AUTH_SOCK=/tmp/ssh-LWo13aEuEet5/agent.70 [2022-10-24T01:32:52.971Z] SSH_AGENT_PID=76 [2022-10-24T01:32:52.975Z] Running ssh-add (command line suppressed) [2022-10-24T01:32:53.095Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/private_key_3430347990697631199.key (/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/private_key_3430347990697631199.key) [2022-10-24T01:32:53.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T01:32:53.455Z] + git semver init [2022-10-24T01:32:53.715Z] 2022-10-24 01:32:53,646 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T01:32:53.715Z] 2022-10-24 01:32:53,647 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver [2022-10-24T01:32:53.715Z] 2022-10-24 01:32:53,648 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver [2022-10-24T01:32:53.715Z] 2022-10-24 01:32:53,648 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-427, universal_newlines=False, shell=None, istream=None) [2022-10-24T01:32:55.096Z] 2022-10-24 01:32:54,937 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-427/.git/info/exclude [2022-10-24T01:32:55.096Z] 2022-10-24 01:32:54,937 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver/PR-427 with force:False [2022-10-24T01:32:55.096Z] 2022-10-24 01:32:54,938 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver/PR-427 [2022-10-24T01:32:55.096Z] 2022-10-24 01:32:54,942 [execute] INFO git cat-file --batch-check [2022-10-24T01:32:55.096Z] 2022-10-24 01:32:54,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T01:32:55.096Z] 2022-10-24 01:32:54,950 [execute] INFO git cat-file --batch [2022-10-24T01:32:55.096Z] 2022-10-24 01:32:54,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T01:32:55.096Z] 2022-10-24 01:32:54,957 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-427/.semver/PR-427 [2022-10-24T01:32:55.096Z] 0.0.0 [Pipeline] } [2022-10-24T01:32:55.123Z] $ docker exec --env ******** --env ******** 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 ssh-agent -k [2022-10-24T01:32:55.225Z] unset SSH_AUTH_SOCK; [2022-10-24T01:32:55.226Z] unset SSH_AGENT_PID; [2022-10-24T01:32:55.226Z] echo Agent pid 76 killed; [2022-10-24T01:32:55.237Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T01:32:55.652Z] + git semver [Pipeline] } [2022-10-24T01:32:55.929Z] $ docker stop --time=1 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 [2022-10-24T01:32:57.268Z] $ docker rm -f 179223ad0687ce936ff398bb35f97dbdd1aa4950814dd36eb776c277c7a9bae4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T01:32:57.672Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T01:32:57.909Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T01:32:57.926Z] [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-24T01:32:58.553Z] provisioning config files... [2022-10-24T01:32:58.563Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/config13150759751033856073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:32:58.907Z] ---> docker-login.sh [2022-10-24T01:32:58.907Z] nexus3.edgexfoundry.org:10001 [2022-10-24T01:32:58.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:32:58.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:32:58.907Z] Configure a credential helper to remove this warning. See [2022-10-24T01:32:58.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:32:58.907Z] [2022-10-24T01:32:58.907Z] Login Succeeded [2022-10-24T01:32:58.907Z] nexus3.edgexfoundry.org:10002 [2022-10-24T01:32:58.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:32:58.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:32:58.907Z] Configure a credential helper to remove this warning. See [2022-10-24T01:32:58.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:32:58.907Z] [2022-10-24T01:32:58.907Z] Login Succeeded [2022-10-24T01:32:58.907Z] nexus3.edgexfoundry.org:10003 [2022-10-24T01:32:59.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:32:59.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:32:59.168Z] Configure a credential helper to remove this warning. See [2022-10-24T01:32:59.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:32:59.168Z] [2022-10-24T01:32:59.168Z] Login Succeeded [2022-10-24T01:32:59.168Z] nexus3.edgexfoundry.org:10004 [2022-10-24T01:32:59.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:32:59.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:32:59.168Z] Configure a credential helper to remove this warning. See [2022-10-24T01:32:59.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:32:59.168Z] [2022-10-24T01:32:59.168Z] Login Succeeded [2022-10-24T01:32:59.168Z] docker.io [2022-10-24T01:32:59.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:32:59.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:32:59.687Z] Configure a credential helper to remove this warning. See [2022-10-24T01:32:59.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:32:59.687Z] [2022-10-24T01:32:59.687Z] Login Succeeded [2022-10-24T01:32:59.687Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T01:32:59.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T01:32:59.922Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:32:59.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:33:00.003Z] ========================================================= [2022-10-24T01:33:00.003Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T01:33:00.003Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:33:00.467Z] + 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-24T01:33:00.468Z] Sending build context to Docker daemon 6.195MB [2022-10-24T01:33:00.468Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:33:00.468Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-24T01:33:00.468Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T01:33:00.468Z] 213ec9aee27d: Pulling fs layer [2022-10-24T01:33:00.468Z] 4583459ba037: Pulling fs layer [2022-10-24T01:33:00.468Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T01:33:00.468Z] 53926ce57604: Pulling fs layer [2022-10-24T01:33:00.468Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T01:33:00.468Z] 30f14e443154: Pulling fs layer [2022-10-24T01:33:00.468Z] 801331c1e519: Pulling fs layer [2022-10-24T01:33:00.468Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T01:33:00.468Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T01:33:00.468Z] 99cc6dd402b0: Waiting [2022-10-24T01:33:00.468Z] 7d9ed39f4882: Waiting [2022-10-24T01:33:00.468Z] 30f14e443154: Waiting [2022-10-24T01:33:00.468Z] 801331c1e519: Waiting [2022-10-24T01:33:00.468Z] 53926ce57604: Waiting [2022-10-24T01:33:00.468Z] 21b2b0c7a3f4: Waiting [2022-10-24T01:33:00.468Z] 93c1e223e6f2: Download complete [2022-10-24T01:33:00.468Z] 4583459ba037: Verifying Checksum [2022-10-24T01:33:00.468Z] 4583459ba037: Download complete [2022-10-24T01:33:00.468Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-24T01:33:00.468Z] 21b2b0c7a3f4: Download complete [2022-10-24T01:33:00.727Z] 30f14e443154: Download complete [2022-10-24T01:33:00.727Z] 213ec9aee27d: Verifying Checksum [2022-10-24T01:33:00.727Z] 213ec9aee27d: Download complete [2022-10-24T01:33:00.727Z] 801331c1e519: Download complete [2022-10-24T01:33:00.727Z] 213ec9aee27d: Pull complete [2022-10-24T01:33:00.995Z] 4583459ba037: Pull complete [2022-10-24T01:33:00.995Z] 93c1e223e6f2: Pull complete [2022-10-24T01:33:01.256Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T01:33:01.256Z] 7d9ed39f4882: Download complete [2022-10-24T01:33:01.256Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T01:33:01.256Z] 99cc6dd402b0: Download complete [2022-10-24T01:33:01.516Z] 53926ce57604: Verifying Checksum [2022-10-24T01:33:01.516Z] 53926ce57604: Download complete [2022-10-24T01:33:05.708Z] 53926ce57604: Pull complete [2022-10-24T01:33:05.708Z] 21b2b0c7a3f4: Pull complete [2022-10-24T01:33:05.708Z] 30f14e443154: Pull complete [2022-10-24T01:33:05.708Z] 801331c1e519: Pull complete [2022-10-24T01:33:07.608Z] 99cc6dd402b0: Pull complete [2022-10-24T01:33:08.177Z] 7d9ed39f4882: Pull complete [2022-10-24T01:33:08.177Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T01:33:08.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T01:33:08.177Z] ---> 1dedd983c030 [2022-10-24T01:33:08.177Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:33:09.555Z] ---> Running in 98b3cd6b67bf [2022-10-24T01:33:09.814Z] Removing intermediate container 98b3cd6b67bf [2022-10-24T01:33:09.814Z] ---> d7f4d00a8e54 [2022-10-24T01:33:09.814Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:33:09.814Z] ---> Running in ba7c47a67e6d [2022-10-24T01:33:09.814Z] Removing intermediate container ba7c47a67e6d [2022-10-24T01:33:09.814Z] ---> 67135c5dca26 [2022-10-24T01:33:09.814Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:33:09.814Z] ---> Running in 1bd47015d8dd [2022-10-24T01:33:10.074Z] Removing intermediate container 1bd47015d8dd [2022-10-24T01:33:10.074Z] ---> 5722de87f0db [2022-10-24T01:33:10.074Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:33:10.074Z] ---> Running in ce7aa8aabd16 [2022-10-24T01:33:10.074Z] Removing intermediate container ce7aa8aabd16 [2022-10-24T01:33:10.074Z] ---> cdc467263294 [2022-10-24T01:33:10.074Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:33:10.074Z] ---> Running in b7d6665171bf [2022-10-24T01:33:10.644Z] Removing intermediate container b7d6665171bf [2022-10-24T01:33:10.644Z] ---> 00c5f550485b [2022-10-24T01:33:10.644Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:33:10.644Z] ---> Running in ed174053cf29 [2022-10-24T01:33:10.904Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T01:33:11.846Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T01:33:12.105Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T01:33:12.105Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-24T01:33:12.364Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T01:33:12.364Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T01:33:12.632Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:33:12.632Z] OK: 216 MiB in 55 packages [2022-10-24T01:33:12.891Z] Removing intermediate container ed174053cf29 [2022-10-24T01:33:12.891Z] ---> 20911c27eb23 [2022-10-24T01:33:12.891Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-24T01:33:12.891Z] ---> Running in aed8735874e5 [2022-10-24T01:33:12.891Z] Removing intermediate container aed8735874e5 [2022-10-24T01:33:12.891Z] ---> aafe70440163 [2022-10-24T01:33:12.891Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-24T01:33:13.149Z] ---> 3cb19c79a079 [2022-10-24T01:33:13.149Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:33:13.149Z] ---> Running in 3b2f9e881ab4 [2022-10-24T01:33:13.376Z] Still waiting to schedule task [2022-10-24T01:33:13.376Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-24T01:33:28.029Z] Removing intermediate container 3b2f9e881ab4 [2022-10-24T01:33:28.029Z] ---> 4e25fe9ceb8f [2022-10-24T01:33:28.029Z] Step 12/13 : COPY . . [2022-10-24T01:33:28.029Z] ---> 3ae6889c242e [2022-10-24T01:33:28.029Z] Step 13/13 : RUN $MAKE [2022-10-24T01:33:28.029Z] ---> Running in ca20d1109648 [2022-10-24T01:33:28.287Z] noop [2022-10-24T01:33:28.544Z] Removing intermediate container ca20d1109648 [2022-10-24T01:33:28.544Z] ---> bcc5036a54bd [2022-10-24T01:33:28.544Z] Successfully built bcc5036a54bd [2022-10-24T01:33:28.544Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:33:28.987Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T01:33:28.987Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:33:29.133Z] prd-ubuntu20.04-docker-8c-8g-8927 does not seem to be running inside a container [2022-10-24T01:33:29.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-427 -v /w/workspace/gexfoundry_device-mqtt-go_PR-427:/w/workspace/gexfoundry_device-mqtt-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T01:33:29.505Z] $ docker top 482b9e331f258b59dd97d5dd8bb3913973225fcf27d054fb567299cd3ac124c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:33:29.907Z] + go version [2022-10-24T01:33:29.907Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T01:33:29.940Z] $ docker stop --time=1 482b9e331f258b59dd97d5dd8bb3913973225fcf27d054fb567299cd3ac124c1 [2022-10-24T01:33:31.251Z] $ docker rm -f 482b9e331f258b59dd97d5dd8bb3913973225fcf27d054fb567299cd3ac124c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:33:31.984Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T01:33:31.984Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:33:32.132Z] prd-ubuntu20.04-docker-8c-8g-8927 does not seem to be running inside a container [2022-10-24T01:33:32.161Z] $ 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-427 -v /w/workspace/gexfoundry_device-mqtt-go_PR-427:/w/workspace/gexfoundry_device-mqtt-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T01:33:32.509Z] $ docker top 9f1da9bf06686c469d9fa851e747f6d63f2c702b2645c208b3bd6ee3e3cee8ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:33:32.900Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-427 [Pipeline] fileExists [Pipeline] sh [2022-10-24T01:33:33.276Z] + make test [2022-10-24T01:33:33.276Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T01:33:33.843Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-24T01:33:43.815Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-24T01:33:44.075Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements [2022-10-24T01:33:44.075Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-24T01:33:52.197Z] 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-24T01:33:52.197Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T01:33:54.744Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T01:33:54.744Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T01:33:55.002Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T01:33:55.047Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T01:33:55.076Z] $ docker stop --time=1 9f1da9bf06686c469d9fa851e747f6d63f2c702b2645c208b3bd6ee3e3cee8ff [2022-10-24T01:33:56.733Z] $ docker rm -f 9f1da9bf06686c469d9fa851e747f6d63f2c702b2645c208b3bd6ee3e3cee8ff [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T01:33:57.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T01:33:57.369Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T01:33:57.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T01:33:58.285Z] + ls -al . [2022-10-24T01:33:58.285Z] total 184 [2022-10-24T01:33:58.285Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 01:33 . [2022-10-24T01:33:58.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:32 .. [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 01:32 .dockerignore [2022-10-24T01:33:58.285Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:33 .git [2022-10-24T01:33:58.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:32 .github [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 01:32 .gitignore [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:32 .golangci.yml [2022-10-24T01:33:58.285Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:32 .semver [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 01:32 Attribution.txt [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 01:32 CHANGELOG.md [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 01:32 Dockerfile [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:32 GOVERNANCE.md [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 01:32 Jenkinsfile [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:32 LICENSE [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 01:32 Makefile [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 01:32 OWNERS.md [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 01:32 README.md [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:32 VERSION [2022-10-24T01:33:58.285Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:32 bin [2022-10-24T01:33:58.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:32 cmd [2022-10-24T01:33:58.285Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 01:33 coverage.out [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 01:32 go.mod [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 24 01:32 go.sum [2022-10-24T01:33:58.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:32 internal [2022-10-24T01:33:58.285Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:32 mock [2022-10-24T01:33:58.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:32 snap [2022-10-24T01:33:58.285Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 01:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:33:58.678Z] + 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=3f7b4fdd431f9c83e0014847f172b7a9acbb09fe --label arch=amd64 --label version=0.0.0 . [2022-10-24T01:33:58.678Z] Sending build context to Docker daemon 6.214MB [2022-10-24T01:33:58.678Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:33:58.678Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T01:33:58.678Z] ---> bcc5036a54bd [2022-10-24T01:33:58.678Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:33:58.678Z] ---> Running in 61549aa8c974 [2022-10-24T01:33:58.937Z] Removing intermediate container 61549aa8c974 [2022-10-24T01:33:58.937Z] ---> 115db61b40ab [2022-10-24T01:33:58.937Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:33:58.937Z] ---> Running in 13e0b3d46b6d [2022-10-24T01:33:58.937Z] Removing intermediate container 13e0b3d46b6d [2022-10-24T01:33:58.937Z] ---> 5dd8d960594f [2022-10-24T01:33:58.937Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:33:58.937Z] ---> Running in 7dd146453501 [2022-10-24T01:33:59.196Z] Removing intermediate container 7dd146453501 [2022-10-24T01:33:59.196Z] ---> 87f94369641c [2022-10-24T01:33:59.196Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:33:59.196Z] ---> Running in 341512eca30f [2022-10-24T01:33:59.196Z] Removing intermediate container 341512eca30f [2022-10-24T01:33:59.196Z] ---> 01224a1178fd [2022-10-24T01:33:59.196Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:33:59.196Z] ---> Running in dd0b9393b6f0 [2022-10-24T01:33:59.762Z] Removing intermediate container dd0b9393b6f0 [2022-10-24T01:33:59.762Z] ---> 698914d14345 [2022-10-24T01:33:59.762Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:33:59.762Z] ---> Running in fd06f6ec6cd2 [2022-10-24T01:34:00.020Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T01:34:00.960Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T01:34:01.218Z] OK: 216 MiB in 55 packages [2022-10-24T01:34:01.787Z] Removing intermediate container fd06f6ec6cd2 [2022-10-24T01:34:01.787Z] ---> 3e1145e8e940 [2022-10-24T01:34:01.787Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-24T01:34:01.787Z] ---> Running in 656c664e648f [2022-10-24T01:34:01.787Z] Removing intermediate container 656c664e648f [2022-10-24T01:34:01.787Z] ---> 113846dc589e [2022-10-24T01:34:01.787Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-24T01:34:02.045Z] ---> a360dd012fed [2022-10-24T01:34:02.045Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:34:02.045Z] ---> Running in bd3be313645b [2022-10-24T01:34:02.611Z] Removing intermediate container bd3be313645b [2022-10-24T01:34:02.611Z] ---> 1734785e8be7 [2022-10-24T01:34:02.611Z] Step 12/25 : COPY . . [2022-10-24T01:34:02.869Z] ---> 14290ede88e2 [2022-10-24T01:34:02.869Z] Step 13/25 : RUN $MAKE [2022-10-24T01:34:02.869Z] ---> Running in 1a54557b8298 [2022-10-24T01:34:03.127Z] 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-24T01:34:25.050Z] Removing intermediate container 1a54557b8298 [2022-10-24T01:34:25.050Z] ---> 7b7c969a0f0f [2022-10-24T01:34:25.050Z] Step 14/25 : FROM alpine:3.16 [2022-10-24T01:34:25.050Z] 3.16: Pulling from library/alpine [2022-10-24T01:34:25.050Z] 213ec9aee27d: Already exists [2022-10-24T01:34:25.050Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T01:34:25.050Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T01:34:25.050Z] ---> 9c6f07244728 [2022-10-24T01:34:25.050Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-24T01:34:25.050Z] ---> Running in cc78d8c22093 [2022-10-24T01:34:25.050Z] Removing intermediate container cc78d8c22093 [2022-10-24T01:34:25.050Z] ---> 31e8b86b58b5 [2022-10-24T01:34:25.050Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T01:34:25.050Z] ---> Running in cc76de0bce20 [2022-10-24T01:34:25.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T01:34:25.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T01:34:25.309Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T01:34:25.309Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T01:34:25.309Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T01:34:25.309Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T01:34:25.309Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T01:34:25.309Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T01:34:25.309Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:34:25.309Z] OK: 8 MiB in 20 packages [2022-10-24T01:34:25.877Z] Removing intermediate container cc76de0bce20 [2022-10-24T01:34:25.877Z] ---> 9866db917241 [2022-10-24T01:34:25.877Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-24T01:34:26.444Z] ---> 43cca5bac2a2 [2022-10-24T01:34:26.444Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-24T01:34:26.444Z] ---> cf5cd85d1395 [2022-10-24T01:34:26.444Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-24T01:34:26.711Z] ---> 215a365395e3 [2022-10-24T01:34:26.711Z] Step 20/25 : EXPOSE 59982 [2022-10-24T01:34:26.711Z] ---> Running in cdbc24045b0d [2022-10-24T01:34:26.711Z] Removing intermediate container cdbc24045b0d [2022-10-24T01:34:26.711Z] ---> e3dcfba22013 [2022-10-24T01:34:26.711Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-24T01:34:26.711Z] ---> Running in a7e5a1ef32b3 [2022-10-24T01:34:26.968Z] Removing intermediate container a7e5a1ef32b3 [2022-10-24T01:34:26.968Z] ---> a836eb99c5a9 [2022-10-24T01:34:26.968Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T01:34:26.968Z] ---> Running in 2e0cf0f17cbd [2022-10-24T01:34:26.968Z] Removing intermediate container 2e0cf0f17cbd [2022-10-24T01:34:26.968Z] ---> b108e4d17c7e [2022-10-24T01:34:26.968Z] Step 23/25 : LABEL arch=amd64 [2022-10-24T01:34:26.968Z] ---> Running in 3c539c8a23a9 [2022-10-24T01:34:27.227Z] Removing intermediate container 3c539c8a23a9 [2022-10-24T01:34:27.227Z] ---> 948549276dd9 [2022-10-24T01:34:27.227Z] Step 24/25 : LABEL git_sha=3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [2022-10-24T01:34:27.227Z] ---> Running in 5f019362902a [2022-10-24T01:34:27.227Z] Removing intermediate container 5f019362902a [2022-10-24T01:34:27.227Z] ---> e1b8704b5ca4 [2022-10-24T01:34:27.227Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T01:34:27.227Z] ---> Running in 03e34bbfb2cc [2022-10-24T01:34:27.485Z] Removing intermediate container 03e34bbfb2cc [2022-10-24T01:34:27.485Z] ---> 4564f112738f [2022-10-24T01:34:27.485Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T01:34:27.485Z] Successfully built 4564f112738f [2022-10-24T01:34:27.485Z] 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-24T01:34:28.316Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:34:28.316Z] [2022-10-24T01:34:28.316Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:34:28.695Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:34:28.696Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T01:34:28.696Z] 5eb5b503b376: Pulling fs layer [2022-10-24T01:34:28.696Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T01:34:28.696Z] ec43610c2a17: Pulling fs layer [2022-10-24T01:34:28.696Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T01:34:28.696Z] 33b1e0a273af: Pulling fs layer [2022-10-24T01:34:28.696Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T01:34:28.696Z] 3a2ae6a8a46f: Waiting [2022-10-24T01:34:28.696Z] 33b1e0a273af: Waiting [2022-10-24T01:34:28.696Z] 2f39f015ded8: Pulling fs layer [2022-10-24T01:34:28.696Z] 2f39f015ded8: Waiting [2022-10-24T01:34:28.696Z] 5c69ac0246d0: Download complete [2022-10-24T01:34:28.696Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-24T01:34:28.696Z] 3a2ae6a8a46f: Download complete [2022-10-24T01:34:28.696Z] 33b1e0a273af: Verifying Checksum [2022-10-24T01:34:28.696Z] 33b1e0a273af: Download complete [2022-10-24T01:34:28.696Z] 5d3b04190fa2: Verifying Checksum [2022-10-24T01:34:28.696Z] 5d3b04190fa2: Download complete [2022-10-24T01:34:28.963Z] ec43610c2a17: Download complete [2022-10-24T01:34:28.963Z] 5eb5b503b376: Verifying Checksum [2022-10-24T01:34:28.963Z] 5eb5b503b376: Download complete [2022-10-24T01:34:30.330Z] 5eb5b503b376: Pull complete [2022-10-24T01:34:30.330Z] 5c69ac0246d0: Pull complete [2022-10-24T01:34:30.895Z] ec43610c2a17: Pull complete [2022-10-24T01:34:30.895Z] 3a2ae6a8a46f: Pull complete [2022-10-24T01:34:31.152Z] 33b1e0a273af: Pull complete [2022-10-24T01:34:31.152Z] 5d3b04190fa2: Pull complete [2022-10-24T01:34:37.730Z] 2f39f015ded8: Pull complete [2022-10-24T01:34:37.730Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T01:34:37.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:34:37.730Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:34:37.947Z] prd-ubuntu20.04-docker-8c-8g-8927 does not seem to be running inside a container [2022-10-24T01:34:37.973Z] $ 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-427 -v /w/workspace/gexfoundry_device-mqtt-go_PR-427:/w/workspace/gexfoundry_device-mqtt-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T01:34:39.568Z] $ docker top ef146f30a706873f907873fa0c3762c9826f3ddae2980d1bc68b34ae98a87fc6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:34:40.010Z] ---> job-cost.sh [2022-10-24T01:34:40.010Z] lf-activate-venv: SKIPPING [2022-10-24T01:34:40.010Z] INFO: No Stack... [2022-10-24T01:34:40.269Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T01:34:40.529Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T01:34:40.843Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives/cost.csv [2022-10-24T01:34:40.843Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T01:34:40.887Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] [2022-10-24T01:34:40.893Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] did not exist. Created. [2022-10-24T01:34:40.893Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T01:34:41.287Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T01:34:41.336Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T01:34:41.365Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T01:34:41.437Z] $ docker stop --time=1 ef146f30a706873f907873fa0c3762c9826f3ddae2980d1bc68b34ae98a87fc6 [2022-10-24T01:34:42.591Z] $ docker rm -f ef146f30a706873f907873fa0c3762c9826f3ddae2980d1bc68b34ae98a87fc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T01:36:02.010Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8929 in /w/workspace/gexfoundry_device-mqtt-go_PR-427 [Pipeline] { [Pipeline] ws [2022-10-24T01:36:02.066Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-10-24T01:36:02.153Z] Selected Git installation does not exist. Using Default [2022-10-24T01:36:02.153Z] The recommended git tool is: NONE [2022-10-24T01:36:09.041Z] using credential edgex-jenkins-ssh [2022-10-24T01:36:09.063Z] Cloning the remote Git repository [2022-10-24T01:36:09.115Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-24T01:36:09.203Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-10-24T01:36:09.376Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-24T01:36:09.377Z] > git --version # timeout=10 [2022-10-24T01:36:09.410Z] > git --version # 'git version 2.25.1' [2022-10-24T01:36:09.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T01:36:09.469Z] Verifying host key using known hosts file [2022-10-24T01:36:09.727Z] 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-24T01:36:09.745Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T01:36:11.017Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-24T01:36:11.038Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T01:36:12.150Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-24T01:36:12.204Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-24T01:36:12.206Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T01:36:12.213Z] Verifying host key using known hosts file [2022-10-24T01:36:12.222Z] 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-24T01:36:12.240Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/427/head:refs/remotes/origin/PR-427 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T01:36:12.813Z] Merging remotes/origin/main commit 6b3f84b720025cbd9914345d3acb7d77e6659599 into PR head commit 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [2022-10-24T01:36:13.099Z] Merge succeeded, producing 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [2022-10-24T01:36:13.100Z] Checking out Revision 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe (PR-427) [2022-10-24T01:36:13.821Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-24T01:36:12.836Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T01:36:12.868Z] > git checkout -f 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe # timeout=10 [2022-10-24T01:36:12.970Z] > git remote # timeout=10 [2022-10-24T01:36:12.993Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T01:36:13.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T01:36:13.021Z] Verifying host key using known hosts file [2022-10-24T01:36:13.027Z] 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-24T01:36:13.041Z] > git merge 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 [2022-10-24T01:36:13.076Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T01:36:13.106Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T01:36:13.121Z] > git checkout -f 3f7b4fdd431f9c83e0014847f172b7a9acbb09fe # timeout=10 [2022-10-24T01:36:13.893Z] > git --version # timeout=10 [2022-10-24T01:36:13.908Z] > git --version # 'git version 2.25.1' [2022-10-24T01:36:13.932Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T01:36:15.160Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T01:36:15.160Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T01:36:15.160Z] Dload Upload Total Spent Left Speed [2022-10-24T01:36:15.160Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 136k 0 --:--:-- --:--:-- --:--:-- 136k [Pipeline] sh [2022-10-24T01:36:15.986Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T01:36:16.342Z] + sudo tee /etc/docker/daemon.new [2022-10-24T01:36:16.342Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T01:36:16.342Z] { [2022-10-24T01:36:16.342Z] "registry-mirrors": [ [2022-10-24T01:36:16.342Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T01:36:16.342Z] ], [2022-10-24T01:36:16.342Z] "bip": "10.250.0.254/24", [2022-10-24T01:36:16.342Z] "hosts": [ [2022-10-24T01:36:16.342Z] "tcp://0.0.0.0:5555", [2022-10-24T01:36:16.342Z] "unix:///var/run/docker.sock" [2022-10-24T01:36:16.342Z] ], [2022-10-24T01:36:16.342Z] "mtu": 1458, [2022-10-24T01:36:16.342Z] "selinux-enabled": true, [2022-10-24T01:36:16.342Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T01:36:16.342Z] } [Pipeline] sh [2022-10-24T01:36:16.699Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T01:36:17.082Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T01:36:35.457Z] provisioning config files... [2022-10-24T01:36:35.489Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config17499735819641279921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:36:35.892Z] ---> docker-login.sh [2022-10-24T01:36:35.892Z] nexus3.edgexfoundry.org:10001 [2022-10-24T01:36:36.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:36:36.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:36:36.485Z] Configure a credential helper to remove this warning. See [2022-10-24T01:36:36.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:36:36.485Z] [2022-10-24T01:36:36.485Z] Login Succeeded [2022-10-24T01:36:36.485Z] nexus3.edgexfoundry.org:10002 [2022-10-24T01:36:36.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:36:37.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:36:37.027Z] Configure a credential helper to remove this warning. See [2022-10-24T01:36:37.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:36:37.027Z] [2022-10-24T01:36:37.027Z] Login Succeeded [2022-10-24T01:36:37.027Z] nexus3.edgexfoundry.org:10003 [2022-10-24T01:36:37.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:36:37.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:36:37.298Z] Configure a credential helper to remove this warning. See [2022-10-24T01:36:37.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:36:37.298Z] [2022-10-24T01:36:37.298Z] Login Succeeded [2022-10-24T01:36:37.298Z] nexus3.edgexfoundry.org:10004 [2022-10-24T01:36:37.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:36:37.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:36:37.841Z] Configure a credential helper to remove this warning. See [2022-10-24T01:36:37.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:36:37.841Z] [2022-10-24T01:36:37.841Z] Login Succeeded [2022-10-24T01:36:37.841Z] docker.io [2022-10-24T01:36:38.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:36:38.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:36:38.381Z] Configure a credential helper to remove this warning. See [2022-10-24T01:36:38.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:36:38.381Z] [2022-10-24T01:36:38.381Z] Login Succeeded [2022-10-24T01:36:38.381Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T01:36:38.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T01:36:38.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:36:38.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:36:38.809Z] ========================================================= [2022-10-24T01:36:38.809Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T01:36:38.809Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:36:39.316Z] + 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-24T01:36:39.589Z] Sending build context to Docker daemon 3.208MB [2022-10-24T01:36:39.589Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:36:39.589Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-24T01:36:39.867Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T01:36:39.867Z] 9b18e9b68314: Pulling fs layer [2022-10-24T01:36:39.867Z] d32db5db7311: Pulling fs layer [2022-10-24T01:36:39.867Z] d0c4b47475fc: Pulling fs layer [2022-10-24T01:36:39.867Z] 5831b945b038: Pulling fs layer [2022-10-24T01:36:39.867Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T01:36:39.867Z] e10730c5d714: Pulling fs layer [2022-10-24T01:36:39.867Z] 5dd5c2283517: Pulling fs layer [2022-10-24T01:36:39.867Z] d5ac0230b979: Pulling fs layer [2022-10-24T01:36:39.867Z] 5831b945b038: Waiting [2022-10-24T01:36:39.867Z] e10730c5d714: Waiting [2022-10-24T01:36:39.867Z] 86bbec2aaacd: Waiting [2022-10-24T01:36:39.867Z] d5ac0230b979: Waiting [2022-10-24T01:36:39.867Z] 5dd5c2283517: Waiting [2022-10-24T01:36:39.867Z] d0c4b47475fc: Verifying Checksum [2022-10-24T01:36:39.867Z] d0c4b47475fc: Download complete [2022-10-24T01:36:39.867Z] d32db5db7311: Download complete [2022-10-24T01:36:39.867Z] 86bbec2aaacd: Verifying Checksum [2022-10-24T01:36:39.867Z] 86bbec2aaacd: Download complete [2022-10-24T01:36:39.867Z] e10730c5d714: Verifying Checksum [2022-10-24T01:36:39.867Z] e10730c5d714: Download complete [2022-10-24T01:36:39.867Z] 9b18e9b68314: Verifying Checksum [2022-10-24T01:36:39.867Z] 9b18e9b68314: Download complete [2022-10-24T01:36:41.042Z] 9b18e9b68314: Pull complete [2022-10-24T01:36:41.664Z] d5ac0230b979: Verifying Checksum [2022-10-24T01:36:41.664Z] d5ac0230b979: Download complete [2022-10-24T01:36:41.664Z] d32db5db7311: Pull complete [2022-10-24T01:36:42.267Z] d0c4b47475fc: Pull complete [2022-10-24T01:36:42.864Z] 5dd5c2283517: Verifying Checksum [2022-10-24T01:36:42.864Z] 5dd5c2283517: Download complete [2022-10-24T01:36:43.457Z] 5831b945b038: Verifying Checksum [2022-10-24T01:36:43.457Z] 5831b945b038: Download complete [2022-10-24T01:36:55.799Z] 5831b945b038: Pull complete [2022-10-24T01:36:56.070Z] 86bbec2aaacd: Pull complete [2022-10-24T01:36:56.342Z] e10730c5d714: Pull complete [2022-10-24T01:37:01.727Z] 5dd5c2283517: Pull complete [2022-10-24T01:37:03.695Z] d5ac0230b979: Pull complete [2022-10-24T01:37:03.695Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T01:37:03.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T01:37:03.695Z] ---> 59b3b1a385d4 [2022-10-24T01:37:03.695Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:37:06.317Z] ---> Running in df03594c3196 [2022-10-24T01:37:06.317Z] Removing intermediate container df03594c3196 [2022-10-24T01:37:06.317Z] ---> 7d23a03e1df0 [2022-10-24T01:37:06.317Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:37:06.317Z] ---> Running in 43adf8a6be92 [2022-10-24T01:37:06.908Z] Removing intermediate container 43adf8a6be92 [2022-10-24T01:37:06.908Z] ---> d63ef075d227 [2022-10-24T01:37:06.908Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:37:06.908Z] ---> Running in ec5350f6bbc6 [2022-10-24T01:37:07.178Z] Removing intermediate container ec5350f6bbc6 [2022-10-24T01:37:07.178Z] ---> 6ceccd2985f7 [2022-10-24T01:37:07.178Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:37:07.450Z] ---> Running in 123a0846461a [2022-10-24T01:37:07.723Z] Removing intermediate container 123a0846461a [2022-10-24T01:37:07.723Z] ---> c4f44357ae77 [2022-10-24T01:37:07.723Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:37:07.723Z] ---> Running in af5e0f0d6d1d [2022-10-24T01:37:10.321Z] Removing intermediate container af5e0f0d6d1d [2022-10-24T01:37:10.321Z] ---> b7e2c2673b23 [2022-10-24T01:37:10.321Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:37:10.321Z] ---> Running in 995918bfe136 [2022-10-24T01:37:10.910Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T01:37:11.879Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T01:37:13.302Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T01:37:13.302Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-24T01:37:13.302Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T01:37:13.302Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T01:37:13.572Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:37:13.572Z] OK: 226 MiB in 55 packages [2022-10-24T01:37:14.989Z] Removing intermediate container 995918bfe136 [2022-10-24T01:37:14.989Z] ---> 0d0b29d4760e [2022-10-24T01:37:14.989Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-24T01:37:14.989Z] ---> Running in e704a787137c [2022-10-24T01:37:14.989Z] Removing intermediate container e704a787137c [2022-10-24T01:37:14.989Z] ---> 2f3be397b192 [2022-10-24T01:37:14.989Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-24T01:37:15.577Z] ---> f681601697d3 [2022-10-24T01:37:15.577Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:37:15.851Z] ---> Running in 53cd62b5c2fe [2022-10-24T01:38:12.315Z] Removing intermediate container 53cd62b5c2fe [2022-10-24T01:38:12.315Z] ---> 7db66f2e3b6f [2022-10-24T01:38:12.315Z] Step 12/13 : COPY . . [2022-10-24T01:38:12.315Z] ---> 1e8d142ab31d [2022-10-24T01:38:12.315Z] Step 13/13 : RUN $MAKE [2022-10-24T01:38:12.315Z] ---> Running in 96a81b4776c8 [2022-10-24T01:38:12.315Z] noop [2022-10-24T01:38:12.315Z] Removing intermediate container 96a81b4776c8 [2022-10-24T01:38:12.315Z] ---> 3b7e7dcd3c2d [2022-10-24T01:38:12.315Z] Successfully built 3b7e7dcd3c2d [2022-10-24T01:38:12.315Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:38:12.809Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T01:38:12.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:38:13.094Z] prd-ubuntu20.04-docker-arm64-4c-16g-8929 does not seem to be running inside a container [2022-10-24T01:38:13.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-24T01:38:14.494Z] $ docker top d1e9a9cb0f3300d6ac6c868d7b8416c036afe21ee1135a0cb4a65595f8ff9ea5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:38:15.432Z] + go version [2022-10-24T01:38:15.432Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T01:38:15.465Z] $ docker stop --time=1 d1e9a9cb0f3300d6ac6c868d7b8416c036afe21ee1135a0cb4a65595f8ff9ea5 [2022-10-24T01:38:17.141Z] $ docker rm -f d1e9a9cb0f3300d6ac6c868d7b8416c036afe21ee1135a0cb4a65595f8ff9ea5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:38:18.036Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T01:38:18.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:38:18.275Z] prd-ubuntu20.04-docker-arm64-4c-16g-8929 does not seem to be running inside a container [2022-10-24T01:38:18.341Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-24T01:38:19.605Z] $ docker top bad204a240e9b7e28b3b40884c0948f8df9ef563c2272a6252a137b84e51918a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:38:20.504Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-24T01:38:21.222Z] + make test [2022-10-24T01:38:21.222Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T01:38:22.646Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-24T01:39:59.322Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-24T01:39:59.322Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 21.8% of statements [2022-10-24T01:39:59.322Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-24T01:39:59.322Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T01:39:59.322Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T01:40:26.035Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T01:40:26.035Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T01:40:26.035Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T01:40:26.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T01:40:26.106Z] $ docker stop --time=1 bad204a240e9b7e28b3b40884c0948f8df9ef563c2272a6252a137b84e51918a [2022-10-24T01:40:27.981Z] $ docker rm -f bad204a240e9b7e28b3b40884c0948f8df9ef563c2272a6252a137b84e51918a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T01:40:29.082Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T01:40:29.118Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T01:40:29.680Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T01:40:30.279Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T01:40:30.631Z] + ls -al . [2022-10-24T01:40:30.631Z] total 180 [2022-10-24T01:40:30.631Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 01:38 . [2022-10-24T01:40:30.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:36 .. [2022-10-24T01:40:30.631Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 01:36 .dockerignore [2022-10-24T01:40:30.631Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:36 .git [2022-10-24T01:40:30.631Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:36 .github [2022-10-24T01:40:30.631Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 01:36 .gitignore [2022-10-24T01:40:30.631Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:36 .golangci.yml [2022-10-24T01:40:30.631Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 01:36 Attribution.txt [2022-10-24T01:40:30.631Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 01:36 CHANGELOG.md [2022-10-24T01:40:30.631Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 01:36 Dockerfile [2022-10-24T01:40:30.631Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:36 GOVERNANCE.md [2022-10-24T01:40:30.631Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 01:36 Jenkinsfile [2022-10-24T01:40:30.631Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:36 LICENSE [2022-10-24T01:40:30.631Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 01:36 Makefile [2022-10-24T01:40:30.631Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 01:36 OWNERS.md [2022-10-24T01:40:30.631Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 01:36 README.md [2022-10-24T01:40:30.631Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:32 VERSION [2022-10-24T01:40:30.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:36 bin [2022-10-24T01:40:30.631Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:36 cmd [2022-10-24T01:40:30.631Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 01:39 coverage.out [2022-10-24T01:40:30.632Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 01:36 go.mod [2022-10-24T01:40:30.632Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 24 01:36 go.sum [2022-10-24T01:40:30.632Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:36 internal [2022-10-24T01:40:30.632Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:36 mock [2022-10-24T01:40:30.632Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:36 snap [2022-10-24T01:40:30.632Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 01:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:40:31.051Z] + 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=3f7b4fdd431f9c83e0014847f172b7a9acbb09fe --label arch=arm64 --label version=0.0.0 . [2022-10-24T01:40:31.325Z] Sending build context to Docker daemon 3.227MB [2022-10-24T01:40:31.605Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:40:31.605Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T01:40:31.605Z] ---> 3b7e7dcd3c2d [2022-10-24T01:40:31.605Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:40:31.605Z] ---> Running in 674b0e3e458a [2022-10-24T01:40:31.875Z] Removing intermediate container 674b0e3e458a [2022-10-24T01:40:31.875Z] ---> 04285c80b111 [2022-10-24T01:40:31.875Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:40:32.149Z] ---> Running in 259e238923e5 [2022-10-24T01:40:32.437Z] Removing intermediate container 259e238923e5 [2022-10-24T01:40:32.437Z] ---> d3c66511d96d [2022-10-24T01:40:32.437Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:40:32.437Z] ---> Running in 8160ac2dc88d [2022-10-24T01:40:33.045Z] Removing intermediate container 8160ac2dc88d [2022-10-24T01:40:33.045Z] ---> 09eb141d8b1b [2022-10-24T01:40:33.045Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:40:33.045Z] ---> Running in 472986f6b028 [2022-10-24T01:40:33.334Z] Removing intermediate container 472986f6b028 [2022-10-24T01:40:33.334Z] ---> 1ff81c509f43 [2022-10-24T01:40:33.334Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:40:33.602Z] ---> Running in 68ae14cd394b [2022-10-24T01:40:36.200Z] Removing intermediate container 68ae14cd394b [2022-10-24T01:40:36.200Z] ---> d20f4d327597 [2022-10-24T01:40:36.200Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:40:36.200Z] ---> Running in 059f96de8b1a [2022-10-24T01:40:37.613Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T01:40:38.582Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T01:40:39.996Z] OK: 226 MiB in 55 packages [2022-10-24T01:40:40.969Z] Removing intermediate container 059f96de8b1a [2022-10-24T01:40:40.969Z] ---> 15b0ea0c7acb [2022-10-24T01:40:40.969Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-24T01:40:40.969Z] ---> Running in 80d621b31342 [2022-10-24T01:40:41.237Z] Removing intermediate container 80d621b31342 [2022-10-24T01:40:41.237Z] ---> 8c3b69201139 [2022-10-24T01:40:41.237Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-24T01:40:41.826Z] ---> 6f5752f89c48 [2022-10-24T01:40:41.826Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:40:41.826Z] ---> Running in 2dbe87122526 [2022-10-24T01:40:44.420Z] Removing intermediate container 2dbe87122526 [2022-10-24T01:40:44.420Z] ---> 9e2db4668b74 [2022-10-24T01:40:44.420Z] Step 12/25 : COPY . . [2022-10-24T01:40:45.388Z] ---> 9783f4ce3551 [2022-10-24T01:40:45.388Z] Step 13/25 : RUN $MAKE [2022-10-24T01:40:45.388Z] ---> Running in 8b706779acd8 [2022-10-24T01:40:46.805Z] 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-24T01:43:38.630Z] Removing intermediate container 8b706779acd8 [2022-10-24T01:43:38.630Z] ---> 1a9936d92e8e [2022-10-24T01:43:38.630Z] Step 14/25 : FROM alpine:3.16 [2022-10-24T01:43:38.630Z] 3.16: Pulling from library/alpine [2022-10-24T01:43:38.630Z] 9b18e9b68314: Already exists [2022-10-24T01:43:38.630Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T01:43:38.630Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T01:43:38.630Z] ---> a6215f271958 [2022-10-24T01:43:38.630Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-24T01:43:38.630Z] ---> Running in a4d948648faa [2022-10-24T01:43:38.630Z] Removing intermediate container a4d948648faa [2022-10-24T01:43:38.630Z] ---> f7dd6b14783b [2022-10-24T01:43:38.630Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T01:43:38.630Z] ---> Running in 19bca9a55984 [2022-10-24T01:43:38.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T01:43:38.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T01:43:38.630Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T01:43:38.630Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T01:43:38.630Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T01:43:38.630Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T01:43:38.630Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T01:43:38.630Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T01:43:38.630Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:43:38.630Z] OK: 8 MiB in 20 packages [2022-10-24T01:43:38.630Z] Removing intermediate container 19bca9a55984 [2022-10-24T01:43:38.630Z] ---> 04a2d53ba0e0 [2022-10-24T01:43:38.630Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-24T01:43:38.630Z] ---> 5de841193bbe [2022-10-24T01:43:38.630Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-24T01:43:38.630Z] ---> 23f8ef34f0a2 [2022-10-24T01:43:38.630Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-24T01:43:38.630Z] ---> 53fe8fc5d26e [2022-10-24T01:43:38.630Z] Step 20/25 : EXPOSE 59982 [2022-10-24T01:43:38.630Z] ---> Running in 07f168f9b754 [2022-10-24T01:43:38.630Z] Removing intermediate container 07f168f9b754 [2022-10-24T01:43:38.630Z] ---> 6c986ee5dec4 [2022-10-24T01:43:38.630Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-24T01:43:38.630Z] ---> Running in 6297f8bab117 [2022-10-24T01:43:38.630Z] Removing intermediate container 6297f8bab117 [2022-10-24T01:43:38.630Z] ---> 32a4923427d6 [2022-10-24T01:43:38.630Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T01:43:38.630Z] ---> Running in c49155fb070f [2022-10-24T01:43:38.630Z] Removing intermediate container c49155fb070f [2022-10-24T01:43:38.630Z] ---> fcc574e297df [2022-10-24T01:43:38.630Z] Step 23/25 : LABEL arch=arm64 [2022-10-24T01:43:38.630Z] ---> Running in c63d78cccb20 [2022-10-24T01:43:38.630Z] Removing intermediate container c63d78cccb20 [2022-10-24T01:43:38.630Z] ---> 429d9c7710fe [2022-10-24T01:43:38.630Z] Step 24/25 : LABEL git_sha=3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [2022-10-24T01:43:38.630Z] ---> Running in 4b196b77b388 [2022-10-24T01:43:38.630Z] Removing intermediate container 4b196b77b388 [2022-10-24T01:43:38.630Z] ---> bd3a8a427e69 [2022-10-24T01:43:38.630Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T01:43:38.630Z] ---> Running in f7398f714f4a [2022-10-24T01:43:38.630Z] Removing intermediate container f7398f714f4a [2022-10-24T01:43:38.630Z] ---> b6484fd38632 [2022-10-24T01:43:38.630Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T01:43:38.630Z] Successfully built b6484fd38632 [2022-10-24T01:43:38.630Z] 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-24T01:43:39.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T01:43:39.432Z] [2022-10-24T01:43:39.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:43:39.825Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T01:43:39.825Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T01:43:39.825Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T01:43:39.825Z] 04944245beec: Pulling fs layer [2022-10-24T01:43:39.825Z] 699f458cf7ca: Pulling fs layer [2022-10-24T01:43:39.825Z] 765212b225bb: Pulling fs layer [2022-10-24T01:43:39.825Z] f23df028b6ca: Pulling fs layer [2022-10-24T01:43:39.825Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T01:43:39.825Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T01:43:39.825Z] f23df028b6ca: Waiting [2022-10-24T01:43:39.825Z] d65c8cfc05b1: Waiting [2022-10-24T01:43:39.825Z] 2437ff75d9bd: Waiting [2022-10-24T01:43:39.825Z] 765212b225bb: Waiting [2022-10-24T01:43:40.097Z] 04944245beec: Verifying Checksum [2022-10-24T01:43:40.097Z] 04944245beec: Download complete [2022-10-24T01:43:40.097Z] 765212b225bb: Verifying Checksum [2022-10-24T01:43:40.097Z] 765212b225bb: Download complete [2022-10-24T01:43:40.097Z] f23df028b6ca: Verifying Checksum [2022-10-24T01:43:40.097Z] f23df028b6ca: Download complete [2022-10-24T01:43:40.097Z] d65c8cfc05b1: Download complete [2022-10-24T01:43:40.374Z] 699f458cf7ca: Verifying Checksum [2022-10-24T01:43:40.374Z] 699f458cf7ca: Download complete [2022-10-24T01:43:40.642Z] 8998bd30e6a1: Download complete [2022-10-24T01:43:43.244Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T01:43:43.244Z] 2437ff75d9bd: Download complete [2022-10-24T01:43:45.191Z] 8998bd30e6a1: Pull complete [2022-10-24T01:43:45.191Z] 04944245beec: Pull complete [2022-10-24T01:43:46.610Z] 699f458cf7ca: Pull complete [2022-10-24T01:43:46.879Z] 765212b225bb: Pull complete [2022-10-24T01:43:47.849Z] f23df028b6ca: Pull complete [2022-10-24T01:43:47.849Z] d65c8cfc05b1: Pull complete [2022-10-24T01:44:03.065Z] 2437ff75d9bd: Pull complete [2022-10-24T01:44:03.065Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T01:44:03.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T01:44:03.065Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:44:03.435Z] prd-ubuntu20.04-docker-arm64-4c-16g-8929 does not seem to be running inside a container [2022-10-24T01:44:03.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-24T01:44:06.476Z] $ docker top 0b7bf706a4fd37d88b217dc691c3e8856078488666eafaa4fc5963d1d715c493 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:07.408Z] ---> job-cost.sh [2022-10-24T01:44:07.408Z] lf-activate-venv: SKIPPING [2022-10-24T01:44:07.408Z] INFO: No Stack... [2022-10-24T01:44:07.720Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T01:44:08.695Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T01:44:09.354Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-10-24T01:44:09.354Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T01:44:09.438Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] [2022-10-24T01:44:09.443Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] did not exist. Created. [2022-10-24T01:44:09.443Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T01:44:10.174Z] /w/workspace/device-mqtt-go/1@tmp/durable-836acd59/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T01:44:10.853Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T01:44:10.895Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T01:44:10.946Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T01:44:10.964Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-427-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T01:44:11.059Z] $ docker stop --time=1 0b7bf706a4fd37d88b217dc691c3e8856078488666eafaa4fc5963d1d715c493 [2022-10-24T01:44:12.612Z] $ docker rm -f 0b7bf706a4fd37d88b217dc691c3e8856078488666eafaa4fc5963d1d715c493 [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-24T01:44:13.986Z] provisioning config files... [2022-10-24T01:44:13.993Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/config4387674273038985754tmp [Pipeline] { [Pipeline] sh [2022-10-24T01:44:14.330Z] + set +x [2022-10-24T01:44:14.330Z] + + bash -s -- [2022-10-24T01:44:14.330Z] curl -s https://codecov.io/bash [2022-10-24T01:44:14.330Z] [2022-10-24T01:44:14.330Z] _____ _ [2022-10-24T01:44:14.330Z] / ____| | | [2022-10-24T01:44:14.330Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T01:44:14.330Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T01:44:14.330Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T01:44:14.330Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T01:44:14.330Z] Bash-1.0.6 [2022-10-24T01:44:14.330Z] [2022-10-24T01:44:14.330Z] [2022-10-24T01:44:14.330Z] ==> git version 2.25.1 found [2022-10-24T01:44:14.330Z] ==> 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-24T01:44:14.330Z] Release-Date: 2020-01-08 [2022-10-24T01:44:14.330Z] 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-24T01:44:14.330Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T01:44:14.330Z] ==> Jenkins CI detected. [2022-10-24T01:44:14.330Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-427 [2022-10-24T01:44:14.330Z] project root: . [2022-10-24T01:44:14.330Z] --> token set from env [2022-10-24T01:44:14.330Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T01:44:14.330Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T01:44:14.330Z] ==> Python coveragepy not found [2022-10-24T01:44:14.330Z] ==> Searching for coverage reports in: [2022-10-24T01:44:14.330Z] + . [2022-10-24T01:44:14.330Z] -> Found 1 reports [2022-10-24T01:44:14.330Z] ==> Detecting git/mercurial file structure [2022-10-24T01:44:14.330Z] ==> Reading reports [2022-10-24T01:44:14.330Z] + ./coverage.out bytes=17887 [2022-10-24T01:44:14.330Z] ==> Appending adjustments [2022-10-24T01:44:14.330Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T01:44:14.590Z] + Found adjustments [2022-10-24T01:44:14.590Z] ==> Gzipping contents [2022-10-24T01:44:14.590Z] 4.0K /tmp/codecov.EzTVHd.gz [2022-10-24T01:44:14.590Z] ==> Uploading reports [2022-10-24T01:44:14.590Z] url: https://codecov.io [2022-10-24T01:44:14.591Z] query: branch=PR-427&commit=3f7b4fdd431f9c83e0014847f172b7a9acbb09fe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-427%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=427&job=&cmd_args= [2022-10-24T01:44:14.591Z] -> Pinging Codecov [2022-10-24T01:44:14.591Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-427&commit=3f7b4fdd431f9c83e0014847f172b7a9acbb09fe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-427%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=427&job=&cmd_args= [2022-10-24T01:44:14.849Z] -> Uploading to [2022-10-24T01:44:14.849Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7D719EC7BBE17E464838252E33014C33/3f7b4fdd431f9c83e0014847f172b7a9acbb09fe/c9f2e318-b40e-4bed-9ac1-4005195420df.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T014414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96c42932d6aad8d32de0feefbcdfa019462f7326a72c42c635d88eba847a57fa [2022-10-24T01:44:14.849Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T01:44:14.849Z] Dload Upload Total Spent Left Speed [2022-10-24T01:44:15.108Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 14484 --:--:-- --:--:-- --:--:-- 14484 [2022-10-24T01:44:15.108Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/3f7b4fdd431f9c83e0014847f172b7a9acbb09fe [Pipeline] } [2022-10-24T01:44:15.138Z] 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-24T01:44:16.928Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives ] [2022-10-24T01:44:16.929Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives [2022-10-24T01:44:16.929Z] total 16 [2022-10-24T01:44:16.929Z] drwxr-xr-x 3 root root 4096 Oct 24 01:34 . [2022-10-24T01:44:16.929Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 01:34 .. [2022-10-24T01:44:16.929Z] drwxr-xr-x 2 root root 4096 Oct 24 01:34 cost [2022-10-24T01:44:16.929Z] -rw-r--r-- 1 root root 86 Oct 24 01:34 cost.csv [2022-10-24T01:44:16.929Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives [2022-10-24T01:44:16.929Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives [2022-10-24T01:44:16.929Z] total 16 [2022-10-24T01:44:16.929Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:34 . [2022-10-24T01:44:16.929Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 01:34 .. [2022-10-24T01:44:16.929Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 01:34 cost [2022-10-24T01:44:16.929Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 01:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:17.312Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:18.198Z] ---> package-listing.sh [2022-10-24T01:44:18.198Z] ++ facter osfamily [2022-10-24T01:44:18.198Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T01:44:18.457Z] + OS_FAMILY=debian [2022-10-24T01:44:18.457Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-427 [2022-10-24T01:44:18.457Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T01:44:18.457Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T01:44:18.457Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T01:44:18.457Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T01:44:18.457Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-427 ']' [2022-10-24T01:44:18.457Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T01:44:18.457Z] + case "${OS_FAMILY}" in [2022-10-24T01:44:18.457Z] + dpkg -l [2022-10-24T01:44:18.457Z] + grep '^ii' [2022-10-24T01:44:18.457Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T01:44:18.457Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T01:44:18.457Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T01:44:18.457Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-427 ']' [2022-10-24T01:44:18.457Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives/ [2022-10-24T01:44:18.457Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-427/archives/ [Pipeline] echo [2022-10-24T01:44:18.499Z] 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-427/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T01:44:18.791Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:44:19.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:44:19.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:44:19.550Z] prd-ubuntu20.04-docker-8c-8g-8927 does not seem to be running inside a container [2022-10-24T01:44:19.574Z] $ 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-427/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-427 -v /w/workspace/gexfoundry_device-mqtt-go_PR-427:/w/workspace/gexfoundry_device-mqtt-go_PR-427:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T01:44:20.323Z] $ docker top 21a25a2e9bcc15bbf242717cffb88d090c565cf8901af98bd7723bc525b05f92 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:44:20.734Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T01:44:21.049Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T01:44:21.356Z] + ls /var/log/sa-host [2022-10-24T01:44:21.356Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T01:44:21.490Z] provisioning config files... [2022-10-24T01:44:21.498Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-427@tmp/config9060920715094565120tmp [Pipeline] { [Pipeline] echo [2022-10-24T01:44:21.549Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:21.859Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T01:44:21.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:22.292Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T01:44:22.332Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:22.645Z] ---> sudo-logs.sh [2022-10-24T01:44:22.645Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T01:44:22.733Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:23.044Z] ---> job-cost.sh [2022-10-24T01:44:23.044Z] lf-activate-venv: SKIPPING [2022-10-24T01:44:23.044Z] DEBUG: total: 0.2199999988079071 [2022-10-24T01:44:23.044Z] INFO: Retrieving Stack Cost... [2022-10-24T01:44:23.303Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T01:44:23.871Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T01:44:23.905Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:44:24.228Z] ---> logs-deploy.sh [2022-10-24T01:44:24.228Z] lf-activate-venv: SKIPPING [2022-10-24T01:44:24.228Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-427/1 [2022-10-24T01:44:24.228Z] INFO: archiving workspace using pattern(s): [2022-10-24T01:44:25.168Z] Archives upload complete. [2022-10-24T01:44:25.168Z] INFO: archiving logs to Nexus