Pull request #500 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f04e735536f66c1c3b8a19061b0acfbd4d6991a+ec4bdb71d113baf8f62d105c9dc125da7e597352 (570db5c108b71a95b5d24722180ae780f5b0cdc3) 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-ssh6119659107357129091.key > 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-ssh12341635509142027450.key > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12180229460030305707.key > 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 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-ssh17011809388588944854.key > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13527536883035338729.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-8554’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8813’ is offline ‘prd-ubuntu20.04-docker-8c-8g-8815’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-8814’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8816 in /w/workspace/gexfoundry_device-mqtt-go_PR-500 [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-500 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ec4bdb71d113baf8f62d105c9dc125da7e597352 into PR head commit 4f04e735536f66c1c3b8a19061b0acfbd4d6991a Merge succeeded, producing 4f04e735536f66c1c3b8a19061b0acfbd4d6991a Checking out Revision 4f04e735536f66c1c3b8a19061b0acfbd4d6991a (PR-500) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f04e735536f66c1c3b8a19061b0acfbd4d6991a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ec4bdb71d113baf8f62d105c9dc125da7e597352 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f04e735536f66c1c3b8a19061b0acfbd4d6991a # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-08T15:05:26.541Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-08T15:05:26.601Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-08T15:05:26.620Z] ========================================================= [2023-03-08T15:05:26.621Z] EdgeX Global Pipelines Version Info [2023-03-08T15:05:26.621Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4c418a1867c4bf59d8868412e0cd3bfb6c2fee68 # timeout=10 [2023-03-08T15:05:27.321Z] ------------------- [2023-03-08T15:05:27.321Z] stable info: [2023-03-08T15:05:27.321Z] ------------------- [2023-03-08T15:05:27.321Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-08T15:05:27.321Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T15:05:27.321Z] Message: update stable to v1.0.244 [2023-03-08T15:05:27.889Z] ------------------- [2023-03-08T15:05:27.889Z] experimental info: [2023-03-08T15:05:27.889Z] ------------------- [2023-03-08T15:05:27.889Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-08T15:05:27.889Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T15:05:27.889Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-08T15:05:28.057Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-08T15:05:28.068Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-08T15:05:28.079Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-08T15:05:28.091Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-08T15:05:28.102Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-08T15:05:28.115Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-08T15:05:28.132Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-08T15:05:28.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-08T15:05:28.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-08T15:05:28.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-08T15:05:28.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-08T15:05:28.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-08T15:05:28.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-08T15:05:28.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-08T15:05:28.252Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T15:05:28.263Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T15:05:28.274Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T15:05:28.285Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T15:05:28.299Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-08T15:05:28.315Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-08T15:05:28.329Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-08T15:05:28.340Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-08T15:05:28.353Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-08T15:05:28.370Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-08T15:05:28.383Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-08T15:05:28.401Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-08T15:05:28.419Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-08T15:05:28.433Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-500 [Pipeline] echo [2023-03-08T15:05:28.445Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-500 [Pipeline] echo [2023-03-08T15:05:28.457Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-500 [Pipeline] echo [2023-03-08T15:05:28.468Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f04e735536f66c1c3b8a19061b0acfbd4d6991a [Pipeline] echo [2023-03-08T15:05:28.481Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f04e73 [Pipeline] echo [2023-03-08T15:05:28.497Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T15:05:28.545Z] provisioning config files... [2023-03-08T15:05:28.558Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/config14902801347894037925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:05:28.859Z] ---> docker-login.sh [2023-03-08T15:05:28.859Z] nexus3.edgexfoundry.org:10001 [2023-03-08T15:05:29.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:29.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:29.119Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:29.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:29.119Z] [2023-03-08T15:05:29.119Z] Login Succeeded [2023-03-08T15:05:29.119Z] nexus3.edgexfoundry.org:10002 [2023-03-08T15:05:29.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:29.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:29.119Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:29.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:29.119Z] [2023-03-08T15:05:29.119Z] Login Succeeded [2023-03-08T15:05:29.119Z] nexus3.edgexfoundry.org:10003 [2023-03-08T15:05:29.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:29.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:29.380Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:29.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:29.380Z] [2023-03-08T15:05:29.380Z] Login Succeeded [2023-03-08T15:05:29.380Z] nexus3.edgexfoundry.org:10004 [2023-03-08T15:05:29.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:29.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:29.380Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:29.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:29.380Z] [2023-03-08T15:05:29.380Z] Login Succeeded [2023-03-08T15:05:29.380Z] docker.io [2023-03-08T15:05:29.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:29.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:29.658Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:29.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:29.658Z] [2023-03-08T15:05:29.658Z] Login Succeeded [2023-03-08T15:05:29.658Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T15:05:29.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-08T15:05:30.057Z] + git rev-list -1 --merges 4f04e735536f66c1c3b8a19061b0acfbd4d6991a~1..4f04e735536f66c1c3b8a19061b0acfbd4d6991a [Pipeline] echo [2023-03-08T15:05:30.104Z] -----------> git rev-list -1 --merges 4f04e735536f66c1c3b8a19061b0acfbd4d6991a~1..4f04e735536f66c1c3b8a19061b0acfbd4d6991a 4f04e735536f66c1c3b8a19061b0acfbd4d6991a [false] [Pipeline] sh [2023-03-08T15:05:30.392Z] + git log --format=format:%s -1 4f04e735536f66c1c3b8a19061b0acfbd4d6991a [Pipeline] echo [2023-03-08T15:05:30.405Z] ========================================================= [2023-03-08T15:05:30.405Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-08T15:05:30.405Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T15:05:30.753Z] + git log --format=format:%s -1 4f04e735536f66c1c3b8a19061b0acfbd4d6991a [Pipeline] echo [2023-03-08T15:05:30.766Z] [semverPrep] GIT_COMMIT: 4f04e735536f66c1c3b8a19061b0acfbd4d6991a, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 [Pipeline] echo [2023-03-08T15:05:30.776Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-08T15:05:31.151Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T15:05:31.151Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-08T15:05:31.151Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-08T15:05:31.151Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-08T15:05:31.151Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-08T15:05:31.151Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-08T15:05:31.151Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:05:31.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T15:05:31.507Z] [2023-03-08T15:05:31.507Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:05:31.818Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T15:05:31.818Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-08T15:05:31.818Z] b85a868b505f: Pulling fs layer [2023-03-08T15:05:31.818Z] e2be974225ed: Pulling fs layer [2023-03-08T15:05:31.818Z] 339a4e72a1f5: Pulling fs layer [2023-03-08T15:05:31.818Z] 988bab9f4d93: Pulling fs layer [2023-03-08T15:05:31.818Z] 1469e6f7b9e6: Pulling fs layer [2023-03-08T15:05:31.818Z] eaf3925da568: Pulling fs layer [2023-03-08T15:05:31.818Z] bab4dde63d76: Pulling fs layer [2023-03-08T15:05:31.818Z] 1469e6f7b9e6: Waiting [2023-03-08T15:05:31.818Z] 988bab9f4d93: Waiting [2023-03-08T15:05:31.818Z] bde34c3a00c8: Pulling fs layer [2023-03-08T15:05:31.818Z] b352a97aabf1: Pulling fs layer [2023-03-08T15:05:31.818Z] 4872d77fe225: Pulling fs layer [2023-03-08T15:05:31.818Z] bab4dde63d76: Waiting [2023-03-08T15:05:31.818Z] 5851b861e8e6: Pulling fs layer [2023-03-08T15:05:31.818Z] 4872d77fe225: Waiting [2023-03-08T15:05:31.818Z] bde34c3a00c8: Waiting [2023-03-08T15:05:31.818Z] b352a97aabf1: Waiting [2023-03-08T15:05:31.818Z] 5851b861e8e6: Waiting [2023-03-08T15:05:31.818Z] eaf3925da568: Waiting [2023-03-08T15:05:31.818Z] e2be974225ed: Verifying Checksum [2023-03-08T15:05:31.818Z] e2be974225ed: Download complete [2023-03-08T15:05:31.818Z] 988bab9f4d93: Download complete [2023-03-08T15:05:32.078Z] 1469e6f7b9e6: Verifying Checksum [2023-03-08T15:05:32.078Z] 1469e6f7b9e6: Download complete [2023-03-08T15:05:32.078Z] eaf3925da568: Verifying Checksum [2023-03-08T15:05:32.078Z] eaf3925da568: Download complete [2023-03-08T15:05:32.078Z] 339a4e72a1f5: Verifying Checksum [2023-03-08T15:05:32.078Z] 339a4e72a1f5: Download complete [2023-03-08T15:05:32.078Z] bde34c3a00c8: Verifying Checksum [2023-03-08T15:05:32.078Z] bde34c3a00c8: Download complete [2023-03-08T15:05:32.078Z] b352a97aabf1: Verifying Checksum [2023-03-08T15:05:32.078Z] b352a97aabf1: Download complete [2023-03-08T15:05:32.078Z] 4872d77fe225: Verifying Checksum [2023-03-08T15:05:32.078Z] 4872d77fe225: Download complete [2023-03-08T15:05:32.078Z] 5851b861e8e6: Download complete [2023-03-08T15:05:32.078Z] b85a868b505f: Verifying Checksum [2023-03-08T15:05:32.078Z] b85a868b505f: Download complete [2023-03-08T15:05:32.336Z] bab4dde63d76: Verifying Checksum [2023-03-08T15:05:32.336Z] bab4dde63d76: Download complete [2023-03-08T15:05:33.273Z] b85a868b505f: Pull complete [2023-03-08T15:05:33.273Z] e2be974225ed: Pull complete [2023-03-08T15:05:33.840Z] 339a4e72a1f5: Pull complete [2023-03-08T15:05:33.840Z] 988bab9f4d93: Pull complete [2023-03-08T15:05:34.099Z] 1469e6f7b9e6: Pull complete [2023-03-08T15:05:34.099Z] eaf3925da568: Pull complete [2023-03-08T15:05:35.731Z] bab4dde63d76: Pull complete [2023-03-08T15:05:35.731Z] bde34c3a00c8: Pull complete [2023-03-08T15:05:35.731Z] b352a97aabf1: Pull complete [2023-03-08T15:05:35.990Z] 4872d77fe225: Pull complete [2023-03-08T15:05:35.990Z] 5851b861e8e6: Pull complete [2023-03-08T15:05:35.990Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-08T15:05:35.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T15:05:35.990Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:05:36.078Z] prd-ubuntu20.04-docker-8c-8g-8816 does not seem to be running inside a container [2023-03-08T15:05:36.111Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@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 [2023-03-08T15:05:37.326Z] $ docker top 3aa344b23b5c70e2ae2819741ebd150d4e88b22c29e753049f8cb37d2b4321e8 -eo pid,comm [2023-03-08T15:05:37.382Z] 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). [2023-03-08T15:05:37.382Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T15:05:37.425Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T15:05:37.425Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T15:05:37.528Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T15:05:37.531Z] $ docker exec 3aa344b23b5c70e2ae2819741ebd150d4e88b22c29e753049f8cb37d2b4321e8 ssh-agent [2023-03-08T15:05:37.637Z] SSH_AUTH_SOCK=/tmp/ssh-blrVAm190ay0/agent.31 [2023-03-08T15:05:37.637Z] SSH_AGENT_PID=37 [2023-03-08T15:05:37.645Z] Running ssh-add (command line suppressed) [2023-03-08T15:05:37.751Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/private_key_1644882821425715174.key (/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/private_key_1644882821425715174.key) [2023-03-08T15:05:37.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T15:05:38.055Z] + git tag --points-at HEAD [Pipeline] } [2023-03-08T15:05:38.065Z] $ docker exec --env ******** --env ******** 3aa344b23b5c70e2ae2819741ebd150d4e88b22c29e753049f8cb37d2b4321e8 ssh-agent -k [2023-03-08T15:05:38.166Z] unset SSH_AUTH_SOCK; [2023-03-08T15:05:38.166Z] unset SSH_AGENT_PID; [2023-03-08T15:05:38.167Z] echo Agent pid 37 killed; [2023-03-08T15:05:38.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-08T15:05:38.199Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T15:05:38.199Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T15:05:38.302Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T15:05:38.304Z] $ docker exec 3aa344b23b5c70e2ae2819741ebd150d4e88b22c29e753049f8cb37d2b4321e8 ssh-agent [2023-03-08T15:05:38.402Z] SSH_AUTH_SOCK=/tmp/ssh-LOuNkn6wwaac/agent.70 [2023-03-08T15:05:38.402Z] SSH_AGENT_PID=76 [2023-03-08T15:05:38.407Z] Running ssh-add (command line suppressed) [2023-03-08T15:05:38.502Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/private_key_1268455878038156986.key (/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/private_key_1268455878038156986.key) [2023-03-08T15:05:38.517Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T15:05:38.806Z] + git semver init [2023-03-08T15:05:39.064Z] 2023-03-08 15:05:38,986 [run_init] DEBUG init version:0.0.0 force:False [2023-03-08T15:05:39.064Z] 2023-03-08 15:05:38,987 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver [2023-03-08T15:05:39.064Z] 2023-03-08 15:05:38,988 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver [2023-03-08T15:05:39.064Z] 2023-03-08 15:05:38,988 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-500, universal_newlines=False, shell=None, istream=None) [2023-03-08T15:05:39.999Z] 2023-03-08 15:05:39,776 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500/.git/info/exclude [2023-03-08T15:05:39.999Z] 2023-03-08 15:05:39,777 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver/PR-500 with force:False [2023-03-08T15:05:39.999Z] 2023-03-08 15:05:39,777 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver/PR-500 [2023-03-08T15:05:39.999Z] 2023-03-08 15:05:39,781 [execute] INFO git cat-file --batch-check [2023-03-08T15:05:39.999Z] 2023-03-08 15:05:39,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T15:05:40.000Z] 2023-03-08 15:05:39,787 [execute] INFO git cat-file --batch [2023-03-08T15:05:40.000Z] 2023-03-08 15:05:39,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T15:05:40.000Z] 2023-03-08 15:05:39,791 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver/PR-500 [2023-03-08T15:05:40.000Z] 0.0.0 [Pipeline] } [2023-03-08T15:05:40.009Z] $ docker exec --env ******** --env ******** 3aa344b23b5c70e2ae2819741ebd150d4e88b22c29e753049f8cb37d2b4321e8 ssh-agent -k [2023-03-08T15:05:40.109Z] unset SSH_AUTH_SOCK; [2023-03-08T15:05:40.110Z] unset SSH_AGENT_PID; [2023-03-08T15:05:40.110Z] echo Agent pid 76 killed; [2023-03-08T15:05:40.120Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T15:05:40.426Z] + git semver [Pipeline] } [2023-03-08T15:05:40.697Z] $ docker stop --time=1 3aa344b23b5c70e2ae2819741ebd150d4e88b22c29e753049f8cb37d2b4321e8 [2023-03-08T15:05:41.997Z] $ docker rm -f --volumes 3aa344b23b5c70e2ae2819741ebd150d4e88b22c29e753049f8cb37d2b4321e8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T15:05:42.344Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-08T15:05:42.548Z] Stashed 1 file(s) [Pipeline] echo [2023-03-08T15:05:42.551Z] [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 [2023-03-08T15:05:42.710Z] provisioning config files... [2023-03-08T15:05:42.720Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/config11463614172631083122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:05:43.016Z] ---> docker-login.sh [2023-03-08T15:05:43.016Z] nexus3.edgexfoundry.org:10001 [2023-03-08T15:05:43.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:43.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:43.016Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:43.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:43.016Z] [2023-03-08T15:05:43.016Z] Login Succeeded [2023-03-08T15:05:43.016Z] nexus3.edgexfoundry.org:10002 [2023-03-08T15:05:43.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:43.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:43.016Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:43.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:43.016Z] [2023-03-08T15:05:43.016Z] Login Succeeded [2023-03-08T15:05:43.016Z] nexus3.edgexfoundry.org:10003 [2023-03-08T15:05:43.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:43.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:43.275Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:43.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:43.275Z] [2023-03-08T15:05:43.275Z] Login Succeeded [2023-03-08T15:05:43.275Z] nexus3.edgexfoundry.org:10004 [2023-03-08T15:05:43.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:43.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:43.275Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:43.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:43.275Z] [2023-03-08T15:05:43.275Z] Login Succeeded [2023-03-08T15:05:43.275Z] docker.io [2023-03-08T15:05:43.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:05:43.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:05:43.534Z] Configure a credential helper to remove this warning. See [2023-03-08T15:05:43.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:05:43.535Z] [2023-03-08T15:05:43.535Z] Login Succeeded [2023-03-08T15:05:43.535Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T15:05:43.543Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T15:05:43.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T15:05:43.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T15:05:43.642Z] ========================================================= [2023-03-08T15:05:43.642Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-08T15:05:43.642Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:05:43.966Z] + 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 . [2023-03-08T15:05:43.966Z] Sending build context to Docker daemon 6.361MB [2023-03-08T15:05:43.966Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T15:05:43.966Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-08T15:05:43.966Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-08T15:05:43.966Z] 213ec9aee27d: Pulling fs layer [2023-03-08T15:05:43.966Z] 4583459ba037: Pulling fs layer [2023-03-08T15:05:43.966Z] 93c1e223e6f2: Pulling fs layer [2023-03-08T15:05:43.966Z] 53926ce57604: Pulling fs layer [2023-03-08T15:05:43.966Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-08T15:05:43.966Z] 22ff95d597cd: Pulling fs layer [2023-03-08T15:05:43.966Z] 12d6caf4c0d1: Pulling fs layer [2023-03-08T15:05:43.966Z] 96b7cbca73a9: Pulling fs layer [2023-03-08T15:05:43.966Z] a7acece74701: Pulling fs layer [2023-03-08T15:05:43.966Z] 53926ce57604: Waiting [2023-03-08T15:05:43.966Z] 21b2b0c7a3f4: Waiting [2023-03-08T15:05:43.966Z] a7acece74701: Waiting [2023-03-08T15:05:43.966Z] 96b7cbca73a9: Waiting [2023-03-08T15:05:43.966Z] 22ff95d597cd: Waiting [2023-03-08T15:05:43.966Z] 12d6caf4c0d1: Waiting [2023-03-08T15:05:43.966Z] 93c1e223e6f2: Verifying Checksum [2023-03-08T15:05:43.966Z] 93c1e223e6f2: Download complete [2023-03-08T15:05:43.966Z] 4583459ba037: Verifying Checksum [2023-03-08T15:05:43.966Z] 4583459ba037: Download complete [2023-03-08T15:05:43.966Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-08T15:05:43.966Z] 21b2b0c7a3f4: Download complete [2023-03-08T15:05:43.966Z] 22ff95d597cd: Download complete [2023-03-08T15:05:44.229Z] 213ec9aee27d: Verifying Checksum [2023-03-08T15:05:44.229Z] 213ec9aee27d: Download complete [2023-03-08T15:05:44.229Z] 12d6caf4c0d1: Download complete [2023-03-08T15:05:44.229Z] 213ec9aee27d: Pull complete [2023-03-08T15:05:44.229Z] 4583459ba037: Pull complete [2023-03-08T15:05:44.494Z] 93c1e223e6f2: Pull complete [2023-03-08T15:05:44.756Z] a7acece74701: Verifying Checksum [2023-03-08T15:05:44.756Z] a7acece74701: Download complete [2023-03-08T15:05:45.015Z] 96b7cbca73a9: Download complete [2023-03-08T15:05:45.015Z] 53926ce57604: Verifying Checksum [2023-03-08T15:05:45.015Z] 53926ce57604: Download complete [2023-03-08T15:05:49.220Z] 53926ce57604: Pull complete [2023-03-08T15:05:49.220Z] 21b2b0c7a3f4: Pull complete [2023-03-08T15:05:49.220Z] 22ff95d597cd: Pull complete [2023-03-08T15:05:49.220Z] 12d6caf4c0d1: Pull complete [2023-03-08T15:05:51.752Z] 96b7cbca73a9: Pull complete [2023-03-08T15:05:52.012Z] a7acece74701: Pull complete [2023-03-08T15:05:52.274Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-08T15:05:52.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-08T15:05:52.274Z] ---> db6d94c90886 [2023-03-08T15:05:52.274Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-08T15:05:53.655Z] ---> Running in e0dc5f1984e2 [2023-03-08T15:05:53.655Z] Removing intermediate container e0dc5f1984e2 [2023-03-08T15:05:53.655Z] ---> a9b2690a3663 [2023-03-08T15:05:53.655Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T15:05:53.914Z] ---> Running in db1e7b309f29 [2023-03-08T15:05:53.914Z] Removing intermediate container db1e7b309f29 [2023-03-08T15:05:53.914Z] ---> 5f954b135915 [2023-03-08T15:05:53.914Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T15:05:53.914Z] ---> Running in aace5f292d68 [2023-03-08T15:05:54.173Z] Removing intermediate container aace5f292d68 [2023-03-08T15:05:54.173Z] ---> 93e606f45f43 [2023-03-08T15:05:54.173Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T15:05:54.173Z] ---> Running in cde8fdb53e27 [2023-03-08T15:05:54.173Z] Removing intermediate container cde8fdb53e27 [2023-03-08T15:05:54.173Z] ---> 0e59433c207a [2023-03-08T15:05:54.173Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T15:05:54.173Z] ---> Running in 28403e8291f2 [2023-03-08T15:05:54.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T15:05:54.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T15:05:54.954Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-08T15:05:54.954Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-08T15:05:54.954Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-08T15:05:54.954Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-08T15:05:54.954Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T15:05:54.954Z] OK: 216 MiB in 55 packages [2023-03-08T15:05:55.524Z] Removing intermediate container 28403e8291f2 [2023-03-08T15:05:55.524Z] ---> 5808049ccce1 [2023-03-08T15:05:55.524Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-08T15:05:55.524Z] ---> Running in f9e0de1f8071 [2023-03-08T15:05:55.524Z] Removing intermediate container f9e0de1f8071 [2023-03-08T15:05:55.524Z] ---> 92fecaa9f9dd [2023-03-08T15:05:55.524Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-08T15:05:55.524Z] ---> aa0ada20cab8 [2023-03-08T15:05:55.524Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T15:05:55.783Z] ---> Running in e4ea9027ed4c [2023-03-08T15:05:57.660Z] Still waiting to schedule task [2023-03-08T15:05:57.660Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8814’ [2023-03-08T15:06:22.339Z] Removing intermediate container e4ea9027ed4c [2023-03-08T15:06:22.339Z] ---> df967285fcb8 [2023-03-08T15:06:22.339Z] Step 11/12 : COPY . . [2023-03-08T15:06:22.339Z] ---> 2e6e8b23d222 [2023-03-08T15:06:22.339Z] Step 12/12 : RUN $MAKE [2023-03-08T15:06:22.339Z] ---> Running in 4f3876747434 [2023-03-08T15:06:22.339Z] noop [2023-03-08T15:06:22.339Z] Removing intermediate container 4f3876747434 [2023-03-08T15:06:22.339Z] ---> b7c9cff8a665 [2023-03-08T15:06:22.339Z] Successfully built b7c9cff8a665 [2023-03-08T15:06:22.339Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:06:22.655Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T15:06:22.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:06:22.727Z] prd-ubuntu20.04-docker-8c-8g-8816 does not seem to be running inside a container [2023-03-08T15:06:22.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@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 [2023-03-08T15:06:23.112Z] $ docker top 9c4c1b62eb7d8a5dae772f848790af2f1b3088c7f623bfbf7ab53742bdcc8816 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:06:23.458Z] + go version [2023-03-08T15:06:23.458Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-08T15:06:23.466Z] $ docker stop --time=1 9c4c1b62eb7d8a5dae772f848790af2f1b3088c7f623bfbf7ab53742bdcc8816 [2023-03-08T15:06:24.745Z] $ docker rm -f --volumes 9c4c1b62eb7d8a5dae772f848790af2f1b3088c7f623bfbf7ab53742bdcc8816 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:06:25.129Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T15:06:25.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:06:25.210Z] prd-ubuntu20.04-docker-8c-8g-8816 does not seem to be running inside a container [2023-03-08T15:06:25.250Z] $ 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-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@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 [2023-03-08T15:06:25.598Z] $ docker top 4d7889ba47bb14c1f860a76a2d7e79190837ba9c056f21f979b6b5a1e2057141 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:06:25.984Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-500 [Pipeline] fileExists [Pipeline] sh [2023-03-08T15:06:26.286Z] + make test [2023-03-08T15:06:26.286Z] go test ./... -coverprofile=coverage.out ./... [2023-03-08T15:06:26.544Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-08T15:06:34.651Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-08T15:06:35.585Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2023-03-08T15:06:35.585Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-08T15:06:42.145Z] 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." [2023-03-08T15:06:42.145Z] go vet ./... [2023-03-08T15:06:44.671Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T15:06:44.671Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T15:06:44.671Z] ./bin/test-attribution-txt.sh [2023-03-08T15:06:44.671Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-03-08T15:06:44.671Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-03-08T15:06:44.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T15:06:44.694Z] $ docker stop --time=1 4d7889ba47bb14c1f860a76a2d7e79190837ba9c056f21f979b6b5a1e2057141 [2023-03-08T15:06:46.352Z] $ docker rm -f --volumes 4d7889ba47bb14c1f860a76a2d7e79190837ba9c056f21f979b6b5a1e2057141 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T15:06:46.779Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T15:06:46.818Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-08T15:06:47.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T15:06:47.539Z] + ls -al . [2023-03-08T15:06:47.539Z] total 184 [2023-03-08T15:06:47.539Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 15:06 . [2023-03-08T15:06:47.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:05 .. [2023-03-08T15:06:47.539Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 15:05 .dockerignore [2023-03-08T15:06:47.539Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 15:06 .git [2023-03-08T15:06:47.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:05 .github [2023-03-08T15:06:47.539Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 8 15:05 .gitignore [2023-03-08T15:06:47.539Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 15:05 .golangci.yml [2023-03-08T15:06:47.539Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 15:05 .semver [2023-03-08T15:06:47.539Z] -rw-rw-r-- 1 jenkins jenkins 9189 Mar 8 15:05 Attribution.txt [2023-03-08T15:06:47.539Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 8 15:05 CHANGELOG.md [2023-03-08T15:06:47.539Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 8 15:05 Dockerfile [2023-03-08T15:06:47.539Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 15:05 GOVERNANCE.md [2023-03-08T15:06:47.540Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 8 15:05 Jenkinsfile [2023-03-08T15:06:47.540Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 15:05 LICENSE [2023-03-08T15:06:47.540Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 8 15:05 Makefile [2023-03-08T15:06:47.540Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 15:05 OWNERS.md [2023-03-08T15:06:47.540Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 8 15:05 README.md [2023-03-08T15:06:47.540Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 15:05 VERSION [2023-03-08T15:06:47.540Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:05 bin [2023-03-08T15:06:47.540Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:05 cmd [2023-03-08T15:06:47.540Z] -rw-r--r-- 1 jenkins jenkins 17887 Mar 8 15:06 coverage.out [2023-03-08T15:06:47.540Z] -rw-rw-r-- 1 jenkins jenkins 3376 Mar 8 15:05 go.mod [2023-03-08T15:06:47.540Z] -rw-rw-r-- 1 jenkins jenkins 33279 Mar 8 15:05 go.sum [2023-03-08T15:06:47.540Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:05 internal [2023-03-08T15:06:47.540Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:05 mock [2023-03-08T15:06:47.540Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:05 snap [2023-03-08T15:06:47.540Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 8 15:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:06:47.846Z] + 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=4f04e735536f66c1c3b8a19061b0acfbd4d6991a --label arch=amd64 --label version=0.0.0 . [2023-03-08T15:06:47.846Z] Sending build context to Docker daemon 6.38MB [2023-03-08T15:06:47.846Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T15:06:47.846Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-08T15:06:47.846Z] ---> b7c9cff8a665 [2023-03-08T15:06:47.846Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-08T15:06:47.846Z] ---> Running in f60d4ff62cd0 [2023-03-08T15:06:48.107Z] Removing intermediate container f60d4ff62cd0 [2023-03-08T15:06:48.107Z] ---> 3551a5545552 [2023-03-08T15:06:48.107Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T15:06:48.107Z] ---> Running in 74ea5959d2fd [2023-03-08T15:06:48.107Z] Removing intermediate container 74ea5959d2fd [2023-03-08T15:06:48.107Z] ---> d77794f88206 [2023-03-08T15:06:48.107Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T15:06:48.107Z] ---> Running in d7c9cbfe50b7 [2023-03-08T15:06:48.107Z] Removing intermediate container d7c9cbfe50b7 [2023-03-08T15:06:48.107Z] ---> 79fe82a73bbc [2023-03-08T15:06:48.107Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T15:06:48.366Z] ---> Running in 26eac140b65b [2023-03-08T15:06:48.366Z] Removing intermediate container 26eac140b65b [2023-03-08T15:06:48.366Z] ---> 5f2cab14694f [2023-03-08T15:06:48.366Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T15:06:48.366Z] ---> Running in 66a43446c15e [2023-03-08T15:06:48.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T15:06:48.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T15:06:49.149Z] OK: 216 MiB in 55 packages [2023-03-08T15:06:49.407Z] Removing intermediate container 66a43446c15e [2023-03-08T15:06:49.407Z] ---> 0184f556b941 [2023-03-08T15:06:49.407Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-08T15:06:49.407Z] ---> Running in f2713fb1a721 [2023-03-08T15:06:49.407Z] Removing intermediate container f2713fb1a721 [2023-03-08T15:06:49.407Z] ---> 8f43ed459bb8 [2023-03-08T15:06:49.407Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-08T15:06:49.666Z] ---> 6b8683ad6de6 [2023-03-08T15:06:49.666Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T15:06:49.666Z] ---> Running in f70f83eba512 [2023-03-08T15:06:50.620Z] Removing intermediate container f70f83eba512 [2023-03-08T15:06:50.620Z] ---> 3580e28d3b6d [2023-03-08T15:06:50.620Z] Step 11/24 : COPY . . [2023-03-08T15:06:50.879Z] ---> 86850c07eff4 [2023-03-08T15:06:50.880Z] Step 12/24 : RUN $MAKE [2023-03-08T15:06:50.880Z] ---> Running in 24060fa2b85f [2023-03-08T15:06:51.138Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-08T15:07:09.276Z] Removing intermediate container 24060fa2b85f [2023-03-08T15:07:09.276Z] ---> f4733b0f244d [2023-03-08T15:07:09.276Z] Step 13/24 : FROM alpine:3.16 [2023-03-08T15:07:09.276Z] 3.16: Pulling from library/alpine [2023-03-08T15:07:09.276Z] ef5531b6e74e: Pulling fs layer [2023-03-08T15:07:09.276Z] ef5531b6e74e: Verifying Checksum [2023-03-08T15:07:09.276Z] ef5531b6e74e: Pull complete [2023-03-08T15:07:09.276Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T15:07:09.276Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T15:07:09.276Z] ---> dfd21b5a31f5 [2023-03-08T15:07:09.276Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-08T15:07:09.276Z] ---> Running in 59cefb361526 [2023-03-08T15:07:09.276Z] Removing intermediate container 59cefb361526 [2023-03-08T15:07:09.276Z] ---> a37676a60897 [2023-03-08T15:07:09.276Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-08T15:07:09.276Z] ---> Running in 0daed342e7b0 [2023-03-08T15:07:09.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T15:07:09.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T15:07:09.564Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-08T15:07:09.564Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T15:07:09.564Z] OK: 6 MiB in 15 packages [2023-03-08T15:07:09.839Z] Removing intermediate container 0daed342e7b0 [2023-03-08T15:07:09.839Z] ---> 36f3475fc552 [2023-03-08T15:07:09.839Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-08T15:07:10.407Z] ---> cc5b61aeb6f2 [2023-03-08T15:07:10.407Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-08T15:07:10.407Z] ---> e86c0c9af15f [2023-03-08T15:07:10.407Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-08T15:07:10.666Z] ---> d8c0488ec5ab [2023-03-08T15:07:10.666Z] Step 19/24 : EXPOSE 59982 [2023-03-08T15:07:10.666Z] ---> Running in cd98262fff90 [2023-03-08T15:07:10.666Z] Removing intermediate container cd98262fff90 [2023-03-08T15:07:10.666Z] ---> fad108aacd47 [2023-03-08T15:07:10.666Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-08T15:07:10.666Z] ---> Running in 1b37711b4e6b [2023-03-08T15:07:10.925Z] Removing intermediate container 1b37711b4e6b [2023-03-08T15:07:10.925Z] ---> 7805a3a53f44 [2023-03-08T15:07:10.925Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-08T15:07:10.925Z] ---> Running in 882f63a7e9bf [2023-03-08T15:07:10.925Z] Removing intermediate container 882f63a7e9bf [2023-03-08T15:07:10.925Z] ---> 03e263f7c194 [2023-03-08T15:07:10.925Z] Step 22/24 : LABEL arch=amd64 [2023-03-08T15:07:10.925Z] ---> Running in a0c3838c7819 [2023-03-08T15:07:11.184Z] Removing intermediate container a0c3838c7819 [2023-03-08T15:07:11.184Z] ---> a7269eb7b30e [2023-03-08T15:07:11.184Z] Step 23/24 : LABEL git_sha=4f04e735536f66c1c3b8a19061b0acfbd4d6991a [2023-03-08T15:07:11.184Z] ---> Running in 696ce2e14521 [2023-03-08T15:07:11.184Z] Removing intermediate container 696ce2e14521 [2023-03-08T15:07:11.184Z] ---> f7d33d12b98f [2023-03-08T15:07:11.184Z] Step 24/24 : LABEL version=0.0.0 [2023-03-08T15:07:11.184Z] ---> Running in 466b6904e47a [2023-03-08T15:07:11.443Z] Removing intermediate container 466b6904e47a [2023-03-08T15:07:11.443Z] ---> 69aad18ac3fb [2023-03-08T15:07:11.443Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T15:07:11.443Z] Successfully built 69aad18ac3fb [2023-03-08T15:07:11.443Z] 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 [2023-03-08T15:07:11.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T15:07:11.872Z] [2023-03-08T15:07:11.872Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:07:12.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T15:07:12.176Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-08T15:07:12.176Z] 5eb5b503b376: Pulling fs layer [2023-03-08T15:07:12.176Z] 5c69ac0246d0: Pulling fs layer [2023-03-08T15:07:12.176Z] ec43610c2a17: Pulling fs layer [2023-03-08T15:07:12.176Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-08T15:07:12.176Z] 33b1e0a273af: Pulling fs layer [2023-03-08T15:07:12.176Z] 5d3b04190fa2: Pulling fs layer [2023-03-08T15:07:12.176Z] 2f39f015ded8: Pulling fs layer [2023-03-08T15:07:12.176Z] 3a2ae6a8a46f: Waiting [2023-03-08T15:07:12.176Z] 33b1e0a273af: Waiting [2023-03-08T15:07:12.176Z] 2f39f015ded8: Waiting [2023-03-08T15:07:12.176Z] 5d3b04190fa2: Waiting [2023-03-08T15:07:12.176Z] 5c69ac0246d0: Verifying Checksum [2023-03-08T15:07:12.176Z] 5c69ac0246d0: Download complete [2023-03-08T15:07:12.176Z] 3a2ae6a8a46f: Download complete [2023-03-08T15:07:12.440Z] 33b1e0a273af: Verifying Checksum [2023-03-08T15:07:12.440Z] 33b1e0a273af: Download complete [2023-03-08T15:07:12.440Z] 5d3b04190fa2: Verifying Checksum [2023-03-08T15:07:12.440Z] 5d3b04190fa2: Download complete [2023-03-08T15:07:12.440Z] ec43610c2a17: Verifying Checksum [2023-03-08T15:07:12.440Z] ec43610c2a17: Download complete [2023-03-08T15:07:12.440Z] 5eb5b503b376: Verifying Checksum [2023-03-08T15:07:12.440Z] 5eb5b503b376: Download complete [2023-03-08T15:07:13.008Z] 2f39f015ded8: Verifying Checksum [2023-03-08T15:07:13.008Z] 2f39f015ded8: Download complete [2023-03-08T15:07:13.574Z] 5eb5b503b376: Pull complete [2023-03-08T15:07:13.574Z] 5c69ac0246d0: Pull complete [2023-03-08T15:07:14.139Z] ec43610c2a17: Pull complete [2023-03-08T15:07:14.139Z] 3a2ae6a8a46f: Pull complete [2023-03-08T15:07:14.397Z] 33b1e0a273af: Pull complete [2023-03-08T15:07:14.397Z] 5d3b04190fa2: Pull complete [2023-03-08T15:07:18.589Z] 2f39f015ded8: Pull complete [2023-03-08T15:07:18.589Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-08T15:07:18.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T15:07:18.589Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:07:18.675Z] prd-ubuntu20.04-docker-8c-8g-8816 does not seem to be running inside a container [2023-03-08T15:07:18.708Z] $ 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-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@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 [2023-03-08T15:07:20.098Z] $ docker top 56e9d189d2cbc9269b398eb5b106b892c63b96a300e15e4867c95b55454ac12d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:07:20.460Z] ---> job-cost.sh [2023-03-08T15:07:20.460Z] lf-activate-venv: SKIPPING [2023-03-08T15:07:20.460Z] INFO: No Stack... [2023-03-08T15:07:21.028Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T15:07:21.286Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T15:07:21.583Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives/cost.csv [2023-03-08T15:07:21.583Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T15:07:21.603Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-500-3-stack-cost] [2023-03-08T15:07:21.632Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-500-3-stack-cost] did not exist. Created. [2023-03-08T15:07:21.632Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-500-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T15:07:21.947Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-08T15:07:21.971Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T15:07:21.977Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-500-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T15:07:21.989Z] $ docker stop --time=1 56e9d189d2cbc9269b398eb5b106b892c63b96a300e15e4867c95b55454ac12d [2023-03-08T15:07:23.144Z] $ docker rm -f --volumes 56e9d189d2cbc9269b398eb5b106b892c63b96a300e15e4867c95b55454ac12d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-08T15:08:31.399Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8819 in /w/workspace/gexfoundry_device-mqtt-go_PR-500 [Pipeline] { [Pipeline] ws [2023-03-08T15:08:31.413Z] Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout [2023-03-08T15:08:31.456Z] Selected Git installation does not exist. Using Default [2023-03-08T15:08:31.456Z] The recommended git tool is: NONE [2023-03-08T15:08:37.609Z] using credential edgex-jenkins-ssh [2023-03-08T15:08:37.640Z] Cloning the remote Git repository [2023-03-08T15:08:37.692Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T15:08:37.774Z] > git init /w/workspace/device-mqtt-go/3 # timeout=10 [2023-03-08T15:08:37.953Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T15:08:37.954Z] > git --version # timeout=10 [2023-03-08T15:08:37.980Z] > git --version # 'git version 2.25.1' [2023-03-08T15:08:37.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T15:08:38.058Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T15:08:39.184Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-08T15:08:39.208Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T15:08:40.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-08T15:08:40.265Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T15:08:40.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T15:08:40.286Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-08T15:08:40.783Z] Merging remotes/origin/main commit ec4bdb71d113baf8f62d105c9dc125da7e597352 into PR head commit 4f04e735536f66c1c3b8a19061b0acfbd4d6991a [2023-03-08T15:08:41.066Z] Merge succeeded, producing 4f04e735536f66c1c3b8a19061b0acfbd4d6991a [2023-03-08T15:08:41.066Z] Checking out Revision 4f04e735536f66c1c3b8a19061b0acfbd4d6991a (PR-500) [2023-03-08T15:08:41.631Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2" [2023-03-08T15:08:40.813Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T15:08:40.844Z] > git checkout -f 4f04e735536f66c1c3b8a19061b0acfbd4d6991a # timeout=10 [2023-03-08T15:08:40.950Z] > git remote # timeout=10 [2023-03-08T15:08:40.973Z] > git config --get remote.origin.url # timeout=10 [2023-03-08T15:08:40.996Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T15:08:41.012Z] > git merge ec4bdb71d113baf8f62d105c9dc125da7e597352 # timeout=10 [2023-03-08T15:08:41.046Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-08T15:08:41.077Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T15:08:41.104Z] > git checkout -f 4f04e735536f66c1c3b8a19061b0acfbd4d6991a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T15:08:42.577Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-08T15:08:42.577Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T15:08:42.577Z] Dload Upload Total Spent Left Speed [2023-03-08T15:08:42.577Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-03-08T15:08:43.274Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-08T15:08:43.617Z] + sudo tee /etc/docker/daemon.new [2023-03-08T15:08:43.617Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-08T15:08:43.617Z] { [2023-03-08T15:08:43.617Z] "registry-mirrors": [ [2023-03-08T15:08:43.617Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-08T15:08:43.617Z] ], [2023-03-08T15:08:43.617Z] "bip": "10.250.0.254/24", [2023-03-08T15:08:43.617Z] "hosts": [ [2023-03-08T15:08:43.617Z] "tcp://0.0.0.0:5555", [2023-03-08T15:08:43.617Z] "unix:///var/run/docker.sock" [2023-03-08T15:08:43.617Z] ], [2023-03-08T15:08:43.617Z] "mtu": 1458, [2023-03-08T15:08:43.617Z] "selinux-enabled": true, [2023-03-08T15:08:43.617Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-08T15:08:43.617Z] } [Pipeline] sh [2023-03-08T15:08:43.962Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-08T15:08:44.321Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T15:09:02.842Z] provisioning config files... [2023-03-08T15:09:02.870Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config9210242270739886718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:09:03.231Z] ---> docker-login.sh [2023-03-08T15:09:03.231Z] nexus3.edgexfoundry.org:10001 [2023-03-08T15:09:03.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:09:04.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:09:04.093Z] Configure a credential helper to remove this warning. See [2023-03-08T15:09:04.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:09:04.093Z] [2023-03-08T15:09:04.093Z] Login Succeeded [2023-03-08T15:09:04.093Z] nexus3.edgexfoundry.org:10002 [2023-03-08T15:09:04.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:09:04.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:09:04.364Z] Configure a credential helper to remove this warning. See [2023-03-08T15:09:04.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:09:04.364Z] [2023-03-08T15:09:04.364Z] Login Succeeded [2023-03-08T15:09:04.364Z] nexus3.edgexfoundry.org:10003 [2023-03-08T15:09:04.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:09:04.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:09:04.902Z] Configure a credential helper to remove this warning. See [2023-03-08T15:09:04.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:09:04.902Z] [2023-03-08T15:09:04.902Z] Login Succeeded [2023-03-08T15:09:04.902Z] nexus3.edgexfoundry.org:10004 [2023-03-08T15:09:05.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:09:05.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:09:05.176Z] Configure a credential helper to remove this warning. See [2023-03-08T15:09:05.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:09:05.176Z] [2023-03-08T15:09:05.176Z] Login Succeeded [2023-03-08T15:09:05.176Z] docker.io [2023-03-08T15:09:05.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T15:09:05.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T15:09:05.716Z] Configure a credential helper to remove this warning. See [2023-03-08T15:09:05.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T15:09:05.716Z] [2023-03-08T15:09:05.716Z] Login Succeeded [2023-03-08T15:09:05.716Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T15:09:05.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T15:09:06.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T15:09:06.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T15:09:06.035Z] ========================================================= [2023-03-08T15:09:06.035Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-08T15:09:06.035Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:09:06.385Z] + 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 . [2023-03-08T15:09:06.656Z] Sending build context to Docker daemon 3.289MB [2023-03-08T15:09:06.656Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T15:09:06.656Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-08T15:09:06.929Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-08T15:09:06.929Z] 9b18e9b68314: Pulling fs layer [2023-03-08T15:09:06.929Z] 35d82f9e3411: Pulling fs layer [2023-03-08T15:09:06.929Z] e16973657156: Pulling fs layer [2023-03-08T15:09:06.929Z] fc693d55d65f: Pulling fs layer [2023-03-08T15:09:06.929Z] 7e9fc2657dce: Pulling fs layer [2023-03-08T15:09:06.929Z] dda99020689f: Pulling fs layer [2023-03-08T15:09:06.929Z] db1c61fa0a46: Pulling fs layer [2023-03-08T15:09:06.929Z] 891c053d2c06: Pulling fs layer [2023-03-08T15:09:06.929Z] fc693d55d65f: Waiting [2023-03-08T15:09:06.929Z] 7e9fc2657dce: Waiting [2023-03-08T15:09:06.929Z] dda99020689f: Waiting [2023-03-08T15:09:06.929Z] db1c61fa0a46: Waiting [2023-03-08T15:09:06.929Z] 891c053d2c06: Waiting [2023-03-08T15:09:06.929Z] e16973657156: Verifying Checksum [2023-03-08T15:09:06.929Z] e16973657156: Download complete [2023-03-08T15:09:06.929Z] 7e9fc2657dce: Download complete [2023-03-08T15:09:06.929Z] dda99020689f: Verifying Checksum [2023-03-08T15:09:06.929Z] dda99020689f: Download complete [2023-03-08T15:09:06.929Z] 9b18e9b68314: Verifying Checksum [2023-03-08T15:09:06.929Z] 9b18e9b68314: Download complete [2023-03-08T15:09:07.910Z] 9b18e9b68314: Pull complete [2023-03-08T15:09:08.182Z] 891c053d2c06: Verifying Checksum [2023-03-08T15:09:08.182Z] 891c053d2c06: Download complete [2023-03-08T15:09:08.471Z] 35d82f9e3411: Pull complete [2023-03-08T15:09:09.070Z] e16973657156: Pull complete [2023-03-08T15:09:09.350Z] db1c61fa0a46: Verifying Checksum [2023-03-08T15:09:09.350Z] db1c61fa0a46: Download complete [2023-03-08T15:09:09.941Z] fc693d55d65f: Download complete [2023-03-08T15:09:22.292Z] fc693d55d65f: Pull complete [2023-03-08T15:09:22.292Z] 7e9fc2657dce: Pull complete [2023-03-08T15:09:22.559Z] dda99020689f: Pull complete [2023-03-08T15:09:29.225Z] db1c61fa0a46: Pull complete [2023-03-08T15:09:30.190Z] 891c053d2c06: Pull complete [2023-03-08T15:09:30.190Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-08T15:09:30.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-08T15:09:30.190Z] ---> f96f9c87975a [2023-03-08T15:09:30.190Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-08T15:09:32.146Z] ---> Running in 0a924f85182f [2023-03-08T15:09:32.419Z] Removing intermediate container 0a924f85182f [2023-03-08T15:09:32.419Z] ---> ec7e0e20a586 [2023-03-08T15:09:32.419Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T15:09:32.690Z] ---> Running in 3703061998d7 [2023-03-08T15:09:32.960Z] Removing intermediate container 3703061998d7 [2023-03-08T15:09:32.960Z] ---> df65a524532d [2023-03-08T15:09:32.960Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T15:09:32.960Z] ---> Running in 7d69cb0b9f79 [2023-03-08T15:09:33.228Z] Removing intermediate container 7d69cb0b9f79 [2023-03-08T15:09:33.228Z] ---> 6c5bea2167c0 [2023-03-08T15:09:33.228Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T15:09:33.497Z] ---> Running in da13606e4f97 [2023-03-08T15:09:33.783Z] Removing intermediate container da13606e4f97 [2023-03-08T15:09:33.783Z] ---> adc156564890 [2023-03-08T15:09:33.783Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T15:09:33.783Z] ---> Running in 22138560fc2c [2023-03-08T15:09:35.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T15:09:35.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T15:09:36.367Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-08T15:09:36.367Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-08T15:09:36.367Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-08T15:09:36.367Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-08T15:09:36.367Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T15:09:36.367Z] OK: 226 MiB in 55 packages [2023-03-08T15:09:37.329Z] Removing intermediate container 22138560fc2c [2023-03-08T15:09:37.329Z] ---> 2713d3bf5efb [2023-03-08T15:09:37.329Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-08T15:09:37.596Z] ---> Running in 65d537b6bac6 [2023-03-08T15:09:37.863Z] Removing intermediate container 65d537b6bac6 [2023-03-08T15:09:37.863Z] ---> 4e9ac4ff73f3 [2023-03-08T15:09:37.863Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-08T15:09:38.449Z] ---> c49a2113925f [2023-03-08T15:09:38.449Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T15:09:38.449Z] ---> Running in 0b72204ada60 [2023-03-08T15:11:00.342Z] Removing intermediate container 0b72204ada60 [2023-03-08T15:11:00.342Z] ---> 62aa350440aa [2023-03-08T15:11:00.342Z] Step 11/12 : COPY . . [2023-03-08T15:11:00.342Z] ---> b283f9a9dc1f [2023-03-08T15:11:00.342Z] Step 12/12 : RUN $MAKE [2023-03-08T15:11:00.342Z] ---> Running in 818cf9595ee6 [2023-03-08T15:11:00.342Z] noop [2023-03-08T15:11:00.342Z] Removing intermediate container 818cf9595ee6 [2023-03-08T15:11:00.342Z] ---> e5ac2ef5ce0e [2023-03-08T15:11:00.342Z] Successfully built e5ac2ef5ce0e [2023-03-08T15:11:00.342Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:11:00.688Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T15:11:00.688Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:11:00.901Z] prd-ubuntu20.04-docker-arm64-4c-16g-8819 does not seem to be running inside a container [2023-03-08T15:11:00.976Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 [2023-03-08T15:11:02.227Z] $ docker top 686aebb46f3c475b069fefc40f6852500a2585d5407a6914d599608fec5754ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:11:03.069Z] + go version [2023-03-08T15:11:03.069Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-08T15:11:03.089Z] $ docker stop --time=1 686aebb46f3c475b069fefc40f6852500a2585d5407a6914d599608fec5754ed [2023-03-08T15:11:04.729Z] $ docker rm -f --volumes 686aebb46f3c475b069fefc40f6852500a2585d5407a6914d599608fec5754ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:11:05.282Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T15:11:05.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:11:05.472Z] prd-ubuntu20.04-docker-arm64-4c-16g-8819 does not seem to be running inside a container [2023-03-08T15:11:05.546Z] $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 [2023-03-08T15:11:06.726Z] $ docker top 3170d94a798d38e255a204c7972a67d9a103a1d669101d3c1ae6e88a9ed6d0b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:11:07.234Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/3 [Pipeline] fileExists [Pipeline] sh [2023-03-08T15:11:08.148Z] + make test [2023-03-08T15:11:08.148Z] go test ./... -coverprofile=coverage.out ./... [2023-03-08T15:11:09.561Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-08T15:12:31.255Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-08T15:12:34.596Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 21.8% of statements [2023-03-08T15:12:34.596Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-08T15:12:34.864Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-08T15:12:34.864Z] go vet ./... [2023-03-08T15:13:07.108Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T15:13:07.108Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T15:13:07.108Z] ./bin/test-attribution-txt.sh [2023-03-08T15:13:07.108Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-03-08T15:13:07.108Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-03-08T15:13:07.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T15:13:07.134Z] $ docker stop --time=1 3170d94a798d38e255a204c7972a67d9a103a1d669101d3c1ae6e88a9ed6d0b0 [2023-03-08T15:13:08.915Z] $ docker rm -f --volumes 3170d94a798d38e255a204c7972a67d9a103a1d669101d3c1ae6e88a9ed6d0b0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T15:13:09.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T15:13:09.929Z] Warning: overwriting stash ‘coverage-report’ [2023-03-08T15:13:10.419Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T15:13:10.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T15:13:11.161Z] + ls -al . [2023-03-08T15:13:11.161Z] total 180 [2023-03-08T15:13:11.161Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 15:11 . [2023-03-08T15:13:11.161Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:08 .. [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 15:08 .dockerignore [2023-03-08T15:13:11.161Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 15:08 .git [2023-03-08T15:13:11.161Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:08 .github [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 8 15:08 .gitignore [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 15:08 .golangci.yml [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 9189 Mar 8 15:08 Attribution.txt [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 8 15:08 CHANGELOG.md [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 8 15:08 Dockerfile [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 15:08 GOVERNANCE.md [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 8 15:08 Jenkinsfile [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 15:08 LICENSE [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 8 15:08 Makefile [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 15:08 OWNERS.md [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 8 15:08 README.md [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 15:05 VERSION [2023-03-08T15:13:11.161Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:08 bin [2023-03-08T15:13:11.161Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:08 cmd [2023-03-08T15:13:11.161Z] -rw-r--r-- 1 jenkins jenkins 17887 Mar 8 15:12 coverage.out [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 3376 Mar 8 15:08 go.mod [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 33279 Mar 8 15:08 go.sum [2023-03-08T15:13:11.161Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 15:08 internal [2023-03-08T15:13:11.161Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 15:08 mock [2023-03-08T15:13:11.161Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 15:08 snap [2023-03-08T15:13:11.161Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 8 15:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:13:11.506Z] + 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=4f04e735536f66c1c3b8a19061b0acfbd4d6991a --label arch=arm64 --label version=0.0.0 . [2023-03-08T15:13:11.773Z] Sending build context to Docker daemon 3.308MB [2023-03-08T15:13:11.773Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T15:13:11.773Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-08T15:13:11.773Z] ---> e5ac2ef5ce0e [2023-03-08T15:13:11.773Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-08T15:13:12.373Z] ---> Running in b543813f94c7 [2023-03-08T15:13:12.638Z] Removing intermediate container b543813f94c7 [2023-03-08T15:13:12.638Z] ---> 0b247e1c45c6 [2023-03-08T15:13:12.638Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T15:13:12.638Z] ---> Running in 80875cc2c047 [2023-03-08T15:13:12.906Z] Removing intermediate container 80875cc2c047 [2023-03-08T15:13:12.906Z] ---> 48ca534b7e4d [2023-03-08T15:13:12.906Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T15:13:13.172Z] ---> Running in e03744f0ad83 [2023-03-08T15:13:13.437Z] Removing intermediate container e03744f0ad83 [2023-03-08T15:13:13.437Z] ---> 12cd52ddbbf6 [2023-03-08T15:13:13.437Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T15:13:13.437Z] ---> Running in abaa02ae220f [2023-03-08T15:13:13.704Z] Removing intermediate container abaa02ae220f [2023-03-08T15:13:13.704Z] ---> 86953c3f1226 [2023-03-08T15:13:13.704Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T15:13:13.972Z] ---> Running in 090e24ac7435 [2023-03-08T15:13:14.933Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T15:13:15.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T15:13:16.612Z] OK: 226 MiB in 55 packages [2023-03-08T15:13:17.200Z] Removing intermediate container 090e24ac7435 [2023-03-08T15:13:17.200Z] ---> 4127c7b69b11 [2023-03-08T15:13:17.200Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-08T15:13:17.200Z] ---> Running in a9aacfd8b1fd [2023-03-08T15:13:17.786Z] Removing intermediate container a9aacfd8b1fd [2023-03-08T15:13:17.786Z] ---> fdac30557ba1 [2023-03-08T15:13:17.786Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-08T15:13:18.373Z] ---> ea74fc25ccd7 [2023-03-08T15:13:18.373Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T15:13:18.373Z] ---> Running in e4536f085918 [2023-03-08T15:13:22.619Z] Removing intermediate container e4536f085918 [2023-03-08T15:13:22.619Z] ---> 48eb7639ac09 [2023-03-08T15:13:22.619Z] Step 11/24 : COPY . . [2023-03-08T15:13:22.886Z] ---> 4ab58338390e [2023-03-08T15:13:22.887Z] Step 12/24 : RUN $MAKE [2023-03-08T15:13:23.154Z] ---> Running in 0c5ba3f87bbe [2023-03-08T15:13:24.118Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-08T15:15:45.811Z] Removing intermediate container 0c5ba3f87bbe [2023-03-08T15:15:45.811Z] ---> 2c0719ae512f [2023-03-08T15:15:45.811Z] Step 13/24 : FROM alpine:3.16 [2023-03-08T15:15:45.811Z] 3.16: Pulling from library/alpine [2023-03-08T15:15:45.811Z] 3760b48202b3: Pulling fs layer [2023-03-08T15:15:45.811Z] 3760b48202b3: Verifying Checksum [2023-03-08T15:15:45.811Z] 3760b48202b3: Download complete [2023-03-08T15:15:45.811Z] 3760b48202b3: Pull complete [2023-03-08T15:15:45.811Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T15:15:45.811Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T15:15:45.811Z] ---> 4c81e5bf8899 [2023-03-08T15:15:45.811Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-08T15:15:45.811Z] ---> Running in a4faff6850d8 [2023-03-08T15:15:45.811Z] Removing intermediate container a4faff6850d8 [2023-03-08T15:15:45.811Z] ---> e676b3b5fc97 [2023-03-08T15:15:45.811Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-08T15:15:45.811Z] ---> Running in c1fcf56ce1f6 [2023-03-08T15:15:45.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T15:15:45.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T15:15:45.811Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-08T15:15:45.811Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T15:15:45.811Z] OK: 5 MiB in 15 packages [2023-03-08T15:15:45.811Z] Removing intermediate container c1fcf56ce1f6 [2023-03-08T15:15:45.811Z] ---> 7a0174db6f13 [2023-03-08T15:15:45.811Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-08T15:15:45.811Z] ---> 0816453387a2 [2023-03-08T15:15:45.811Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-08T15:15:45.811Z] ---> 968ccde7a3b3 [2023-03-08T15:15:45.811Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-08T15:15:45.811Z] ---> 63c9529ee980 [2023-03-08T15:15:45.811Z] Step 19/24 : EXPOSE 59982 [2023-03-08T15:15:45.811Z] ---> Running in 6ae1d1702b4c [2023-03-08T15:15:45.811Z] Removing intermediate container 6ae1d1702b4c [2023-03-08T15:15:45.811Z] ---> a4dfd8553b42 [2023-03-08T15:15:45.811Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-08T15:15:45.811Z] ---> Running in 6463a3ae93ad [2023-03-08T15:15:45.811Z] Removing intermediate container 6463a3ae93ad [2023-03-08T15:15:45.811Z] ---> a3a5d39db3e1 [2023-03-08T15:15:45.811Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-08T15:15:45.811Z] ---> Running in 031431ad5f7a [2023-03-08T15:15:45.811Z] Removing intermediate container 031431ad5f7a [2023-03-08T15:15:45.811Z] ---> fc235805261f [2023-03-08T15:15:45.811Z] Step 22/24 : LABEL arch=arm64 [2023-03-08T15:15:45.811Z] ---> Running in f06bdc28d789 [2023-03-08T15:15:45.811Z] Removing intermediate container f06bdc28d789 [2023-03-08T15:15:45.811Z] ---> 7a12fe209a32 [2023-03-08T15:15:45.811Z] Step 23/24 : LABEL git_sha=4f04e735536f66c1c3b8a19061b0acfbd4d6991a [2023-03-08T15:15:45.811Z] ---> Running in 9f4cfd447731 [2023-03-08T15:15:45.811Z] Removing intermediate container 9f4cfd447731 [2023-03-08T15:15:45.811Z] ---> 7bc3ced9b175 [2023-03-08T15:15:45.811Z] Step 24/24 : LABEL version=0.0.0 [2023-03-08T15:15:45.811Z] ---> Running in e2172c8bb6a9 [2023-03-08T15:15:45.811Z] Removing intermediate container e2172c8bb6a9 [2023-03-08T15:15:45.811Z] ---> 6a75af33d20d [2023-03-08T15:15:45.811Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T15:15:45.811Z] Successfully built 6a75af33d20d [2023-03-08T15:15:45.811Z] 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 [2023-03-08T15:15:46.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T15:15:46.233Z] [2023-03-08T15:15:46.233Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:15:46.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T15:15:46.562Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-08T15:15:46.562Z] 8998bd30e6a1: Pulling fs layer [2023-03-08T15:15:46.562Z] 04944245beec: Pulling fs layer [2023-03-08T15:15:46.562Z] 699f458cf7ca: Pulling fs layer [2023-03-08T15:15:46.562Z] 765212b225bb: Pulling fs layer [2023-03-08T15:15:46.562Z] f23df028b6ca: Pulling fs layer [2023-03-08T15:15:46.562Z] d65c8cfc05b1: Pulling fs layer [2023-03-08T15:15:46.562Z] 2437ff75d9bd: Pulling fs layer [2023-03-08T15:15:46.562Z] 765212b225bb: Waiting [2023-03-08T15:15:46.562Z] f23df028b6ca: Waiting [2023-03-08T15:15:46.562Z] d65c8cfc05b1: Waiting [2023-03-08T15:15:46.562Z] 2437ff75d9bd: Waiting [2023-03-08T15:15:46.827Z] 04944245beec: Verifying Checksum [2023-03-08T15:15:46.827Z] 04944245beec: Download complete [2023-03-08T15:15:46.827Z] 765212b225bb: Verifying Checksum [2023-03-08T15:15:46.827Z] 765212b225bb: Download complete [2023-03-08T15:15:46.827Z] f23df028b6ca: Verifying Checksum [2023-03-08T15:15:46.827Z] f23df028b6ca: Download complete [2023-03-08T15:15:46.827Z] d65c8cfc05b1: Verifying Checksum [2023-03-08T15:15:46.827Z] d65c8cfc05b1: Download complete [2023-03-08T15:15:47.097Z] 699f458cf7ca: Verifying Checksum [2023-03-08T15:15:47.097Z] 699f458cf7ca: Download complete [2023-03-08T15:15:47.364Z] 8998bd30e6a1: Verifying Checksum [2023-03-08T15:15:47.364Z] 8998bd30e6a1: Download complete [2023-03-08T15:15:49.316Z] 2437ff75d9bd: Verifying Checksum [2023-03-08T15:15:49.316Z] 2437ff75d9bd: Download complete [2023-03-08T15:15:51.262Z] 8998bd30e6a1: Pull complete [2023-03-08T15:15:51.528Z] 04944245beec: Pull complete [2023-03-08T15:15:52.934Z] 699f458cf7ca: Pull complete [2023-03-08T15:15:53.202Z] 765212b225bb: Pull complete [2023-03-08T15:15:53.784Z] f23df028b6ca: Pull complete [2023-03-08T15:15:54.050Z] d65c8cfc05b1: Pull complete [2023-03-08T15:16:09.031Z] 2437ff75d9bd: Pull complete [2023-03-08T15:16:09.032Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-08T15:16:09.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T15:16:09.032Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:16:09.255Z] prd-ubuntu20.04-docker-arm64-4c-16g-8819 does not seem to be running inside a container [2023-03-08T15:16:09.352Z] $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 [2023-03-08T15:16:12.089Z] $ docker top c3c7639800dbae20e25de37301eec03e927569f88216c8062c61e60cc3ad94db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:16:12.976Z] ---> job-cost.sh [2023-03-08T15:16:12.977Z] lf-activate-venv: SKIPPING [2023-03-08T15:16:12.977Z] INFO: No Stack... [2023-03-08T15:16:13.252Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-08T15:16:14.233Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T15:16:14.562Z] + + cutcat -d, /w/workspace/device-mqtt-go/3/archives/cost.csv -f6 [2023-03-08T15:16:14.562Z] [Pipeline] lock [2023-03-08T15:16:14.903Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-500-3-stack-cost] [2023-03-08T15:16:14.909Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-500-3-stack-cost] did not exist. Created. [2023-03-08T15:16:14.909Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-500-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T15:16:15.255Z] /w/workspace/device-mqtt-go/3@tmp/durable-37d1dd22/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-08T15:16:15.590Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-08T15:16:15.610Z] Warning: overwriting stash ‘stack-cost’ [2023-03-08T15:16:15.655Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T15:16:15.666Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-500-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T15:16:15.686Z] $ docker stop --time=1 c3c7639800dbae20e25de37301eec03e927569f88216c8062c61e60cc3ad94db [2023-03-08T15:16:17.172Z] $ docker rm -f --volumes c3c7639800dbae20e25de37301eec03e927569f88216c8062c61e60cc3ad94db [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 [2023-03-08T15:16:17.537Z] provisioning config files... [2023-03-08T15:16:17.543Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/config1526581403719579633tmp [Pipeline] { [Pipeline] sh [2023-03-08T15:16:17.832Z] + set +x [2023-03-08T15:16:17.832Z] + curl -s https://codecov.io/bash [2023-03-08T15:16:17.832Z] + bash -s -- [2023-03-08T15:16:17.832Z] [2023-03-08T15:16:17.832Z] _____ _ [2023-03-08T15:16:17.832Z] / ____| | | [2023-03-08T15:16:17.832Z] | | ___ __| | ___ ___ _____ __ [2023-03-08T15:16:17.832Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-08T15:16:17.832Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-08T15:16:17.832Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-08T15:16:17.832Z] Bash-1.0.6 [2023-03-08T15:16:17.832Z] [2023-03-08T15:16:17.832Z] [2023-03-08T15:16:17.832Z] ==> git version 2.25.1 found [2023-03-08T15:16:17.832Z] ==> 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 [2023-03-08T15:16:17.832Z] Release-Date: 2020-01-08 [2023-03-08T15:16:17.832Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-08T15:16:17.832Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-08T15:16:17.832Z] ==> Jenkins CI detected. [2023-03-08T15:16:17.832Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-500 [2023-03-08T15:16:17.832Z] project root: . [2023-03-08T15:16:17.832Z] --> token set from env [2023-03-08T15:16:17.832Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-08T15:16:17.832Z] ==> Running gcov in . (disable via -X gcov) [2023-03-08T15:16:17.832Z] ==> Python coveragepy not found [2023-03-08T15:16:17.832Z] ==> Searching for coverage reports in: [2023-03-08T15:16:17.832Z] + . [2023-03-08T15:16:18.091Z] -> Found 1 reports [2023-03-08T15:16:18.091Z] ==> Detecting git/mercurial file structure [2023-03-08T15:16:18.091Z] ==> Reading reports [2023-03-08T15:16:18.091Z] + ./coverage.out bytes=17887 [2023-03-08T15:16:18.091Z] ==> Appending adjustments [2023-03-08T15:16:18.091Z] https://docs.codecov.io/docs/fixing-reports [2023-03-08T15:16:18.091Z] + Found adjustments [2023-03-08T15:16:18.091Z] ==> Gzipping contents [2023-03-08T15:16:18.091Z] 4.0K /tmp/codecov.eCbLbI.gz [2023-03-08T15:16:18.091Z] ==> Uploading reports [2023-03-08T15:16:18.091Z] url: https://codecov.io [2023-03-08T15:16:18.091Z] query: branch=PR-500&commit=4f04e735536f66c1c3b8a19061b0acfbd4d6991a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-500%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=500&job=&cmd_args= [2023-03-08T15:16:18.091Z] -> Pinging Codecov [2023-03-08T15:16:18.091Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-500&commit=4f04e735536f66c1c3b8a19061b0acfbd4d6991a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-500%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=500&job=&cmd_args= [2023-03-08T15:16:18.091Z] -> Uploading to [2023-03-08T15:16:18.091Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-08/7D719EC7BBE17E464838252E33014C33/4f04e735536f66c1c3b8a19061b0acfbd4d6991a/fbae5970-fc7e-4897-be8b-bd734eab7ac5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T151618Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=08f0e9328e87a58d962129e93c58a9780b31ec3cf730057ac0b952b0ac688bf7 [2023-03-08T15:16:18.091Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T15:16:18.091Z] Dload Upload Total Spent Left Speed [2023-03-08T15:16:18.608Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3144 0 0 100 3144 0 14226 --:--:-- --:--:-- --:--:-- 14162 100 3144 0 0 100 3144 0 8339 --:--:-- --:--:-- --:--:-- 8317 [2023-03-08T15:16:18.608Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4f04e735536f66c1c3b8a19061b0acfbd4d6991a [Pipeline] } [2023-03-08T15:16:18.615Z] 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 [2023-03-08T15:16:19.261Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives ] [2023-03-08T15:16:19.261Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives [2023-03-08T15:16:19.261Z] total 16 [2023-03-08T15:16:19.262Z] drwxr-xr-x 3 root root 4096 Mar 8 15:07 . [2023-03-08T15:16:19.262Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 15:07 .. [2023-03-08T15:16:19.262Z] drwxr-xr-x 2 root root 4096 Mar 8 15:07 cost [2023-03-08T15:16:19.262Z] -rw-r--r-- 1 root root 86 Mar 8 15:07 cost.csv [2023-03-08T15:16:19.262Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives [2023-03-08T15:16:19.262Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives [2023-03-08T15:16:19.262Z] total 16 [2023-03-08T15:16:19.262Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 15:07 . [2023-03-08T15:16:19.262Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 15:07 .. [2023-03-08T15:16:19.262Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 15:07 cost [2023-03-08T15:16:19.262Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 8 15:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:16:19.553Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:16:20.413Z] ---> package-listing.sh [2023-03-08T15:16:20.413Z] ++ facter osfamily [2023-03-08T15:16:20.413Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-08T15:16:20.672Z] + OS_FAMILY=debian [2023-03-08T15:16:20.672Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-500 [2023-03-08T15:16:20.672Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-08T15:16:20.672Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-08T15:16:20.672Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-08T15:16:20.672Z] + PACKAGES=/tmp/packages_start.txt [2023-03-08T15:16:20.672Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-500 ']' [2023-03-08T15:16:20.672Z] + PACKAGES=/tmp/packages_end.txt [2023-03-08T15:16:20.672Z] + case "${OS_FAMILY}" in [2023-03-08T15:16:20.672Z] + dpkg -l [2023-03-08T15:16:20.672Z] + grep '^ii' [2023-03-08T15:16:20.672Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-08T15:16:20.672Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-08T15:16:20.672Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-08T15:16:20.672Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-500 ']' [2023-03-08T15:16:20.672Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives/ [2023-03-08T15:16:20.672Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives/ [Pipeline] echo [2023-03-08T15:16:20.683Z] 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-500/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-08T15:16:20.961Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T15:16:21.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T15:16:21.532Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T15:16:21.605Z] prd-ubuntu20.04-docker-8c-8g-8816 does not seem to be running inside a container [2023-03-08T15:16:21.632Z] $ 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-500/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-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@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 [2023-03-08T15:16:22.376Z] $ docker top 8c8b0a396f511a6f876216050d84f8b69f4bba0698dabc80d742ceb91be77da7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T15:16:22.726Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-08T15:16:23.009Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-08T15:16:23.293Z] + ls /var/log/sa-host [2023-03-08T15:16:23.294Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T15:16:23.419Z] provisioning config files... [2023-03-08T15:16:23.431Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/config15995825095754798409tmp [Pipeline] { [Pipeline] echo [2023-03-08T15:16:23.445Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:16:23.724Z] ---> create-netrc.sh [Pipeline] } [2023-03-08T15:16:23.731Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:16:24.055Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-08T15:16:24.063Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:16:24.347Z] ---> sudo-logs.sh [2023-03-08T15:16:24.347Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-08T15:16:24.379Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:16:24.665Z] ---> job-cost.sh [2023-03-08T15:16:24.665Z] lf-activate-venv: SKIPPING [2023-03-08T15:16:24.665Z] DEBUG: total: 0.2199999988079071 [2023-03-08T15:16:24.665Z] INFO: Retrieving Stack Cost... [2023-03-08T15:16:24.924Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T15:16:25.491Z] INFO: Archiving Costs [Pipeline] echo [2023-03-08T15:16:25.504Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T15:16:25.788Z] ---> logs-deploy.sh [2023-03-08T15:16:25.788Z] lf-activate-venv: SKIPPING [2023-03-08T15:16:25.788Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-500/3 [2023-03-08T15:16:25.788Z] INFO: archiving workspace using pattern(s): [2023-03-08T15:16:26.723Z] Archives upload complete. [2023-03-08T15:16:26.723Z] INFO: archiving logs to Nexus