Pull request #436 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9+caab5c19f0226ea205a717313438d75c5b5382a1 (3de997ba1135494a28ededb74fc4afa01aeef2b4) 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-ssh14893768833400661199.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh9373097390314494822.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-436/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-436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7849404210214432854.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-436/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5142070409536288157.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh13237495235585280568.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-436/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-436/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8715518415173289384.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-118346’ Running on prd-ubuntu20.04-docker-8c-8g-118355 in /w/workspace/gexfoundry_device-mqtt-go_PR-436 [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-436 # 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/436/head:refs/remotes/origin/PR-436 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit caab5c19f0226ea205a717313438d75c5b5382a1 into PR head commit 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 Merge succeeded, producing 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 Checking out Revision 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 (PR-436) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T01:03:13.658Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 # 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 caab5c19f0226ea205a717313438d75c5b5382a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T01:03:13.869Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T01:03:13.995Z] ========================================================= [2022-11-07T01:03:13.995Z] EdgeX Global Pipelines Version Info [2022-11-07T01:03:13.995Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:03:14.788Z] ------------------- [2022-11-07T01:03:14.788Z] stable info: [2022-11-07T01:03:14.788Z] ------------------- [2022-11-07T01:03:14.788Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T01:03:14.788Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T01:03:14.788Z] Message: update stable to v1.0.244 [2022-11-07T01:03:15.362Z] ------------------- [2022-11-07T01:03:15.362Z] experimental info: [2022-11-07T01:03:15.362Z] ------------------- [2022-11-07T01:03:15.362Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T01:03:15.362Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T01:03:15.362Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T01:03:15.643Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-11-07T01:03:15.680Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-11-07T01:03:15.726Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T01:03:15.768Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T01:03:15.813Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T01:03:15.858Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T01:03:15.903Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T01:03:15.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T01:03:15.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T01:03:16.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T01:03:16.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T01:03:16.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-11-07T01:03:16.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T01:03:16.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T01:03:16.272Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T01:03:16.318Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T01:03:16.361Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T01:03:16.403Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T01:03:16.447Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T01:03:16.491Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T01:03:16.536Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T01:03:16.585Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T01:03:16.628Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T01:03:16.666Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T01:03:16.745Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T01:03:16.783Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T01:03:16.820Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T01:03:16.869Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-436 [Pipeline] echo [2022-11-07T01:03:16.915Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-436 [Pipeline] echo [2022-11-07T01:03:16.955Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-436 [Pipeline] echo [2022-11-07T01:03:16.998Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 [Pipeline] echo [2022-11-07T01:03:17.038Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 087db0a [Pipeline] echo [2022-11-07T01:03:17.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T01:03:17.195Z] provisioning config files... [2022-11-07T01:03:17.235Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-436@tmp/config2198628466621926529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:03:17.585Z] ---> docker-login.sh [2022-11-07T01:03:17.585Z] nexus3.edgexfoundry.org:10001 [2022-11-07T01:03:17.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:03:18.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:03:18.105Z] Configure a credential helper to remove this warning. See [2022-11-07T01:03:18.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:03:18.105Z] [2022-11-07T01:03:18.105Z] Login Succeeded [2022-11-07T01:03:18.105Z] nexus3.edgexfoundry.org:10002 [2022-11-07T01:03:18.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:03:18.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:03:18.105Z] Configure a credential helper to remove this warning. See [2022-11-07T01:03:18.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:03:18.105Z] [2022-11-07T01:03:18.105Z] Login Succeeded [2022-11-07T01:03:18.105Z] nexus3.edgexfoundry.org:10003 [2022-11-07T01:03:18.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:03:18.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:03:18.365Z] Configure a credential helper to remove this warning. See [2022-11-07T01:03:18.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:03:18.365Z] [2022-11-07T01:03:18.365Z] Login Succeeded [2022-11-07T01:03:18.365Z] nexus3.edgexfoundry.org:10004 [2022-11-07T01:03:18.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:03:18.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:03:18.365Z] Configure a credential helper to remove this warning. See [2022-11-07T01:03:18.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:03:18.365Z] [2022-11-07T01:03:18.365Z] Login Succeeded [2022-11-07T01:03:18.365Z] docker.io [2022-11-07T01:03:18.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:03:18.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:03:18.938Z] Configure a credential helper to remove this warning. See [2022-11-07T01:03:18.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:03:18.938Z] [2022-11-07T01:03:18.938Z] Login Succeeded [2022-11-07T01:03:18.938Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T01:03:18.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T01:03:19.611Z] + git rev-list -1 --merges 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9~1..087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 [Pipeline] echo [2022-11-07T01:03:19.658Z] -----------> git rev-list -1 --merges 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9~1..087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 [false] [Pipeline] sh [2022-11-07T01:03:19.967Z] + git log --format=format:%s -1 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 [Pipeline] echo [2022-11-07T01:03:20.003Z] ========================================================= [2022-11-07T01:03:20.003Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T01:03:20.003Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T01:03:20.428Z] + git log --format=format:%s -1 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 [Pipeline] echo [2022-11-07T01:03:20.458Z] [semverPrep] GIT_COMMIT: 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-11-07T01:03:20.488Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T01:03:20.884Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T01:03:20.884Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T01:03:20.884Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T01:03:20.884Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T01:03:20.884Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T01:03:20.884Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T01:03:20.884Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:03:21.368Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T01:03:21.368Z] [2022-11-07T01:03:21.368Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:03:21.756Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T01:03:21.756Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T01:03:21.756Z] b85a868b505f: Pulling fs layer [2022-11-07T01:03:21.756Z] e2be974225ed: Pulling fs layer [2022-11-07T01:03:21.756Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T01:03:21.756Z] 988bab9f4d93: Pulling fs layer [2022-11-07T01:03:21.756Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T01:03:21.756Z] eaf3925da568: Pulling fs layer [2022-11-07T01:03:21.756Z] bab4dde63d76: Pulling fs layer [2022-11-07T01:03:21.756Z] bde34c3a00c8: Pulling fs layer [2022-11-07T01:03:21.756Z] b352a97aabf1: Pulling fs layer [2022-11-07T01:03:21.756Z] 4872d77fe225: Pulling fs layer [2022-11-07T01:03:21.756Z] 5851b861e8e6: Pulling fs layer [2022-11-07T01:03:21.756Z] 988bab9f4d93: Waiting [2022-11-07T01:03:21.756Z] 1469e6f7b9e6: Waiting [2022-11-07T01:03:21.756Z] 4872d77fe225: Waiting [2022-11-07T01:03:21.756Z] 5851b861e8e6: Waiting [2022-11-07T01:03:21.756Z] eaf3925da568: Waiting [2022-11-07T01:03:21.756Z] bab4dde63d76: Waiting [2022-11-07T01:03:21.756Z] e2be974225ed: Verifying Checksum [2022-11-07T01:03:21.756Z] e2be974225ed: Download complete [2022-11-07T01:03:21.756Z] 988bab9f4d93: Verifying Checksum [2022-11-07T01:03:21.756Z] 988bab9f4d93: Download complete [2022-11-07T01:03:22.023Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T01:03:22.023Z] 1469e6f7b9e6: Download complete [2022-11-07T01:03:22.023Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T01:03:22.023Z] 339a4e72a1f5: Download complete [2022-11-07T01:03:22.023Z] eaf3925da568: Download complete [2022-11-07T01:03:22.023Z] bde34c3a00c8: Download complete [2022-11-07T01:03:22.023Z] b352a97aabf1: Download complete [2022-11-07T01:03:22.023Z] 4872d77fe225: Verifying Checksum [2022-11-07T01:03:22.023Z] 4872d77fe225: Download complete [2022-11-07T01:03:22.023Z] 5851b861e8e6: Download complete [2022-11-07T01:03:22.288Z] b85a868b505f: Download complete [2022-11-07T01:03:22.551Z] bab4dde63d76: Verifying Checksum [2022-11-07T01:03:22.551Z] bab4dde63d76: Download complete [2022-11-07T01:03:23.491Z] b85a868b505f: Pull complete [2022-11-07T01:03:23.753Z] e2be974225ed: Pull complete [2022-11-07T01:03:24.325Z] 339a4e72a1f5: Pull complete [2022-11-07T01:03:24.325Z] 988bab9f4d93: Pull complete [2022-11-07T01:03:24.585Z] 1469e6f7b9e6: Pull complete [2022-11-07T01:03:24.585Z] eaf3925da568: Pull complete [2022-11-07T01:03:26.494Z] bab4dde63d76: Pull complete [2022-11-07T01:03:26.494Z] bde34c3a00c8: Pull complete [2022-11-07T01:03:26.494Z] b352a97aabf1: Pull complete [2022-11-07T01:03:26.760Z] 4872d77fe225: Pull complete [2022-11-07T01:03:26.760Z] 5851b861e8e6: Pull complete [2022-11-07T01:03:26.760Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T01:03:26.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T01:03:26.760Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:03:26.997Z] prd-ubuntu20.04-docker-8c-8g-118355 does not seem to be running inside a container [2022-11-07T01:03:27.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-436 -v /w/workspace/gexfoundry_device-mqtt-go_PR-436:/w/workspace/gexfoundry_device-mqtt-go_PR-436:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-436@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-436@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T01:03:28.506Z] $ docker top 53be37fc8b2d96cc4a7a06adb57f36b751a85063df0fddaa43bc68cb69b92666 -eo pid,comm [2022-11-07T01:03:28.572Z] 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-11-07T01:03:28.572Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T01:03:28.708Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T01:03:28.708Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T01:03:28.828Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T01:03:28.819Z] $ docker exec 53be37fc8b2d96cc4a7a06adb57f36b751a85063df0fddaa43bc68cb69b92666 ssh-agent [2022-11-07T01:03:28.941Z] SSH_AUTH_SOCK=/tmp/ssh-jlgtpcKWHSrH/agent.32 [2022-11-07T01:03:28.941Z] SSH_AGENT_PID=38 [2022-11-07T01:03:28.948Z] Running ssh-add (command line suppressed) [2022-11-07T01:03:29.048Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-436@tmp/private_key_14617990498120336647.key (/w/workspace/gexfoundry_device-mqtt-go_PR-436@tmp/private_key_14617990498120336647.key) [2022-11-07T01:03:29.075Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T01:03:29.421Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T01:03:29.438Z] $ docker exec --env ******** --env ******** 53be37fc8b2d96cc4a7a06adb57f36b751a85063df0fddaa43bc68cb69b92666 ssh-agent -k [2022-11-07T01:03:29.544Z] unset SSH_AUTH_SOCK; [2022-11-07T01:03:29.545Z] unset SSH_AGENT_PID; [2022-11-07T01:03:29.546Z] echo Agent pid 38 killed; [2022-11-07T01:03:29.567Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T01:03:29.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T01:03:29.664Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T01:03:29.778Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T01:03:29.770Z] $ docker exec 53be37fc8b2d96cc4a7a06adb57f36b751a85063df0fddaa43bc68cb69b92666 ssh-agent [2022-11-07T01:03:29.897Z] SSH_AUTH_SOCK=/tmp/ssh-fcY9nvaGBms0/agent.70 [2022-11-07T01:03:29.897Z] SSH_AGENT_PID=76 [2022-11-07T01:03:29.902Z] Running ssh-add (command line suppressed) [2022-11-07T01:03:29.994Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-436@tmp/private_key_10442695124364826231.key (/w/workspace/gexfoundry_device-mqtt-go_PR-436@tmp/private_key_10442695124364826231.key) [2022-11-07T01:03:30.019Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T01:03:30.363Z] + git semver init [2022-11-07T01:03:30.622Z] 2022-11-07 01:03:30,534 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T01:03:30.622Z] 2022-11-07 01:03:30,536 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-436/.semver [2022-11-07T01:03:30.622Z] 2022-11-07 01:03:30,536 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-436/.semver [2022-11-07T01:03:30.622Z] 2022-11-07 01:03:30,537 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-436/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-436, universal_newlines=False, shell=None, istream=None) [2022-11-07T01:03:31.564Z] 2022-11-07 01:03:31,482 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-436/.git/info/exclude [2022-11-07T01:03:31.564Z] 2022-11-07 01:03:31,482 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-436/.semver/PR-436 with force:False [2022-11-07T01:03:31.564Z] 2022-11-07 01:03:31,483 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-436/.semver/PR-436 [2022-11-07T01:03:31.564Z] 2022-11-07 01:03:31,487 [execute] INFO git cat-file --batch-check [2022-11-07T01:03:31.564Z] 2022-11-07 01:03:31,487 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-436/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T01:03:31.564Z] 2022-11-07 01:03:31,493 [execute] INFO git cat-file --batch [2022-11-07T01:03:31.564Z] 2022-11-07 01:03:31,493 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-436/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T01:03:31.564Z] 2022-11-07 01:03:31,498 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-436/.semver/PR-436 [2022-11-07T01:03:31.564Z] 0.0.0 [Pipeline] } [2022-11-07T01:03:31.581Z] $ docker exec --env ******** --env ******** 53be37fc8b2d96cc4a7a06adb57f36b751a85063df0fddaa43bc68cb69b92666 ssh-agent -k [2022-11-07T01:03:31.682Z] unset SSH_AUTH_SOCK; [2022-11-07T01:03:31.682Z] unset SSH_AGENT_PID; [2022-11-07T01:03:31.682Z] echo Agent pid 76 killed; [2022-11-07T01:03:31.706Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T01:03:32.144Z] + git semver [Pipeline] } [2022-11-07T01:03:32.425Z] $ docker stop --time=1 53be37fc8b2d96cc4a7a06adb57f36b751a85063df0fddaa43bc68cb69b92666 [2022-11-07T01:03:33.748Z] $ docker rm -f 53be37fc8b2d96cc4a7a06adb57f36b751a85063df0fddaa43bc68cb69b92666 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T01:03:34.172Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T01:03:34.426Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T01:03:34.442Z] [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-11-07T01:03:35.035Z] provisioning config files... [2022-11-07T01:03:35.045Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-436@tmp/config9434205716004078587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:03:35.406Z] ---> docker-login.sh [2022-11-07T01:03:35.406Z] nexus3.edgexfoundry.org:10001 [2022-11-07T01:03:35.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:03:35.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:03:35.406Z] Configure a credential helper to remove this warning. See [2022-11-07T01:03:35.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:03:35.406Z] [2022-11-07T01:03:35.406Z] Login Succeeded [2022-11-07T01:03:35.406Z] nexus3.edgexfoundry.org:10002 [2022-11-07T01:03:35.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:03:35.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:03:35.406Z] Configure a credential helper to remove this warning. See [2022-11-07T01:03:35.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:03:35.406Z] [2022-11-07T01:03:35.406Z] Login Succeeded [2022-11-07T01:03:35.666Z] nexus3.edgexfoundry.org:10003 [2022-11-07T01:03:35.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:03:35.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:03:35.666Z] Configure a credential helper to remove this warning. See [2022-11-07T01:03:35.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:03:35.666Z] [2022-11-07T01:03:35.666Z] Login Succeeded [2022-11-07T01:03:35.666Z] nexus3.edgexfoundry.org:10004 [2022-11-07T01:03:35.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:03:36.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:03:36.607Z] Configure a credential helper to remove this warning. See [2022-11-07T01:03:36.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:03:36.607Z] [2022-11-07T01:03:36.607Z] Login Succeeded [2022-11-07T01:03:36.607Z] docker.io [2022-11-07T01:03:36.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:03:36.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:03:36.871Z] Configure a credential helper to remove this warning. See [2022-11-07T01:03:36.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:03:36.871Z] [2022-11-07T01:03:36.871Z] Login Succeeded [2022-11-07T01:03:36.871Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T01:03:36.902Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T01:03:37.100Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T01:03:37.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T01:03:37.178Z] ========================================================= [2022-11-07T01:03:37.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T01:03:37.178Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:03:37.665Z] + 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-11-07T01:03:37.665Z] Sending build context to Docker daemon 6.256MB [2022-11-07T01:03:37.665Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T01:03:37.665Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T01:03:37.665Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T01:03:37.665Z] 213ec9aee27d: Pulling fs layer [2022-11-07T01:03:37.665Z] 4583459ba037: Pulling fs layer [2022-11-07T01:03:37.665Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T01:03:37.665Z] 53926ce57604: Pulling fs layer [2022-11-07T01:03:37.665Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T01:03:37.665Z] 22ff95d597cd: Pulling fs layer [2022-11-07T01:03:37.665Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T01:03:37.665Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T01:03:37.665Z] a7acece74701: Pulling fs layer [2022-11-07T01:03:37.665Z] 53926ce57604: Waiting [2022-11-07T01:03:37.665Z] 12d6caf4c0d1: Waiting [2022-11-07T01:03:37.665Z] 96b7cbca73a9: Waiting [2022-11-07T01:03:37.665Z] a7acece74701: Waiting [2022-11-07T01:03:37.665Z] 21b2b0c7a3f4: Waiting [2022-11-07T01:03:37.665Z] 22ff95d597cd: Waiting [2022-11-07T01:03:37.665Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T01:03:37.665Z] 93c1e223e6f2: Download complete [2022-11-07T01:03:37.933Z] 4583459ba037: Verifying Checksum [2022-11-07T01:03:37.933Z] 4583459ba037: Download complete [2022-11-07T01:03:37.933Z] 21b2b0c7a3f4: Download complete [2022-11-07T01:03:37.933Z] 22ff95d597cd: Download complete [2022-11-07T01:03:37.933Z] 213ec9aee27d: Download complete [2022-11-07T01:03:37.933Z] 12d6caf4c0d1: Verifying Checksum [2022-11-07T01:03:37.933Z] 12d6caf4c0d1: Download complete [2022-11-07T01:03:37.933Z] 213ec9aee27d: Pull complete [2022-11-07T01:03:38.212Z] 4583459ba037: Pull complete [2022-11-07T01:03:38.212Z] 93c1e223e6f2: Pull complete [2022-11-07T01:03:38.499Z] a7acece74701: Verifying Checksum [2022-11-07T01:03:38.499Z] a7acece74701: Download complete [2022-11-07T01:03:39.488Z] 53926ce57604: Verifying Checksum [2022-11-07T01:03:39.488Z] 53926ce57604: Download complete [2022-11-07T01:03:39.488Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T01:03:39.488Z] 96b7cbca73a9: Download complete [2022-11-07T01:03:43.696Z] 53926ce57604: Pull complete [2022-11-07T01:03:43.696Z] 21b2b0c7a3f4: Pull complete [2022-11-07T01:03:43.696Z] 22ff95d597cd: Pull complete [2022-11-07T01:03:43.696Z] 12d6caf4c0d1: Pull complete [2022-11-07T01:03:45.600Z] 96b7cbca73a9: Pull complete [2022-11-07T01:03:46.543Z] a7acece74701: Pull complete [2022-11-07T01:03:46.543Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T01:03:46.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T01:03:46.543Z] ---> db6d94c90886 [2022-11-07T01:03:46.543Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T01:03:47.929Z] ---> Running in ca952cabd03a [2022-11-07T01:03:48.189Z] Removing intermediate container ca952cabd03a [2022-11-07T01:03:48.189Z] ---> 26d1e9cec8d6 [2022-11-07T01:03:48.189Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T01:03:48.189Z] ---> Running in dc4497add73c [2022-11-07T01:03:48.189Z] Removing intermediate container dc4497add73c [2022-11-07T01:03:48.189Z] ---> b86c3ec20f7a [2022-11-07T01:03:48.189Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T01:03:48.449Z] ---> Running in 96429b372b0b [2022-11-07T01:03:48.449Z] Removing intermediate container 96429b372b0b [2022-11-07T01:03:48.449Z] ---> 3fb73fd8c4f8 [2022-11-07T01:03:48.449Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T01:03:48.449Z] ---> Running in 27ec1f05c5d3 [2022-11-07T01:03:48.708Z] Removing intermediate container 27ec1f05c5d3 [2022-11-07T01:03:48.708Z] ---> 313faa59745f [2022-11-07T01:03:48.708Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T01:03:48.708Z] ---> Running in 0357f9bc5d22 [2022-11-07T01:03:48.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T01:03:48.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T01:03:49.229Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T01:03:49.230Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T01:03:49.230Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T01:03:49.230Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T01:03:49.230Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T01:03:49.230Z] OK: 216 MiB in 55 packages [2022-11-07T01:03:49.801Z] Removing intermediate container 0357f9bc5d22 [2022-11-07T01:03:49.801Z] ---> 8d147eb7eef8 [2022-11-07T01:03:49.801Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-07T01:03:49.801Z] ---> Running in 306e70a8913c [2022-11-07T01:03:49.801Z] Removing intermediate container 306e70a8913c [2022-11-07T01:03:49.801Z] ---> cef393bf7e9a [2022-11-07T01:03:49.801Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T01:03:49.844Z] Still waiting to schedule task [2022-11-07T01:03:49.844Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118354’ [2022-11-07T01:03:50.063Z] ---> e72d83089968 [2022-11-07T01:03:50.064Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T01:03:50.064Z] ---> Running in 1ffb8a18270f [2022-11-07T01:04:08.184Z] Removing intermediate container 1ffb8a18270f [2022-11-07T01:04:08.184Z] ---> 9cc0e40cd9bf [2022-11-07T01:04:08.184Z] Step 11/12 : COPY . . [2022-11-07T01:04:08.184Z] ---> 0402dc671a78 [2022-11-07T01:04:08.184Z] Step 12/12 : RUN $MAKE [2022-11-07T01:04:08.184Z] ---> Running in 259ed4a7a815 [2022-11-07T01:04:08.184Z] noop [2022-11-07T01:04:08.184Z] Removing intermediate container 259ed4a7a815 [2022-11-07T01:04:08.184Z] ---> 6041a1047a58 [2022-11-07T01:04:08.184Z] Successfully built 6041a1047a58 [2022-11-07T01:04:08.184Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:04:08.608Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T01:04:08.608Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:04:08.757Z] prd-ubuntu20.04-docker-8c-8g-118355 does not seem to be running inside a container [2022-11-07T01:04:08.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-436 -v /w/workspace/gexfoundry_device-mqtt-go_PR-436:/w/workspace/gexfoundry_device-mqtt-go_PR-436:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-436@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-436@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 ******** ci-base-image-x86_64 cat [2022-11-07T01:04:09.191Z] $ docker top 3ec42343484f642ecb95747eea45cc75b54e8c44663e4e5c9753c4837e189c48 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T01:04:09.579Z] + go version [2022-11-07T01:04:09.579Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T01:04:09.616Z] $ docker stop --time=1 3ec42343484f642ecb95747eea45cc75b54e8c44663e4e5c9753c4837e189c48 [2022-11-07T01:04:10.912Z] $ docker rm -f 3ec42343484f642ecb95747eea45cc75b54e8c44663e4e5c9753c4837e189c48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:04:11.640Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T01:04:11.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:04:11.818Z] prd-ubuntu20.04-docker-8c-8g-118355 does not seem to be running inside a container [2022-11-07T01:04:11.851Z] $ 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-436 -v /w/workspace/gexfoundry_device-mqtt-go_PR-436:/w/workspace/gexfoundry_device-mqtt-go_PR-436:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-436@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-436@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 ******** ci-base-image-x86_64 cat [2022-11-07T01:04:12.231Z] $ docker top 876d23f387117d700bcf9a04518cd6bb102d9c9eecb74f8a0be01dd6fbde6e6b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T01:04:12.620Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-436 [Pipeline] fileExists [Pipeline] sh [2022-11-07T01:04:12.975Z] + make test [2022-11-07T01:04:12.975Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T01:04:13.234Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-07T01:04:23.203Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-07T01:04:23.464Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2022-11-07T01:04:23.464Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-07T01:04:30.027Z] 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-11-07T01:04:30.027Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T01:04:33.314Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T01:04:33.314Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T01:04:33.314Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T01:04:33.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T01:04:33.383Z] $ docker stop --time=1 876d23f387117d700bcf9a04518cd6bb102d9c9eecb74f8a0be01dd6fbde6e6b [2022-11-07T01:04:35.226Z] $ docker rm -f 876d23f387117d700bcf9a04518cd6bb102d9c9eecb74f8a0be01dd6fbde6e6b [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T01:04:35.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T01:04:35.846Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T01:04:36.624Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T01:04:36.983Z] + ls -al . [2022-11-07T01:04:36.983Z] total 196 [2022-11-07T01:04:36.983Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 01:04 . [2022-11-07T01:04:36.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 01:03 .. [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 01:03 .dockerignore [2022-11-07T01:04:36.984Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 01:04 .git [2022-11-07T01:04:36.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:03 .github [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 01:03 .gitignore [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 01:03 .golangci.yml [2022-11-07T01:04:36.984Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 01:03 .semver [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 01:03 Attribution.txt [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 01:03 CHANGELOG.md [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 01:03 Dockerfile [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 01:03 GOVERNANCE.md [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 01:03 Jenkinsfile [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 01:03 LICENSE [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 01:03 Makefile [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 01:03 OWNERS.md [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 01:03 README.md [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 01:03 VERSION [2022-11-07T01:04:36.984Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 01:03 bin [2022-11-07T01:04:36.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:03 cmd [2022-11-07T01:04:36.984Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 01:04 coverage.out [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 3505 Nov 7 01:03 go.mod [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 45130 Nov 7 01:03 go.sum [2022-11-07T01:04:36.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:03 internal [2022-11-07T01:04:36.984Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 01:03 mock [2022-11-07T01:04:36.984Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 01:03 snap [2022-11-07T01:04:36.984Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 01:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:04:37.447Z] + 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=087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 --label arch=amd64 --label version=0.0.0 . [2022-11-07T01:04:37.448Z] Sending build context to Docker daemon 6.274MB [2022-11-07T01:04:37.448Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T01:04:37.448Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T01:04:37.448Z] ---> 6041a1047a58 [2022-11-07T01:04:37.448Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T01:04:37.448Z] ---> Running in b5b688b6f2b5 [2022-11-07T01:04:37.710Z] Removing intermediate container b5b688b6f2b5 [2022-11-07T01:04:37.710Z] ---> 4a341bf4afe0 [2022-11-07T01:04:37.710Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T01:04:37.710Z] ---> Running in 6fc0ab2afc5f [2022-11-07T01:04:37.711Z] Removing intermediate container 6fc0ab2afc5f [2022-11-07T01:04:37.711Z] ---> 2cfbd412463a [2022-11-07T01:04:37.711Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T01:04:37.971Z] ---> Running in 0eb3d8e85dc9 [2022-11-07T01:04:37.971Z] Removing intermediate container 0eb3d8e85dc9 [2022-11-07T01:04:37.971Z] ---> 09a7dacdc8ef [2022-11-07T01:04:37.971Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T01:04:37.971Z] ---> Running in bdec0e6def0b [2022-11-07T01:04:37.971Z] Removing intermediate container bdec0e6def0b [2022-11-07T01:04:37.971Z] ---> 1d25222b7ff9 [2022-11-07T01:04:37.971Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T01:04:38.231Z] ---> Running in 5871559785c0 [2022-11-07T01:04:38.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T01:04:38.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T01:04:39.009Z] OK: 216 MiB in 55 packages [2022-11-07T01:04:39.269Z] Removing intermediate container 5871559785c0 [2022-11-07T01:04:39.269Z] ---> 208727d30918 [2022-11-07T01:04:39.269Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-07T01:04:39.269Z] ---> Running in 69d859464932 [2022-11-07T01:04:39.528Z] Removing intermediate container 69d859464932 [2022-11-07T01:04:39.528Z] ---> 9d50e691b433 [2022-11-07T01:04:39.528Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T01:04:39.528Z] ---> 72dbe2b3706d [2022-11-07T01:04:39.529Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T01:04:39.529Z] ---> Running in 52a64f32f4b3 [2022-11-07T01:04:40.464Z] Removing intermediate container 52a64f32f4b3 [2022-11-07T01:04:40.464Z] ---> f39632149994 [2022-11-07T01:04:40.464Z] Step 11/24 : COPY . . [2022-11-07T01:04:40.464Z] ---> e8975374ff17 [2022-11-07T01:04:40.464Z] Step 12/24 : RUN $MAKE [2022-11-07T01:04:40.724Z] ---> Running in f57b43448972 [2022-11-07T01:04:40.984Z] 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-11-07T01:05:02.910Z] Removing intermediate container f57b43448972 [2022-11-07T01:05:02.910Z] ---> 001537bdf31c [2022-11-07T01:05:02.910Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T01:05:02.910Z] 3.16: Pulling from library/alpine [2022-11-07T01:05:02.910Z] 213ec9aee27d: Already exists [2022-11-07T01:05:02.910Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T01:05:02.910Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T01:05:02.910Z] ---> 9c6f07244728 [2022-11-07T01:05:02.910Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-07T01:05:02.910Z] ---> Running in 2d7541313185 [2022-11-07T01:05:02.910Z] Removing intermediate container 2d7541313185 [2022-11-07T01:05:02.910Z] ---> 92dca61703bd [2022-11-07T01:05:02.910Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T01:05:02.910Z] ---> Running in 4d8bf761be49 [2022-11-07T01:05:02.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T01:05:02.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T01:05:02.910Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T01:05:02.910Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T01:05:02.910Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T01:05:02.910Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T01:05:02.910Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T01:05:02.910Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T01:05:02.910Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T01:05:02.910Z] OK: 8 MiB in 20 packages [2022-11-07T01:05:02.910Z] Removing intermediate container 4d8bf761be49 [2022-11-07T01:05:02.910Z] ---> f107b72244de [2022-11-07T01:05:02.910Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-07T01:05:02.910Z] ---> 850e6f0af418 [2022-11-07T01:05:02.910Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-07T01:05:02.910Z] ---> ca70bfcd8454 [2022-11-07T01:05:02.910Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-07T01:05:03.170Z] ---> 439083a301cc [2022-11-07T01:05:03.170Z] Step 19/24 : EXPOSE 59982 [2022-11-07T01:05:03.170Z] ---> Running in 5c818502e159 [2022-11-07T01:05:03.170Z] Removing intermediate container 5c818502e159 [2022-11-07T01:05:03.170Z] ---> ee8aed5b02ed [2022-11-07T01:05:03.170Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-07T01:05:03.170Z] ---> Running in f77e16aa0c2a [2022-11-07T01:05:03.445Z] Removing intermediate container f77e16aa0c2a [2022-11-07T01:05:03.445Z] ---> ba6e829b1148 [2022-11-07T01:05:03.445Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T01:05:03.445Z] ---> Running in d781d2a50f7f [2022-11-07T01:05:03.445Z] Removing intermediate container d781d2a50f7f [2022-11-07T01:05:03.445Z] ---> 3ab757df9cd8 [2022-11-07T01:05:03.445Z] Step 22/24 : LABEL arch=amd64 [2022-11-07T01:05:03.445Z] ---> Running in 2667d909f24f [2022-11-07T01:05:03.706Z] Removing intermediate container 2667d909f24f [2022-11-07T01:05:03.706Z] ---> 5f9ada5e3ab8 [2022-11-07T01:05:03.706Z] Step 23/24 : LABEL git_sha=087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 [2022-11-07T01:05:03.706Z] ---> Running in 4eb9ebf5e698 [2022-11-07T01:05:03.706Z] Removing intermediate container 4eb9ebf5e698 [2022-11-07T01:05:03.706Z] ---> 1a95fa793afc [2022-11-07T01:05:03.706Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T01:05:03.706Z] ---> Running in b4624f8990e2 [2022-11-07T01:05:03.966Z] Removing intermediate container b4624f8990e2 [2022-11-07T01:05:03.966Z] ---> e0bfff0387ef [2022-11-07T01:05:03.966Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T01:05:03.966Z] Successfully built e0bfff0387ef [2022-11-07T01:05:03.966Z] 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-11-07T01:05:05.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T01:05:05.007Z] [2022-11-07T01:05:05.007Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:05:05.403Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T01:05:05.403Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T01:05:05.403Z] 5eb5b503b376: Pulling fs layer [2022-11-07T01:05:05.403Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T01:05:05.403Z] ec43610c2a17: Pulling fs layer [2022-11-07T01:05:05.403Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T01:05:05.403Z] 33b1e0a273af: Pulling fs layer [2022-11-07T01:05:05.403Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T01:05:05.403Z] 2f39f015ded8: Pulling fs layer [2022-11-07T01:05:05.403Z] 3a2ae6a8a46f: Waiting [2022-11-07T01:05:05.403Z] 33b1e0a273af: Waiting [2022-11-07T01:05:05.403Z] 5d3b04190fa2: Waiting [2022-11-07T01:05:05.403Z] 2f39f015ded8: Waiting [2022-11-07T01:05:05.403Z] 5c69ac0246d0: Download complete [2022-11-07T01:05:05.403Z] 3a2ae6a8a46f: Download complete [2022-11-07T01:05:05.668Z] 33b1e0a273af: Verifying Checksum [2022-11-07T01:05:05.668Z] 33b1e0a273af: Download complete [2022-11-07T01:05:05.668Z] 5d3b04190fa2: Verifying Checksum [2022-11-07T01:05:05.668Z] 5d3b04190fa2: Download complete [2022-11-07T01:05:05.668Z] ec43610c2a17: Verifying Checksum [2022-11-07T01:05:05.668Z] ec43610c2a17: Download complete [2022-11-07T01:05:05.928Z] 5eb5b503b376: Download complete [2022-11-07T01:05:06.493Z] 2f39f015ded8: Verifying Checksum [2022-11-07T01:05:06.493Z] 2f39f015ded8: Download complete [2022-11-07T01:05:06.754Z] 5eb5b503b376: Pull complete [2022-11-07T01:05:07.013Z] 5c69ac0246d0: Pull complete [2022-11-07T01:05:07.272Z] ec43610c2a17: Pull complete [2022-11-07T01:05:07.531Z] 3a2ae6a8a46f: Pull complete [2022-11-07T01:05:07.531Z] 33b1e0a273af: Pull complete [2022-11-07T01:05:07.791Z] 5d3b04190fa2: Pull complete [2022-11-07T01:05:11.977Z] 2f39f015ded8: Pull complete [2022-11-07T01:05:11.977Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T01:05:11.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T01:05:11.977Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:05:12.238Z] prd-ubuntu20.04-docker-8c-8g-118355 does not seem to be running inside a container [2022-11-07T01:05:12.276Z] $ 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-436 -v /w/workspace/gexfoundry_device-mqtt-go_PR-436:/w/workspace/gexfoundry_device-mqtt-go_PR-436:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-436@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-436@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-11-07T01:05:14.125Z] $ docker top 189b293454e1cd8d2229411fd9a5161c6f652ae77cbaf5fa4d0d2e0da31a9701 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:05:14.608Z] ---> job-cost.sh [2022-11-07T01:05:14.608Z] lf-activate-venv: SKIPPING [2022-11-07T01:05:14.608Z] INFO: No Stack... [2022-11-07T01:05:15.178Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T01:05:15.437Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T01:05:15.748Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-436/archives/cost.csv [2022-11-07T01:05:15.748Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T01:05:15.789Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-436-1-stack-cost] [2022-11-07T01:05:15.794Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-436-1-stack-cost] did not exist. Created. [2022-11-07T01:05:15.794Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-436-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T01:05:16.202Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T01:05:16.257Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T01:05:16.279Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-436-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T01:05:16.371Z] $ docker stop --time=1 189b293454e1cd8d2229411fd9a5161c6f652ae77cbaf5fa4d0d2e0da31a9701 [2022-11-07T01:05:17.548Z] $ docker rm -f 189b293454e1cd8d2229411fd9a5161c6f652ae77cbaf5fa4d0d2e0da31a9701 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T01:06:38.162Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118359 in /w/workspace/gexfoundry_device-mqtt-go_PR-436 [Pipeline] { [Pipeline] ws [2022-11-07T01:06:38.238Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-11-07T01:06:38.357Z] Selected Git installation does not exist. Using Default [2022-11-07T01:06:38.357Z] The recommended git tool is: NONE [2022-11-07T01:06:49.259Z] using credential edgex-jenkins-ssh [2022-11-07T01:06:49.281Z] Cloning the remote Git repository [2022-11-07T01:06:49.347Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T01:06:49.452Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-11-07T01:06:49.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T01:06:49.732Z] > git --version # timeout=10 [2022-11-07T01:06:49.791Z] > git --version # 'git version 2.25.1' [2022-11-07T01:06:49.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T01:06:49.866Z] Verifying host key using known hosts file [2022-11-07T01:06:50.311Z] 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-11-07T01:06:50.351Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T01:06:51.796Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-07T01:06:51.843Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T01:06:53.774Z] Merging remotes/origin/main commit caab5c19f0226ea205a717313438d75c5b5382a1 into PR head commit 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 [2022-11-07T01:06:54.089Z] Merge succeeded, producing 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 [2022-11-07T01:06:54.090Z] Checking out Revision 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 (PR-436) [2022-11-07T01:06:53.073Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-07T01:06:53.127Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T01:06:53.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T01:06:53.134Z] Verifying host key using known hosts file [2022-11-07T01:06:53.142Z] 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-11-07T01:06:53.157Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/436/head:refs/remotes/origin/PR-436 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T01:06:53.804Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T01:06:53.828Z] > git checkout -f 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 # timeout=10 [2022-11-07T01:06:53.935Z] > git remote # timeout=10 [2022-11-07T01:06:53.961Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T01:06:53.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T01:06:53.999Z] Verifying host key using known hosts file [2022-11-07T01:06:54.004Z] 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-11-07T01:06:54.016Z] > git merge caab5c19f0226ea205a717313438d75c5b5382a1 # timeout=10 [2022-11-07T01:06:54.057Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T01:06:54.098Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T01:06:54.118Z] > git checkout -f 087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 # timeout=10 [2022-11-07T01:06:54.742Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-11-07T01:06:54.817Z] > git --version # timeout=10 [2022-11-07T01:06:54.837Z] > git --version # 'git version 2.25.1' [2022-11-07T01:06:54.871Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T01:06:56.173Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T01:06:56.174Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T01:06:56.174Z] Dload Upload Total Spent Left Speed [2022-11-07T01:06:56.174Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85148 0 --:--:-- --:--:-- --:--:-- 85727 [Pipeline] sh [2022-11-07T01:06:56.966Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T01:06:57.331Z] + sudo tee /etc/docker/daemon.new [2022-11-07T01:06:57.331Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T01:06:57.331Z] { [2022-11-07T01:06:57.331Z] "registry-mirrors": [ [2022-11-07T01:06:57.331Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T01:06:57.331Z] ], [2022-11-07T01:06:57.331Z] "bip": "10.250.0.254/24", [2022-11-07T01:06:57.331Z] "hosts": [ [2022-11-07T01:06:57.331Z] "tcp://0.0.0.0:5555", [2022-11-07T01:06:57.331Z] "unix:///var/run/docker.sock" [2022-11-07T01:06:57.331Z] ], [2022-11-07T01:06:57.331Z] "mtu": 1458, [2022-11-07T01:06:57.331Z] "selinux-enabled": true, [2022-11-07T01:06:57.331Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T01:06:57.331Z] } [Pipeline] sh [2022-11-07T01:06:57.720Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T01:06:58.103Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T01:07:16.516Z] provisioning config files... [2022-11-07T01:07:16.553Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15278510142542011934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:07:16.975Z] ---> docker-login.sh [2022-11-07T01:07:16.975Z] nexus3.edgexfoundry.org:10001 [2022-11-07T01:07:17.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:07:17.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:07:17.850Z] Configure a credential helper to remove this warning. See [2022-11-07T01:07:17.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:07:17.850Z] [2022-11-07T01:07:17.850Z] Login Succeeded [2022-11-07T01:07:17.850Z] nexus3.edgexfoundry.org:10002 [2022-11-07T01:07:18.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:07:18.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:07:18.126Z] Configure a credential helper to remove this warning. See [2022-11-07T01:07:18.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:07:18.126Z] [2022-11-07T01:07:18.126Z] Login Succeeded [2022-11-07T01:07:18.126Z] nexus3.edgexfoundry.org:10003 [2022-11-07T01:07:18.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:07:18.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:07:18.731Z] Configure a credential helper to remove this warning. See [2022-11-07T01:07:18.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:07:18.731Z] [2022-11-07T01:07:18.731Z] Login Succeeded [2022-11-07T01:07:18.731Z] nexus3.edgexfoundry.org:10004 [2022-11-07T01:07:19.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:07:19.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:07:19.006Z] Configure a credential helper to remove this warning. See [2022-11-07T01:07:19.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:07:19.006Z] [2022-11-07T01:07:19.006Z] Login Succeeded [2022-11-07T01:07:19.280Z] docker.io [2022-11-07T01:07:19.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T01:07:19.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T01:07:19.824Z] Configure a credential helper to remove this warning. See [2022-11-07T01:07:19.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T01:07:19.824Z] [2022-11-07T01:07:19.824Z] Login Succeeded [2022-11-07T01:07:19.824Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T01:07:19.857Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T01:07:20.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T01:07:20.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T01:07:20.255Z] ========================================================= [2022-11-07T01:07:20.255Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T01:07:20.255Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:07:20.822Z] + 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-11-07T01:07:21.096Z] Sending build context to Docker daemon 3.25MB [2022-11-07T01:07:21.096Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T01:07:21.096Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T01:07:21.372Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T01:07:21.372Z] 9b18e9b68314: Pulling fs layer [2022-11-07T01:07:21.372Z] 35d82f9e3411: Pulling fs layer [2022-11-07T01:07:21.372Z] e16973657156: Pulling fs layer [2022-11-07T01:07:21.372Z] fc693d55d65f: Pulling fs layer [2022-11-07T01:07:21.372Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T01:07:21.372Z] dda99020689f: Pulling fs layer [2022-11-07T01:07:21.372Z] db1c61fa0a46: Pulling fs layer [2022-11-07T01:07:21.372Z] 891c053d2c06: Pulling fs layer [2022-11-07T01:07:21.372Z] dda99020689f: Waiting [2022-11-07T01:07:21.372Z] db1c61fa0a46: Waiting [2022-11-07T01:07:21.372Z] 891c053d2c06: Waiting [2022-11-07T01:07:21.372Z] fc693d55d65f: Waiting [2022-11-07T01:07:21.372Z] 7e9fc2657dce: Waiting [2022-11-07T01:07:21.372Z] e16973657156: Verifying Checksum [2022-11-07T01:07:21.372Z] e16973657156: Download complete [2022-11-07T01:07:21.372Z] 35d82f9e3411: Verifying Checksum [2022-11-07T01:07:21.372Z] 35d82f9e3411: Download complete [2022-11-07T01:07:21.372Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T01:07:21.372Z] 7e9fc2657dce: Download complete [2022-11-07T01:07:21.372Z] dda99020689f: Verifying Checksum [2022-11-07T01:07:21.372Z] dda99020689f: Download complete [2022-11-07T01:07:21.372Z] 9b18e9b68314: Verifying Checksum [2022-11-07T01:07:22.439Z] 9b18e9b68314: Pull complete [2022-11-07T01:07:22.715Z] 891c053d2c06: Verifying Checksum [2022-11-07T01:07:22.715Z] 891c053d2c06: Download complete [2022-11-07T01:07:23.307Z] 35d82f9e3411: Pull complete [2022-11-07T01:07:23.581Z] e16973657156: Pull complete [2022-11-07T01:07:24.200Z] db1c61fa0a46: Verifying Checksum [2022-11-07T01:07:24.200Z] db1c61fa0a46: Download complete [2022-11-07T01:07:24.796Z] fc693d55d65f: Verifying Checksum [2022-11-07T01:07:24.796Z] fc693d55d65f: Download complete [2022-11-07T01:07:39.872Z] fc693d55d65f: Pull complete [2022-11-07T01:07:39.872Z] 7e9fc2657dce: Pull complete [2022-11-07T01:07:39.872Z] dda99020689f: Pull complete [2022-11-07T01:07:44.175Z] db1c61fa0a46: Pull complete [2022-11-07T01:07:45.607Z] 891c053d2c06: Pull complete [2022-11-07T01:07:45.607Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T01:07:45.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T01:07:45.607Z] ---> f96f9c87975a [2022-11-07T01:07:45.607Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T01:07:47.557Z] ---> Running in 8442d3422aa6 [2022-11-07T01:07:47.825Z] Removing intermediate container 8442d3422aa6 [2022-11-07T01:07:47.825Z] ---> 419aecc622b7 [2022-11-07T01:07:47.825Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T01:07:47.825Z] ---> Running in abc01900c810 [2022-11-07T01:07:48.095Z] Removing intermediate container abc01900c810 [2022-11-07T01:07:48.095Z] ---> a4f3f04b3835 [2022-11-07T01:07:48.095Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T01:07:48.376Z] ---> Running in 9cf854e566b8 [2022-11-07T01:07:48.648Z] Removing intermediate container 9cf854e566b8 [2022-11-07T01:07:48.648Z] ---> 72e6eea24583 [2022-11-07T01:07:48.648Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T01:07:48.648Z] ---> Running in a6b68e417001 [2022-11-07T01:07:48.920Z] Removing intermediate container a6b68e417001 [2022-11-07T01:07:48.920Z] ---> 9bcd71a7bea0 [2022-11-07T01:07:48.920Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T01:07:49.207Z] ---> Running in dad0763afcb4 [2022-11-07T01:07:50.624Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T01:07:50.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T01:07:51.880Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T01:07:52.161Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T01:07:52.161Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T01:07:52.161Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T01:07:52.161Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T01:07:52.161Z] OK: 226 MiB in 55 packages [2022-11-07T01:07:54.793Z] Removing intermediate container dad0763afcb4 [2022-11-07T01:07:54.793Z] ---> abdd6406d1ff [2022-11-07T01:07:54.793Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-07T01:07:54.793Z] ---> Running in fc07a0b221e4 [2022-11-07T01:07:55.066Z] Removing intermediate container fc07a0b221e4 [2022-11-07T01:07:55.066Z] ---> 88d0032c4f75 [2022-11-07T01:07:55.066Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T01:07:55.664Z] ---> ccc5cc2a7ae7 [2022-11-07T01:07:55.664Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T01:07:55.664Z] ---> Running in bae3dda20691 [2022-11-07T01:08:52.354Z] Removing intermediate container bae3dda20691 [2022-11-07T01:08:52.354Z] ---> 1dd64a7ab476 [2022-11-07T01:08:52.354Z] Step 11/12 : COPY . . [2022-11-07T01:08:52.950Z] ---> 37978eb85293 [2022-11-07T01:08:52.950Z] Step 12/12 : RUN $MAKE [2022-11-07T01:08:52.950Z] ---> Running in 548bd1d3908e [2022-11-07T01:08:53.923Z] noop [2022-11-07T01:08:54.909Z] Removing intermediate container 548bd1d3908e [2022-11-07T01:08:54.909Z] ---> 862e66979754 [2022-11-07T01:08:54.909Z] Successfully built 862e66979754 [2022-11-07T01:08:54.909Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:08:55.375Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T01:08:55.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:08:55.649Z] prd-ubuntu20.04-docker-arm64-4c-16g-118359 does not seem to be running inside a container [2022-11-07T01:08:55.773Z] $ 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-11-07T01:08:58.225Z] $ docker top 1f693a0151916c85c5391886f7dc256e7b5eea60d165eb58cb48229dee20c5c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T01:08:59.208Z] + go version [2022-11-07T01:08:59.208Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T01:08:59.241Z] $ docker stop --time=1 1f693a0151916c85c5391886f7dc256e7b5eea60d165eb58cb48229dee20c5c9 [2022-11-07T01:09:00.980Z] $ docker rm -f 1f693a0151916c85c5391886f7dc256e7b5eea60d165eb58cb48229dee20c5c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:09:01.896Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T01:09:01.896Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:09:02.188Z] prd-ubuntu20.04-docker-arm64-4c-16g-118359 does not seem to be running inside a container [2022-11-07T01:09:02.273Z] $ 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-11-07T01:09:03.756Z] $ docker top 223502035abd74365c728cf97bc3c2f48383bd6be283cf4449d65bbdc61c02a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T01:09:04.783Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-07T01:09:05.568Z] + make test [2022-11-07T01:09:05.568Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T01:09:07.542Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-07T01:10:59.371Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-07T01:10:59.371Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.098s coverage: 21.8% of statements [2022-11-07T01:10:59.371Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-07T01:10:59.371Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T01:10:59.371Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T01:11:26.136Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T01:11:26.136Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T01:11:26.136Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T01:11:26.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T01:11:26.475Z] $ docker stop --time=1 223502035abd74365c728cf97bc3c2f48383bd6be283cf4449d65bbdc61c02a9 [2022-11-07T01:11:28.337Z] $ docker rm -f 223502035abd74365c728cf97bc3c2f48383bd6be283cf4449d65bbdc61c02a9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T01:11:29.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T01:11:29.612Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T01:11:30.172Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T01:11:30.797Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T01:11:31.149Z] + ls -al . [2022-11-07T01:11:31.149Z] total 192 [2022-11-07T01:11:31.149Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 01:09 . [2022-11-07T01:11:31.149Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 01:06 .. [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 01:06 .dockerignore [2022-11-07T01:11:31.149Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 01:06 .git [2022-11-07T01:11:31.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:06 .github [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 01:06 .gitignore [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 01:06 .golangci.yml [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 01:06 Attribution.txt [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 01:06 CHANGELOG.md [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 01:06 Dockerfile [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 01:06 GOVERNANCE.md [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 01:06 Jenkinsfile [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 01:06 LICENSE [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 01:06 Makefile [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 01:06 OWNERS.md [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 01:06 README.md [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 01:03 VERSION [2022-11-07T01:11:31.149Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 01:06 bin [2022-11-07T01:11:31.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:06 cmd [2022-11-07T01:11:31.149Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 01:10 coverage.out [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 3505 Nov 7 01:06 go.mod [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 45130 Nov 7 01:06 go.sum [2022-11-07T01:11:31.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:06 internal [2022-11-07T01:11:31.149Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 01:06 mock [2022-11-07T01:11:31.149Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 01:06 snap [2022-11-07T01:11:31.149Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 01:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:11:31.588Z] + 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=087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 --label arch=arm64 --label version=0.0.0 . [2022-11-07T01:11:31.861Z] Sending build context to Docker daemon 3.269MB [2022-11-07T01:11:32.131Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T01:11:32.131Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T01:11:32.131Z] ---> 862e66979754 [2022-11-07T01:11:32.131Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T01:11:32.131Z] ---> Running in ab6af21cbf75 [2022-11-07T01:11:32.405Z] Removing intermediate container ab6af21cbf75 [2022-11-07T01:11:32.405Z] ---> f6b6039c00e2 [2022-11-07T01:11:32.405Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T01:11:32.674Z] ---> Running in f5c977497433 [2022-11-07T01:11:32.944Z] Removing intermediate container f5c977497433 [2022-11-07T01:11:32.944Z] ---> 4d35aa0b60e5 [2022-11-07T01:11:32.944Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T01:11:32.944Z] ---> Running in 9ff2308bf762 [2022-11-07T01:11:33.532Z] Removing intermediate container 9ff2308bf762 [2022-11-07T01:11:33.532Z] ---> c3e201eaf275 [2022-11-07T01:11:33.532Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T01:11:33.532Z] ---> Running in 1a556eb53c98 [2022-11-07T01:11:33.805Z] Removing intermediate container 1a556eb53c98 [2022-11-07T01:11:33.805Z] ---> 1ae296947e7d [2022-11-07T01:11:33.805Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T01:11:33.805Z] ---> Running in e62497de691b [2022-11-07T01:11:35.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T01:11:35.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T01:11:36.936Z] OK: 226 MiB in 55 packages [2022-11-07T01:11:37.539Z] Removing intermediate container e62497de691b [2022-11-07T01:11:37.539Z] ---> fabd9c375930 [2022-11-07T01:11:37.539Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-07T01:11:37.814Z] ---> Running in 57d9cb107641 [2022-11-07T01:11:38.086Z] Removing intermediate container 57d9cb107641 [2022-11-07T01:11:38.086Z] ---> 9ec54637d2a3 [2022-11-07T01:11:38.086Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T01:11:38.680Z] ---> cd7fec9e90d5 [2022-11-07T01:11:38.680Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T01:11:38.680Z] ---> Running in d96d62ac7056 [2022-11-07T01:11:41.299Z] Removing intermediate container d96d62ac7056 [2022-11-07T01:11:41.299Z] ---> 4d6c310a3e7f [2022-11-07T01:11:41.299Z] Step 11/24 : COPY . . [2022-11-07T01:11:42.277Z] ---> e971d2357a2a [2022-11-07T01:11:42.277Z] Step 12/24 : RUN $MAKE [2022-11-07T01:11:42.277Z] ---> Running in 9a3e04b35311 [2022-11-07T01:11:43.706Z] 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-11-07T01:14:35.536Z] Removing intermediate container 9a3e04b35311 [2022-11-07T01:14:35.536Z] ---> 46cd24f113e9 [2022-11-07T01:14:35.536Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T01:14:35.536Z] 3.16: Pulling from library/alpine [2022-11-07T01:14:35.536Z] 9b18e9b68314: Already exists [2022-11-07T01:14:35.536Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T01:14:35.536Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T01:14:35.536Z] ---> a6215f271958 [2022-11-07T01:14:35.536Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-07T01:14:35.536Z] ---> Running in c895e23c945f [2022-11-07T01:14:35.536Z] Removing intermediate container c895e23c945f [2022-11-07T01:14:35.536Z] ---> a2efff82d6eb [2022-11-07T01:14:35.536Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T01:14:35.536Z] ---> Running in d99d0dcfc71d [2022-11-07T01:14:35.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T01:14:35.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T01:14:35.536Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T01:14:35.536Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T01:14:35.536Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T01:14:35.536Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T01:14:35.536Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T01:14:35.536Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T01:14:35.536Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T01:14:35.536Z] OK: 8 MiB in 20 packages [2022-11-07T01:14:35.536Z] Removing intermediate container d99d0dcfc71d [2022-11-07T01:14:35.536Z] ---> 136213440b4e [2022-11-07T01:14:35.536Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-07T01:14:35.537Z] ---> 077b53c2f3ef [2022-11-07T01:14:35.537Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-07T01:14:35.537Z] ---> 81043f70396e [2022-11-07T01:14:35.537Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-07T01:14:35.809Z] ---> 8d44a765bd32 [2022-11-07T01:14:35.809Z] Step 19/24 : EXPOSE 59982 [2022-11-07T01:14:36.082Z] ---> Running in f7f3b86d8e2d [2022-11-07T01:14:36.354Z] Removing intermediate container f7f3b86d8e2d [2022-11-07T01:14:36.354Z] ---> 359f8de33918 [2022-11-07T01:14:36.354Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-07T01:14:36.354Z] ---> Running in 5976af5e5451 [2022-11-07T01:14:36.632Z] Removing intermediate container 5976af5e5451 [2022-11-07T01:14:36.632Z] ---> 9d0c2d27aca5 [2022-11-07T01:14:36.632Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T01:14:36.903Z] ---> Running in e3494900de79 [2022-11-07T01:14:37.173Z] Removing intermediate container e3494900de79 [2022-11-07T01:14:37.173Z] ---> 96933c179e7f [2022-11-07T01:14:37.173Z] Step 22/24 : LABEL arch=arm64 [2022-11-07T01:14:37.173Z] ---> Running in 76c1dac94618 [2022-11-07T01:14:37.442Z] Removing intermediate container 76c1dac94618 [2022-11-07T01:14:37.442Z] ---> 80e0da2547f9 [2022-11-07T01:14:37.442Z] Step 23/24 : LABEL git_sha=087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 [2022-11-07T01:14:37.719Z] ---> Running in 6983b92f441a [2022-11-07T01:14:37.993Z] Removing intermediate container 6983b92f441a [2022-11-07T01:14:37.993Z] ---> 06aa04683f72 [2022-11-07T01:14:37.993Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T01:14:37.993Z] ---> Running in 1ed24c9673cc [2022-11-07T01:14:38.585Z] Removing intermediate container 1ed24c9673cc [2022-11-07T01:14:38.585Z] ---> 8eb067565f70 [2022-11-07T01:14:38.585Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T01:14:38.585Z] Successfully built 8eb067565f70 [2022-11-07T01:14:38.585Z] 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-11-07T01:14:39.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T01:14:39.493Z] [2022-11-07T01:14:39.493Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:14:39.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T01:14:40.190Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T01:14:40.190Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T01:14:40.190Z] 04944245beec: Pulling fs layer [2022-11-07T01:14:40.190Z] 699f458cf7ca: Pulling fs layer [2022-11-07T01:14:40.190Z] 765212b225bb: Pulling fs layer [2022-11-07T01:14:40.190Z] f23df028b6ca: Pulling fs layer [2022-11-07T01:14:40.190Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T01:14:40.190Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T01:14:40.190Z] f23df028b6ca: Waiting [2022-11-07T01:14:40.190Z] d65c8cfc05b1: Waiting [2022-11-07T01:14:40.190Z] 2437ff75d9bd: Waiting [2022-11-07T01:14:40.190Z] 765212b225bb: Waiting [2022-11-07T01:14:40.190Z] 04944245beec: Verifying Checksum [2022-11-07T01:14:40.190Z] 04944245beec: Download complete [2022-11-07T01:14:40.190Z] 765212b225bb: Verifying Checksum [2022-11-07T01:14:40.190Z] 765212b225bb: Download complete [2022-11-07T01:14:40.190Z] f23df028b6ca: Verifying Checksum [2022-11-07T01:14:40.190Z] f23df028b6ca: Download complete [2022-11-07T01:14:40.190Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T01:14:40.190Z] d65c8cfc05b1: Download complete [2022-11-07T01:14:40.460Z] 699f458cf7ca: Verifying Checksum [2022-11-07T01:14:40.460Z] 699f458cf7ca: Download complete [2022-11-07T01:14:40.735Z] 8998bd30e6a1: Download complete [2022-11-07T01:14:43.334Z] 2437ff75d9bd: Download complete [2022-11-07T01:14:45.291Z] 8998bd30e6a1: Pull complete [2022-11-07T01:14:45.561Z] 04944245beec: Pull complete [2022-11-07T01:14:46.982Z] 699f458cf7ca: Pull complete [2022-11-07T01:14:47.254Z] 765212b225bb: Pull complete [2022-11-07T01:14:48.224Z] f23df028b6ca: Pull complete [2022-11-07T01:14:48.493Z] d65c8cfc05b1: Pull complete [2022-11-07T01:15:03.541Z] 2437ff75d9bd: Pull complete [2022-11-07T01:15:03.541Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T01:15:03.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T01:15:03.541Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:15:04.015Z] prd-ubuntu20.04-docker-arm64-4c-16g-118359 does not seem to be running inside a container [2022-11-07T01:15:04.110Z] $ 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-11-07T01:15:07.215Z] $ docker top 3360f7db18247a12697ca7c9fabcfb31e299299781a3feda62dd473cdc47a925 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:15:08.261Z] ---> job-cost.sh [2022-11-07T01:15:08.261Z] lf-activate-venv: SKIPPING [2022-11-07T01:15:08.261Z] INFO: No Stack... [2022-11-07T01:15:08.529Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T01:15:09.499Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T01:15:10.164Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-11-07T01:15:10.164Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T01:15:10.231Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-436-1-stack-cost] [2022-11-07T01:15:10.236Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-436-1-stack-cost] did not exist. Created. [2022-11-07T01:15:10.236Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-436-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T01:15:10.988Z] /w/workspace/device-mqtt-go/1@tmp/durable-4f4e29dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T01:15:11.705Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T01:15:11.741Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T01:15:11.794Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T01:15:11.810Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-436-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T01:15:11.900Z] $ docker stop --time=1 3360f7db18247a12697ca7c9fabcfb31e299299781a3feda62dd473cdc47a925 [2022-11-07T01:15:13.482Z] $ docker rm -f 3360f7db18247a12697ca7c9fabcfb31e299299781a3feda62dd473cdc47a925 [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-11-07T01:15:14.498Z] provisioning config files... [2022-11-07T01:15:14.510Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-436@tmp/config10359798813924953119tmp [Pipeline] { [Pipeline] sh [2022-11-07T01:15:14.848Z] + set +x [2022-11-07T01:15:14.848Z] + bash -s -- [2022-11-07T01:15:14.848Z] + curl -s https://codecov.io/bash [2022-11-07T01:15:14.848Z] [2022-11-07T01:15:14.848Z] _____ _ [2022-11-07T01:15:14.848Z] / ____| | | [2022-11-07T01:15:14.848Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T01:15:14.848Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T01:15:14.848Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T01:15:14.848Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T01:15:14.848Z] Bash-1.0.6 [2022-11-07T01:15:14.848Z] [2022-11-07T01:15:14.848Z] [2022-11-07T01:15:14.848Z] ==> git version 2.25.1 found [2022-11-07T01:15:14.848Z] ==> 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-11-07T01:15:14.848Z] Release-Date: 2020-01-08 [2022-11-07T01:15:14.848Z] 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-11-07T01:15:14.848Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T01:15:14.848Z] ==> Jenkins CI detected. [2022-11-07T01:15:14.848Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-436 [2022-11-07T01:15:14.848Z] project root: . [2022-11-07T01:15:14.848Z] --> token set from env [2022-11-07T01:15:14.848Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T01:15:14.848Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T01:15:14.848Z] ==> Python coveragepy not found [2022-11-07T01:15:14.848Z] ==> Searching for coverage reports in: [2022-11-07T01:15:14.848Z] + . [2022-11-07T01:15:14.848Z] -> Found 1 reports [2022-11-07T01:15:14.848Z] ==> Detecting git/mercurial file structure [2022-11-07T01:15:14.848Z] ==> Reading reports [2022-11-07T01:15:14.848Z] + ./coverage.out bytes=17887 [2022-11-07T01:15:14.848Z] ==> Appending adjustments [2022-11-07T01:15:14.848Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T01:15:15.110Z] + Found adjustments [2022-11-07T01:15:15.110Z] ==> Gzipping contents [2022-11-07T01:15:15.110Z] 4.0K /tmp/codecov.raDsnE.gz [2022-11-07T01:15:15.110Z] ==> Uploading reports [2022-11-07T01:15:15.110Z] url: https://codecov.io [2022-11-07T01:15:15.110Z] query: branch=PR-436&commit=087db0a99cfb8ccdbd7ffade3d6eae5811941ea9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-436%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=436&job=&cmd_args= [2022-11-07T01:15:15.110Z] -> Pinging Codecov [2022-11-07T01:15:15.110Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-436&commit=087db0a99cfb8ccdbd7ffade3d6eae5811941ea9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-436%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=436&job=&cmd_args= [2022-11-07T01:15:15.371Z] -> Uploading to [2022-11-07T01:15:15.371Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/7D719EC7BBE17E464838252E33014C33/087db0a99cfb8ccdbd7ffade3d6eae5811941ea9/bf07684d-d9fd-4ea2-af30-1b6dbedbbd10.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T011515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c60b924e871753bf3ad982fa947f7b6c4132085b1bee23eb719f5a652294ca1c [2022-11-07T01:15:15.371Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T01:15:15.371Z] Dload Upload Total Spent Left Speed [2022-11-07T01:15:15.630Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 14418 --:--:-- --:--:-- --:--:-- 14354 100 3201 0 0 100 3201 0 12455 --:--:-- --:--:-- --:--:-- 12406 [2022-11-07T01:15:15.630Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/087db0a99cfb8ccdbd7ffade3d6eae5811941ea9 [Pipeline] } [2022-11-07T01:15:15.660Z] 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-11-07T01:15:17.494Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-436/archives ] [2022-11-07T01:15:17.494Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-436/archives [2022-11-07T01:15:17.494Z] total 16 [2022-11-07T01:15:17.494Z] drwxr-xr-x 3 root root 4096 Nov 7 01:05 . [2022-11-07T01:15:17.494Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 01:05 .. [2022-11-07T01:15:17.494Z] drwxr-xr-x 2 root root 4096 Nov 7 01:05 cost [2022-11-07T01:15:17.494Z] -rw-r--r-- 1 root root 86 Nov 7 01:05 cost.csv [2022-11-07T01:15:17.494Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-436/archives [2022-11-07T01:15:17.494Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-436/archives [2022-11-07T01:15:17.494Z] total 16 [2022-11-07T01:15:17.494Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 01:05 . [2022-11-07T01:15:17.494Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 01:05 .. [2022-11-07T01:15:17.494Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 01:05 cost [2022-11-07T01:15:17.494Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 01:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:15:17.834Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:15:18.726Z] ---> package-listing.sh [2022-11-07T01:15:18.726Z] ++ facter osfamily [2022-11-07T01:15:18.726Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T01:15:18.987Z] + OS_FAMILY=debian [2022-11-07T01:15:18.987Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-436 [2022-11-07T01:15:18.987Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T01:15:18.987Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T01:15:18.987Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T01:15:18.987Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T01:15:18.987Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-436 ']' [2022-11-07T01:15:18.987Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T01:15:18.987Z] + case "${OS_FAMILY}" in [2022-11-07T01:15:18.987Z] + dpkg -l [2022-11-07T01:15:18.987Z] + grep '^ii' [2022-11-07T01:15:18.987Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T01:15:18.987Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T01:15:18.987Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T01:15:18.987Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-436 ']' [2022-11-07T01:15:18.987Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-436/archives/ [2022-11-07T01:15:18.987Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-436/archives/ [Pipeline] echo [2022-11-07T01:15:19.021Z] 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-436/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T01:15:19.317Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T01:15:19.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T01:15:19.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T01:15:20.088Z] prd-ubuntu20.04-docker-8c-8g-118355 does not seem to be running inside a container [2022-11-07T01:15:20.132Z] $ 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-436/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-436 -v /w/workspace/gexfoundry_device-mqtt-go_PR-436:/w/workspace/gexfoundry_device-mqtt-go_PR-436:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-436@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-436@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T01:15:20.369Z] $ docker top 4db148087fe58760517517b9121d44ed47209c252389379d1e40c05d680dfa76 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T01:15:20.879Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T01:15:21.198Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T01:15:21.520Z] + ls /var/log/sa-host [2022-11-07T01:15:21.520Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T01:15:21.768Z] provisioning config files... [2022-11-07T01:15:21.779Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-436@tmp/config906695298485508872tmp [Pipeline] { [Pipeline] echo [2022-11-07T01:15:21.834Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:15:22.147Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T01:15:22.221Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:15:22.628Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T01:15:22.667Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:15:22.984Z] ---> sudo-logs.sh [2022-11-07T01:15:22.984Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T01:15:23.080Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:15:23.392Z] ---> job-cost.sh [2022-11-07T01:15:23.392Z] lf-activate-venv: SKIPPING [2022-11-07T01:15:23.392Z] DEBUG: total: 0.2199999988079071 [2022-11-07T01:15:23.392Z] INFO: Retrieving Stack Cost... [2022-11-07T01:15:23.652Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T01:15:24.222Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T01:15:24.261Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T01:15:24.579Z] ---> logs-deploy.sh [2022-11-07T01:15:24.579Z] lf-activate-venv: SKIPPING [2022-11-07T01:15:24.579Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-436/1 [2022-11-07T01:15:24.579Z] INFO: archiving workspace using pattern(s): [2022-11-07T01:15:25.518Z] Archives upload complete. [2022-11-07T01:15:25.518Z] INFO: archiving logs to Nexus