Pull request #439 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4+9ee6b9239046894cb89ff0f0b410cd21a3bbb457 (c504d79330b0eb7a4ff965594243a7f07abc0fd6) 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-ssh2729420274158998380.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-ssh6045528297624666909.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-439/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-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17329163657416240783.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-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7145636315906636460.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-ssh12542126656604007441.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-439/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-439/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh800860138930635669.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118667 in /w/workspace/gexfoundry_device-mqtt-go_PR-439 [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-439 # 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/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 into PR head commit 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 Merge succeeded, producing 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 Checking out Revision 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 (PR-439) > git config core.sparsecheckout # timeout=10 > git checkout -f 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 # 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 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 # timeout=10 Commit message: "build: Update to use released SDK" 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-08T22:58:00.660Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T22:58:00.819Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T22:58:00.914Z] ========================================================= [2022-11-08T22:58:00.914Z] EdgeX Global Pipelines Version Info [2022-11-08T22:58:00.914Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-08T22:58:02.021Z] ------------------- [2022-11-08T22:58:02.021Z] stable info: [2022-11-08T22:58:02.021Z] ------------------- [2022-11-08T22:58:02.021Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T22:58:02.021Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T22:58:02.021Z] Message: update stable to v1.0.244 [2022-11-08T22:58:02.284Z] ------------------- [2022-11-08T22:58:02.284Z] experimental info: [2022-11-08T22:58:02.284Z] ------------------- [2022-11-08T22:58:02.284Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T22:58:02.284Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T22:58:02.284Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T22:58:02.543Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-11-08T22:58:02.580Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-11-08T22:58:02.617Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T22:58:02.660Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T22:58:02.695Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T22:58:02.732Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T22:58:02.770Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T22:58:02.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T22:58:02.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T22:58:02.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T22:58:02.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T22:58:02.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-11-08T22:58:03.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T22:58:03.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T22:58:03.121Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T22:58:03.158Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T22:58:03.197Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T22:58:03.242Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T22:58:03.284Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T22:58:03.319Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T22:58:03.356Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-08T22:58:03.392Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-08T22:58:03.428Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T22:58:03.469Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T22:58:03.507Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T22:58:03.544Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T22:58:03.586Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T22:58:03.624Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo [2022-11-08T22:58:03.665Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo [2022-11-08T22:58:03.704Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo [2022-11-08T22:58:03.741Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [Pipeline] echo [2022-11-08T22:58:03.776Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68b58be [Pipeline] echo [2022-11-08T22:58:03.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T22:58:03.917Z] provisioning config files... [2022-11-08T22:58:03.935Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/config4279056096156100030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T22:58:04.298Z] ---> docker-login.sh [2022-11-08T22:58:04.299Z] nexus3.edgexfoundry.org:10001 [2022-11-08T22:58:04.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:58:04.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:58:04.558Z] Configure a credential helper to remove this warning. See [2022-11-08T22:58:04.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:58:04.558Z] [2022-11-08T22:58:04.558Z] Login Succeeded [2022-11-08T22:58:04.558Z] nexus3.edgexfoundry.org:10002 [2022-11-08T22:58:04.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:58:04.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:58:04.823Z] Configure a credential helper to remove this warning. See [2022-11-08T22:58:04.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:58:04.823Z] [2022-11-08T22:58:04.823Z] Login Succeeded [2022-11-08T22:58:04.823Z] nexus3.edgexfoundry.org:10003 [2022-11-08T22:58:04.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:58:04.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:58:04.823Z] Configure a credential helper to remove this warning. See [2022-11-08T22:58:04.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:58:04.823Z] [2022-11-08T22:58:04.823Z] Login Succeeded [2022-11-08T22:58:04.823Z] nexus3.edgexfoundry.org:10004 [2022-11-08T22:58:05.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:58:05.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:58:05.083Z] Configure a credential helper to remove this warning. See [2022-11-08T22:58:05.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:58:05.083Z] [2022-11-08T22:58:05.083Z] Login Succeeded [2022-11-08T22:58:05.083Z] docker.io [2022-11-08T22:58:05.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:58:05.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:58:05.344Z] Configure a credential helper to remove this warning. See [2022-11-08T22:58:05.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:58:05.344Z] [2022-11-08T22:58:05.344Z] Login Succeeded [2022-11-08T22:58:05.344Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T22:58:05.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T22:58:05.978Z] + git rev-list -1 --merges 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4~1..68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [Pipeline] echo [2022-11-08T22:58:06.042Z] -----------> git rev-list -1 --merges 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4~1..68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [false] [Pipeline] sh [2022-11-08T22:58:06.350Z] + git log --format=format:%s -1 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [Pipeline] echo [2022-11-08T22:58:06.392Z] ========================================================= [2022-11-08T22:58:06.392Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T22:58:06.392Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T22:58:06.846Z] + git log --format=format:%s -1 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [Pipeline] echo [2022-11-08T22:58:06.875Z] [semverPrep] GIT_COMMIT: 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4, Commit Message: build: Update to use released SDK [Pipeline] echo [2022-11-08T22:58:06.903Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T22:58:07.279Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T22:58:07.279Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T22:58:07.279Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T22:58:07.279Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T22:58:07.279Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T22:58:07.279Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T22:58:07.279Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:58:07.701Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T22:58:07.701Z] [2022-11-08T22:58:07.701Z] 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-08T22:58:08.074Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T22:58:08.074Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T22:58:08.074Z] b85a868b505f: Pulling fs layer [2022-11-08T22:58:08.074Z] e2be974225ed: Pulling fs layer [2022-11-08T22:58:08.074Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T22:58:08.074Z] 988bab9f4d93: Pulling fs layer [2022-11-08T22:58:08.074Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T22:58:08.074Z] eaf3925da568: Pulling fs layer [2022-11-08T22:58:08.074Z] bab4dde63d76: Pulling fs layer [2022-11-08T22:58:08.074Z] bde34c3a00c8: Pulling fs layer [2022-11-08T22:58:08.074Z] b352a97aabf1: Pulling fs layer [2022-11-08T22:58:08.074Z] 4872d77fe225: Pulling fs layer [2022-11-08T22:58:08.074Z] 5851b861e8e6: Pulling fs layer [2022-11-08T22:58:08.074Z] 988bab9f4d93: Waiting [2022-11-08T22:58:08.074Z] 1469e6f7b9e6: Waiting [2022-11-08T22:58:08.074Z] eaf3925da568: Waiting [2022-11-08T22:58:08.074Z] bab4dde63d76: Waiting [2022-11-08T22:58:08.074Z] bde34c3a00c8: Waiting [2022-11-08T22:58:08.074Z] b352a97aabf1: Waiting [2022-11-08T22:58:08.074Z] 4872d77fe225: Waiting [2022-11-08T22:58:08.074Z] 5851b861e8e6: Waiting [2022-11-08T22:58:08.074Z] e2be974225ed: Verifying Checksum [2022-11-08T22:58:08.074Z] e2be974225ed: Download complete [2022-11-08T22:58:08.074Z] 988bab9f4d93: Verifying Checksum [2022-11-08T22:58:08.074Z] 988bab9f4d93: Download complete [2022-11-08T22:58:08.335Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T22:58:08.335Z] 1469e6f7b9e6: Download complete [2022-11-08T22:58:08.335Z] eaf3925da568: Verifying Checksum [2022-11-08T22:58:08.335Z] eaf3925da568: Download complete [2022-11-08T22:58:08.335Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T22:58:08.335Z] 339a4e72a1f5: Download complete [2022-11-08T22:58:08.335Z] bde34c3a00c8: Download complete [2022-11-08T22:58:08.335Z] b352a97aabf1: Download complete [2022-11-08T22:58:08.335Z] 4872d77fe225: Verifying Checksum [2022-11-08T22:58:08.335Z] 4872d77fe225: Download complete [2022-11-08T22:58:08.335Z] 5851b861e8e6: Verifying Checksum [2022-11-08T22:58:08.335Z] 5851b861e8e6: Download complete [2022-11-08T22:58:08.335Z] b85a868b505f: Verifying Checksum [2022-11-08T22:58:08.335Z] b85a868b505f: Download complete [2022-11-08T22:58:08.594Z] bab4dde63d76: Verifying Checksum [2022-11-08T22:58:08.594Z] bab4dde63d76: Download complete [2022-11-08T22:58:09.530Z] b85a868b505f: Pull complete [2022-11-08T22:58:09.788Z] e2be974225ed: Pull complete [2022-11-08T22:58:10.355Z] 339a4e72a1f5: Pull complete [2022-11-08T22:58:10.355Z] 988bab9f4d93: Pull complete [2022-11-08T22:58:10.614Z] 1469e6f7b9e6: Pull complete [2022-11-08T22:58:10.614Z] eaf3925da568: Pull complete [2022-11-08T22:58:12.516Z] bab4dde63d76: Pull complete [2022-11-08T22:58:12.516Z] bde34c3a00c8: Pull complete [2022-11-08T22:58:12.516Z] b352a97aabf1: Pull complete [2022-11-08T22:58:12.516Z] 4872d77fe225: Pull complete [2022-11-08T22:58:12.516Z] 5851b861e8e6: Pull complete [2022-11-08T22:58:12.516Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T22:58:12.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T22:58:12.775Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T22:58:12.998Z] prd-ubuntu20.04-docker-8c-8g-118667 does not seem to be running inside a container [2022-11-08T22:58:13.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-439 -v /w/workspace/gexfoundry_device-mqtt-go_PR-439:/w/workspace/gexfoundry_device-mqtt-go_PR-439:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T22:58:14.436Z] $ docker top 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a -eo pid,comm [2022-11-08T22:58:14.504Z] 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-08T22:58:14.504Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T22:58:14.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T22:58:14.627Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T22:58:14.746Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T22:58:14.735Z] $ docker exec 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a ssh-agent [2022-11-08T22:58:14.870Z] SSH_AUTH_SOCK=/tmp/ssh-rsEwvjJ1ssGX/agent.33 [2022-11-08T22:58:14.870Z] SSH_AGENT_PID=39 [2022-11-08T22:58:14.878Z] Running ssh-add (command line suppressed) [2022-11-08T22:58:14.991Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/private_key_8758988357131569104.key (/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/private_key_8758988357131569104.key) [2022-11-08T22:58:15.036Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T22:58:15.383Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T22:58:15.394Z] $ docker exec --env ******** --env ******** 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a ssh-agent -k [2022-11-08T22:58:15.499Z] unset SSH_AUTH_SOCK; [2022-11-08T22:58:15.499Z] unset SSH_AGENT_PID; [2022-11-08T22:58:15.500Z] echo Agent pid 39 killed; [2022-11-08T22:58:15.522Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T22:58:15.613Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T22:58:15.613Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T22:58:15.730Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T22:58:15.720Z] $ docker exec 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a ssh-agent [2022-11-08T22:58:15.846Z] SSH_AUTH_SOCK=/tmp/ssh-5mPUTv8U2ehj/agent.71 [2022-11-08T22:58:15.846Z] SSH_AGENT_PID=77 [2022-11-08T22:58:15.851Z] Running ssh-add (command line suppressed) [2022-11-08T22:58:15.930Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/private_key_16977709507236433436.key (/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/private_key_16977709507236433436.key) [2022-11-08T22:58:15.967Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T22:58:16.291Z] + git semver init [2022-11-08T22:58:16.551Z] 2022-11-08 22:58:16,455 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T22:58:16.551Z] 2022-11-08 22:58:16,456 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver [2022-11-08T22:58:16.551Z] 2022-11-08 22:58:16,456 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver [2022-11-08T22:58:16.551Z] 2022-11-08 22:58:16,456 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-439, universal_newlines=False, shell=None, istream=None) [2022-11-08T22:58:17.489Z] 2022-11-08 22:58:17,330 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-439/.git/info/exclude [2022-11-08T22:58:17.490Z] 2022-11-08 22:58:17,330 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver/PR-439 with force:False [2022-11-08T22:58:17.490Z] 2022-11-08 22:58:17,330 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver/PR-439 [2022-11-08T22:58:17.490Z] 2022-11-08 22:58:17,333 [execute] INFO git cat-file --batch-check [2022-11-08T22:58:17.490Z] 2022-11-08 22:58:17,333 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T22:58:17.490Z] 2022-11-08 22:58:17,338 [execute] INFO git cat-file --batch [2022-11-08T22:58:17.490Z] 2022-11-08 22:58:17,338 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T22:58:17.490Z] 2022-11-08 22:58:17,342 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-439/.semver/PR-439 [2022-11-08T22:58:17.490Z] 0.0.0 [Pipeline] } [2022-11-08T22:58:17.506Z] $ docker exec --env ******** --env ******** 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a ssh-agent -k [2022-11-08T22:58:17.597Z] unset SSH_AUTH_SOCK; [2022-11-08T22:58:17.597Z] unset SSH_AGENT_PID; [2022-11-08T22:58:17.598Z] echo Agent pid 77 killed; [2022-11-08T22:58:17.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T22:58:18.045Z] + git semver [Pipeline] } [2022-11-08T22:58:18.314Z] $ docker stop --time=1 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a [2022-11-08T22:58:19.624Z] $ docker rm -f 0dc057e85581d9ffae754b2b20c942f9bf8e74e765b4b00d99595bdc8b32698a [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T22:58:20.039Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T22:58:20.277Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T22:58:20.293Z] [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-08T22:58:20.881Z] provisioning config files... [2022-11-08T22:58:20.891Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/config3075050334460812373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T22:58:21.245Z] ---> docker-login.sh [2022-11-08T22:58:21.245Z] nexus3.edgexfoundry.org:10001 [2022-11-08T22:58:21.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:58:21.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:58:21.245Z] Configure a credential helper to remove this warning. See [2022-11-08T22:58:21.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:58:21.245Z] [2022-11-08T22:58:21.245Z] Login Succeeded [2022-11-08T22:58:21.245Z] nexus3.edgexfoundry.org:10002 [2022-11-08T22:58:21.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:58:21.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:58:21.506Z] Configure a credential helper to remove this warning. See [2022-11-08T22:58:21.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:58:21.506Z] [2022-11-08T22:58:21.506Z] Login Succeeded [2022-11-08T22:58:21.506Z] nexus3.edgexfoundry.org:10003 [2022-11-08T22:58:21.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:58:21.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:58:21.506Z] Configure a credential helper to remove this warning. See [2022-11-08T22:58:21.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:58:21.506Z] [2022-11-08T22:58:21.506Z] Login Succeeded [2022-11-08T22:58:21.506Z] nexus3.edgexfoundry.org:10004 [2022-11-08T22:58:21.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:58:21.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:58:21.765Z] Configure a credential helper to remove this warning. See [2022-11-08T22:58:21.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:58:21.765Z] [2022-11-08T22:58:21.765Z] Login Succeeded [2022-11-08T22:58:21.765Z] docker.io [2022-11-08T22:58:21.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T22:58:22.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T22:58:22.025Z] Configure a credential helper to remove this warning. See [2022-11-08T22:58:22.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T22:58:22.025Z] [2022-11-08T22:58:22.025Z] Login Succeeded [2022-11-08T22:58:22.025Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T22:58:22.051Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T22:58:22.241Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T22:58:22.277Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T22:58:22.310Z] ========================================================= [2022-11-08T22:58:22.310Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T22:58:22.310Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:58:22.775Z] + 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-08T22:58:22.775Z] Sending build context to Docker daemon 6.246MB [2022-11-08T22:58:22.775Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T22:58:22.775Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T22:58:22.775Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T22:58:22.775Z] 213ec9aee27d: Pulling fs layer [2022-11-08T22:58:22.775Z] 4583459ba037: Pulling fs layer [2022-11-08T22:58:22.775Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T22:58:22.775Z] 53926ce57604: Pulling fs layer [2022-11-08T22:58:22.775Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T22:58:22.775Z] 22ff95d597cd: Pulling fs layer [2022-11-08T22:58:22.775Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T22:58:22.775Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T22:58:22.775Z] a7acece74701: Pulling fs layer [2022-11-08T22:58:22.775Z] 21b2b0c7a3f4: Waiting [2022-11-08T22:58:22.775Z] 22ff95d597cd: Waiting [2022-11-08T22:58:22.775Z] 53926ce57604: Waiting [2022-11-08T22:58:22.775Z] 12d6caf4c0d1: Waiting [2022-11-08T22:58:22.775Z] a7acece74701: Waiting [2022-11-08T22:58:22.775Z] 96b7cbca73a9: Waiting [2022-11-08T22:58:22.775Z] 93c1e223e6f2: Verifying Checksum [2022-11-08T22:58:22.775Z] 93c1e223e6f2: Download complete [2022-11-08T22:58:22.775Z] 4583459ba037: Download complete [2022-11-08T22:58:22.775Z] 21b2b0c7a3f4: Download complete [2022-11-08T22:58:22.775Z] 22ff95d597cd: Verifying Checksum [2022-11-08T22:58:22.775Z] 22ff95d597cd: Download complete [2022-11-08T22:58:23.035Z] 213ec9aee27d: Verifying Checksum [2022-11-08T22:58:23.035Z] 213ec9aee27d: Download complete [2022-11-08T22:58:23.035Z] 12d6caf4c0d1: Verifying Checksum [2022-11-08T22:58:23.035Z] 12d6caf4c0d1: Download complete [2022-11-08T22:58:23.035Z] 213ec9aee27d: Pull complete [2022-11-08T22:58:23.311Z] 4583459ba037: Pull complete [2022-11-08T22:58:23.311Z] 93c1e223e6f2: Pull complete [2022-11-08T22:58:23.909Z] a7acece74701: Verifying Checksum [2022-11-08T22:58:23.909Z] a7acece74701: Download complete [2022-11-08T22:58:23.909Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T22:58:23.909Z] 96b7cbca73a9: Download complete [2022-11-08T22:58:24.167Z] 53926ce57604: Verifying Checksum [2022-11-08T22:58:24.167Z] 53926ce57604: Download complete [2022-11-08T22:58:28.352Z] 53926ce57604: Pull complete [2022-11-08T22:58:28.352Z] 21b2b0c7a3f4: Pull complete [2022-11-08T22:58:28.352Z] 22ff95d597cd: Pull complete [2022-11-08T22:58:28.352Z] 12d6caf4c0d1: Pull complete [2022-11-08T22:58:29.725Z] 96b7cbca73a9: Pull complete [2022-11-08T22:58:30.663Z] a7acece74701: Pull complete [2022-11-08T22:58:30.663Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T22:58:30.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T22:58:30.663Z] ---> db6d94c90886 [2022-11-08T22:58:30.663Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T22:58:32.567Z] ---> Running in 11f9d0da37d5 [2022-11-08T22:58:32.567Z] Removing intermediate container 11f9d0da37d5 [2022-11-08T22:58:32.567Z] ---> e22d89c14e50 [2022-11-08T22:58:32.567Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T22:58:32.567Z] ---> Running in 8d5f5d0c3a64 [2022-11-08T22:58:32.567Z] Removing intermediate container 8d5f5d0c3a64 [2022-11-08T22:58:32.567Z] ---> 91af0094df9a [2022-11-08T22:58:32.567Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T22:58:32.567Z] ---> Running in a610191511cc [2022-11-08T22:58:32.567Z] Removing intermediate container a610191511cc [2022-11-08T22:58:32.567Z] ---> c60f5b434faa [2022-11-08T22:58:32.567Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T22:58:32.826Z] ---> Running in f319ea8bf932 [2022-11-08T22:58:32.826Z] Removing intermediate container f319ea8bf932 [2022-11-08T22:58:32.826Z] ---> 1123de6bb12d [2022-11-08T22:58:32.827Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T22:58:32.827Z] ---> Running in 86420838d575 [2022-11-08T22:58:33.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T22:58:33.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T22:58:33.601Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T22:58:33.601Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T22:58:33.601Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T22:58:33.601Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T22:58:33.601Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T22:58:33.601Z] OK: 216 MiB in 55 packages [2022-11-08T22:58:34.168Z] Removing intermediate container 86420838d575 [2022-11-08T22:58:34.168Z] ---> 077cee614ead [2022-11-08T22:58:34.168Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-08T22:58:34.168Z] ---> Running in e0cb03d8cad0 [2022-11-08T22:58:34.168Z] Removing intermediate container e0cb03d8cad0 [2022-11-08T22:58:34.168Z] ---> 9f8a677e979b [2022-11-08T22:58:34.168Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T22:58:34.426Z] ---> 109a7943a6fe [2022-11-08T22:58:34.426Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T22:58:34.426Z] ---> Running in fa47c4d29b5f [2022-11-08T22:58:35.709Z] Still waiting to schedule task [2022-11-08T22:58:35.709Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-08T22:58:52.530Z] Removing intermediate container fa47c4d29b5f [2022-11-08T22:58:52.530Z] ---> 67ae9a4bb900 [2022-11-08T22:58:52.530Z] Step 11/12 : COPY . . [2022-11-08T22:58:52.530Z] ---> 90e917c448b4 [2022-11-08T22:58:52.530Z] Step 12/12 : RUN $MAKE [2022-11-08T22:58:52.530Z] ---> Running in e7a3b35aac5a [2022-11-08T22:58:52.530Z] noop [2022-11-08T22:58:52.530Z] Removing intermediate container e7a3b35aac5a [2022-11-08T22:58:52.530Z] ---> d74905175ea6 [2022-11-08T22:58:52.530Z] Successfully built d74905175ea6 [2022-11-08T22:58:52.530Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:58:52.971Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T22:58:52.971Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T22:58:53.122Z] prd-ubuntu20.04-docker-8c-8g-118667 does not seem to be running inside a container [2022-11-08T22:58:53.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-439 -v /w/workspace/gexfoundry_device-mqtt-go_PR-439:/w/workspace/gexfoundry_device-mqtt-go_PR-439:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T22:58:53.505Z] $ docker top 700ec2e1ad87bbf7bb12310e06c76de01c553b06b88b31076a8ed1f57e2ed419 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T22:58:53.890Z] + go version [2022-11-08T22:58:53.890Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T22:58:53.933Z] $ docker stop --time=1 700ec2e1ad87bbf7bb12310e06c76de01c553b06b88b31076a8ed1f57e2ed419 [2022-11-08T22:58:55.239Z] $ docker rm -f 700ec2e1ad87bbf7bb12310e06c76de01c553b06b88b31076a8ed1f57e2ed419 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:58:55.951Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T22:58:55.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T22:58:56.105Z] prd-ubuntu20.04-docker-8c-8g-118667 does not seem to be running inside a container [2022-11-08T22:58:56.142Z] $ 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-439 -v /w/workspace/gexfoundry_device-mqtt-go_PR-439:/w/workspace/gexfoundry_device-mqtt-go_PR-439:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T22:58:56.530Z] $ docker top d557769d730259804a63b5c378153ac05ca606e9bec73fab5c161e749389d732 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T22:58:56.907Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-439 [Pipeline] fileExists [Pipeline] sh [2022-11-08T22:58:57.268Z] + make test [2022-11-08T22:58:57.268Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T22:58:57.526Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-08T22:59:07.493Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-08T22:59:07.493Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2022-11-08T22:59:07.493Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-08T22:59:14.052Z] 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-08T22:59:14.052Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T22:59:17.331Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T22:59:17.331Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T22:59:17.331Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T22:59:17.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T22:59:17.403Z] $ docker stop --time=1 d557769d730259804a63b5c378153ac05ca606e9bec73fab5c161e749389d732 [2022-11-08T22:59:19.157Z] $ docker rm -f d557769d730259804a63b5c378153ac05ca606e9bec73fab5c161e749389d732 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T22:59:19.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T22:59:19.715Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T22:59:20.322Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T22:59:20.635Z] + ls -al . [2022-11-08T22:59:20.635Z] total 192 [2022-11-08T22:59:20.635Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 22:58 . [2022-11-08T22:59:20.635Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:57 .. [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 22:57 .dockerignore [2022-11-08T22:59:20.635Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 22:59 .git [2022-11-08T22:59:20.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:57 .github [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 22:57 .gitignore [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 22:57 .golangci.yml [2022-11-08T22:59:20.635Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 22:58 .semver [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 8 22:57 Attribution.txt [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 8 22:57 CHANGELOG.md [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 8 22:57 Dockerfile [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 22:57 GOVERNANCE.md [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 8 22:57 Jenkinsfile [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 22:57 LICENSE [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 8 22:57 Makefile [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 22:57 OWNERS.md [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 8 22:57 README.md [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 22:58 VERSION [2022-11-08T22:59:20.635Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 22:57 bin [2022-11-08T22:59:20.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:57 cmd [2022-11-08T22:59:20.635Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 8 22:59 coverage.out [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 3463 Nov 8 22:57 go.mod [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 45046 Nov 8 22:57 go.sum [2022-11-08T22:59:20.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:57 internal [2022-11-08T22:59:20.635Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 22:57 mock [2022-11-08T22:59:20.635Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:57 snap [2022-11-08T22:59:20.635Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 22:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:59:21.029Z] + 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=68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 --label arch=amd64 --label version=0.0.0 . [2022-11-08T22:59:21.029Z] Sending build context to Docker daemon 6.265MB [2022-11-08T22:59:21.029Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T22:59:21.029Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-08T22:59:21.029Z] ---> d74905175ea6 [2022-11-08T22:59:21.030Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-08T22:59:21.030Z] ---> Running in a10ba1d7013e [2022-11-08T22:59:21.289Z] Removing intermediate container a10ba1d7013e [2022-11-08T22:59:21.289Z] ---> 5b02ee166bf6 [2022-11-08T22:59:21.289Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T22:59:21.289Z] ---> Running in df09726e2e12 [2022-11-08T22:59:21.289Z] Removing intermediate container df09726e2e12 [2022-11-08T22:59:21.289Z] ---> 49725d0ba441 [2022-11-08T22:59:21.289Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T22:59:21.289Z] ---> Running in 3079025dad8a [2022-11-08T22:59:21.549Z] Removing intermediate container 3079025dad8a [2022-11-08T22:59:21.549Z] ---> 7ecebb5e30d8 [2022-11-08T22:59:21.549Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T22:59:21.549Z] ---> Running in 09790f2c7579 [2022-11-08T22:59:21.549Z] Removing intermediate container 09790f2c7579 [2022-11-08T22:59:21.549Z] ---> 249fc627fb02 [2022-11-08T22:59:21.549Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T22:59:21.549Z] ---> Running in 0506507da3c2 [2022-11-08T22:59:21.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T22:59:22.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T22:59:22.327Z] OK: 216 MiB in 55 packages [2022-11-08T22:59:22.899Z] Removing intermediate container 0506507da3c2 [2022-11-08T22:59:22.899Z] ---> f5f695b65b59 [2022-11-08T22:59:22.899Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-08T22:59:22.899Z] ---> Running in 16f7e45fab09 [2022-11-08T22:59:22.899Z] Removing intermediate container 16f7e45fab09 [2022-11-08T22:59:22.899Z] ---> 0c60ab777363 [2022-11-08T22:59:22.899Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-08T22:59:23.158Z] ---> 5a34b0969616 [2022-11-08T22:59:23.158Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T22:59:23.158Z] ---> Running in 9d60c793f3a2 [2022-11-08T22:59:23.725Z] Removing intermediate container 9d60c793f3a2 [2022-11-08T22:59:23.725Z] ---> c909fec0db93 [2022-11-08T22:59:23.725Z] Step 11/24 : COPY . . [2022-11-08T22:59:23.984Z] ---> ce637db19dcb [2022-11-08T22:59:23.984Z] Step 12/24 : RUN $MAKE [2022-11-08T22:59:23.984Z] ---> Running in b2af36bb2666 [2022-11-08T22:59:24.242Z] 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-08T22:59:46.168Z] Removing intermediate container b2af36bb2666 [2022-11-08T22:59:46.168Z] ---> 629a8bd183f1 [2022-11-08T22:59:46.168Z] Step 13/24 : FROM alpine:3.16 [2022-11-08T22:59:46.168Z] 3.16: Pulling from library/alpine [2022-11-08T22:59:46.168Z] 213ec9aee27d: Already exists [2022-11-08T22:59:46.168Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T22:59:46.168Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T22:59:46.168Z] ---> 9c6f07244728 [2022-11-08T22:59:46.168Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-08T22:59:46.168Z] ---> Running in 80cbbb947b1d [2022-11-08T22:59:46.168Z] Removing intermediate container 80cbbb947b1d [2022-11-08T22:59:46.168Z] ---> 57f5296b58d6 [2022-11-08T22:59:46.168Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T22:59:46.168Z] ---> Running in a32e1aee8e55 [2022-11-08T22:59:46.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T22:59:46.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T22:59:46.168Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T22:59:46.168Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T22:59:46.168Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T22:59:46.168Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T22:59:46.168Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T22:59:46.168Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T22:59:46.168Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T22:59:46.168Z] OK: 8 MiB in 20 packages [2022-11-08T22:59:46.168Z] Removing intermediate container a32e1aee8e55 [2022-11-08T22:59:46.168Z] ---> ca1b6c70087e [2022-11-08T22:59:46.168Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-08T22:59:46.427Z] ---> 51e68e7b07de [2022-11-08T22:59:46.427Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-08T22:59:46.693Z] ---> e06bbe00cbd2 [2022-11-08T22:59:46.693Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-08T22:59:46.693Z] ---> ec4fecd07431 [2022-11-08T22:59:46.693Z] Step 19/24 : EXPOSE 59982 [2022-11-08T22:59:46.952Z] ---> Running in c7d858eccff8 [2022-11-08T22:59:46.952Z] Removing intermediate container c7d858eccff8 [2022-11-08T22:59:46.953Z] ---> 2f0399cdbcc7 [2022-11-08T22:59:46.953Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-08T22:59:46.953Z] ---> Running in 0e9e27503ac6 [2022-11-08T22:59:46.953Z] Removing intermediate container 0e9e27503ac6 [2022-11-08T22:59:46.953Z] ---> bba07b64799a [2022-11-08T22:59:46.953Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T22:59:47.211Z] ---> Running in e57bff918ae4 [2022-11-08T22:59:47.211Z] Removing intermediate container e57bff918ae4 [2022-11-08T22:59:47.211Z] ---> 345f4549a73b [2022-11-08T22:59:47.211Z] Step 22/24 : LABEL arch=amd64 [2022-11-08T22:59:47.212Z] ---> Running in 88106f2758d1 [2022-11-08T22:59:47.212Z] Removing intermediate container 88106f2758d1 [2022-11-08T22:59:47.212Z] ---> b9f3f3ebaa05 [2022-11-08T22:59:47.212Z] Step 23/24 : LABEL git_sha=68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [2022-11-08T22:59:47.470Z] ---> Running in cc2556297379 [2022-11-08T22:59:47.470Z] Removing intermediate container cc2556297379 [2022-11-08T22:59:47.470Z] ---> 2a914ca7e8bb [2022-11-08T22:59:47.470Z] Step 24/24 : LABEL version=0.0.0 [2022-11-08T22:59:47.470Z] ---> Running in 6c05a5456b93 [2022-11-08T22:59:47.470Z] Removing intermediate container 6c05a5456b93 [2022-11-08T22:59:47.470Z] ---> ebf7454a7d18 [2022-11-08T22:59:47.470Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T22:59:47.470Z] Successfully built ebf7454a7d18 [2022-11-08T22:59:47.470Z] 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-08T22:59:48.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T22:59:48.404Z] [2022-11-08T22:59:48.404Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T22:59:48.805Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T22:59:48.805Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T22:59:48.805Z] 5eb5b503b376: Pulling fs layer [2022-11-08T22:59:48.805Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T22:59:48.805Z] ec43610c2a17: Pulling fs layer [2022-11-08T22:59:48.805Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T22:59:48.805Z] 33b1e0a273af: Pulling fs layer [2022-11-08T22:59:48.805Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T22:59:48.805Z] 2f39f015ded8: Pulling fs layer [2022-11-08T22:59:48.805Z] 3a2ae6a8a46f: Waiting [2022-11-08T22:59:48.805Z] 33b1e0a273af: Waiting [2022-11-08T22:59:48.805Z] 2f39f015ded8: Waiting [2022-11-08T22:59:48.805Z] 5d3b04190fa2: Waiting [2022-11-08T22:59:48.805Z] 5c69ac0246d0: Download complete [2022-11-08T22:59:48.805Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-08T22:59:48.805Z] 3a2ae6a8a46f: Download complete [2022-11-08T22:59:48.805Z] 33b1e0a273af: Verifying Checksum [2022-11-08T22:59:48.805Z] 33b1e0a273af: Download complete [2022-11-08T22:59:49.064Z] 5d3b04190fa2: Verifying Checksum [2022-11-08T22:59:49.064Z] 5d3b04190fa2: Download complete [2022-11-08T22:59:49.064Z] ec43610c2a17: Verifying Checksum [2022-11-08T22:59:49.064Z] ec43610c2a17: Download complete [2022-11-08T22:59:49.064Z] 5eb5b503b376: Verifying Checksum [2022-11-08T22:59:49.064Z] 5eb5b503b376: Download complete [2022-11-08T22:59:49.629Z] 2f39f015ded8: Verifying Checksum [2022-11-08T22:59:49.629Z] 2f39f015ded8: Download complete [2022-11-08T22:59:50.194Z] 5eb5b503b376: Pull complete [2022-11-08T22:59:50.452Z] 5c69ac0246d0: Pull complete [2022-11-08T22:59:50.710Z] ec43610c2a17: Pull complete [2022-11-08T22:59:50.710Z] 3a2ae6a8a46f: Pull complete [2022-11-08T22:59:50.970Z] 33b1e0a273af: Pull complete [2022-11-08T22:59:50.970Z] 5d3b04190fa2: Pull complete [2022-11-08T22:59:55.159Z] 2f39f015ded8: Pull complete [2022-11-08T22:59:55.159Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T22:59:55.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T22:59:55.159Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T22:59:55.389Z] prd-ubuntu20.04-docker-8c-8g-118667 does not seem to be running inside a container [2022-11-08T22:59:55.426Z] $ 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-439 -v /w/workspace/gexfoundry_device-mqtt-go_PR-439:/w/workspace/gexfoundry_device-mqtt-go_PR-439:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T22:59:57.131Z] $ docker top 29129715bf2be86ab7ecc1cad5cdd6652f1746e43cb7955eee5132e6f2d1f7c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T22:59:57.554Z] ---> job-cost.sh [2022-11-08T22:59:57.554Z] lf-activate-venv: SKIPPING [2022-11-08T22:59:57.554Z] INFO: No Stack... [2022-11-08T22:59:58.120Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T22:59:58.378Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T22:59:58.687Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives/cost.csv [2022-11-08T22:59:58.687Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T22:59:58.725Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] [2022-11-08T22:59:58.730Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] did not exist. Created. [2022-11-08T22:59:58.730Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T22:59:59.114Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T22:59:59.162Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T22:59:59.194Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T22:59:59.285Z] $ docker stop --time=1 29129715bf2be86ab7ecc1cad5cdd6652f1746e43cb7955eee5132e6f2d1f7c0 [2022-11-08T23:00:00.451Z] $ docker rm -f 29129715bf2be86ab7ecc1cad5cdd6652f1746e43cb7955eee5132e6f2d1f7c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T23:00:04.626Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118669 in /w/workspace/gexfoundry_device-mqtt-go_PR-439 [Pipeline] { [Pipeline] ws [2022-11-08T23:00:04.700Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-11-08T23:00:04.770Z] Selected Git installation does not exist. Using Default [2022-11-08T23:00:04.770Z] The recommended git tool is: NONE [2022-11-08T23:00:09.568Z] using credential edgex-jenkins-ssh [2022-11-08T23:00:09.583Z] Cloning the remote Git repository [2022-11-08T23:00:09.636Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-08T23:00:09.714Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-11-08T23:00:09.871Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-08T23:00:09.872Z] > git --version # timeout=10 [2022-11-08T23:00:09.897Z] > git --version # 'git version 2.25.1' [2022-11-08T23:00:09.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T23:00:09.950Z] Verifying host key using known hosts file [2022-11-08T23:00:10.299Z] 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-08T23:00:10.312Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T23:00:11.489Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-08T23:00:11.518Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T23:00:13.147Z] Merging remotes/origin/main commit 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 into PR head commit 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [2022-11-08T23:00:13.381Z] Merge succeeded, producing 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [2022-11-08T23:00:13.381Z] Checking out Revision 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 (PR-439) [2022-11-08T23:00:12.407Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-08T23:00:12.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-08T23:00:12.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T23:00:12.461Z] Verifying host key using known hosts file [2022-11-08T23:00:12.468Z] 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-08T23:00:12.480Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-08T23:00:13.169Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T23:00:13.189Z] > git checkout -f 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 # timeout=10 [2022-11-08T23:00:13.272Z] > git remote # timeout=10 [2022-11-08T23:00:13.289Z] > git config --get remote.origin.url # timeout=10 [2022-11-08T23:00:13.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T23:00:13.318Z] Verifying host key using known hosts file [2022-11-08T23:00:13.324Z] 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-08T23:00:13.333Z] > git merge 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 # timeout=10 [2022-11-08T23:00:13.359Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-08T23:00:13.389Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T23:00:13.408Z] > git checkout -f 68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 # timeout=10 [2022-11-08T23:00:16.959Z] Commit message: "build: Update to use released SDK" [2022-11-08T23:00:17.012Z] > git --version # timeout=10 [2022-11-08T23:00:17.027Z] > git --version # 'git version 2.25.1' [2022-11-08T23:00:17.044Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:00:18.148Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T23:00:18.148Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T23:00:18.148Z] Dload Upload Total Spent Left Speed [2022-11-08T23:00:18.148Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 136k 0 --:--:-- --:--:-- --:--:-- 136k [Pipeline] sh [2022-11-08T23:00:18.879Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T23:00:19.224Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T23:00:19.224Z] + sudo tee /etc/docker/daemon.new [2022-11-08T23:00:19.224Z] { [2022-11-08T23:00:19.224Z] "registry-mirrors": [ [2022-11-08T23:00:19.224Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T23:00:19.224Z] ], [2022-11-08T23:00:19.224Z] "bip": "10.250.0.254/24", [2022-11-08T23:00:19.224Z] "hosts": [ [2022-11-08T23:00:19.224Z] "tcp://0.0.0.0:5555", [2022-11-08T23:00:19.224Z] "unix:///var/run/docker.sock" [2022-11-08T23:00:19.224Z] ], [2022-11-08T23:00:19.224Z] "mtu": 1458, [2022-11-08T23:00:19.224Z] "selinux-enabled": true, [2022-11-08T23:00:19.224Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T23:00:19.224Z] } [Pipeline] sh [2022-11-08T23:00:19.578Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T23:00:19.938Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:00:38.276Z] provisioning config files... [2022-11-08T23:00:38.305Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5049703306331247696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:00:38.704Z] ---> docker-login.sh [2022-11-08T23:00:38.704Z] nexus3.edgexfoundry.org:10001 [2022-11-08T23:00:39.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:00:39.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:00:39.297Z] Configure a credential helper to remove this warning. See [2022-11-08T23:00:39.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:00:39.297Z] [2022-11-08T23:00:39.297Z] Login Succeeded [2022-11-08T23:00:39.297Z] nexus3.edgexfoundry.org:10002 [2022-11-08T23:00:39.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:00:39.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:00:39.837Z] Configure a credential helper to remove this warning. See [2022-11-08T23:00:39.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:00:39.837Z] [2022-11-08T23:00:39.837Z] Login Succeeded [2022-11-08T23:00:39.837Z] nexus3.edgexfoundry.org:10003 [2022-11-08T23:00:40.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:00:40.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:00:40.108Z] Configure a credential helper to remove this warning. See [2022-11-08T23:00:40.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:00:40.108Z] [2022-11-08T23:00:40.108Z] Login Succeeded [2022-11-08T23:00:40.108Z] nexus3.edgexfoundry.org:10004 [2022-11-08T23:00:40.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:00:40.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:00:40.382Z] Configure a credential helper to remove this warning. See [2022-11-08T23:00:40.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:00:40.382Z] [2022-11-08T23:00:40.382Z] Login Succeeded [2022-11-08T23:00:40.382Z] docker.io [2022-11-08T23:00:40.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T23:00:41.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T23:00:41.240Z] Configure a credential helper to remove this warning. See [2022-11-08T23:00:41.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T23:00:41.240Z] [2022-11-08T23:00:41.240Z] Login Succeeded [2022-11-08T23:00:41.240Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T23:00:41.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T23:00:41.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:00:41.577Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T23:00:41.607Z] ========================================================= [2022-11-08T23:00:41.607Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T23:00:41.607Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:00:42.074Z] + 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-08T23:00:42.345Z] Sending build context to Docker daemon 3.267MB [2022-11-08T23:00:42.345Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:00:42.345Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T23:00:42.627Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T23:00:42.627Z] 9b18e9b68314: Pulling fs layer [2022-11-08T23:00:42.627Z] 35d82f9e3411: Pulling fs layer [2022-11-08T23:00:42.627Z] e16973657156: Pulling fs layer [2022-11-08T23:00:42.627Z] fc693d55d65f: Pulling fs layer [2022-11-08T23:00:42.627Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T23:00:42.627Z] dda99020689f: Pulling fs layer [2022-11-08T23:00:42.627Z] db1c61fa0a46: Pulling fs layer [2022-11-08T23:00:42.627Z] 891c053d2c06: Pulling fs layer [2022-11-08T23:00:42.627Z] fc693d55d65f: Waiting [2022-11-08T23:00:42.627Z] 7e9fc2657dce: Waiting [2022-11-08T23:00:42.627Z] 891c053d2c06: Waiting [2022-11-08T23:00:42.627Z] dda99020689f: Waiting [2022-11-08T23:00:42.627Z] db1c61fa0a46: Waiting [2022-11-08T23:00:42.627Z] e16973657156: Verifying Checksum [2022-11-08T23:00:42.627Z] e16973657156: Download complete [2022-11-08T23:00:42.627Z] 35d82f9e3411: Verifying Checksum [2022-11-08T23:00:42.627Z] 35d82f9e3411: Download complete [2022-11-08T23:00:42.627Z] 7e9fc2657dce: Verifying Checksum [2022-11-08T23:00:42.627Z] 7e9fc2657dce: Download complete [2022-11-08T23:00:42.627Z] dda99020689f: Verifying Checksum [2022-11-08T23:00:42.627Z] dda99020689f: Download complete [2022-11-08T23:00:42.627Z] 9b18e9b68314: Verifying Checksum [2022-11-08T23:00:42.627Z] 9b18e9b68314: Download complete [2022-11-08T23:00:43.641Z] 9b18e9b68314: Pull complete [2022-11-08T23:00:43.916Z] 891c053d2c06: Verifying Checksum [2022-11-08T23:00:43.916Z] 891c053d2c06: Download complete [2022-11-08T23:00:44.187Z] 35d82f9e3411: Pull complete [2022-11-08T23:00:44.458Z] e16973657156: Pull complete [2022-11-08T23:00:45.048Z] db1c61fa0a46: Verifying Checksum [2022-11-08T23:00:45.639Z] fc693d55d65f: Verifying Checksum [2022-11-08T23:00:45.639Z] fc693d55d65f: Download complete [2022-11-08T23:00:57.973Z] fc693d55d65f: Pull complete [2022-11-08T23:00:57.973Z] 7e9fc2657dce: Pull complete [2022-11-08T23:00:57.973Z] dda99020689f: Pull complete [2022-11-08T23:01:04.637Z] db1c61fa0a46: Pull complete [2022-11-08T23:01:06.075Z] 891c053d2c06: Pull complete [2022-11-08T23:01:06.075Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T23:01:06.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T23:01:06.075Z] ---> f96f9c87975a [2022-11-08T23:01:06.075Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:01:08.033Z] ---> Running in aa1338422fdb [2022-11-08T23:01:08.033Z] Removing intermediate container aa1338422fdb [2022-11-08T23:01:08.033Z] ---> dee9f459b940 [2022-11-08T23:01:08.033Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:01:08.033Z] ---> Running in 11ed66596d46 [2022-11-08T23:01:08.309Z] Removing intermediate container 11ed66596d46 [2022-11-08T23:01:08.309Z] ---> 63307ac7b344 [2022-11-08T23:01:08.309Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:01:08.579Z] ---> Running in ff860ae4aec5 [2022-11-08T23:01:08.852Z] Removing intermediate container ff860ae4aec5 [2022-11-08T23:01:08.852Z] ---> c12a3acbd9cc [2022-11-08T23:01:08.852Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:01:08.852Z] ---> Running in 836f8b5fa43f [2022-11-08T23:01:09.122Z] Removing intermediate container 836f8b5fa43f [2022-11-08T23:01:09.122Z] ---> 4fe162077553 [2022-11-08T23:01:09.122Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:01:09.391Z] ---> Running in 6af3c459a632 [2022-11-08T23:01:10.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:01:10.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:01:11.918Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T23:01:11.918Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T23:01:11.918Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T23:01:11.918Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T23:01:11.918Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:01:11.918Z] OK: 226 MiB in 55 packages [2022-11-08T23:01:12.890Z] Removing intermediate container 6af3c459a632 [2022-11-08T23:01:12.890Z] ---> 2dbb8a1861dc [2022-11-08T23:01:12.890Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-08T23:01:12.890Z] ---> Running in d98b5ed1b263 [2022-11-08T23:01:13.480Z] Removing intermediate container d98b5ed1b263 [2022-11-08T23:01:13.480Z] ---> 815b5713cce9 [2022-11-08T23:01:13.480Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T23:01:14.072Z] ---> 7ce4d91591fb [2022-11-08T23:01:14.072Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:01:14.072Z] ---> Running in 64f1fdbcdb08 [2022-11-08T23:02:10.497Z] Removing intermediate container 64f1fdbcdb08 [2022-11-08T23:02:10.497Z] ---> 3043b1922171 [2022-11-08T23:02:10.497Z] Step 11/12 : COPY . . [2022-11-08T23:02:10.497Z] ---> 7aedf8bff994 [2022-11-08T23:02:10.497Z] Step 12/12 : RUN $MAKE [2022-11-08T23:02:10.497Z] ---> Running in a84bb08a7a3f [2022-11-08T23:02:10.497Z] noop [2022-11-08T23:02:10.497Z] Removing intermediate container a84bb08a7a3f [2022-11-08T23:02:10.498Z] ---> df87b73944f6 [2022-11-08T23:02:10.498Z] Successfully built df87b73944f6 [2022-11-08T23:02:10.498Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:02:10.965Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T23:02:10.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:02:11.219Z] prd-ubuntu20.04-docker-arm64-4c-16g-118669 does not seem to be running inside a container [2022-11-08T23:02:11.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T23:02:12.564Z] $ docker top 5d7232869a4bf51e1eb8e605c0d001f5bf440758436973820fd10ba2a6e0a78f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:02:13.452Z] + go version [2022-11-08T23:02:13.452Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T23:02:13.490Z] $ docker stop --time=1 5d7232869a4bf51e1eb8e605c0d001f5bf440758436973820fd10ba2a6e0a78f [2022-11-08T23:02:15.185Z] $ docker rm -f 5d7232869a4bf51e1eb8e605c0d001f5bf440758436973820fd10ba2a6e0a78f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:02:16.050Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T23:02:16.050Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:02:16.322Z] prd-ubuntu20.04-docker-arm64-4c-16g-118669 does not seem to be running inside a container [2022-11-08T23:02:16.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T23:02:17.571Z] $ docker top 6af9c3db5eb1deb1e24ac4114c6a20d869ddbf0f1681903a7cccc7c44dcc7fc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:02:18.457Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-08T23:02:19.162Z] + make test [2022-11-08T23:02:19.162Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T23:02:20.574Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-08T23:03:57.288Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-08T23:03:57.288Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.082s coverage: 21.8% of statements [2022-11-08T23:03:57.288Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-08T23:03:57.288Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T23:03:57.288Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T23:04:19.394Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T23:04:19.394Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T23:04:19.394Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T23:04:19.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T23:04:19.733Z] $ docker stop --time=1 6af9c3db5eb1deb1e24ac4114c6a20d869ddbf0f1681903a7cccc7c44dcc7fc8 [2022-11-08T23:04:21.552Z] $ docker rm -f 6af9c3db5eb1deb1e24ac4114c6a20d869ddbf0f1681903a7cccc7c44dcc7fc8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T23:04:22.659Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T23:04:22.699Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T23:04:23.183Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T23:04:23.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T23:04:24.137Z] + ls -al . [2022-11-08T23:04:24.137Z] total 188 [2022-11-08T23:04:24.137Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 23:02 . [2022-11-08T23:04:24.137Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:00 .. [2022-11-08T23:04:24.137Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 23:00 .dockerignore [2022-11-08T23:04:24.137Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:00 .git [2022-11-08T23:04:24.137Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:00 .github [2022-11-08T23:04:24.137Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 23:00 .gitignore [2022-11-08T23:04:24.137Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:00 .golangci.yml [2022-11-08T23:04:24.137Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 8 23:00 Attribution.txt [2022-11-08T23:04:24.137Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 8 23:00 CHANGELOG.md [2022-11-08T23:04:24.137Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 8 23:00 Dockerfile [2022-11-08T23:04:24.137Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:00 GOVERNANCE.md [2022-11-08T23:04:24.137Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 8 23:00 Jenkinsfile [2022-11-08T23:04:24.137Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:00 LICENSE [2022-11-08T23:04:24.137Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 8 23:00 Makefile [2022-11-08T23:04:24.137Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 23:00 OWNERS.md [2022-11-08T23:04:24.137Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 8 23:00 README.md [2022-11-08T23:04:24.137Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 22:58 VERSION [2022-11-08T23:04:24.137Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:00 bin [2022-11-08T23:04:24.137Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:00 cmd [2022-11-08T23:04:24.138Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 8 23:03 coverage.out [2022-11-08T23:04:24.138Z] -rw-rw-r-- 1 jenkins jenkins 3463 Nov 8 23:00 go.mod [2022-11-08T23:04:24.138Z] -rw-rw-r-- 1 jenkins jenkins 45046 Nov 8 23:00 go.sum [2022-11-08T23:04:24.138Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:00 internal [2022-11-08T23:04:24.138Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:00 mock [2022-11-08T23:04:24.138Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:00 snap [2022-11-08T23:04:24.138Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 23:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:04:24.560Z] + 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=68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 --label arch=arm64 --label version=0.0.0 . [2022-11-08T23:04:24.828Z] Sending build context to Docker daemon 3.286MB [2022-11-08T23:04:24.828Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T23:04:24.828Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-08T23:04:24.828Z] ---> df87b73944f6 [2022-11-08T23:04:24.828Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-08T23:04:25.791Z] ---> Running in 4d723066de55 [2022-11-08T23:04:26.488Z] Removing intermediate container 4d723066de55 [2022-11-08T23:04:26.488Z] ---> 1d8f3fe81a68 [2022-11-08T23:04:26.488Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T23:04:26.488Z] ---> Running in a274b3c5c069 [2022-11-08T23:04:26.765Z] Removing intermediate container a274b3c5c069 [2022-11-08T23:04:26.765Z] ---> a689bab50a78 [2022-11-08T23:04:26.765Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T23:04:26.765Z] ---> Running in 94f0b4e8ade0 [2022-11-08T23:04:27.390Z] Removing intermediate container 94f0b4e8ade0 [2022-11-08T23:04:27.390Z] ---> 8c059756f570 [2022-11-08T23:04:27.390Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T23:04:27.390Z] ---> Running in c8cf82dc5314 [2022-11-08T23:04:28.043Z] Removing intermediate container c8cf82dc5314 [2022-11-08T23:04:28.043Z] ---> 1f1439264711 [2022-11-08T23:04:28.043Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T23:04:28.043Z] ---> Running in 2850f6db4b4f [2022-11-08T23:04:29.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:04:29.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:04:30.641Z] OK: 226 MiB in 55 packages [2022-11-08T23:04:31.620Z] Removing intermediate container 2850f6db4b4f [2022-11-08T23:04:31.620Z] ---> dd9c8843b3ad [2022-11-08T23:04:31.620Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-08T23:04:31.895Z] ---> Running in b45e37d308a6 [2022-11-08T23:04:32.165Z] Removing intermediate container b45e37d308a6 [2022-11-08T23:04:32.165Z] ---> f8d9dda62404 [2022-11-08T23:04:32.165Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-08T23:04:32.751Z] ---> 512897b39a26 [2022-11-08T23:04:32.751Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T23:04:32.751Z] ---> Running in 9af54387bb1c [2022-11-08T23:04:39.433Z] Removing intermediate container 9af54387bb1c [2022-11-08T23:04:39.433Z] ---> 43b79544e296 [2022-11-08T23:04:39.433Z] Step 11/24 : COPY . . [2022-11-08T23:04:41.388Z] ---> 96e456b91cc8 [2022-11-08T23:04:41.388Z] Step 12/24 : RUN $MAKE [2022-11-08T23:04:41.388Z] ---> Running in e89ac8287cf2 [2022-11-08T23:04:42.815Z] 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-08T23:07:19.624Z] Removing intermediate container e89ac8287cf2 [2022-11-08T23:07:19.624Z] ---> 8a598a9a595c [2022-11-08T23:07:19.624Z] Step 13/24 : FROM alpine:3.16 [2022-11-08T23:07:19.624Z] 3.16: Pulling from library/alpine [2022-11-08T23:07:19.624Z] 9b18e9b68314: Already exists [2022-11-08T23:07:19.624Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T23:07:19.624Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T23:07:19.624Z] ---> a6215f271958 [2022-11-08T23:07:19.624Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-08T23:07:19.624Z] ---> Running in 3a98c6084f15 [2022-11-08T23:07:19.624Z] Removing intermediate container 3a98c6084f15 [2022-11-08T23:07:19.624Z] ---> 928672a91ac6 [2022-11-08T23:07:19.624Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T23:07:19.624Z] ---> Running in 2fec6f539bfb [2022-11-08T23:07:19.624Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T23:07:19.624Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T23:07:19.624Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T23:07:19.624Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T23:07:19.624Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T23:07:19.624Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T23:07:19.624Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T23:07:19.624Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T23:07:19.624Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T23:07:19.624Z] OK: 8 MiB in 20 packages [2022-11-08T23:07:19.624Z] Removing intermediate container 2fec6f539bfb [2022-11-08T23:07:19.624Z] ---> 46e6f1644283 [2022-11-08T23:07:19.624Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-08T23:07:19.624Z] ---> 2c57f480ccd6 [2022-11-08T23:07:19.624Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-08T23:07:19.624Z] ---> f5d842d8f58e [2022-11-08T23:07:19.624Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-08T23:07:19.624Z] ---> aebe6c8aa393 [2022-11-08T23:07:19.624Z] Step 19/24 : EXPOSE 59982 [2022-11-08T23:07:19.624Z] ---> Running in 2c9362e650ff [2022-11-08T23:07:19.624Z] Removing intermediate container 2c9362e650ff [2022-11-08T23:07:19.624Z] ---> 19df2705312e [2022-11-08T23:07:19.624Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-08T23:07:19.624Z] ---> Running in e70225dd283d [2022-11-08T23:07:19.893Z] Removing intermediate container e70225dd283d [2022-11-08T23:07:19.893Z] ---> 7910b1418159 [2022-11-08T23:07:19.893Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T23:07:19.893Z] ---> Running in 7235f1c6c1f2 [2022-11-08T23:07:20.162Z] Removing intermediate container 7235f1c6c1f2 [2022-11-08T23:07:20.162Z] ---> e7ce29065a77 [2022-11-08T23:07:20.162Z] Step 22/24 : LABEL arch=arm64 [2022-11-08T23:07:20.432Z] ---> Running in 064ba27aeb33 [2022-11-08T23:07:20.704Z] Removing intermediate container 064ba27aeb33 [2022-11-08T23:07:20.704Z] ---> 37cd21a32884 [2022-11-08T23:07:20.704Z] Step 23/24 : LABEL git_sha=68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [2022-11-08T23:07:20.704Z] ---> Running in 0c9648750fe0 [2022-11-08T23:07:20.973Z] Removing intermediate container 0c9648750fe0 [2022-11-08T23:07:20.973Z] ---> 363d3f1394e0 [2022-11-08T23:07:20.973Z] Step 24/24 : LABEL version=0.0.0 [2022-11-08T23:07:20.973Z] ---> Running in 7816e6a69304 [2022-11-08T23:07:21.558Z] Removing intermediate container 7816e6a69304 [2022-11-08T23:07:21.558Z] ---> 9f1200c55574 [2022-11-08T23:07:21.558Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T23:07:21.558Z] Successfully built 9f1200c55574 [2022-11-08T23:07:21.558Z] 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-08T23:07:22.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:07:22.350Z] [2022-11-08T23:07:22.350Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:07:22.751Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:07:22.751Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T23:07:22.751Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T23:07:22.751Z] 04944245beec: Pulling fs layer [2022-11-08T23:07:22.751Z] 699f458cf7ca: Pulling fs layer [2022-11-08T23:07:22.751Z] 765212b225bb: Pulling fs layer [2022-11-08T23:07:22.751Z] f23df028b6ca: Pulling fs layer [2022-11-08T23:07:22.751Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T23:07:22.751Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T23:07:22.751Z] f23df028b6ca: Waiting [2022-11-08T23:07:22.751Z] d65c8cfc05b1: Waiting [2022-11-08T23:07:22.751Z] 2437ff75d9bd: Waiting [2022-11-08T23:07:22.751Z] 765212b225bb: Waiting [2022-11-08T23:07:23.020Z] 04944245beec: Verifying Checksum [2022-11-08T23:07:23.020Z] 04944245beec: Download complete [2022-11-08T23:07:23.020Z] 765212b225bb: Verifying Checksum [2022-11-08T23:07:23.020Z] 765212b225bb: Download complete [2022-11-08T23:07:23.020Z] f23df028b6ca: Verifying Checksum [2022-11-08T23:07:23.020Z] f23df028b6ca: Download complete [2022-11-08T23:07:23.020Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T23:07:23.020Z] d65c8cfc05b1: Download complete [2022-11-08T23:07:23.292Z] 699f458cf7ca: Verifying Checksum [2022-11-08T23:07:23.292Z] 699f458cf7ca: Download complete [2022-11-08T23:07:23.564Z] 8998bd30e6a1: Verifying Checksum [2022-11-08T23:07:23.564Z] 8998bd30e6a1: Download complete [2022-11-08T23:07:26.158Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T23:07:26.158Z] 2437ff75d9bd: Download complete [2022-11-08T23:07:28.105Z] 8998bd30e6a1: Pull complete [2022-11-08T23:07:28.105Z] 04944245beec: Pull complete [2022-11-08T23:07:29.520Z] 699f458cf7ca: Pull complete [2022-11-08T23:07:29.789Z] 765212b225bb: Pull complete [2022-11-08T23:07:30.757Z] f23df028b6ca: Pull complete [2022-11-08T23:07:30.757Z] d65c8cfc05b1: Pull complete [2022-11-08T23:07:45.802Z] 2437ff75d9bd: Pull complete [2022-11-08T23:07:45.802Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T23:07:45.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T23:07:45.802Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:07:46.132Z] prd-ubuntu20.04-docker-arm64-4c-16g-118669 does not seem to be running inside a container [2022-11-08T23:07:46.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-08T23:07:48.789Z] $ docker top 5b2e2e86a876c9619ed52162eebc92e3f140d731919a5e32fdcd7b359ddba99e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:07:49.704Z] ---> job-cost.sh [2022-11-08T23:07:49.704Z] lf-activate-venv: SKIPPING [2022-11-08T23:07:49.704Z] INFO: No Stack... [2022-11-08T23:07:49.974Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T23:07:50.933Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T23:07:51.589Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-11-08T23:07:51.589Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T23:07:51.675Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] [2022-11-08T23:07:51.679Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] did not exist. Created. [2022-11-08T23:07:51.679Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T23:07:52.489Z] /w/workspace/device-mqtt-go/1@tmp/durable-2f831a1f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T23:07:53.163Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T23:07:53.197Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T23:07:53.238Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T23:07:53.253Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T23:07:53.338Z] $ docker stop --time=1 5b2e2e86a876c9619ed52162eebc92e3f140d731919a5e32fdcd7b359ddba99e [2022-11-08T23:07:54.881Z] $ docker rm -f 5b2e2e86a876c9619ed52162eebc92e3f140d731919a5e32fdcd7b359ddba99e [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-08T23:07:55.833Z] provisioning config files... [2022-11-08T23:07:55.842Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/config18379858367122269955tmp [Pipeline] { [Pipeline] sh [2022-11-08T23:07:56.173Z] + set +x [2022-11-08T23:07:56.173Z] + curl -s https://codecov.io/bash [2022-11-08T23:07:56.173Z] + bash -s -- [2022-11-08T23:07:56.173Z] [2022-11-08T23:07:56.173Z] _____ _ [2022-11-08T23:07:56.173Z] / ____| | | [2022-11-08T23:07:56.173Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T23:07:56.173Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T23:07:56.173Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T23:07:56.173Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T23:07:56.173Z] Bash-1.0.6 [2022-11-08T23:07:56.173Z] [2022-11-08T23:07:56.173Z] [2022-11-08T23:07:56.173Z] ==> git version 2.25.1 found [2022-11-08T23:07:56.173Z] ==> 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-08T23:07:56.173Z] Release-Date: 2020-01-08 [2022-11-08T23:07:56.173Z] 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-08T23:07:56.173Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T23:07:56.173Z] ==> Jenkins CI detected. [2022-11-08T23:07:56.173Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-439 [2022-11-08T23:07:56.173Z] project root: . [2022-11-08T23:07:56.173Z] --> token set from env [2022-11-08T23:07:56.173Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T23:07:56.173Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T23:07:56.173Z] ==> Python coveragepy not found [2022-11-08T23:07:56.173Z] ==> Searching for coverage reports in: [2022-11-08T23:07:56.173Z] + . [2022-11-08T23:07:56.173Z] -> Found 1 reports [2022-11-08T23:07:56.173Z] ==> Detecting git/mercurial file structure [2022-11-08T23:07:56.173Z] ==> Reading reports [2022-11-08T23:07:56.173Z] + ./coverage.out bytes=17887 [2022-11-08T23:07:56.173Z] ==> Appending adjustments [2022-11-08T23:07:56.173Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T23:07:56.432Z] + Found adjustments [2022-11-08T23:07:56.432Z] ==> Gzipping contents [2022-11-08T23:07:56.432Z] 4.0K /tmp/codecov.gWQzWt.gz [2022-11-08T23:07:56.432Z] ==> Uploading reports [2022-11-08T23:07:56.432Z] url: https://codecov.io [2022-11-08T23:07:56.432Z] query: branch=PR-439&commit=68b58be8f43c9a803f7db73d7e34f0f2d21d16a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-439%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=439&job=&cmd_args= [2022-11-08T23:07:56.432Z] -> Pinging Codecov [2022-11-08T23:07:56.432Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-439&commit=68b58be8f43c9a803f7db73d7e34f0f2d21d16a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-439%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=439&job=&cmd_args= [2022-11-08T23:07:56.692Z] -> Uploading to [2022-11-08T23:07:56.692Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/7D719EC7BBE17E464838252E33014C33/68b58be8f43c9a803f7db73d7e34f0f2d21d16a4/b772a24e-62d3-4cb3-805d-88a2f78ef7b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T230756Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a799905c903cef460b8c0f6e2b818d4ab4c02eef4cd898fdcb43920d33054ccf [2022-11-08T23:07:56.692Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T23:07:56.692Z] Dload Upload Total Spent Left Speed [2022-11-08T23:07:56.951Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 11335 --:--:-- --:--:-- --:--:-- 11335 [2022-11-08T23:07:56.951Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/68b58be8f43c9a803f7db73d7e34f0f2d21d16a4 [Pipeline] } [2022-11-08T23:07:56.977Z] 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-08T23:07:58.753Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives ] [2022-11-08T23:07:58.753Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives [2022-11-08T23:07:58.753Z] total 16 [2022-11-08T23:07:58.753Z] drwxr-xr-x 3 root root 4096 Nov 8 22:59 . [2022-11-08T23:07:58.753Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 22:59 .. [2022-11-08T23:07:58.753Z] drwxr-xr-x 2 root root 4096 Nov 8 22:59 cost [2022-11-08T23:07:58.753Z] -rw-r--r-- 1 root root 86 Nov 8 22:59 cost.csv [2022-11-08T23:07:58.753Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives [2022-11-08T23:07:58.753Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives [2022-11-08T23:07:58.753Z] total 16 [2022-11-08T23:07:58.753Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 22:59 . [2022-11-08T23:07:58.753Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 22:59 .. [2022-11-08T23:07:58.753Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 22:59 cost [2022-11-08T23:07:58.753Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 22:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:07:59.081Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:07:59.963Z] ---> package-listing.sh [2022-11-08T23:07:59.963Z] ++ facter osfamily [2022-11-08T23:07:59.963Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T23:08:00.222Z] + OS_FAMILY=debian [2022-11-08T23:08:00.222Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-439 [2022-11-08T23:08:00.222Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T23:08:00.222Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T23:08:00.222Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T23:08:00.222Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T23:08:00.222Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-439 ']' [2022-11-08T23:08:00.222Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T23:08:00.222Z] + case "${OS_FAMILY}" in [2022-11-08T23:08:00.222Z] + dpkg -l [2022-11-08T23:08:00.222Z] + grep '^ii' [2022-11-08T23:08:00.222Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T23:08:00.222Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T23:08:00.222Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T23:08:00.222Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-439 ']' [2022-11-08T23:08:00.222Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives/ [2022-11-08T23:08:00.223Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-439/archives/ [Pipeline] echo [2022-11-08T23:08:00.257Z] 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-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-08T23:08:00.550Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T23:08:01.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T23:08:01.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T23:08:01.316Z] prd-ubuntu20.04-docker-8c-8g-118667 does not seem to be running inside a container [2022-11-08T23:08:01.358Z] $ 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-439/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-439 -v /w/workspace/gexfoundry_device-mqtt-go_PR-439:/w/workspace/gexfoundry_device-mqtt-go_PR-439:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T23:08:01.568Z] $ docker top 55ac9a161bcefa866fe188f5471b3d06609b51d89f12f2c5048c1df6ec56b56f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T23:08:01.936Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T23:08:02.245Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T23:08:02.552Z] + ls /var/log/sa-host [2022-11-08T23:08:02.552Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T23:08:02.679Z] provisioning config files... [2022-11-08T23:08:02.688Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-439@tmp/config6628159023513570989tmp [Pipeline] { [Pipeline] echo [2022-11-08T23:08:02.737Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:08:03.049Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T23:08:03.078Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:08:03.471Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T23:08:03.508Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:08:03.816Z] ---> sudo-logs.sh [2022-11-08T23:08:03.817Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T23:08:04.019Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:08:04.325Z] ---> job-cost.sh [2022-11-08T23:08:04.325Z] lf-activate-venv: SKIPPING [2022-11-08T23:08:04.325Z] DEBUG: total: 0.2199999988079071 [2022-11-08T23:08:04.325Z] INFO: Retrieving Stack Cost... [2022-11-08T23:08:04.584Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T23:08:05.149Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T23:08:05.185Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T23:08:05.503Z] ---> logs-deploy.sh [2022-11-08T23:08:05.503Z] lf-activate-venv: SKIPPING [2022-11-08T23:08:05.503Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-439/1 [2022-11-08T23:08:05.503Z] INFO: archiving workspace using pattern(s): [2022-11-08T23:08:06.439Z] Archives upload complete. [2022-11-08T23:08:06.439Z] INFO: archiving logs to Nexus