Pull request #490 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 55317b9120f7e85b6c508b8520aa63374880ff73+bc7652beee9a90296fe0b57947c4589a421f5e02 (d362b5c5094707ac8401ae1e03bc2b448da2ff1e) 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-ssh9720137068898082940.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-ssh1993733782729545714.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-490/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-490/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1651582995008500279.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-490/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11139932866915946697.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8895736230369192986.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-490/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-490/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2403341955555654051.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6672’ Running on prd-ubuntu20.04-docker-8c-8g-6678 in /w/workspace/gexfoundry_device-mqtt-go_PR-490 [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-490 # 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 > 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/490/head:refs/remotes/origin/PR-490 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 55317b9120f7e85b6c508b8520aa63374880ff73 Merge succeeded, producing 55317b9120f7e85b6c508b8520aa63374880ff73 Checking out Revision 55317b9120f7e85b6c508b8520aa63374880ff73 (PR-490) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-20T02:16:40.350Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-20T02:16:40.534Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 55317b9120f7e85b6c508b8520aa63374880ff73 # 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 bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55317b9120f7e85b6c508b8520aa63374880ff73 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-20T02:16:40.625Z] ========================================================= [2023-02-20T02:16:40.625Z] EdgeX Global Pipelines Version Info [2023-02-20T02:16:40.625Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-20T02:16:41.369Z] ------------------- [2023-02-20T02:16:41.369Z] stable info: [2023-02-20T02:16:41.369Z] ------------------- [2023-02-20T02:16:41.369Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-20T02:16:41.369Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T02:16:41.369Z] Message: update stable to v1.0.244 [2023-02-20T02:16:41.940Z] ------------------- [2023-02-20T02:16:41.940Z] experimental info: [2023-02-20T02:16:41.940Z] ------------------- [2023-02-20T02:16:41.940Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-20T02:16:41.940Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T02:16:41.940Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-20T02:16:42.229Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-20T02:16:42.267Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-20T02:16:42.304Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-20T02:16:42.340Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-20T02:16:42.379Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-20T02:16:42.416Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-20T02:16:42.458Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-20T02:16:42.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-20T02:16:42.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-20T02:16:42.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-20T02:16:42.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-20T02:16:42.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-20T02:16:42.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-20T02:16:42.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-20T02:16:42.795Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T02:16:42.837Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T02:16:42.882Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T02:16:42.923Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T02:16:42.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-20T02:16:43.012Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-20T02:16:43.053Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-20T02:16:43.096Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-20T02:16:43.142Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-20T02:16:43.185Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-20T02:16:43.229Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-20T02:16:43.277Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-20T02:16:43.317Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-20T02:16:43.359Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-490 [Pipeline] echo [2023-02-20T02:16:43.409Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-490 [Pipeline] echo [2023-02-20T02:16:43.454Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-490 [Pipeline] echo [2023-02-20T02:16:43.495Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55317b9120f7e85b6c508b8520aa63374880ff73 [Pipeline] echo [2023-02-20T02:16:43.535Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55317b9 [Pipeline] echo [2023-02-20T02:16:43.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T02:16:43.691Z] provisioning config files... [2023-02-20T02:16:43.720Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp/config12536437875644904804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T02:16:44.059Z] ---> docker-login.sh [2023-02-20T02:16:44.059Z] nexus3.edgexfoundry.org:10001 [2023-02-20T02:16:44.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:16:44.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:16:44.319Z] Configure a credential helper to remove this warning. See [2023-02-20T02:16:44.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:16:44.319Z] [2023-02-20T02:16:44.319Z] Login Succeeded [2023-02-20T02:16:44.319Z] nexus3.edgexfoundry.org:10002 [2023-02-20T02:16:44.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:16:44.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:16:44.581Z] Configure a credential helper to remove this warning. See [2023-02-20T02:16:44.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:16:44.581Z] [2023-02-20T02:16:44.581Z] Login Succeeded [2023-02-20T02:16:44.581Z] nexus3.edgexfoundry.org:10003 [2023-02-20T02:16:44.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:16:44.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:16:44.581Z] Configure a credential helper to remove this warning. See [2023-02-20T02:16:44.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:16:44.581Z] [2023-02-20T02:16:44.581Z] Login Succeeded [2023-02-20T02:16:44.581Z] nexus3.edgexfoundry.org:10004 [2023-02-20T02:16:44.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:16:44.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:16:44.840Z] Configure a credential helper to remove this warning. See [2023-02-20T02:16:44.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:16:44.840Z] [2023-02-20T02:16:44.840Z] Login Succeeded [2023-02-20T02:16:44.840Z] docker.io [2023-02-20T02:16:44.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:16:45.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:16:45.100Z] Configure a credential helper to remove this warning. See [2023-02-20T02:16:45.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:16:45.101Z] [2023-02-20T02:16:45.101Z] Login Succeeded [2023-02-20T02:16:45.101Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T02:16:45.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-20T02:16:45.775Z] + git rev-list -1 --merges 55317b9120f7e85b6c508b8520aa63374880ff73~1..55317b9120f7e85b6c508b8520aa63374880ff73 [Pipeline] echo [2023-02-20T02:16:45.841Z] -----------> git rev-list -1 --merges 55317b9120f7e85b6c508b8520aa63374880ff73~1..55317b9120f7e85b6c508b8520aa63374880ff73 55317b9120f7e85b6c508b8520aa63374880ff73 [false] [Pipeline] sh [2023-02-20T02:16:46.158Z] + git log --format=format:%s -1 55317b9120f7e85b6c508b8520aa63374880ff73 [Pipeline] echo [2023-02-20T02:16:46.192Z] ========================================================= [2023-02-20T02:16:46.192Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-20T02:16:46.192Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T02:16:46.624Z] + git log --format=format:%s -1 55317b9120f7e85b6c508b8520aa63374880ff73 [Pipeline] echo [2023-02-20T02:16:46.653Z] [semverPrep] GIT_COMMIT: 55317b9120f7e85b6c508b8520aa63374880ff73, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-20T02:16:46.682Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-20T02:16:47.070Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-20T02:16:47.070Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-20T02:16:47.070Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-20T02:16:47.070Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-20T02:16:47.070Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-02-20T02:16:47.070Z] -a /etc/ssh/ssh_known_hosts [2023-02-20T02:16:47.070Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T02:16:47.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T02:16:47.555Z] [2023-02-20T02:16:47.555Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T02:16:47.930Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T02:16:48.502Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-20T02:16:48.502Z] b85a868b505f: Pulling fs layer [2023-02-20T02:16:48.502Z] e2be974225ed: Pulling fs layer [2023-02-20T02:16:48.502Z] 339a4e72a1f5: Pulling fs layer [2023-02-20T02:16:48.502Z] 988bab9f4d93: Pulling fs layer [2023-02-20T02:16:48.502Z] 1469e6f7b9e6: Pulling fs layer [2023-02-20T02:16:48.502Z] eaf3925da568: Pulling fs layer [2023-02-20T02:16:48.502Z] bab4dde63d76: Pulling fs layer [2023-02-20T02:16:48.502Z] bde34c3a00c8: Pulling fs layer [2023-02-20T02:16:48.502Z] b352a97aabf1: Pulling fs layer [2023-02-20T02:16:48.502Z] 4872d77fe225: Pulling fs layer [2023-02-20T02:16:48.502Z] 5851b861e8e6: Pulling fs layer [2023-02-20T02:16:48.502Z] bab4dde63d76: Waiting [2023-02-20T02:16:48.502Z] bde34c3a00c8: Waiting [2023-02-20T02:16:48.502Z] 5851b861e8e6: Waiting [2023-02-20T02:16:48.502Z] 1469e6f7b9e6: Waiting [2023-02-20T02:16:48.502Z] 988bab9f4d93: Waiting [2023-02-20T02:16:48.502Z] b352a97aabf1: Waiting [2023-02-20T02:16:48.502Z] eaf3925da568: Waiting [2023-02-20T02:16:48.502Z] 4872d77fe225: Waiting [2023-02-20T02:16:48.502Z] e2be974225ed: Download complete [2023-02-20T02:16:48.502Z] 988bab9f4d93: Verifying Checksum [2023-02-20T02:16:48.502Z] 988bab9f4d93: Download complete [2023-02-20T02:16:48.762Z] 1469e6f7b9e6: Verifying Checksum [2023-02-20T02:16:48.762Z] 1469e6f7b9e6: Download complete [2023-02-20T02:16:48.762Z] 339a4e72a1f5: Verifying Checksum [2023-02-20T02:16:48.762Z] 339a4e72a1f5: Download complete [2023-02-20T02:16:48.762Z] eaf3925da568: Verifying Checksum [2023-02-20T02:16:48.762Z] eaf3925da568: Download complete [2023-02-20T02:16:48.762Z] bde34c3a00c8: Verifying Checksum [2023-02-20T02:16:48.762Z] bde34c3a00c8: Download complete [2023-02-20T02:16:48.762Z] b352a97aabf1: Verifying Checksum [2023-02-20T02:16:48.762Z] b352a97aabf1: Download complete [2023-02-20T02:16:48.762Z] 4872d77fe225: Verifying Checksum [2023-02-20T02:16:48.762Z] 4872d77fe225: Download complete [2023-02-20T02:16:48.762Z] 5851b861e8e6: Download complete [2023-02-20T02:16:48.762Z] b85a868b505f: Verifying Checksum [2023-02-20T02:16:48.762Z] b85a868b505f: Download complete [2023-02-20T02:16:49.021Z] bab4dde63d76: Verifying Checksum [2023-02-20T02:16:49.021Z] bab4dde63d76: Download complete [2023-02-20T02:16:50.395Z] b85a868b505f: Pull complete [2023-02-20T02:16:50.395Z] e2be974225ed: Pull complete [2023-02-20T02:16:50.961Z] 339a4e72a1f5: Pull complete [2023-02-20T02:16:50.961Z] 988bab9f4d93: Pull complete [2023-02-20T02:16:51.219Z] 1469e6f7b9e6: Pull complete [2023-02-20T02:16:51.477Z] eaf3925da568: Pull complete [2023-02-20T02:16:53.387Z] bab4dde63d76: Pull complete [2023-02-20T02:16:53.387Z] bde34c3a00c8: Pull complete [2023-02-20T02:16:53.645Z] b352a97aabf1: Pull complete [2023-02-20T02:16:53.645Z] 4872d77fe225: Pull complete [2023-02-20T02:16:53.645Z] 5851b861e8e6: Pull complete [2023-02-20T02:16:53.905Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-20T02:16:53.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T02:16:53.905Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T02:16:54.119Z] prd-ubuntu20.04-docker-8c-8g-6678 does not seem to be running inside a container [2023-02-20T02:16:54.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-490 -v /w/workspace/gexfoundry_device-mqtt-go_PR-490:/w/workspace/gexfoundry_device-mqtt-go_PR-490:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-20T02:16:59.550Z] $ docker top 0539bd1ce77e641df69cca51553b06476eebb8823b3219630974b2066041ebe8 -eo pid,comm [2023-02-20T02:16:59.599Z] 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-02-20T02:16:59.600Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-20T02:16:59.738Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T02:16:59.738Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T02:16:59.873Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T02:16:59.882Z] $ docker exec 0539bd1ce77e641df69cca51553b06476eebb8823b3219630974b2066041ebe8 ssh-agent [2023-02-20T02:16:59.978Z] SSH_AUTH_SOCK=/tmp/ssh-novQpU0Juf4s/agent.32 [2023-02-20T02:16:59.978Z] SSH_AGENT_PID=38 [2023-02-20T02:16:59.984Z] Running ssh-add (command line suppressed) [2023-02-20T02:17:00.086Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp/private_key_10852031024392987622.key (/w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp/private_key_10852031024392987622.key) [2023-02-20T02:17:00.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T02:17:00.424Z] + git tag --points-at HEAD [Pipeline] } [2023-02-20T02:17:00.456Z] $ docker exec --env ******** --env ******** 0539bd1ce77e641df69cca51553b06476eebb8823b3219630974b2066041ebe8 ssh-agent -k [2023-02-20T02:17:00.552Z] unset SSH_AUTH_SOCK; [2023-02-20T02:17:00.553Z] unset SSH_AGENT_PID; [2023-02-20T02:17:00.553Z] echo Agent pid 38 killed; [2023-02-20T02:17:00.557Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-20T02:17:00.653Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T02:17:00.653Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T02:17:00.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T02:17:00.775Z] $ docker exec 0539bd1ce77e641df69cca51553b06476eebb8823b3219630974b2066041ebe8 ssh-agent [2023-02-20T02:17:00.876Z] SSH_AUTH_SOCK=/tmp/ssh-2O9DU7RndEVc/agent.70 [2023-02-20T02:17:00.876Z] SSH_AGENT_PID=76 [2023-02-20T02:17:00.881Z] Running ssh-add (command line suppressed) [2023-02-20T02:17:00.991Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp/private_key_10523786173844256951.key (/w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp/private_key_10523786173844256951.key) [2023-02-20T02:17:00.999Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T02:17:01.343Z] + git semver init [2023-02-20T02:17:01.601Z] 2023-02-20 02:17:01,527 [run_init] DEBUG init version:0.0.0 force:False [2023-02-20T02:17:01.601Z] 2023-02-20 02:17:01,527 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-490/.semver [2023-02-20T02:17:01.601Z] 2023-02-20 02:17:01,528 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-490/.semver [2023-02-20T02:17:01.601Z] 2023-02-20 02:17:01,528 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-490/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-490, universal_newlines=False, shell=None, istream=None) [2023-02-20T02:17:02.536Z] 2023-02-20 02:17:02,520 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-490/.git/info/exclude [2023-02-20T02:17:02.536Z] 2023-02-20 02:17:02,521 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-490/.semver/PR-490 with force:False [2023-02-20T02:17:02.536Z] 2023-02-20 02:17:02,521 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-490/.semver/PR-490 [2023-02-20T02:17:02.536Z] 2023-02-20 02:17:02,525 [execute] INFO git cat-file --batch-check [2023-02-20T02:17:02.536Z] 2023-02-20 02:17:02,526 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-490/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T02:17:02.536Z] 2023-02-20 02:17:02,531 [execute] INFO git cat-file --batch [2023-02-20T02:17:02.536Z] 2023-02-20 02:17:02,531 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-490/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T02:17:02.536Z] 2023-02-20 02:17:02,536 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-490/.semver/PR-490 [2023-02-20T02:17:02.536Z] 0.0.0 [Pipeline] } [2023-02-20T02:17:02.817Z] $ docker exec --env ******** --env ******** 0539bd1ce77e641df69cca51553b06476eebb8823b3219630974b2066041ebe8 ssh-agent -k [2023-02-20T02:17:02.906Z] unset SSH_AUTH_SOCK; [2023-02-20T02:17:02.906Z] unset SSH_AGENT_PID; [2023-02-20T02:17:02.906Z] echo Agent pid 76 killed; [2023-02-20T02:17:02.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-20T02:17:03.331Z] + git semver [Pipeline] } [2023-02-20T02:17:03.623Z] $ docker stop --time=1 0539bd1ce77e641df69cca51553b06476eebb8823b3219630974b2066041ebe8 [2023-02-20T02:17:04.975Z] $ docker rm -f --volumes 0539bd1ce77e641df69cca51553b06476eebb8823b3219630974b2066041ebe8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T02:17:05.381Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-20T02:17:05.658Z] Stashed 1 file(s) [Pipeline] echo [2023-02-20T02:17:05.676Z] [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-02-20T02:17:06.267Z] provisioning config files... [2023-02-20T02:17:06.276Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp/config8358881356108636692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T02:17:06.626Z] ---> docker-login.sh [2023-02-20T02:17:06.626Z] nexus3.edgexfoundry.org:10001 [2023-02-20T02:17:06.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:17:06.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:17:06.626Z] Configure a credential helper to remove this warning. See [2023-02-20T02:17:06.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:17:06.626Z] [2023-02-20T02:17:06.626Z] Login Succeeded [2023-02-20T02:17:06.626Z] nexus3.edgexfoundry.org:10002 [2023-02-20T02:17:06.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:17:06.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:17:06.626Z] Configure a credential helper to remove this warning. See [2023-02-20T02:17:06.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:17:06.626Z] [2023-02-20T02:17:06.626Z] Login Succeeded [2023-02-20T02:17:06.626Z] nexus3.edgexfoundry.org:10003 [2023-02-20T02:17:06.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:17:06.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:17:06.884Z] Configure a credential helper to remove this warning. See [2023-02-20T02:17:06.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:17:06.884Z] [2023-02-20T02:17:06.885Z] Login Succeeded [2023-02-20T02:17:06.885Z] nexus3.edgexfoundry.org:10004 [2023-02-20T02:17:06.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:17:06.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:17:06.885Z] Configure a credential helper to remove this warning. See [2023-02-20T02:17:06.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:17:06.885Z] [2023-02-20T02:17:06.885Z] Login Succeeded [2023-02-20T02:17:06.885Z] docker.io [2023-02-20T02:17:06.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:17:07.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:17:07.144Z] Configure a credential helper to remove this warning. See [2023-02-20T02:17:07.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:17:07.144Z] [2023-02-20T02:17:07.144Z] Login Succeeded [2023-02-20T02:17:07.144Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T02:17:07.174Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T02:17:07.382Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T02:17:07.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T02:17:07.452Z] ========================================================= [2023-02-20T02:17:07.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-20T02:17:07.452Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T02:17:07.941Z] + 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-02-20T02:17:07.941Z] Sending build context to Docker daemon 6.345MB [2023-02-20T02:17:07.941Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T02:17:07.941Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-20T02:17:08.201Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-20T02:17:08.201Z] 213ec9aee27d: Pulling fs layer [2023-02-20T02:17:08.201Z] 4583459ba037: Pulling fs layer [2023-02-20T02:17:08.201Z] 93c1e223e6f2: Pulling fs layer [2023-02-20T02:17:08.201Z] 53926ce57604: Pulling fs layer [2023-02-20T02:17:08.201Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-20T02:17:08.201Z] 22ff95d597cd: Pulling fs layer [2023-02-20T02:17:08.201Z] 12d6caf4c0d1: Pulling fs layer [2023-02-20T02:17:08.201Z] 53926ce57604: Waiting [2023-02-20T02:17:08.201Z] 22ff95d597cd: Waiting [2023-02-20T02:17:08.201Z] 21b2b0c7a3f4: Waiting [2023-02-20T02:17:08.201Z] 96b7cbca73a9: Pulling fs layer [2023-02-20T02:17:08.201Z] a7acece74701: Pulling fs layer [2023-02-20T02:17:08.201Z] 12d6caf4c0d1: Waiting [2023-02-20T02:17:08.201Z] 96b7cbca73a9: Waiting [2023-02-20T02:17:08.201Z] a7acece74701: Waiting [2023-02-20T02:17:08.201Z] 93c1e223e6f2: Verifying Checksum [2023-02-20T02:17:08.201Z] 93c1e223e6f2: Download complete [2023-02-20T02:17:08.201Z] 4583459ba037: Download complete [2023-02-20T02:17:08.201Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-20T02:17:08.201Z] 21b2b0c7a3f4: Download complete [2023-02-20T02:17:08.201Z] 22ff95d597cd: Verifying Checksum [2023-02-20T02:17:08.201Z] 22ff95d597cd: Download complete [2023-02-20T02:17:08.201Z] 213ec9aee27d: Download complete [2023-02-20T02:17:08.201Z] 12d6caf4c0d1: Download complete [2023-02-20T02:17:08.463Z] 213ec9aee27d: Pull complete [2023-02-20T02:17:08.724Z] 4583459ba037: Pull complete [2023-02-20T02:17:08.724Z] 93c1e223e6f2: Pull complete [2023-02-20T02:17:08.724Z] a7acece74701: Verifying Checksum [2023-02-20T02:17:08.724Z] a7acece74701: Download complete [2023-02-20T02:17:08.982Z] 96b7cbca73a9: Verifying Checksum [2023-02-20T02:17:08.982Z] 96b7cbca73a9: Download complete [2023-02-20T02:17:08.982Z] 53926ce57604: Download complete [2023-02-20T02:17:13.164Z] 53926ce57604: Pull complete [2023-02-20T02:17:13.164Z] 21b2b0c7a3f4: Pull complete [2023-02-20T02:17:13.164Z] 22ff95d597cd: Pull complete [2023-02-20T02:17:13.164Z] 12d6caf4c0d1: Pull complete [2023-02-20T02:17:15.770Z] 96b7cbca73a9: Pull complete [2023-02-20T02:17:16.031Z] a7acece74701: Pull complete [2023-02-20T02:17:16.031Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-20T02:17:16.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-20T02:17:16.031Z] ---> db6d94c90886 [2023-02-20T02:17:16.031Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-20T02:17:21.084Z] Still waiting to schedule task [2023-02-20T02:17:21.084Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6676’ [2023-02-20T02:17:26.050Z] ---> Running in 65b6a23ac7df [2023-02-20T02:17:26.050Z] Removing intermediate container 65b6a23ac7df [2023-02-20T02:17:26.050Z] ---> 6f5b65809116 [2023-02-20T02:17:26.050Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T02:17:26.050Z] ---> Running in 2aaf71e4771e [2023-02-20T02:17:26.050Z] Removing intermediate container 2aaf71e4771e [2023-02-20T02:17:26.050Z] ---> f3fe765f2c61 [2023-02-20T02:17:26.050Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T02:17:26.050Z] ---> Running in 53d7c54e0311 [2023-02-20T02:17:26.050Z] Removing intermediate container 53d7c54e0311 [2023-02-20T02:17:26.050Z] ---> 374834e86257 [2023-02-20T02:17:26.050Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T02:17:26.050Z] ---> Running in e1e90ce00ce4 [2023-02-20T02:17:26.050Z] Removing intermediate container e1e90ce00ce4 [2023-02-20T02:17:26.050Z] ---> dad98d26e95a [2023-02-20T02:17:26.050Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T02:17:26.050Z] ---> Running in cb059f0c7016 [2023-02-20T02:17:26.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T02:17:26.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T02:17:26.050Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-20T02:17:26.050Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-20T02:17:26.050Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-20T02:17:26.309Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-20T02:17:26.309Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T02:17:26.309Z] OK: 216 MiB in 55 packages [2023-02-20T02:17:26.878Z] Removing intermediate container cb059f0c7016 [2023-02-20T02:17:26.878Z] ---> 8fd70f0238c9 [2023-02-20T02:17:26.878Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-20T02:17:26.878Z] ---> Running in c61306bcb19a [2023-02-20T02:17:26.878Z] Removing intermediate container c61306bcb19a [2023-02-20T02:17:26.878Z] ---> bff64d45f756 [2023-02-20T02:17:26.878Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-20T02:17:26.878Z] ---> c9b50e39c987 [2023-02-20T02:17:26.878Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T02:17:27.135Z] ---> Running in 46a55a7dd990 [2023-02-20T02:18:23.476Z] Removing intermediate container 46a55a7dd990 [2023-02-20T02:18:23.476Z] ---> 3e90987cd956 [2023-02-20T02:18:23.476Z] Step 11/12 : COPY . . [2023-02-20T02:18:23.476Z] ---> 65bc0754a1ee [2023-02-20T02:18:23.476Z] Step 12/12 : RUN $MAKE [2023-02-20T02:18:23.476Z] ---> Running in 04575ac65e10 [2023-02-20T02:18:23.733Z] noop [2023-02-20T02:18:23.991Z] Removing intermediate container 04575ac65e10 [2023-02-20T02:18:23.991Z] ---> d7f6febf244b [2023-02-20T02:18:24.249Z] Successfully built d7f6febf244b [2023-02-20T02:18:24.249Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T02:18:24.696Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T02:18:24.696Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T02:18:24.851Z] prd-ubuntu20.04-docker-8c-8g-6678 does not seem to be running inside a container [2023-02-20T02:18:24.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-490 -v /w/workspace/gexfoundry_device-mqtt-go_PR-490:/w/workspace/gexfoundry_device-mqtt-go_PR-490:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-20T02:18:25.405Z] $ docker top 324d71a874a7512711d8e57e0c4063233037777a9d8c77f03ab5c91bcfa47107 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T02:18:25.813Z] + go version [2023-02-20T02:18:25.813Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-20T02:18:25.857Z] $ docker stop --time=1 324d71a874a7512711d8e57e0c4063233037777a9d8c77f03ab5c91bcfa47107 [2023-02-20T02:18:27.182Z] $ docker rm -f --volumes 324d71a874a7512711d8e57e0c4063233037777a9d8c77f03ab5c91bcfa47107 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T02:18:27.890Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T02:18:27.890Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T02:18:28.159Z] prd-ubuntu20.04-docker-8c-8g-6678 does not seem to be running inside a container [2023-02-20T02:18:28.198Z] $ 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-490 -v /w/workspace/gexfoundry_device-mqtt-go_PR-490:/w/workspace/gexfoundry_device-mqtt-go_PR-490:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-20T02:18:28.532Z] $ docker top 20c06cce414eafb3fced2b8509c8dbec9fe653fc9161e9b9bde7ff63c907f76c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T02:18:28.916Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-490 [Pipeline] fileExists [Pipeline] sh [2023-02-20T02:18:29.273Z] + make test [2023-02-20T02:18:29.273Z] go test ./... -coverprofile=coverage.out ./... [2023-02-20T02:18:29.530Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-20T02:18:39.503Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-20T02:18:39.503Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 21.8% of statements [2023-02-20T02:18:39.503Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-20T02:18:46.113Z] 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-02-20T02:18:46.113Z] go vet ./... [2023-02-20T02:18:49.431Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-20T02:18:49.432Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-20T02:18:49.432Z] ./bin/test-attribution-txt.sh [2023-02-20T02:18:49.432Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-20T02:18:49.432Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-20T02:18:49.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-20T02:18:49.509Z] $ docker stop --time=1 20c06cce414eafb3fced2b8509c8dbec9fe653fc9161e9b9bde7ff63c907f76c [2023-02-20T02:18:59.993Z] $ docker rm -f --volumes 20c06cce414eafb3fced2b8509c8dbec9fe653fc9161e9b9bde7ff63c907f76c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T02:19:00.991Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-20T02:19:01.062Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-20T02:19:01.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-20T02:19:02.160Z] + ls -al . [2023-02-20T02:19:02.160Z] total 184 [2023-02-20T02:19:02.160Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 20 02:18 . [2023-02-20T02:19:02.160Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 02:16 .. [2023-02-20T02:19:02.160Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 02:16 .dockerignore [2023-02-20T02:19:02.160Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 02:18 .git [2023-02-20T02:19:02.160Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 02:16 .github [2023-02-20T02:19:02.160Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 20 02:16 .gitignore [2023-02-20T02:19:02.160Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 02:16 .golangci.yml [2023-02-20T02:19:02.160Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 02:17 .semver [2023-02-20T02:19:02.160Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 20 02:16 Attribution.txt [2023-02-20T02:19:02.160Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 20 02:16 CHANGELOG.md [2023-02-20T02:19:02.160Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 20 02:16 Dockerfile [2023-02-20T02:19:02.161Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 02:16 GOVERNANCE.md [2023-02-20T02:19:02.161Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 20 02:16 Jenkinsfile [2023-02-20T02:19:02.161Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 02:16 LICENSE [2023-02-20T02:19:02.161Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 20 02:16 Makefile [2023-02-20T02:19:02.161Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 20 02:16 OWNERS.md [2023-02-20T02:19:02.161Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 20 02:16 README.md [2023-02-20T02:19:02.161Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 20 02:17 VERSION [2023-02-20T02:19:02.161Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 02:16 bin [2023-02-20T02:19:02.161Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 02:16 cmd [2023-02-20T02:19:02.161Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 20 02:18 coverage.out [2023-02-20T02:19:02.161Z] -rw-rw-r-- 1 jenkins jenkins 3376 Feb 20 02:16 go.mod [2023-02-20T02:19:02.161Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 20 02:16 go.sum [2023-02-20T02:19:02.161Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 02:16 internal [2023-02-20T02:19:02.161Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 02:16 mock [2023-02-20T02:19:02.161Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 02:16 snap [2023-02-20T02:19:02.161Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 20 02:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T02:19:02.625Z] + 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=55317b9120f7e85b6c508b8520aa63374880ff73 --label arch=amd64 --label version=0.0.0 . [2023-02-20T02:19:02.625Z] Sending build context to Docker daemon 6.363MB [2023-02-20T02:19:02.625Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T02:19:02.625Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-20T02:19:02.625Z] ---> d7f6febf244b [2023-02-20T02:19:02.625Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-20T02:19:04.541Z] ---> Running in a89645ea4c6d [2023-02-20T02:19:05.493Z] Removing intermediate container a89645ea4c6d [2023-02-20T02:19:05.493Z] ---> 6b2c348cbd74 [2023-02-20T02:19:05.493Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T02:19:06.435Z] ---> Running in 38f92a270a20 [2023-02-20T02:19:06.700Z] Removing intermediate container 38f92a270a20 [2023-02-20T02:19:06.700Z] ---> 9d5453db9262 [2023-02-20T02:19:06.700Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T02:19:06.700Z] ---> Running in 3d4c213ebcd7 [2023-02-20T02:19:06.969Z] Removing intermediate container 3d4c213ebcd7 [2023-02-20T02:19:06.969Z] ---> 158a3ab8255b [2023-02-20T02:19:06.969Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T02:19:06.969Z] ---> Running in ed0735687561 [2023-02-20T02:19:07.245Z] Removing intermediate container ed0735687561 [2023-02-20T02:19:07.245Z] ---> 503c989ca9a7 [2023-02-20T02:19:07.245Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T02:19:07.245Z] ---> Running in 1611d1eb461a [2023-02-20T02:19:07.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T02:19:07.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T02:19:08.384Z] OK: 216 MiB in 55 packages [2023-02-20T02:19:08.968Z] Removing intermediate container 1611d1eb461a [2023-02-20T02:19:08.968Z] ---> 551c4c6b21ee [2023-02-20T02:19:08.968Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-20T02:19:09.233Z] ---> Running in 91696b2fb189 [2023-02-20T02:19:09.233Z] Removing intermediate container 91696b2fb189 [2023-02-20T02:19:09.233Z] ---> 17deba72963b [2023-02-20T02:19:09.233Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-20T02:19:09.492Z] ---> dae093631e48 [2023-02-20T02:19:09.492Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T02:19:09.492Z] ---> Running in f6e2c6ce1bd8 [2023-02-20T02:19:10.876Z] Removing intermediate container f6e2c6ce1bd8 [2023-02-20T02:19:10.876Z] ---> 0dd32aba0fde [2023-02-20T02:19:10.876Z] Step 11/24 : COPY . . [2023-02-20T02:19:11.445Z] ---> 6f1b55a80766 [2023-02-20T02:19:11.445Z] Step 12/24 : RUN $MAKE [2023-02-20T02:19:12.014Z] ---> Running in ac4acae91f18 [2023-02-20T02:19:12.278Z] 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-02-20T02:19:44.489Z] Removing intermediate container ac4acae91f18 [2023-02-20T02:19:44.489Z] ---> 4168dd69898b [2023-02-20T02:19:44.489Z] Step 13/24 : FROM alpine:3.16 [2023-02-20T02:19:44.489Z] 3.16: Pulling from library/alpine [2023-02-20T02:19:44.489Z] ef5531b6e74e: Pulling fs layer [2023-02-20T02:19:44.489Z] ef5531b6e74e: Verifying Checksum [2023-02-20T02:19:44.489Z] ef5531b6e74e: Download complete [2023-02-20T02:19:44.748Z] ef5531b6e74e: Pull complete [2023-02-20T02:19:45.315Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-20T02:19:45.315Z] Status: Downloaded newer image for alpine:3.16 [2023-02-20T02:19:45.315Z] ---> dfd21b5a31f5 [2023-02-20T02:19:45.315Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-20T02:19:45.880Z] ---> Running in 02c60440136d [2023-02-20T02:19:45.880Z] Removing intermediate container 02c60440136d [2023-02-20T02:19:45.880Z] ---> 2944926c4873 [2023-02-20T02:19:45.880Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-20T02:19:46.135Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6685 in /w/workspace/gexfoundry_device-mqtt-go_PR-490 [Pipeline] { [Pipeline] ws [2023-02-20T02:19:46.193Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-02-20T02:19:46.275Z] Selected Git installation does not exist. Using Default [2023-02-20T02:19:46.276Z] The recommended git tool is: NONE [2023-02-20T02:19:46.492Z] ---> Running in a28c2a303116 [2023-02-20T02:19:47.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T02:19:47.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T02:19:48.067Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-20T02:19:48.067Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T02:19:48.067Z] OK: 6 MiB in 15 packages [2023-02-20T02:19:48.335Z] Removing intermediate container a28c2a303116 [2023-02-20T02:19:48.335Z] ---> 69bda561b579 [2023-02-20T02:19:48.335Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-20T02:19:50.673Z] ---> 00b300dc2583 [2023-02-20T02:19:50.673Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-20T02:19:50.673Z] ---> 1d5d200d97c4 [2023-02-20T02:19:50.673Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-20T02:19:50.673Z] ---> 1ea1de1bbc86 [2023-02-20T02:19:50.673Z] Step 19/24 : EXPOSE 59982 [2023-02-20T02:19:50.673Z] ---> Running in 4d112d474e5c [2023-02-20T02:19:50.931Z] Removing intermediate container 4d112d474e5c [2023-02-20T02:19:50.931Z] ---> d8683067c1c9 [2023-02-20T02:19:50.931Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-20T02:19:50.931Z] ---> Running in 67ccb94e60df [2023-02-20T02:19:50.931Z] Removing intermediate container 67ccb94e60df [2023-02-20T02:19:50.931Z] ---> 9bdfa1693606 [2023-02-20T02:19:50.931Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-20T02:19:50.931Z] ---> Running in acf435dc1e2b [2023-02-20T02:19:50.931Z] Removing intermediate container acf435dc1e2b [2023-02-20T02:19:50.931Z] ---> 45392aa56045 [2023-02-20T02:19:50.931Z] Step 22/24 : LABEL arch=amd64 [2023-02-20T02:19:51.203Z] ---> Running in 657250d296d1 [2023-02-20T02:19:51.203Z] Removing intermediate container 657250d296d1 [2023-02-20T02:19:51.203Z] ---> e72c5e5b4f1d [2023-02-20T02:19:51.203Z] Step 23/24 : LABEL git_sha=55317b9120f7e85b6c508b8520aa63374880ff73 [2023-02-20T02:19:51.203Z] ---> Running in 1cbd394f6478 [2023-02-20T02:19:51.817Z] Removing intermediate container 1cbd394f6478 [2023-02-20T02:19:51.817Z] ---> 13b8aea571cc [2023-02-20T02:19:51.817Z] Step 24/24 : LABEL version=0.0.0 [2023-02-20T02:19:52.079Z] ---> Running in d41977306ac4 [2023-02-20T02:19:52.079Z] Removing intermediate container d41977306ac4 [2023-02-20T02:19:52.079Z] ---> f1ffb4b4706b [2023-02-20T02:19:52.079Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-20T02:19:52.079Z] Successfully built f1ffb4b4706b [2023-02-20T02:19:52.079Z] 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-02-20T02:19:52.800Z] using credential edgex-jenkins-ssh [2023-02-20T02:19:52.818Z] Cloning the remote Git repository [2023-02-20T02:19:52.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T02:19:52.965Z] [2023-02-20T02:19:52.965Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T02:19:53.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T02:19:53.351Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-20T02:19:53.351Z] 5eb5b503b376: Pulling fs layer [2023-02-20T02:19:53.351Z] 5c69ac0246d0: Pulling fs layer [2023-02-20T02:19:53.351Z] ec43610c2a17: Pulling fs layer [2023-02-20T02:19:53.351Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-20T02:19:53.351Z] 33b1e0a273af: Pulling fs layer [2023-02-20T02:19:53.351Z] 5d3b04190fa2: Pulling fs layer [2023-02-20T02:19:53.351Z] 2f39f015ded8: Pulling fs layer [2023-02-20T02:19:53.351Z] 3a2ae6a8a46f: Waiting [2023-02-20T02:19:53.351Z] 33b1e0a273af: Waiting [2023-02-20T02:19:53.351Z] 5d3b04190fa2: Waiting [2023-02-20T02:19:53.351Z] 2f39f015ded8: Waiting [2023-02-20T02:19:53.351Z] 5c69ac0246d0: Download complete [2023-02-20T02:19:53.351Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-20T02:19:53.351Z] 3a2ae6a8a46f: Download complete [2023-02-20T02:19:53.774Z] 33b1e0a273af: Verifying Checksum [2023-02-20T02:19:53.774Z] 33b1e0a273af: Download complete [2023-02-20T02:19:53.774Z] 5d3b04190fa2: Verifying Checksum [2023-02-20T02:19:53.774Z] 5d3b04190fa2: Download complete [2023-02-20T02:19:53.774Z] ec43610c2a17: Verifying Checksum [2023-02-20T02:19:53.774Z] 5eb5b503b376: Verifying Checksum [2023-02-20T02:19:53.774Z] 5eb5b503b376: Download complete [2023-02-20T02:19:52.866Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-20T02:19:52.949Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-20T02:19:53.133Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-20T02:19:53.134Z] > git --version # timeout=10 [2023-02-20T02:19:53.157Z] > git --version # 'git version 2.25.1' [2023-02-20T02:19:53.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T02:19:53.244Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T02:19:54.817Z] 2f39f015ded8: Download complete [2023-02-20T02:19:54.427Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-20T02:19:54.455Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T02:19:55.790Z] 5eb5b503b376: Pull complete [2023-02-20T02:19:56.051Z] 5c69ac0246d0: Pull complete [2023-02-20T02:19:56.057Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 55317b9120f7e85b6c508b8520aa63374880ff73 [2023-02-20T02:19:56.315Z] Merge succeeded, producing 55317b9120f7e85b6c508b8520aa63374880ff73 [2023-02-20T02:19:56.316Z] Checking out Revision 55317b9120f7e85b6c508b8520aa63374880ff73 (PR-490) [2023-02-20T02:19:55.366Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-20T02:19:55.423Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-20T02:19:55.424Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T02:19:55.444Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-20T02:19:56.083Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T02:19:56.103Z] > git checkout -f 55317b9120f7e85b6c508b8520aa63374880ff73 # timeout=10 [2023-02-20T02:19:56.200Z] > git remote # timeout=10 [2023-02-20T02:19:56.222Z] > git config --get remote.origin.url # timeout=10 [2023-02-20T02:19:56.241Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T02:19:56.258Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-20T02:19:56.294Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-20T02:19:56.322Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T02:19:56.343Z] > git checkout -f 55317b9120f7e85b6c508b8520aa63374880ff73 # timeout=10 [2023-02-20T02:19:56.621Z] ec43610c2a17: Pull complete [2023-02-20T02:19:56.883Z] 3a2ae6a8a46f: Pull complete [2023-02-20T02:19:56.925Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-20T02:19:56.990Z] > git --version # timeout=10 [2023-02-20T02:19:57.005Z] > git --version # 'git version 2.25.1' [2023-02-20T02:19:57.034Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T02:19:57.142Z] 33b1e0a273af: Pull complete [2023-02-20T02:19:57.142Z] 5d3b04190fa2: Pull complete [2023-02-20T02:19:57.394Z] [2023-02-20T02:19:57.394Z] GitHub has been notified of this commit’s build result [2023-02-20T02:19:57.394Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T02:19:58.178Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-20T02:19:58.178Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T02:19:58.178Z] Dload Upload Total Spent Left Speed [2023-02-20T02:19:58.178Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh [2023-02-20T02:19:58.963Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-20T02:19:59.330Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-20T02:19:59.330Z] + sudo tee /etc/docker/daemon.new [2023-02-20T02:19:59.330Z] { [2023-02-20T02:19:59.330Z] "registry-mirrors": [ [2023-02-20T02:19:59.330Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-20T02:19:59.330Z] ], [2023-02-20T02:19:59.330Z] "bip": "10.250.0.254/24", [2023-02-20T02:19:59.330Z] "hosts": [ [2023-02-20T02:19:59.330Z] "tcp://0.0.0.0:5555", [2023-02-20T02:19:59.330Z] "unix:///var/run/docker.sock" [2023-02-20T02:19:59.330Z] ], [2023-02-20T02:19:59.330Z] "mtu": 1458, [2023-02-20T02:19:59.330Z] "selinux-enabled": true, [2023-02-20T02:19:59.330Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-20T02:19:59.330Z] } [Pipeline] sh [2023-02-20T02:19:59.704Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-20T02:20:00.075Z] + sudo service docker restart [2023-02-20T02:20:03.732Z] 2f39f015ded8: Pull complete [2023-02-20T02:20:03.732Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-20T02:20:03.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T02:20:03.732Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T02:20:03.964Z] prd-ubuntu20.04-docker-8c-8g-6678 does not seem to be running inside a container [2023-02-20T02:20:04.003Z] $ 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-490 -v /w/workspace/gexfoundry_device-mqtt-go_PR-490:/w/workspace/gexfoundry_device-mqtt-go_PR-490:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-20T02:20:19.782Z] $ docker top fce08f4a694fc83f2108e1778bef55778dbfef2f6a3154851854da3648406946 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-02-20T02:20:20.018Z] provisioning config files... [2023-02-20T02:20:20.047Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config4969067607377100085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T02:20:20.256Z] ---> job-cost.sh [2023-02-20T02:20:20.256Z] lf-activate-venv: SKIPPING [2023-02-20T02:20:20.256Z] INFO: No Stack... [2023-02-20T02:20:20.453Z] ---> docker-login.sh [2023-02-20T02:20:20.454Z] nexus3.edgexfoundry.org:10001 [2023-02-20T02:20:20.521Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T02:20:21.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:20:21.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:20:21.050Z] Configure a credential helper to remove this warning. See [2023-02-20T02:20:21.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:20:21.050Z] [2023-02-20T02:20:21.050Z] Login Succeeded [2023-02-20T02:20:21.050Z] nexus3.edgexfoundry.org:10002 [2023-02-20T02:20:21.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:20:21.468Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T02:20:21.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:20:21.591Z] Configure a credential helper to remove this warning. See [2023-02-20T02:20:21.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:20:21.591Z] [2023-02-20T02:20:21.591Z] Login Succeeded [2023-02-20T02:20:21.591Z] nexus3.edgexfoundry.org:10003 [2023-02-20T02:20:21.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:20:21.789Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-490/archives/cost.csv [2023-02-20T02:20:21.789Z] + cut -d, -f6 [Pipeline] lock [2023-02-20T02:20:21.829Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-490-1-stack-cost] [2023-02-20T02:20:21.835Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-490-1-stack-cost] did not exist. Created. [2023-02-20T02:20:21.835Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-490-1-stack-cost] [Pipeline] { [2023-02-20T02:20:21.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:20:21.864Z] Configure a credential helper to remove this warning. See [2023-02-20T02:20:21.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:20:21.864Z] [2023-02-20T02:20:21.864Z] Login Succeeded [2023-02-20T02:20:21.864Z] nexus3.edgexfoundry.org:10004 [Pipeline] unstash [Pipeline] sh [2023-02-20T02:20:22.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T02:20:22.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:20:22.140Z] Configure a credential helper to remove this warning. See [2023-02-20T02:20:22.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:20:22.140Z] [2023-02-20T02:20:22.140Z] Login Succeeded [2023-02-20T02:20:22.140Z] docker.io [2023-02-20T02:20:22.277Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-20T02:20:22.331Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T02:20:22.358Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-490-1-stack-cost] [2023-02-20T02:20:22.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // lock [Pipeline] } [2023-02-20T02:20:22.473Z] $ docker stop --time=1 fce08f4a694fc83f2108e1778bef55778dbfef2f6a3154851854da3648406946 [2023-02-20T02:20:22.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T02:20:22.681Z] Configure a credential helper to remove this warning. See [2023-02-20T02:20:22.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T02:20:22.681Z] [2023-02-20T02:20:22.681Z] Login Succeeded [2023-02-20T02:20:22.681Z] ---> docker-login.sh ends [2023-02-20T02:20:24.329Z] $ docker rm -f --volumes fce08f4a694fc83f2108e1778bef55778dbfef2f6a3154851854da3648406946 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-02-20T02:20:24.703Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-02-20T02:20:25.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T02:20:25.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T02:20:25.144Z] ========================================================= [2023-02-20T02:20:25.144Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-20T02:20:25.144Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T02:20:25.629Z] + 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-02-20T02:20:25.897Z] Sending build context to Docker daemon 3.279MB [2023-02-20T02:20:25.897Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T02:20:25.897Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-20T02:20:28.499Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-20T02:20:28.499Z] 9b18e9b68314: Pulling fs layer [2023-02-20T02:20:28.499Z] 35d82f9e3411: Pulling fs layer [2023-02-20T02:20:28.499Z] e16973657156: Pulling fs layer [2023-02-20T02:20:28.499Z] fc693d55d65f: Pulling fs layer [2023-02-20T02:20:28.499Z] 7e9fc2657dce: Pulling fs layer [2023-02-20T02:20:28.499Z] dda99020689f: Pulling fs layer [2023-02-20T02:20:28.499Z] db1c61fa0a46: Pulling fs layer [2023-02-20T02:20:28.499Z] 891c053d2c06: Pulling fs layer [2023-02-20T02:20:28.499Z] fc693d55d65f: Waiting [2023-02-20T02:20:28.499Z] dda99020689f: Waiting [2023-02-20T02:20:28.499Z] db1c61fa0a46: Waiting [2023-02-20T02:20:28.499Z] 891c053d2c06: Waiting [2023-02-20T02:20:28.499Z] 7e9fc2657dce: Waiting [2023-02-20T02:20:28.499Z] e16973657156: Verifying Checksum [2023-02-20T02:20:28.499Z] e16973657156: Download complete [2023-02-20T02:20:28.499Z] 35d82f9e3411: Verifying Checksum [2023-02-20T02:20:28.499Z] 35d82f9e3411: Download complete [2023-02-20T02:20:28.499Z] 7e9fc2657dce: Verifying Checksum [2023-02-20T02:20:28.499Z] 7e9fc2657dce: Download complete [2023-02-20T02:20:28.499Z] dda99020689f: Verifying Checksum [2023-02-20T02:20:28.499Z] dda99020689f: Download complete [2023-02-20T02:20:28.499Z] 9b18e9b68314: Verifying Checksum [2023-02-20T02:20:29.107Z] 9b18e9b68314: Pull complete [2023-02-20T02:20:29.378Z] 891c053d2c06: Verifying Checksum [2023-02-20T02:20:29.378Z] 891c053d2c06: Download complete [2023-02-20T02:20:29.650Z] 35d82f9e3411: Pull complete [2023-02-20T02:20:29.922Z] e16973657156: Pull complete [2023-02-20T02:20:30.527Z] db1c61fa0a46: Download complete [2023-02-20T02:20:31.117Z] fc693d55d65f: Verifying Checksum [2023-02-20T02:20:31.117Z] fc693d55d65f: Download complete [2023-02-20T02:20:43.468Z] fc693d55d65f: Pull complete [2023-02-20T02:20:43.468Z] 7e9fc2657dce: Pull complete [2023-02-20T02:20:43.468Z] dda99020689f: Pull complete [2023-02-20T02:20:48.861Z] db1c61fa0a46: Pull complete [2023-02-20T02:20:50.296Z] 891c053d2c06: Pull complete [2023-02-20T02:20:50.296Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-20T02:20:50.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-20T02:20:50.296Z] ---> f96f9c87975a [2023-02-20T02:20:50.296Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-20T02:20:51.706Z] ---> Running in c85eb0b5e4ec [2023-02-20T02:20:51.978Z] Removing intermediate container c85eb0b5e4ec [2023-02-20T02:20:51.979Z] ---> 3fcc3577868c [2023-02-20T02:20:51.979Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T02:20:51.979Z] ---> Running in 0d4d94ccee87 [2023-02-20T02:20:52.614Z] Removing intermediate container 0d4d94ccee87 [2023-02-20T02:20:52.614Z] ---> 2dbaee56b530 [2023-02-20T02:20:52.614Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T02:20:52.614Z] ---> Running in cab6e5a04f36 [2023-02-20T02:20:52.902Z] Removing intermediate container cab6e5a04f36 [2023-02-20T02:20:52.902Z] ---> 9c21fece6130 [2023-02-20T02:20:52.902Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T02:20:52.902Z] ---> Running in 653812d3ed55 [2023-02-20T02:20:53.188Z] Removing intermediate container 653812d3ed55 [2023-02-20T02:20:53.188Z] ---> d3c6d5a4c33e [2023-02-20T02:20:53.188Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T02:20:53.479Z] ---> Running in 7678a620856d [2023-02-20T02:20:54.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T02:20:55.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T02:20:56.011Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-20T02:20:56.011Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-20T02:20:56.011Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-20T02:20:56.011Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-20T02:20:56.280Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T02:20:56.280Z] OK: 226 MiB in 55 packages [2023-02-20T02:20:57.252Z] Removing intermediate container 7678a620856d [2023-02-20T02:20:57.252Z] ---> e4b8fb6c1a67 [2023-02-20T02:20:57.252Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-20T02:20:57.252Z] ---> Running in fa4032c87877 [2023-02-20T02:20:57.841Z] Removing intermediate container fa4032c87877 [2023-02-20T02:20:57.841Z] ---> cbbe2f675d68 [2023-02-20T02:20:57.841Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-20T02:20:58.110Z] ---> 6bfb417ed2c9 [2023-02-20T02:20:58.110Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T02:20:58.379Z] ---> Running in 9c7858b4ce6e [2023-02-20T02:22:20.116Z] Removing intermediate container 9c7858b4ce6e [2023-02-20T02:22:20.116Z] ---> befda9bd0d53 [2023-02-20T02:22:20.116Z] Step 11/12 : COPY . . [2023-02-20T02:22:20.116Z] ---> 9468eab08b23 [2023-02-20T02:22:20.116Z] Step 12/12 : RUN $MAKE [2023-02-20T02:22:20.116Z] ---> Running in 5958d9ba1c4a [2023-02-20T02:22:20.116Z] noop [2023-02-20T02:22:20.116Z] Removing intermediate container 5958d9ba1c4a [2023-02-20T02:22:20.116Z] ---> 44a5240320b6 [2023-02-20T02:22:20.116Z] Successfully built 44a5240320b6 [2023-02-20T02:22:20.116Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T02:22:20.822Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T02:22:20.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T02:22:21.105Z] prd-ubuntu20.04-docker-arm64-4c-16g-6685 does not seem to be running inside a container [2023-02-20T02:22:21.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-20T02:22:22.509Z] $ docker top e0ace2e2429f7ea7e5e7a4bbb7cb39911be6255c9e0065f82340093e11bcb4b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T02:22:23.408Z] + go version [2023-02-20T02:22:23.408Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-20T02:22:23.455Z] $ docker stop --time=1 e0ace2e2429f7ea7e5e7a4bbb7cb39911be6255c9e0065f82340093e11bcb4b5 [2023-02-20T02:22:25.118Z] $ docker rm -f --volumes e0ace2e2429f7ea7e5e7a4bbb7cb39911be6255c9e0065f82340093e11bcb4b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T02:22:25.989Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T02:22:25.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T02:22:26.270Z] prd-ubuntu20.04-docker-arm64-4c-16g-6685 does not seem to be running inside a container [2023-02-20T02:22:26.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-20T02:22:27.669Z] $ docker top a5e135b554e0dafff705c1e4288bc7fab0c319016ad21089d0681b3ff69e539f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T02:22:28.570Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-20T02:22:29.287Z] + make test [2023-02-20T02:22:29.287Z] go test ./... -coverprofile=coverage.out ./... [2023-02-20T02:22:31.240Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-20T02:24:22.988Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-20T02:24:22.988Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 21.8% of statements [2023-02-20T02:24:22.988Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-20T02:24:22.988Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-20T02:24:22.988Z] go vet ./... [2023-02-20T02:24:49.766Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-20T02:24:49.766Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-20T02:24:49.766Z] ./bin/test-attribution-txt.sh [2023-02-20T02:24:50.038Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-20T02:24:50.038Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-20T02:24:50.086Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-20T02:24:50.128Z] $ docker stop --time=1 a5e135b554e0dafff705c1e4288bc7fab0c319016ad21089d0681b3ff69e539f [2023-02-20T02:24:52.589Z] $ docker rm -f --volumes a5e135b554e0dafff705c1e4288bc7fab0c319016ad21089d0681b3ff69e539f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T02:24:53.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-20T02:24:53.725Z] Warning: overwriting stash ‘coverage-report’ [2023-02-20T02:24:54.421Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T02:24:55.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-20T02:24:55.389Z] + ls -al . [2023-02-20T02:24:55.389Z] total 180 [2023-02-20T02:24:55.389Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 20 02:22 . [2023-02-20T02:24:55.389Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 02:19 .. [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 02:19 .dockerignore [2023-02-20T02:24:55.389Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 02:19 .git [2023-02-20T02:24:55.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 02:19 .github [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 20 02:19 .gitignore [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 20 02:19 .golangci.yml [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 20 02:19 Attribution.txt [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 20 02:19 CHANGELOG.md [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 20 02:19 Dockerfile [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 02:19 GOVERNANCE.md [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 20 02:19 Jenkinsfile [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 20 02:19 LICENSE [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 20 02:19 Makefile [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 20 02:19 OWNERS.md [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 20 02:19 README.md [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 20 02:17 VERSION [2023-02-20T02:24:55.389Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 02:19 bin [2023-02-20T02:24:55.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 02:19 cmd [2023-02-20T02:24:55.389Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 20 02:24 coverage.out [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 3376 Feb 20 02:19 go.mod [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 20 02:19 go.sum [2023-02-20T02:24:55.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 02:19 internal [2023-02-20T02:24:55.389Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 02:19 mock [2023-02-20T02:24:55.389Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 02:19 snap [2023-02-20T02:24:55.389Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 20 02:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T02:24:55.825Z] + 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=55317b9120f7e85b6c508b8520aa63374880ff73 --label arch=arm64 --label version=0.0.0 . [2023-02-20T02:24:56.094Z] Sending build context to Docker daemon 3.297MB [2023-02-20T02:24:56.363Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T02:24:56.363Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-20T02:24:56.363Z] ---> 44a5240320b6 [2023-02-20T02:24:56.363Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-20T02:24:56.641Z] ---> Running in e17134d765d6 [2023-02-20T02:24:57.236Z] Removing intermediate container e17134d765d6 [2023-02-20T02:24:57.236Z] ---> 4874e33ff10e [2023-02-20T02:24:57.236Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T02:24:57.236Z] ---> Running in cf6300c1bfd6 [2023-02-20T02:24:57.508Z] Removing intermediate container cf6300c1bfd6 [2023-02-20T02:24:57.508Z] ---> e4ab67f9cd07 [2023-02-20T02:24:57.508Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-20T02:24:57.779Z] ---> Running in b3f232334584 [2023-02-20T02:24:58.049Z] Removing intermediate container b3f232334584 [2023-02-20T02:24:58.049Z] ---> 9fc90c5db533 [2023-02-20T02:24:58.049Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T02:24:58.325Z] ---> Running in 83c4437776a1 [2023-02-20T02:24:58.599Z] Removing intermediate container 83c4437776a1 [2023-02-20T02:24:58.599Z] ---> 93941531fe8c [2023-02-20T02:24:58.599Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T02:24:58.599Z] ---> Running in 352ab4c112dc [2023-02-20T02:25:00.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T02:25:00.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T02:25:01.736Z] OK: 226 MiB in 55 packages [2023-02-20T02:25:03.196Z] Removing intermediate container 352ab4c112dc [2023-02-20T02:25:03.196Z] ---> 9763661668fe [2023-02-20T02:25:03.196Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-20T02:25:03.196Z] ---> Running in dedde3b43069 [2023-02-20T02:25:03.467Z] Removing intermediate container dedde3b43069 [2023-02-20T02:25:03.467Z] ---> 7b26b42771d5 [2023-02-20T02:25:03.467Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-20T02:25:05.424Z] ---> 1c471b80eb24 [2023-02-20T02:25:05.424Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T02:25:05.424Z] ---> Running in 80abdffd7949 [2023-02-20T02:25:13.899Z] Removing intermediate container 80abdffd7949 [2023-02-20T02:25:13.899Z] ---> 83f84caa2ecd [2023-02-20T02:25:13.899Z] Step 11/24 : COPY . . [2023-02-20T02:25:15.874Z] ---> 257235712d8b [2023-02-20T02:25:15.874Z] Step 12/24 : RUN $MAKE [2023-02-20T02:25:15.874Z] ---> Running in f0dfc708ba1b [2023-02-20T02:25:17.318Z] 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-02-20T02:27:39.067Z] Removing intermediate container f0dfc708ba1b [2023-02-20T02:27:39.067Z] ---> 049f0767ce7f [2023-02-20T02:27:39.067Z] Step 13/24 : FROM alpine:3.16 [2023-02-20T02:27:39.067Z] 3.16: Pulling from library/alpine [2023-02-20T02:27:39.067Z] 3760b48202b3: Pulling fs layer [2023-02-20T02:27:39.067Z] 3760b48202b3: Verifying Checksum [2023-02-20T02:27:39.067Z] 3760b48202b3: Download complete [2023-02-20T02:27:39.067Z] 3760b48202b3: Pull complete [2023-02-20T02:27:39.067Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-20T02:27:39.067Z] Status: Downloaded newer image for alpine:3.16 [2023-02-20T02:27:39.067Z] ---> 4c81e5bf8899 [2023-02-20T02:27:39.067Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-20T02:27:39.067Z] ---> Running in 33eac1b0484f [2023-02-20T02:27:39.067Z] Removing intermediate container 33eac1b0484f [2023-02-20T02:27:39.067Z] ---> e8879989c6eb [2023-02-20T02:27:39.067Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-20T02:27:39.067Z] ---> Running in 73884ea719ab [2023-02-20T02:27:39.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T02:27:39.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T02:27:40.483Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-20T02:27:40.483Z] Executing busybox-1.35.0-r17.trigger [2023-02-20T02:27:40.483Z] OK: 5 MiB in 15 packages [2023-02-20T02:27:41.066Z] Removing intermediate container 73884ea719ab [2023-02-20T02:27:41.066Z] ---> c98e479927f1 [2023-02-20T02:27:41.066Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-20T02:27:42.484Z] ---> 669a806f702d [2023-02-20T02:27:42.484Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-20T02:27:43.068Z] ---> 285bee7155af [2023-02-20T02:27:43.068Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-20T02:27:43.655Z] ---> 45e494986237 [2023-02-20T02:27:43.655Z] Step 19/24 : EXPOSE 59982 [2023-02-20T02:27:43.655Z] ---> Running in 50cd6189e58c [2023-02-20T02:27:43.932Z] Removing intermediate container 50cd6189e58c [2023-02-20T02:27:43.932Z] ---> 19543eed258b [2023-02-20T02:27:43.932Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-20T02:27:43.932Z] ---> Running in 645d00f603a1 [2023-02-20T02:27:44.201Z] Removing intermediate container 645d00f603a1 [2023-02-20T02:27:44.201Z] ---> 4a8cc2806973 [2023-02-20T02:27:44.201Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-20T02:27:44.201Z] ---> Running in dad8052c313f [2023-02-20T02:27:44.468Z] Removing intermediate container dad8052c313f [2023-02-20T02:27:44.468Z] ---> feb6586b60d0 [2023-02-20T02:27:44.468Z] Step 22/24 : LABEL arch=arm64 [2023-02-20T02:27:44.737Z] ---> Running in 00ff8b888627 [2023-02-20T02:27:45.005Z] Removing intermediate container 00ff8b888627 [2023-02-20T02:27:45.005Z] ---> ab1da105423b [2023-02-20T02:27:45.005Z] Step 23/24 : LABEL git_sha=55317b9120f7e85b6c508b8520aa63374880ff73 [2023-02-20T02:27:45.005Z] ---> Running in 3bcece85dde1 [2023-02-20T02:27:45.272Z] Removing intermediate container 3bcece85dde1 [2023-02-20T02:27:45.272Z] ---> c4f1381a49d5 [2023-02-20T02:27:45.272Z] Step 24/24 : LABEL version=0.0.0 [2023-02-20T02:27:45.272Z] ---> Running in 3587700d595a [2023-02-20T02:27:45.856Z] Removing intermediate container 3587700d595a [2023-02-20T02:27:45.856Z] ---> d41aabf369c6 [2023-02-20T02:27:45.856Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-20T02:27:45.856Z] Successfully built d41aabf369c6 [2023-02-20T02:27:45.856Z] 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-02-20T02:27:46.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T02:27:46.680Z] [2023-02-20T02:27:46.680Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T02:27:47.088Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T02:27:47.088Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-20T02:27:47.088Z] 8998bd30e6a1: Pulling fs layer [2023-02-20T02:27:47.088Z] 04944245beec: Pulling fs layer [2023-02-20T02:27:47.088Z] 699f458cf7ca: Pulling fs layer [2023-02-20T02:27:47.088Z] 765212b225bb: Pulling fs layer [2023-02-20T02:27:47.088Z] f23df028b6ca: Pulling fs layer [2023-02-20T02:27:47.088Z] d65c8cfc05b1: Pulling fs layer [2023-02-20T02:27:47.088Z] 2437ff75d9bd: Pulling fs layer [2023-02-20T02:27:47.088Z] f23df028b6ca: Waiting [2023-02-20T02:27:47.088Z] d65c8cfc05b1: Waiting [2023-02-20T02:27:47.088Z] 2437ff75d9bd: Waiting [2023-02-20T02:27:47.088Z] 765212b225bb: Waiting [2023-02-20T02:27:47.361Z] 04944245beec: Verifying Checksum [2023-02-20T02:27:47.361Z] 04944245beec: Download complete [2023-02-20T02:27:47.361Z] 765212b225bb: Verifying Checksum [2023-02-20T02:27:47.361Z] 765212b225bb: Download complete [2023-02-20T02:27:47.361Z] f23df028b6ca: Download complete [2023-02-20T02:27:47.361Z] d65c8cfc05b1: Verifying Checksum [2023-02-20T02:27:47.361Z] d65c8cfc05b1: Download complete [2023-02-20T02:27:47.361Z] 699f458cf7ca: Verifying Checksum [2023-02-20T02:27:47.361Z] 699f458cf7ca: Download complete [2023-02-20T02:27:47.952Z] 8998bd30e6a1: Verifying Checksum [2023-02-20T02:27:47.952Z] 8998bd30e6a1: Download complete [2023-02-20T02:27:49.889Z] 2437ff75d9bd: Verifying Checksum [2023-02-20T02:27:49.889Z] 2437ff75d9bd: Download complete [2023-02-20T02:27:51.826Z] 8998bd30e6a1: Pull complete [2023-02-20T02:27:51.826Z] 04944245beec: Pull complete [2023-02-20T02:27:53.233Z] 699f458cf7ca: Pull complete [2023-02-20T02:27:53.233Z] 765212b225bb: Pull complete [2023-02-20T02:27:54.191Z] f23df028b6ca: Pull complete [2023-02-20T02:27:54.191Z] d65c8cfc05b1: Pull complete [2023-02-20T02:28:09.195Z] 2437ff75d9bd: Pull complete [2023-02-20T02:28:09.195Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-20T02:28:09.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T02:28:09.195Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T02:28:09.525Z] prd-ubuntu20.04-docker-arm64-4c-16g-6685 does not seem to be running inside a container [2023-02-20T02:28:09.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-20T02:28:12.186Z] $ docker top f793df52dba31ea66b986510302cc5883e1403bf9460f33b0812f80a16f322af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T02:28:13.069Z] ---> job-cost.sh [2023-02-20T02:28:13.069Z] lf-activate-venv: SKIPPING [2023-02-20T02:28:13.069Z] INFO: No Stack... [2023-02-20T02:28:13.337Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-20T02:28:14.294Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T02:28:14.957Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-02-20T02:28:14.957Z] + cut -d, -f6 [Pipeline] lock [2023-02-20T02:28:15.045Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-490-1-stack-cost] [2023-02-20T02:28:15.049Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-490-1-stack-cost] did not exist. Created. [2023-02-20T02:28:15.049Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-490-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T02:28:15.777Z] /w/workspace/device-mqtt-go/1@tmp/durable-3d338368/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-20T02:28:16.512Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-20T02:28:16.574Z] Warning: overwriting stash ‘stack-cost’ [2023-02-20T02:28:16.627Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T02:28:16.641Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-490-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T02:28:16.727Z] $ docker stop --time=1 f793df52dba31ea66b986510302cc5883e1403bf9460f33b0812f80a16f322af [2023-02-20T02:28:18.224Z] $ docker rm -f --volumes f793df52dba31ea66b986510302cc5883e1403bf9460f33b0812f80a16f322af [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-02-20T02:28:19.164Z] provisioning config files... [2023-02-20T02:28:19.172Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp/config13837675898996372049tmp [Pipeline] { [Pipeline] sh [2023-02-20T02:28:19.575Z] + set +x [2023-02-20T02:28:19.575Z] + curl -s https://codecov.io/bash [2023-02-20T02:28:19.575Z] + bash -s -- [2023-02-20T02:28:19.575Z] [2023-02-20T02:28:19.575Z] _____ _ [2023-02-20T02:28:19.575Z] / ____| | | [2023-02-20T02:28:19.575Z] | | ___ __| | ___ ___ _____ __ [2023-02-20T02:28:19.575Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-20T02:28:19.575Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-20T02:28:19.575Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-20T02:28:19.575Z] Bash-1.0.6 [2023-02-20T02:28:19.575Z] [2023-02-20T02:28:19.575Z] [2023-02-20T02:28:19.575Z] ==> git version 2.25.1 found [2023-02-20T02:28:19.575Z] ==> 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-02-20T02:28:19.575Z] Release-Date: 2020-01-08 [2023-02-20T02:28:19.575Z] 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-02-20T02:28:19.575Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-20T02:28:19.575Z] ==> Jenkins CI detected. [2023-02-20T02:28:19.575Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-490 [2023-02-20T02:28:19.575Z] project root: . [2023-02-20T02:28:19.575Z] --> token set from env [2023-02-20T02:28:19.575Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-20T02:28:19.834Z] ==> Running gcov in . (disable via -X gcov) [2023-02-20T02:28:19.834Z] ==> Python coveragepy not found [2023-02-20T02:28:19.834Z] ==> Searching for coverage reports in: [2023-02-20T02:28:19.834Z] + . [2023-02-20T02:28:19.834Z] -> Found 1 reports [2023-02-20T02:28:19.835Z] ==> Detecting git/mercurial file structure [2023-02-20T02:28:19.835Z] ==> Reading reports [2023-02-20T02:28:19.835Z] + ./coverage.out bytes=17887 [2023-02-20T02:28:19.835Z] ==> Appending adjustments [2023-02-20T02:28:19.835Z] https://docs.codecov.io/docs/fixing-reports [2023-02-20T02:28:19.835Z] + Found adjustments [2023-02-20T02:28:19.835Z] ==> Gzipping contents [2023-02-20T02:28:19.835Z] 4.0K /tmp/codecov.IaS3o3.gz [2023-02-20T02:28:19.835Z] ==> Uploading reports [2023-02-20T02:28:19.835Z] url: https://codecov.io [2023-02-20T02:28:19.835Z] query: branch=PR-490&commit=55317b9120f7e85b6c508b8520aa63374880ff73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-490%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=490&job=&cmd_args= [2023-02-20T02:28:19.835Z] -> Pinging Codecov [2023-02-20T02:28:19.835Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-490&commit=55317b9120f7e85b6c508b8520aa63374880ff73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-490%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=490&job=&cmd_args= [2023-02-20T02:28:20.095Z] -> Uploading to [2023-02-20T02:28:20.095Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-20/7D719EC7BBE17E464838252E33014C33/55317b9120f7e85b6c508b8520aa63374880ff73/5fe3991f-1c77-448b-bfed-259052f44e44.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230220%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230220T022819Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d14c9b394fd004530f4063f00b9a5a955af31df6dedf3bd320a46f9a3b650df8 [2023-02-20T02:28:20.095Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T02:28:20.095Z] Dload Upload Total Spent Left Speed [2023-02-20T02:28:20.355Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3144 0 0 100 3144 0 11954 --:--:-- --:--:-- --:--:-- 11954 [2023-02-20T02:28:20.355Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/55317b9120f7e85b6c508b8520aa63374880ff73 [Pipeline] } [2023-02-20T02:28:20.380Z] 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-02-20T02:28:22.135Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-490/archives ] [2023-02-20T02:28:22.135Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-490/archives [2023-02-20T02:28:22.135Z] total 16 [2023-02-20T02:28:22.135Z] drwxr-xr-x 3 root root 4096 Feb 20 02:20 . [2023-02-20T02:28:22.135Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 20 02:20 .. [2023-02-20T02:28:22.135Z] drwxr-xr-x 2 root root 4096 Feb 20 02:20 cost [2023-02-20T02:28:22.135Z] -rw-r--r-- 1 root root 86 Feb 20 02:20 cost.csv [2023-02-20T02:28:22.135Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-490/archives [2023-02-20T02:28:22.135Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-490/archives [2023-02-20T02:28:22.135Z] total 16 [2023-02-20T02:28:22.135Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 02:20 . [2023-02-20T02:28:22.135Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 20 02:20 .. [2023-02-20T02:28:22.135Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 02:20 cost [2023-02-20T02:28:22.135Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 20 02:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-20T02:28:22.465Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T02:28:23.359Z] ---> package-listing.sh [2023-02-20T02:28:23.359Z] ++ facter osfamily [2023-02-20T02:28:23.359Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-20T02:28:23.620Z] + OS_FAMILY=debian [2023-02-20T02:28:23.620Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-490 [2023-02-20T02:28:23.620Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-20T02:28:23.620Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-20T02:28:23.620Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-20T02:28:23.620Z] + PACKAGES=/tmp/packages_start.txt [2023-02-20T02:28:23.620Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-490 ']' [2023-02-20T02:28:23.620Z] + PACKAGES=/tmp/packages_end.txt [2023-02-20T02:28:23.620Z] + case "${OS_FAMILY}" in [2023-02-20T02:28:23.620Z] + dpkg -l [2023-02-20T02:28:23.620Z] + grep '^ii' [2023-02-20T02:28:23.620Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-20T02:28:23.620Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-20T02:28:23.620Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-20T02:28:23.620Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-490 ']' [2023-02-20T02:28:23.620Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-490/archives/ [2023-02-20T02:28:23.620Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-490/archives/ [Pipeline] echo [2023-02-20T02:28:23.654Z] 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-490/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-20T02:28:23.946Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T02:28:24.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T02:28:24.576Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T02:28:24.723Z] prd-ubuntu20.04-docker-8c-8g-6678 does not seem to be running inside a container [2023-02-20T02:28:24.759Z] $ 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-490/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-490 -v /w/workspace/gexfoundry_device-mqtt-go_PR-490:/w/workspace/gexfoundry_device-mqtt-go_PR-490:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-20T02:28:25.479Z] $ docker top eace03d6bbfc11b3c729d25cd80e0f1f2641ae08d70eba09fb3ab3e466dabbc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T02:28:25.875Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-20T02:28:26.183Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-20T02:28:26.492Z] + ls /var/log/sa-host [2023-02-20T02:28:26.492Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T02:28:26.639Z] provisioning config files... [2023-02-20T02:28:26.653Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-490@tmp/config7818781267279505722tmp [Pipeline] { [Pipeline] echo [2023-02-20T02:28:26.702Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T02:28:27.011Z] ---> create-netrc.sh [Pipeline] } [2023-02-20T02:28:27.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-20T02:28:27.439Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-20T02:28:27.513Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T02:28:27.823Z] ---> sudo-logs.sh [2023-02-20T02:28:27.823Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-20T02:28:27.906Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T02:28:28.225Z] ---> job-cost.sh [2023-02-20T02:28:28.225Z] lf-activate-venv: SKIPPING [2023-02-20T02:28:28.225Z] DEBUG: total: 0.2199999988079071 [2023-02-20T02:28:28.225Z] INFO: Retrieving Stack Cost... [2023-02-20T02:28:28.483Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T02:28:29.068Z] INFO: Archiving Costs [Pipeline] echo [2023-02-20T02:28:29.104Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T02:28:29.455Z] ---> logs-deploy.sh [2023-02-20T02:28:29.455Z] lf-activate-venv: SKIPPING [2023-02-20T02:28:29.455Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-490/1 [2023-02-20T02:28:29.455Z] INFO: archiving workspace using pattern(s): [2023-02-20T02:28:30.409Z] Archives upload complete. [2023-02-20T02:28:30.409Z] INFO: archiving logs to Nexus