Pull request #410 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 45e704b8212ca39805298e898eb42b8dfe23ade0 rather than 258d230fdc5e7d28f5a32b9efc186f99d14bb385 Obtained Jenkinsfile from 45e704b8212ca39805298e898eb42b8dfe23ade0 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-ssh2360187136522581451.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh12809183523280413659.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh115340245240681514.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17266771953013417143.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-410/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-410/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17821762280623908373.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22582’ Running on prd-ubuntu20.04-docker-8c-8g-22585 in /w/workspace/gexfoundry_device-mqtt-go_PR-410 [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-410 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 45e704b8212ca39805298e898eb42b8dfe23ade0 into PR head commit 258d230fdc5e7d28f5a32b9efc186f99d14bb385 Merge succeeded, producing 258d230fdc5e7d28f5a32b9efc186f99d14bb385 Checking out Revision 258d230fdc5e7d28f5a32b9efc186f99d14bb385 (PR-410) > 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/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 258d230fdc5e7d28f5a32b9efc186f99d14bb385 # 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 45e704b8212ca39805298e898eb42b8dfe23ade0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 258d230fdc5e7d28f5a32b9efc186f99d14bb385 # timeout=10 Commit message: "build(snap): Change name `service` to `app`" > git rev-list --no-walk aeeb28e2327e46f28de53d5f240dbb1c1831abf0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-12T06:34:32.019Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-12T06:34:32.071Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-12T06:34:32.083Z] ========================================================= [2022-08-12T06:34:32.083Z] EdgeX Global Pipelines Version Info [2022-08-12T06:34:32.083Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:34:32.837Z] ------------------- [2022-08-12T06:34:32.837Z] stable info: [2022-08-12T06:34:32.837Z] ------------------- [2022-08-12T06:34:32.837Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T06:34:32.837Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T06:34:32.837Z] Message: update stable to v1.0.238 [2022-08-12T06:34:33.411Z] ------------------- [2022-08-12T06:34:33.411Z] experimental info: [2022-08-12T06:34:33.411Z] ------------------- [2022-08-12T06:34:33.411Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T06:34:33.411Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T06:34:33.411Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-12T06:34:33.624Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-08-12T06:34:33.638Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-08-12T06:34:33.653Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-12T06:34:33.664Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-12T06:34:33.678Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-12T06:34:33.690Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-12T06:34:33.705Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-12T06:34:33.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-12T06:34:33.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-12T06:34:33.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-12T06:34:33.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-12T06:34:33.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-08-12T06:34:33.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-12T06:34:33.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-12T06:34:33.818Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T06:34:33.832Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T06:34:33.845Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T06:34:33.857Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T06:34:33.870Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-12T06:34:33.880Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-12T06:34:33.888Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-12T06:34:33.897Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-12T06:34:33.905Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-12T06:34:33.914Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-12T06:34:33.922Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-12T06:34:33.931Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-12T06:34:33.939Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-12T06:34:33.948Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-410 [Pipeline] echo [2022-08-12T06:34:33.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-410 [Pipeline] echo [2022-08-12T06:34:33.966Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-410 [Pipeline] echo [2022-08-12T06:34:33.975Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 258d230fdc5e7d28f5a32b9efc186f99d14bb385 [Pipeline] echo [2022-08-12T06:34:33.983Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 258d230 [Pipeline] echo [2022-08-12T06:34:33.992Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T06:34:34.039Z] provisioning config files... [2022-08-12T06:34:34.055Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp/config5171309224340785382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:34:34.363Z] ---> docker-login.sh [2022-08-12T06:34:34.363Z] nexus3.edgexfoundry.org:10001 [2022-08-12T06:34:34.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:34.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:34.625Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:34.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:34.625Z] [2022-08-12T06:34:34.625Z] Login Succeeded [2022-08-12T06:34:34.625Z] nexus3.edgexfoundry.org:10002 [2022-08-12T06:34:34.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:34.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:34.886Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:34.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:34.886Z] [2022-08-12T06:34:34.886Z] Login Succeeded [2022-08-12T06:34:34.886Z] nexus3.edgexfoundry.org:10003 [2022-08-12T06:34:34.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:34.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:34.886Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:34.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:34.886Z] [2022-08-12T06:34:34.886Z] Login Succeeded [2022-08-12T06:34:34.886Z] nexus3.edgexfoundry.org:10004 [2022-08-12T06:34:35.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:35.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:35.148Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:35.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:35.148Z] [2022-08-12T06:34:35.148Z] Login Succeeded [2022-08-12T06:34:35.148Z] docker.io [2022-08-12T06:34:35.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:35.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:35.410Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:35.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:35.410Z] [2022-08-12T06:34:35.410Z] Login Succeeded [2022-08-12T06:34:35.410Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T06:34:35.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-12T06:34:35.816Z] + git rev-list -1 --merges 258d230fdc5e7d28f5a32b9efc186f99d14bb385~1..258d230fdc5e7d28f5a32b9efc186f99d14bb385 [Pipeline] echo [2022-08-12T06:34:35.860Z] -----------> git rev-list -1 --merges 258d230fdc5e7d28f5a32b9efc186f99d14bb385~1..258d230fdc5e7d28f5a32b9efc186f99d14bb385 258d230fdc5e7d28f5a32b9efc186f99d14bb385 [false] [Pipeline] sh [2022-08-12T06:34:36.160Z] + git log --format=format:%s -1 258d230fdc5e7d28f5a32b9efc186f99d14bb385 [Pipeline] echo [2022-08-12T06:34:36.177Z] ========================================================= [2022-08-12T06:34:36.177Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-12T06:34:36.177Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T06:34:36.525Z] + git log --format=format:%s -1 258d230fdc5e7d28f5a32b9efc186f99d14bb385 [Pipeline] echo [2022-08-12T06:34:36.540Z] [semverPrep] GIT_COMMIT: 258d230fdc5e7d28f5a32b9efc186f99d14bb385, Commit Message: build(snap): Change name `service` to `app` [Pipeline] echo [2022-08-12T06:34:36.549Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-12T06:34:36.916Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T06:34:36.916Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-12T06:34:36.916Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-12T06:34:36.916Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-12T06:34:36.916Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-12T06:34:36.916Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-12T06:34:36.916Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:34:37.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T06:34:37.282Z] [2022-08-12T06:34:37.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:34:37.586Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T06:34:37.587Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-12T06:34:37.587Z] b85a868b505f: Pulling fs layer [2022-08-12T06:34:37.587Z] e2be974225ed: Pulling fs layer [2022-08-12T06:34:37.587Z] 339a4e72a1f5: Pulling fs layer [2022-08-12T06:34:37.587Z] 988bab9f4d93: Pulling fs layer [2022-08-12T06:34:37.587Z] 1469e6f7b9e6: Pulling fs layer [2022-08-12T06:34:37.587Z] eaf3925da568: Pulling fs layer [2022-08-12T06:34:37.587Z] bab4dde63d76: Pulling fs layer [2022-08-12T06:34:37.587Z] bde34c3a00c8: Pulling fs layer [2022-08-12T06:34:37.587Z] b352a97aabf1: Pulling fs layer [2022-08-12T06:34:37.587Z] 4872d77fe225: Pulling fs layer [2022-08-12T06:34:37.587Z] 5851b861e8e6: Pulling fs layer [2022-08-12T06:34:37.587Z] bde34c3a00c8: Waiting [2022-08-12T06:34:37.587Z] 988bab9f4d93: Waiting [2022-08-12T06:34:37.587Z] b352a97aabf1: Waiting [2022-08-12T06:34:37.587Z] 1469e6f7b9e6: Waiting [2022-08-12T06:34:37.587Z] 4872d77fe225: Waiting [2022-08-12T06:34:37.587Z] 5851b861e8e6: Waiting [2022-08-12T06:34:37.587Z] eaf3925da568: Waiting [2022-08-12T06:34:37.587Z] bab4dde63d76: Waiting [2022-08-12T06:34:37.847Z] e2be974225ed: Verifying Checksum [2022-08-12T06:34:37.847Z] e2be974225ed: Download complete [2022-08-12T06:34:37.847Z] 988bab9f4d93: Verifying Checksum [2022-08-12T06:34:37.847Z] 988bab9f4d93: Download complete [2022-08-12T06:34:37.847Z] 1469e6f7b9e6: Verifying Checksum [2022-08-12T06:34:37.847Z] 1469e6f7b9e6: Download complete [2022-08-12T06:34:37.847Z] eaf3925da568: Verifying Checksum [2022-08-12T06:34:37.847Z] eaf3925da568: Download complete [2022-08-12T06:34:37.847Z] 339a4e72a1f5: Verifying Checksum [2022-08-12T06:34:37.847Z] 339a4e72a1f5: Download complete [2022-08-12T06:34:37.847Z] bde34c3a00c8: Verifying Checksum [2022-08-12T06:34:37.847Z] bde34c3a00c8: Download complete [2022-08-12T06:34:37.847Z] b352a97aabf1: Verifying Checksum [2022-08-12T06:34:37.847Z] b352a97aabf1: Download complete [2022-08-12T06:34:37.847Z] 4872d77fe225: Verifying Checksum [2022-08-12T06:34:37.847Z] 4872d77fe225: Download complete [2022-08-12T06:34:38.114Z] 5851b861e8e6: Verifying Checksum [2022-08-12T06:34:38.114Z] 5851b861e8e6: Download complete [2022-08-12T06:34:38.114Z] b85a868b505f: Verifying Checksum [2022-08-12T06:34:38.114Z] b85a868b505f: Download complete [2022-08-12T06:34:38.373Z] bab4dde63d76: Verifying Checksum [2022-08-12T06:34:38.373Z] bab4dde63d76: Download complete [2022-08-12T06:34:39.328Z] b85a868b505f: Pull complete [2022-08-12T06:34:39.592Z] e2be974225ed: Pull complete [2022-08-12T06:34:40.162Z] 339a4e72a1f5: Pull complete [2022-08-12T06:34:40.162Z] 988bab9f4d93: Pull complete [2022-08-12T06:34:40.423Z] 1469e6f7b9e6: Pull complete [2022-08-12T06:34:40.684Z] eaf3925da568: Pull complete [2022-08-12T06:34:42.599Z] bab4dde63d76: Pull complete [2022-08-12T06:34:42.861Z] bde34c3a00c8: Pull complete [2022-08-12T06:34:42.861Z] b352a97aabf1: Pull complete [2022-08-12T06:34:42.861Z] 4872d77fe225: Pull complete [2022-08-12T06:34:43.121Z] 5851b861e8e6: Pull complete [2022-08-12T06:34:43.121Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-12T06:34:43.121Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T06:34:43.121Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:34:43.229Z] prd-ubuntu20.04-docker-8c-8g-22585 does not seem to be running inside a container [2022-08-12T06:34:43.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-410 -v /w/workspace/gexfoundry_device-mqtt-go_PR-410:/w/workspace/gexfoundry_device-mqtt-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-12T06:34:45.492Z] $ docker top 6509e9fad7a559db5ab6cd0c72dcf4c3ff2a1e8b7fe8d094ec6cd24869719b21 -eo pid,comm [2022-08-12T06:34:45.591Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-12T06:34:45.591Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T06:34:45.631Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T06:34:45.631Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T06:34:45.763Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T06:34:45.760Z] $ docker exec 6509e9fad7a559db5ab6cd0c72dcf4c3ff2a1e8b7fe8d094ec6cd24869719b21 ssh-agent [2022-08-12T06:34:45.885Z] SSH_AUTH_SOCK=/tmp/ssh-tOBTaLmGlPNA/agent.34 [2022-08-12T06:34:45.885Z] SSH_AGENT_PID=41 [2022-08-12T06:34:45.892Z] Running ssh-add (command line suppressed) [2022-08-12T06:34:46.005Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp/private_key_695487167237189881.key (/w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp/private_key_695487167237189881.key) [2022-08-12T06:34:46.027Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T06:34:46.323Z] + git tag --points-at HEAD [Pipeline] } [2022-08-12T06:34:46.332Z] $ docker exec --env ******** --env ******** 6509e9fad7a559db5ab6cd0c72dcf4c3ff2a1e8b7fe8d094ec6cd24869719b21 ssh-agent -k [2022-08-12T06:34:46.451Z] unset SSH_AUTH_SOCK; [2022-08-12T06:34:46.451Z] unset SSH_AGENT_PID; [2022-08-12T06:34:46.452Z] echo Agent pid 41 killed; [2022-08-12T06:34:46.469Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-12T06:34:46.494Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T06:34:46.494Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T06:34:46.634Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T06:34:46.631Z] $ docker exec 6509e9fad7a559db5ab6cd0c72dcf4c3ff2a1e8b7fe8d094ec6cd24869719b21 ssh-agent [2022-08-12T06:34:46.768Z] SSH_AUTH_SOCK=/tmp/ssh-nBIGoab7F106/agent.75 [2022-08-12T06:34:46.768Z] SSH_AGENT_PID=81 [2022-08-12T06:34:46.774Z] Running ssh-add (command line suppressed) [2022-08-12T06:34:46.891Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp/private_key_4251830510947590258.key (/w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp/private_key_4251830510947590258.key) [2022-08-12T06:34:46.912Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T06:34:47.201Z] + git semver init [2022-08-12T06:34:47.461Z] 2022-08-12 06:34:47,416 [run_init] DEBUG init version:0.0.0 force:False [2022-08-12T06:34:47.462Z] 2022-08-12 06:34:47,417 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-410/.semver [2022-08-12T06:34:47.462Z] 2022-08-12 06:34:47,417 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-410/.semver [2022-08-12T06:34:47.462Z] 2022-08-12 06:34:47,417 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-410/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-410, universal_newlines=False, shell=None, istream=None) [2022-08-12T06:34:48.407Z] 2022-08-12 06:34:48,149 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-410/.git/info/exclude [2022-08-12T06:34:48.407Z] 2022-08-12 06:34:48,150 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-410/.semver/PR-410 with force:False [2022-08-12T06:34:48.407Z] 2022-08-12 06:34:48,150 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-410/.semver/PR-410 [2022-08-12T06:34:48.407Z] 2022-08-12 06:34:48,154 [execute] INFO git cat-file --batch-check [2022-08-12T06:34:48.407Z] 2022-08-12 06:34:48,154 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-410/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T06:34:48.407Z] 2022-08-12 06:34:48,161 [execute] INFO git cat-file --batch [2022-08-12T06:34:48.407Z] 2022-08-12 06:34:48,161 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-410/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T06:34:48.407Z] 2022-08-12 06:34:48,167 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-410/.semver/PR-410 [2022-08-12T06:34:48.407Z] 0.0.0 [Pipeline] } [2022-08-12T06:34:48.414Z] $ docker exec --env ******** --env ******** 6509e9fad7a559db5ab6cd0c72dcf4c3ff2a1e8b7fe8d094ec6cd24869719b21 ssh-agent -k [2022-08-12T06:34:48.541Z] unset SSH_AUTH_SOCK; [2022-08-12T06:34:48.542Z] unset SSH_AGENT_PID; [2022-08-12T06:34:48.542Z] echo Agent pid 81 killed; [2022-08-12T06:34:48.561Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T06:34:48.878Z] + git semver [Pipeline] } [2022-08-12T06:34:49.151Z] $ docker stop --time=1 6509e9fad7a559db5ab6cd0c72dcf4c3ff2a1e8b7fe8d094ec6cd24869719b21 [2022-08-12T06:34:50.470Z] $ docker rm -f 6509e9fad7a559db5ab6cd0c72dcf4c3ff2a1e8b7fe8d094ec6cd24869719b21 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T06:34:50.832Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-12T06:34:51.087Z] Stashed 1 file(s) [Pipeline] echo [2022-08-12T06:34:51.090Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T06:34:51.238Z] provisioning config files... [2022-08-12T06:34:51.250Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp/config1318219651795987525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:34:51.554Z] ---> docker-login.sh [2022-08-12T06:34:51.554Z] nexus3.edgexfoundry.org:10001 [2022-08-12T06:34:51.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:51.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:51.554Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:51.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:51.554Z] [2022-08-12T06:34:51.554Z] Login Succeeded [2022-08-12T06:34:51.554Z] nexus3.edgexfoundry.org:10002 [2022-08-12T06:34:51.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:51.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:51.816Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:51.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:51.816Z] [2022-08-12T06:34:51.816Z] Login Succeeded [2022-08-12T06:34:51.816Z] nexus3.edgexfoundry.org:10003 [2022-08-12T06:34:51.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:51.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:51.816Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:51.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:51.816Z] [2022-08-12T06:34:51.816Z] Login Succeeded [2022-08-12T06:34:51.816Z] nexus3.edgexfoundry.org:10004 [2022-08-12T06:34:52.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:52.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:52.077Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:52.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:52.077Z] [2022-08-12T06:34:52.077Z] Login Succeeded [2022-08-12T06:34:52.077Z] docker.io [2022-08-12T06:34:52.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:52.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:52.339Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:52.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:52.339Z] [2022-08-12T06:34:52.339Z] Login Succeeded [2022-08-12T06:34:52.339Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T06:34:52.348Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T06:34:52.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:34:52.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:34:52.429Z] ========================================================= [2022-08-12T06:34:52.429Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-12T06:34:52.429Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:34:52.753Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-12T06:34:52.753Z] Sending build context to Docker daemon 6.105MB [2022-08-12T06:34:52.753Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:34:52.753Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-12T06:34:52.753Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-12T06:34:52.753Z] 2408cc74d12b: Pulling fs layer [2022-08-12T06:34:52.753Z] ea60b727a1ce: Pulling fs layer [2022-08-12T06:34:52.753Z] 30c4a7721957: Pulling fs layer [2022-08-12T06:34:52.753Z] 370296b7ddb6: Pulling fs layer [2022-08-12T06:34:52.753Z] 7c6cee850709: Pulling fs layer [2022-08-12T06:34:52.753Z] 39a5fcdaea64: Pulling fs layer [2022-08-12T06:34:52.753Z] d94ebbe4e438: Pulling fs layer [2022-08-12T06:34:52.753Z] bcfd1f05c69d: Pulling fs layer [2022-08-12T06:34:52.753Z] 7c6cee850709: Waiting [2022-08-12T06:34:52.753Z] 59ccb84bbe0f: Pulling fs layer [2022-08-12T06:34:52.753Z] 39a5fcdaea64: Waiting [2022-08-12T06:34:52.753Z] d94ebbe4e438: Waiting [2022-08-12T06:34:52.753Z] bcfd1f05c69d: Waiting [2022-08-12T06:34:52.753Z] 59ccb84bbe0f: Waiting [2022-08-12T06:34:52.753Z] 370296b7ddb6: Waiting [2022-08-12T06:34:52.753Z] 30c4a7721957: Download complete [2022-08-12T06:34:53.017Z] ea60b727a1ce: Verifying Checksum [2022-08-12T06:34:53.017Z] ea60b727a1ce: Download complete [2022-08-12T06:34:53.017Z] 7c6cee850709: Verifying Checksum [2022-08-12T06:34:53.017Z] 39a5fcdaea64: Verifying Checksum [2022-08-12T06:34:53.017Z] 39a5fcdaea64: Download complete [2022-08-12T06:34:53.017Z] 2408cc74d12b: Verifying Checksum [2022-08-12T06:34:53.017Z] 2408cc74d12b: Download complete [2022-08-12T06:34:53.017Z] d94ebbe4e438: Verifying Checksum [2022-08-12T06:34:53.017Z] d94ebbe4e438: Download complete [2022-08-12T06:34:53.017Z] 2408cc74d12b: Pull complete [2022-08-12T06:34:53.292Z] ea60b727a1ce: Pull complete [2022-08-12T06:34:53.292Z] 30c4a7721957: Pull complete [2022-08-12T06:34:53.292Z] 59ccb84bbe0f: Verifying Checksum [2022-08-12T06:34:53.292Z] 59ccb84bbe0f: Download complete [2022-08-12T06:34:53.556Z] bcfd1f05c69d: Verifying Checksum [2022-08-12T06:34:53.556Z] bcfd1f05c69d: Download complete [2022-08-12T06:34:53.816Z] 370296b7ddb6: Verifying Checksum [2022-08-12T06:34:53.816Z] 370296b7ddb6: Download complete [2022-08-12T06:34:58.023Z] 370296b7ddb6: Pull complete [2022-08-12T06:34:58.023Z] 7c6cee850709: Pull complete [2022-08-12T06:34:58.023Z] 39a5fcdaea64: Pull complete [2022-08-12T06:34:58.023Z] d94ebbe4e438: Pull complete [2022-08-12T06:35:00.563Z] bcfd1f05c69d: Pull complete [2022-08-12T06:35:01.132Z] 59ccb84bbe0f: Pull complete [2022-08-12T06:35:01.132Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-12T06:35:01.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-12T06:35:01.132Z] ---> a4fb48ad2a94 [2022-08-12T06:35:01.132Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:35:05.361Z] ---> Running in 2dcfb5cf3e03 [2022-08-12T06:35:05.361Z] Removing intermediate container 2dcfb5cf3e03 [2022-08-12T06:35:05.361Z] ---> 0f9ba444e4d6 [2022-08-12T06:35:05.361Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:35:05.361Z] ---> Running in de36974e091b [2022-08-12T06:35:05.361Z] Removing intermediate container de36974e091b [2022-08-12T06:35:05.361Z] ---> c2fd28a72ec3 [2022-08-12T06:35:05.361Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:35:05.361Z] ---> Running in 68b5dea5d4e9 [2022-08-12T06:35:05.622Z] Removing intermediate container 68b5dea5d4e9 [2022-08-12T06:35:05.622Z] ---> 8c1fdae1ccfb [2022-08-12T06:35:05.622Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:35:05.622Z] ---> Running in 9749889a4099 [2022-08-12T06:35:05.882Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T06:35:06.194Z] Still waiting to schedule task [2022-08-12T06:35:06.194Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22583’ [2022-08-12T06:35:06.824Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T06:35:07.086Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-12T06:35:07.086Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-12T06:35:07.086Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-12T06:35:07.349Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-12T06:35:07.349Z] Executing busybox-1.35.0-r13.trigger [2022-08-12T06:35:07.349Z] OK: 216 MiB in 55 packages [2022-08-12T06:35:07.920Z] Removing intermediate container 9749889a4099 [2022-08-12T06:35:07.920Z] ---> 3d69b60a38bd [2022-08-12T06:35:07.920Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-08-12T06:35:07.920Z] ---> Running in 70cde0cadf95 [2022-08-12T06:35:07.920Z] Removing intermediate container 70cde0cadf95 [2022-08-12T06:35:07.920Z] ---> 54e0fbed275d [2022-08-12T06:35:07.920Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-12T06:35:08.180Z] ---> 00c22aa2df3c [2022-08-12T06:35:08.180Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:35:08.180Z] ---> Running in 70145cd73b1e [2022-08-12T06:35:26.286Z] Removing intermediate container 70145cd73b1e [2022-08-12T06:35:26.286Z] ---> 1a2a0a9a6891 [2022-08-12T06:35:26.286Z] Step 10/12 : COPY . . [2022-08-12T06:35:26.286Z] ---> 03dc98720dbd [2022-08-12T06:35:26.286Z] Step 11/12 : ARG MAKE='make build' [2022-08-12T06:35:26.286Z] ---> Running in 861ca7b60e03 [2022-08-12T06:35:26.286Z] Removing intermediate container 861ca7b60e03 [2022-08-12T06:35:26.286Z] ---> 29758b5762e1 [2022-08-12T06:35:26.287Z] Step 12/12 : RUN $MAKE [2022-08-12T06:35:26.287Z] ---> Running in 774a0f60072f [2022-08-12T06:35:26.287Z] noop [2022-08-12T06:35:26.287Z] Removing intermediate container 774a0f60072f [2022-08-12T06:35:26.287Z] ---> 0be10b18a4b6 [2022-08-12T06:35:26.287Z] Successfully built 0be10b18a4b6 [2022-08-12T06:35:26.287Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:35:26.605Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T06:35:26.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:35:26.701Z] prd-ubuntu20.04-docker-8c-8g-22585 does not seem to be running inside a container [2022-08-12T06:35:26.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-410 -v /w/workspace/gexfoundry_device-mqtt-go_PR-410:/w/workspace/gexfoundry_device-mqtt-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T06:35:27.155Z] $ docker top f0476ba0134e5ea3b241e91ea67af6105c6716ffd8ba9d9e388aec903b19e293 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:35:27.518Z] + go version [2022-08-12T06:35:27.518Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-12T06:35:27.535Z] $ docker stop --time=1 f0476ba0134e5ea3b241e91ea67af6105c6716ffd8ba9d9e388aec903b19e293 [2022-08-12T06:35:28.805Z] $ docker rm -f f0476ba0134e5ea3b241e91ea67af6105c6716ffd8ba9d9e388aec903b19e293 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:35:29.255Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T06:35:29.255Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:35:29.366Z] prd-ubuntu20.04-docker-8c-8g-22585 does not seem to be running inside a container [2022-08-12T06:35:29.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-mqtt-go_PR-410 -v /w/workspace/gexfoundry_device-mqtt-go_PR-410:/w/workspace/gexfoundry_device-mqtt-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T06:35:29.797Z] $ docker top 99ee4257b7b3d58d3996fd0797ba34cc221bd7f977c1b29d4bcf5d47323e0295 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:35:30.158Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-410 [Pipeline] fileExists [Pipeline] sh [2022-08-12T06:35:30.453Z] + make test [2022-08-12T06:35:30.453Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-12T06:35:30.713Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-08-12T06:35:40.703Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-08-12T06:35:40.963Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-08-12T06:35:40.963Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-08-12T06:35:47.539Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-12T06:35:47.539Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T06:35:51.735Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T06:35:51.735Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T06:35:51.735Z] ./bin/test-attribution-txt.sh [2022-08-12T06:35:51.735Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T06:35:51.735Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T06:35:51.735Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T06:35:51.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T06:35:51.768Z] $ docker stop --time=1 99ee4257b7b3d58d3996fd0797ba34cc221bd7f977c1b29d4bcf5d47323e0295 [2022-08-12T06:35:54.091Z] $ docker rm -f 99ee4257b7b3d58d3996fd0797ba34cc221bd7f977c1b29d4bcf5d47323e0295 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T06:35:54.538Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T06:35:54.576Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-12T06:35:55.019Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T06:35:55.312Z] + ls -al . [2022-08-12T06:35:55.312Z] total 180 [2022-08-12T06:35:55.312Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 06:35 . [2022-08-12T06:35:55.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:34 .. [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 12 06:34 .dockerignore [2022-08-12T06:35:55.312Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:35 .git [2022-08-12T06:35:55.312Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:34 .github [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 06:34 .gitignore [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 06:34 .golangci.yml [2022-08-12T06:35:55.312Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 06:34 .semver [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 8917 Aug 12 06:34 Attribution.txt [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 11365 Aug 12 06:34 CHANGELOG.md [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 1932 Aug 12 06:34 Dockerfile [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 06:34 GOVERNANCE.md [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 12 06:34 Jenkinsfile [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 06:34 LICENSE [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 1917 Aug 12 06:34 Makefile [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 06:34 OWNERS.md [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 2501 Aug 12 06:34 README.md [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 06:34 VERSION [2022-08-12T06:35:55.312Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:34 bin [2022-08-12T06:35:55.312Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:34 cmd [2022-08-12T06:35:55.312Z] -rw-r--r-- 1 jenkins jenkins 17887 Aug 12 06:35 coverage.out [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 3452 Aug 12 06:34 go.mod [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 06:34 go.sum [2022-08-12T06:35:55.312Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:34 internal [2022-08-12T06:35:55.312Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:34 mock [2022-08-12T06:35:55.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:34 snap [2022-08-12T06:35:55.312Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 12 06:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:35:55.638Z] + 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=258d230fdc5e7d28f5a32b9efc186f99d14bb385 --label arch=amd64 --label version=0.0.0 . [2022-08-12T06:35:55.638Z] Sending build context to Docker daemon 6.123MB [2022-08-12T06:35:55.638Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:35:55.638Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-12T06:35:55.638Z] ---> 0be10b18a4b6 [2022-08-12T06:35:55.638Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:35:55.897Z] ---> Running in 08f9935dd3c2 [2022-08-12T06:35:55.897Z] Removing intermediate container 08f9935dd3c2 [2022-08-12T06:35:55.897Z] ---> b6d7dd954e34 [2022-08-12T06:35:55.897Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:35:55.897Z] ---> Running in 2909f9626c31 [2022-08-12T06:35:55.897Z] Removing intermediate container 2909f9626c31 [2022-08-12T06:35:55.897Z] ---> 1cd5e0df8e60 [2022-08-12T06:35:55.897Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:35:55.897Z] ---> Running in ae1466615777 [2022-08-12T06:35:56.465Z] Removing intermediate container ae1466615777 [2022-08-12T06:35:56.465Z] ---> 058e5f15e748 [2022-08-12T06:35:56.465Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:35:56.726Z] ---> Running in 8de4026ab1b3 [2022-08-12T06:35:56.987Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T06:35:57.929Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T06:35:58.191Z] OK: 216 MiB in 55 packages [2022-08-12T06:35:58.452Z] Removing intermediate container 8de4026ab1b3 [2022-08-12T06:35:58.452Z] ---> e0f9b9ba17a4 [2022-08-12T06:35:58.452Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-08-12T06:35:58.452Z] ---> Running in bef7a477045b [2022-08-12T06:35:58.452Z] Removing intermediate container bef7a477045b [2022-08-12T06:35:58.452Z] ---> b95c0c6beff1 [2022-08-12T06:35:58.452Z] Step 8/24 : COPY go.mod vendor* ./ [2022-08-12T06:35:58.713Z] ---> 035743502e33 [2022-08-12T06:35:58.713Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:35:58.713Z] ---> Running in 2943a5d2493e [2022-08-12T06:35:59.288Z] Removing intermediate container 2943a5d2493e [2022-08-12T06:35:59.289Z] ---> 0bf1f8d540b6 [2022-08-12T06:35:59.289Z] Step 10/24 : COPY . . [2022-08-12T06:35:59.549Z] ---> 18614cac176c [2022-08-12T06:35:59.549Z] Step 11/24 : ARG MAKE='make build' [2022-08-12T06:35:59.549Z] ---> Running in 8b0f133303f8 [2022-08-12T06:35:59.808Z] Removing intermediate container 8b0f133303f8 [2022-08-12T06:35:59.808Z] ---> 0a511307bda6 [2022-08-12T06:35:59.808Z] Step 12/24 : RUN $MAKE [2022-08-12T06:35:59.808Z] ---> Running in 2110b576a7dd [2022-08-12T06:36:00.067Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-08-12T06:36:26.685Z] Removing intermediate container 2110b576a7dd [2022-08-12T06:36:26.685Z] ---> c511f17872ea [2022-08-12T06:36:26.685Z] Step 13/24 : FROM alpine:3.16 [2022-08-12T06:36:26.685Z] 3.16: Pulling from library/alpine [2022-08-12T06:36:26.685Z] 213ec9aee27d: Pulling fs layer [2022-08-12T06:36:26.685Z] 213ec9aee27d: Download complete [2022-08-12T06:36:26.685Z] 213ec9aee27d: Pull complete [2022-08-12T06:36:26.685Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T06:36:26.685Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T06:36:26.685Z] ---> 9c6f07244728 [2022-08-12T06:36:26.685Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-08-12T06:36:26.685Z] ---> Running in b8d434e2aa88 [2022-08-12T06:36:26.685Z] Removing intermediate container b8d434e2aa88 [2022-08-12T06:36:26.685Z] ---> 677f23e7e84c [2022-08-12T06:36:26.685Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-12T06:36:26.685Z] ---> Running in 9d0ad23bb325 [2022-08-12T06:36:26.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T06:36:26.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T06:36:26.685Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-12T06:36:26.685Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T06:36:26.685Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-12T06:36:26.685Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T06:36:26.685Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-12T06:36:26.685Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-12T06:36:26.685Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T06:36:26.685Z] OK: 8 MiB in 20 packages [2022-08-12T06:36:26.685Z] Removing intermediate container 9d0ad23bb325 [2022-08-12T06:36:26.685Z] ---> e0612c39d273 [2022-08-12T06:36:26.685Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-08-12T06:36:26.685Z] ---> b6972fc4169d [2022-08-12T06:36:26.685Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-08-12T06:36:26.685Z] ---> 6c04397b6533 [2022-08-12T06:36:26.685Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-08-12T06:36:26.685Z] ---> a508369e833a [2022-08-12T06:36:26.685Z] Step 19/24 : EXPOSE 59982 [2022-08-12T06:36:26.685Z] ---> Running in 645018a468a5 [2022-08-12T06:36:26.685Z] Removing intermediate container 645018a468a5 [2022-08-12T06:36:26.685Z] ---> 6e44d1e8225b [2022-08-12T06:36:26.685Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-08-12T06:36:26.685Z] ---> Running in 03100f15974c [2022-08-12T06:36:26.685Z] Removing intermediate container 03100f15974c [2022-08-12T06:36:26.685Z] ---> 7aef66ac7ed5 [2022-08-12T06:36:26.685Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T06:36:26.685Z] ---> Running in 24fce4a59351 [2022-08-12T06:36:26.685Z] Removing intermediate container 24fce4a59351 [2022-08-12T06:36:26.685Z] ---> 9acb380462d4 [2022-08-12T06:36:26.685Z] Step 22/24 : LABEL arch=amd64 [2022-08-12T06:36:26.685Z] ---> Running in 7355935c7ee3 [2022-08-12T06:36:26.685Z] Removing intermediate container 7355935c7ee3 [2022-08-12T06:36:26.685Z] ---> b02e68c32e77 [2022-08-12T06:36:26.685Z] Step 23/24 : LABEL git_sha=258d230fdc5e7d28f5a32b9efc186f99d14bb385 [2022-08-12T06:36:26.685Z] ---> Running in 3ef8c7883b1d [2022-08-12T06:36:26.685Z] Removing intermediate container 3ef8c7883b1d [2022-08-12T06:36:26.685Z] ---> d0c71e1fb218 [2022-08-12T06:36:26.685Z] Step 24/24 : LABEL version=0.0.0 [2022-08-12T06:36:26.685Z] ---> Running in 760fe104ea26 [2022-08-12T06:36:26.685Z] Removing intermediate container 760fe104ea26 [2022-08-12T06:36:26.685Z] ---> 408433016fc7 [2022-08-12T06:36:26.685Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T06:36:26.685Z] Successfully built 408433016fc7 [2022-08-12T06:36:26.685Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:36:27.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:36:27.111Z] [2022-08-12T06:36:27.111Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:36:27.415Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:36:27.415Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-12T06:36:27.415Z] 5eb5b503b376: Pulling fs layer [2022-08-12T06:36:27.415Z] 5c69ac0246d0: Pulling fs layer [2022-08-12T06:36:27.415Z] ec43610c2a17: Pulling fs layer [2022-08-12T06:36:27.415Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-12T06:36:27.415Z] 33b1e0a273af: Pulling fs layer [2022-08-12T06:36:27.415Z] 5d3b04190fa2: Pulling fs layer [2022-08-12T06:36:27.415Z] 2f39f015ded8: Pulling fs layer [2022-08-12T06:36:27.415Z] 3a2ae6a8a46f: Waiting [2022-08-12T06:36:27.415Z] 5d3b04190fa2: Waiting [2022-08-12T06:36:27.415Z] 33b1e0a273af: Waiting [2022-08-12T06:36:27.415Z] 2f39f015ded8: Waiting [2022-08-12T06:36:27.415Z] 5c69ac0246d0: Verifying Checksum [2022-08-12T06:36:27.415Z] 5c69ac0246d0: Download complete [2022-08-12T06:36:27.415Z] 3a2ae6a8a46f: Download complete [2022-08-12T06:36:27.676Z] 33b1e0a273af: Verifying Checksum [2022-08-12T06:36:27.676Z] 33b1e0a273af: Download complete [2022-08-12T06:36:27.676Z] 5d3b04190fa2: Download complete [2022-08-12T06:36:27.676Z] ec43610c2a17: Verifying Checksum [2022-08-12T06:36:27.676Z] ec43610c2a17: Download complete [2022-08-12T06:36:27.676Z] 5eb5b503b376: Verifying Checksum [2022-08-12T06:36:27.676Z] 5eb5b503b376: Download complete [2022-08-12T06:36:28.244Z] 2f39f015ded8: Download complete [2022-08-12T06:36:29.182Z] 5eb5b503b376: Pull complete [2022-08-12T06:36:29.182Z] 5c69ac0246d0: Pull complete [2022-08-12T06:36:29.750Z] ec43610c2a17: Pull complete [2022-08-12T06:36:29.750Z] 3a2ae6a8a46f: Pull complete [2022-08-12T06:36:30.010Z] 33b1e0a273af: Pull complete [2022-08-12T06:36:30.010Z] 5d3b04190fa2: Pull complete [2022-08-12T06:36:35.293Z] 2f39f015ded8: Pull complete [2022-08-12T06:36:35.293Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-12T06:36:35.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:36:35.293Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:36:35.395Z] prd-ubuntu20.04-docker-8c-8g-22585 does not seem to be running inside a container [2022-08-12T06:36:35.453Z] $ 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-410 -v /w/workspace/gexfoundry_device-mqtt-go_PR-410:/w/workspace/gexfoundry_device-mqtt-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T06:36:38.160Z] $ docker top e69a2f2c3ed3bf2934ee37c19d07f75edc010bd1ae3ead8998a5a71da1d65650 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:36:38.561Z] ---> job-cost.sh [2022-08-12T06:36:38.561Z] lf-activate-venv: SKIPPING [2022-08-12T06:36:38.561Z] INFO: No Stack... [2022-08-12T06:36:39.134Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T06:36:39.394Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T06:36:39.687Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-410/archives/cost.csv [2022-08-12T06:36:39.687Z] + cut -d, -f6 [Pipeline] lock [2022-08-12T06:36:39.702Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-410-2-stack-cost] [2022-08-12T06:36:39.709Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-410-2-stack-cost] did not exist. Created. [2022-08-12T06:36:39.709Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-410-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T06:36:40.026Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-12T06:36:40.054Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T06:36:40.063Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-410-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T06:36:40.084Z] $ docker stop --time=1 e69a2f2c3ed3bf2934ee37c19d07f75edc010bd1ae3ead8998a5a71da1d65650 [2022-08-12T06:36:41.252Z] $ docker rm -f e69a2f2c3ed3bf2934ee37c19d07f75edc010bd1ae3ead8998a5a71da1d65650 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-12T06:38:12.758Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22587 in /w/workspace/gexfoundry_device-mqtt-go_PR-410 [Pipeline] { [Pipeline] ws [2022-08-12T06:38:12.772Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-08-12T06:38:12.834Z] Selected Git installation does not exist. Using Default [2022-08-12T06:38:12.834Z] The recommended git tool is: NONE [2022-08-12T06:38:20.269Z] using credential edgex-jenkins-ssh [2022-08-12T06:38:20.292Z] Cloning the remote Git repository [2022-08-12T06:38:20.350Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-08-12T06:38:20.438Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-08-12T06:38:20.531Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-08-12T06:38:20.536Z] > git --version # timeout=10 [2022-08-12T06:38:20.566Z] > git --version # 'git version 2.25.1' [2022-08-12T06:38:20.569Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T06:38:20.674Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T06:38:21.663Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-08-12T06:38:21.690Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T06:38:21.769Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-08-12T06:38:21.862Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-08-12T06:38:21.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T06:38:22.509Z] Merging remotes/origin/main commit 45e704b8212ca39805298e898eb42b8dfe23ade0 into PR head commit 258d230fdc5e7d28f5a32b9efc186f99d14bb385 [2022-08-12T06:38:22.713Z] Merge succeeded, producing 258d230fdc5e7d28f5a32b9efc186f99d14bb385 [2022-08-12T06:38:22.714Z] Checking out Revision 258d230fdc5e7d28f5a32b9efc186f99d14bb385 (PR-410) [2022-08-12T06:38:21.908Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-12T06:38:22.527Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T06:38:22.551Z] > git checkout -f 258d230fdc5e7d28f5a32b9efc186f99d14bb385 # timeout=10 [2022-08-12T06:38:22.635Z] > git remote # timeout=10 [2022-08-12T06:38:22.652Z] > git config --get remote.origin.url # timeout=10 [2022-08-12T06:38:22.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T06:38:22.675Z] > git merge 45e704b8212ca39805298e898eb42b8dfe23ade0 # timeout=10 [2022-08-12T06:38:22.698Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-12T06:38:22.721Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T06:38:22.735Z] > git checkout -f 258d230fdc5e7d28f5a32b9efc186f99d14bb385 # timeout=10 [2022-08-12T06:38:26.881Z] Commit message: "build(snap): Change name `service` to `app`" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T06:38:27.826Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-12T06:38:27.826Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T06:38:27.826Z] Dload Upload Total Spent Left Speed [2022-08-12T06:38:27.826Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 227k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh [2022-08-12T06:38:28.515Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-12T06:38:28.860Z] + sudo tee /etc/docker/daemon.new [2022-08-12T06:38:28.860Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-12T06:38:28.860Z] { [2022-08-12T06:38:28.860Z] "registry-mirrors": [ [2022-08-12T06:38:28.860Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-12T06:38:28.860Z] ], [2022-08-12T06:38:28.860Z] "bip": "10.250.0.254/24", [2022-08-12T06:38:28.860Z] "hosts": [ [2022-08-12T06:38:28.860Z] "tcp://0.0.0.0:5555", [2022-08-12T06:38:28.860Z] "unix:///var/run/docker.sock" [2022-08-12T06:38:28.860Z] ], [2022-08-12T06:38:28.860Z] "mtu": 1458, [2022-08-12T06:38:28.860Z] "selinux-enabled": true, [2022-08-12T06:38:28.860Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-12T06:38:28.860Z] } [Pipeline] sh [2022-08-12T06:38:29.304Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-12T06:38:29.643Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T06:38:48.015Z] provisioning config files... [2022-08-12T06:38:48.041Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config1020479599495492369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:38:48.403Z] ---> docker-login.sh [2022-08-12T06:38:48.403Z] nexus3.edgexfoundry.org:10001 [2022-08-12T06:38:49.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:38:49.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:38:49.280Z] Configure a credential helper to remove this warning. See [2022-08-12T06:38:49.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:38:49.280Z] [2022-08-12T06:38:49.280Z] Login Succeeded [2022-08-12T06:38:49.280Z] nexus3.edgexfoundry.org:10002 [2022-08-12T06:38:49.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:38:49.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:38:49.834Z] Configure a credential helper to remove this warning. See [2022-08-12T06:38:49.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:38:49.834Z] [2022-08-12T06:38:49.834Z] Login Succeeded [2022-08-12T06:38:49.834Z] nexus3.edgexfoundry.org:10003 [2022-08-12T06:38:50.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:38:50.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:38:50.392Z] Configure a credential helper to remove this warning. See [2022-08-12T06:38:50.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:38:50.392Z] [2022-08-12T06:38:50.392Z] Login Succeeded [2022-08-12T06:38:50.392Z] nexus3.edgexfoundry.org:10004 [2022-08-12T06:38:50.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:38:50.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:38:50.664Z] Configure a credential helper to remove this warning. See [2022-08-12T06:38:50.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:38:50.664Z] [2022-08-12T06:38:50.664Z] Login Succeeded [2022-08-12T06:38:50.664Z] docker.io [2022-08-12T06:38:51.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:38:51.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:38:51.532Z] Configure a credential helper to remove this warning. See [2022-08-12T06:38:51.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:38:51.532Z] [2022-08-12T06:38:51.532Z] Login Succeeded [2022-08-12T06:38:51.532Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T06:38:51.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T06:38:52.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:38:52.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:38:52.153Z] ========================================================= [2022-08-12T06:38:52.153Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-12T06:38:52.153Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:38:52.515Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-12T06:38:52.786Z] Sending build context to Docker daemon 3.16MB [2022-08-12T06:38:53.061Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:38:53.061Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-12T06:38:53.061Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-12T06:38:53.061Z] b3c136eddcbf: Pulling fs layer [2022-08-12T06:38:53.061Z] c0a3192eca97: Pulling fs layer [2022-08-12T06:38:53.061Z] a050256f5b6f: Pulling fs layer [2022-08-12T06:38:53.061Z] 656be50a0ddc: Pulling fs layer [2022-08-12T06:38:53.061Z] 2bbca73fdf42: Pulling fs layer [2022-08-12T06:38:53.061Z] 46d945488cbd: Pulling fs layer [2022-08-12T06:38:53.061Z] 8a5474983e97: Pulling fs layer [2022-08-12T06:38:53.061Z] 329c88fbcd65: Pulling fs layer [2022-08-12T06:38:53.061Z] 656be50a0ddc: Waiting [2022-08-12T06:38:53.061Z] 2bbca73fdf42: Waiting [2022-08-12T06:38:53.061Z] 46d945488cbd: Waiting [2022-08-12T06:38:53.061Z] 8a5474983e97: Waiting [2022-08-12T06:38:53.061Z] 329c88fbcd65: Waiting [2022-08-12T06:38:53.061Z] a050256f5b6f: Verifying Checksum [2022-08-12T06:38:53.061Z] a050256f5b6f: Download complete [2022-08-12T06:38:53.061Z] c0a3192eca97: Download complete [2022-08-12T06:38:53.061Z] 2bbca73fdf42: Download complete [2022-08-12T06:38:53.061Z] 46d945488cbd: Verifying Checksum [2022-08-12T06:38:53.349Z] b3c136eddcbf: Verifying Checksum [2022-08-12T06:38:53.349Z] b3c136eddcbf: Download complete [2022-08-12T06:38:54.340Z] b3c136eddcbf: Pull complete [2022-08-12T06:38:54.340Z] 329c88fbcd65: Verifying Checksum [2022-08-12T06:38:54.340Z] 329c88fbcd65: Download complete [2022-08-12T06:38:54.622Z] c0a3192eca97: Pull complete [2022-08-12T06:38:55.242Z] a050256f5b6f: Pull complete [2022-08-12T06:38:55.517Z] 8a5474983e97: Verifying Checksum [2022-08-12T06:38:55.517Z] 8a5474983e97: Download complete [2022-08-12T06:38:56.120Z] 656be50a0ddc: Verifying Checksum [2022-08-12T06:38:56.120Z] 656be50a0ddc: Download complete [2022-08-12T06:39:08.529Z] 656be50a0ddc: Pull complete [2022-08-12T06:39:08.801Z] 2bbca73fdf42: Pull complete [2022-08-12T06:39:09.074Z] 46d945488cbd: Pull complete [2022-08-12T06:39:15.817Z] 8a5474983e97: Pull complete [2022-08-12T06:39:17.800Z] 329c88fbcd65: Pull complete [2022-08-12T06:39:17.801Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-12T06:39:17.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-12T06:39:17.801Z] ---> ff4287adb874 [2022-08-12T06:39:17.801Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:39:18.401Z] ---> Running in 027834aec728 [2022-08-12T06:39:19.000Z] Removing intermediate container 027834aec728 [2022-08-12T06:39:19.000Z] ---> e13a2df7d24e [2022-08-12T06:39:19.000Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:39:19.000Z] ---> Running in 9b9c06feeee1 [2022-08-12T06:39:19.274Z] Removing intermediate container 9b9c06feeee1 [2022-08-12T06:39:19.274Z] ---> fc8addcad6ad [2022-08-12T06:39:19.274Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:39:19.274Z] ---> Running in 3ccd73a97485 [2022-08-12T06:39:21.921Z] Removing intermediate container 3ccd73a97485 [2022-08-12T06:39:21.921Z] ---> ae18fe8435c8 [2022-08-12T06:39:21.921Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:39:21.921Z] ---> Running in a8060c939361 [2022-08-12T06:39:22.904Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T06:39:23.889Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T06:39:24.487Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-12T06:39:24.761Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-12T06:39:24.761Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-12T06:39:25.037Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-12T06:39:25.037Z] Executing busybox-1.35.0-r13.trigger [2022-08-12T06:39:25.321Z] OK: 226 MiB in 55 packages [2022-08-12T06:39:26.310Z] Removing intermediate container a8060c939361 [2022-08-12T06:39:26.310Z] ---> 98de44f54180 [2022-08-12T06:39:26.310Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-08-12T06:39:26.310Z] ---> Running in 0b7329abe7c2 [2022-08-12T06:39:26.588Z] Removing intermediate container 0b7329abe7c2 [2022-08-12T06:39:26.588Z] ---> d31e18397736 [2022-08-12T06:39:26.588Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-12T06:39:27.193Z] ---> 0434798c3c90 [2022-08-12T06:39:27.193Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:39:27.193Z] ---> Running in 40420f6edc7f [2022-08-12T06:40:23.772Z] Removing intermediate container 40420f6edc7f [2022-08-12T06:40:23.772Z] ---> b57b1d4cab07 [2022-08-12T06:40:23.772Z] Step 10/12 : COPY . . [2022-08-12T06:40:23.772Z] ---> 2889ce9dd928 [2022-08-12T06:40:23.772Z] Step 11/12 : ARG MAKE='make build' [2022-08-12T06:40:23.772Z] ---> Running in 507481d107f5 [2022-08-12T06:40:23.773Z] Removing intermediate container 507481d107f5 [2022-08-12T06:40:23.773Z] ---> 9298df44b916 [2022-08-12T06:40:23.773Z] Step 12/12 : RUN $MAKE [2022-08-12T06:40:23.773Z] ---> Running in 5d76d68be3aa [2022-08-12T06:40:23.773Z] noop [2022-08-12T06:40:23.773Z] Removing intermediate container 5d76d68be3aa [2022-08-12T06:40:23.773Z] ---> 6640dc1d7589 [2022-08-12T06:40:23.773Z] Successfully built 6640dc1d7589 [2022-08-12T06:40:23.773Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:40:24.141Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T06:40:24.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:40:24.408Z] prd-ubuntu20.04-docker-arm64-4c-16g-22587 does not seem to be running inside a container [2022-08-12T06:40:24.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-12T06:40:25.856Z] $ docker top 308025daeadf435505901cd21e0fa47ed1e36fcc3cef607bb875f94c37a33903 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:40:26.788Z] + go version [2022-08-12T06:40:26.788Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-12T06:40:26.812Z] $ docker stop --time=1 308025daeadf435505901cd21e0fa47ed1e36fcc3cef607bb875f94c37a33903 [2022-08-12T06:40:28.453Z] $ docker rm -f 308025daeadf435505901cd21e0fa47ed1e36fcc3cef607bb875f94c37a33903 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:40:29.086Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T06:40:29.086Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:40:29.349Z] prd-ubuntu20.04-docker-arm64-4c-16g-22587 does not seem to be running inside a container [2022-08-12T06:40:29.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-12T06:40:30.779Z] $ docker top 8f68bfc694c44e61df5a63f533129957523c38e4e392ce40a3253582d5bbd308 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:40:31.727Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2022-08-12T06:40:32.425Z] + make test [2022-08-12T06:40:32.425Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-12T06:40:34.413Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-08-12T06:41:56.318Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-08-12T06:41:59.728Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements [2022-08-12T06:41:59.728Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-08-12T06:42:00.002Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-12T06:42:00.002Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T06:42:22.218Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T06:42:22.218Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T06:42:22.218Z] ./bin/test-attribution-txt.sh [2022-08-12T06:42:22.218Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T06:42:22.218Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T06:42:22.218Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T06:42:22.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T06:42:22.264Z] $ docker stop --time=1 8f68bfc694c44e61df5a63f533129957523c38e4e392ce40a3253582d5bbd308 [2022-08-12T06:42:24.071Z] $ docker rm -f 8f68bfc694c44e61df5a63f533129957523c38e4e392ce40a3253582d5bbd308 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T06:42:25.025Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T06:42:25.050Z] Warning: overwriting stash ‘coverage-report’ [2022-08-12T06:42:25.514Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T06:42:25.905Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T06:42:26.243Z] + ls -al . [2022-08-12T06:42:26.244Z] total 176 [2022-08-12T06:42:26.244Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 06:40 . [2022-08-12T06:42:26.244Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:38 .. [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 12 06:38 .dockerignore [2022-08-12T06:42:26.244Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:38 .git [2022-08-12T06:42:26.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:38 .github [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 06:38 .gitignore [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 06:38 .golangci.yml [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 8917 Aug 12 06:38 Attribution.txt [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 11365 Aug 12 06:38 CHANGELOG.md [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 1932 Aug 12 06:38 Dockerfile [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 06:38 GOVERNANCE.md [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 12 06:38 Jenkinsfile [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 06:38 LICENSE [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 1917 Aug 12 06:38 Makefile [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 06:38 OWNERS.md [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 2501 Aug 12 06:38 README.md [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 06:34 VERSION [2022-08-12T06:42:26.244Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:38 bin [2022-08-12T06:42:26.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:38 cmd [2022-08-12T06:42:26.244Z] -rw-r--r-- 1 jenkins jenkins 17887 Aug 12 06:41 coverage.out [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 3452 Aug 12 06:38 go.mod [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 06:38 go.sum [2022-08-12T06:42:26.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:38 internal [2022-08-12T06:42:26.244Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:38 mock [2022-08-12T06:42:26.244Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:38 snap [2022-08-12T06:42:26.244Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 12 06:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:42:26.647Z] + 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=258d230fdc5e7d28f5a32b9efc186f99d14bb385 --label arch=arm64 --label version=0.0.0 . [2022-08-12T06:42:27.320Z] Sending build context to Docker daemon 3.178MB [2022-08-12T06:42:27.320Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:42:27.320Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-12T06:42:27.320Z] ---> 6640dc1d7589 [2022-08-12T06:42:27.320Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:42:27.320Z] ---> Running in 640338efd854 [2022-08-12T06:42:27.691Z] Removing intermediate container 640338efd854 [2022-08-12T06:42:27.691Z] ---> d739aa954131 [2022-08-12T06:42:27.691Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:42:27.691Z] ---> Running in 88598a2845cf [2022-08-12T06:42:28.047Z] Removing intermediate container 88598a2845cf [2022-08-12T06:42:28.047Z] ---> 5c724611b676 [2022-08-12T06:42:28.047Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:42:28.345Z] ---> Running in 3b8d68b65b5c [2022-08-12T06:42:29.812Z] Removing intermediate container 3b8d68b65b5c [2022-08-12T06:42:29.812Z] ---> a7ae829262bb [2022-08-12T06:42:29.812Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:42:30.084Z] ---> Running in cb4946c491da [2022-08-12T06:42:31.059Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T06:42:32.036Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T06:42:33.010Z] OK: 226 MiB in 55 packages [2022-08-12T06:42:33.605Z] Removing intermediate container cb4946c491da [2022-08-12T06:42:33.605Z] ---> 056a2d2feb4f [2022-08-12T06:42:33.605Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-08-12T06:42:33.883Z] ---> Running in f9ce21ddcabb [2022-08-12T06:42:34.157Z] Removing intermediate container f9ce21ddcabb [2022-08-12T06:42:34.157Z] ---> 986a0abcc3b4 [2022-08-12T06:42:34.157Z] Step 8/24 : COPY go.mod vendor* ./ [2022-08-12T06:42:34.756Z] ---> 5adb37b74547 [2022-08-12T06:42:34.756Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:42:34.756Z] ---> Running in 366d53c7454e [2022-08-12T06:42:36.732Z] Removing intermediate container 366d53c7454e [2022-08-12T06:42:36.732Z] ---> db058c10762d [2022-08-12T06:42:36.732Z] Step 10/24 : COPY . . [2022-08-12T06:42:37.707Z] ---> 4dbcffeeed52 [2022-08-12T06:42:37.707Z] Step 11/24 : ARG MAKE='make build' [2022-08-12T06:42:37.707Z] ---> Running in dda19ce7dfb5 [2022-08-12T06:42:37.986Z] Removing intermediate container dda19ce7dfb5 [2022-08-12T06:42:37.986Z] ---> aed42f945b89 [2022-08-12T06:42:37.986Z] Step 12/24 : RUN $MAKE [2022-08-12T06:42:37.986Z] ---> Running in e0f84a4f2c98 [2022-08-12T06:42:38.966Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-08-12T06:45:00.862Z] Removing intermediate container e0f84a4f2c98 [2022-08-12T06:45:00.862Z] ---> c0efc04b5d32 [2022-08-12T06:45:00.862Z] Step 13/24 : FROM alpine:3.16 [2022-08-12T06:45:00.862Z] 3.16: Pulling from library/alpine [2022-08-12T06:45:00.862Z] 9b18e9b68314: Pulling fs layer [2022-08-12T06:45:00.862Z] 9b18e9b68314: Verifying Checksum [2022-08-12T06:45:00.862Z] 9b18e9b68314: Download complete [2022-08-12T06:45:00.862Z] 9b18e9b68314: Pull complete [2022-08-12T06:45:00.862Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T06:45:00.862Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T06:45:00.862Z] ---> a6215f271958 [2022-08-12T06:45:00.862Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-08-12T06:45:00.862Z] ---> Running in d80fc7a5b6f3 [2022-08-12T06:45:00.862Z] Removing intermediate container d80fc7a5b6f3 [2022-08-12T06:45:00.862Z] ---> 61601b99c974 [2022-08-12T06:45:00.862Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-12T06:45:00.862Z] ---> Running in 7b4b4c4288ff [2022-08-12T06:45:00.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T06:45:00.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T06:45:00.862Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-12T06:45:00.862Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T06:45:00.862Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-12T06:45:00.862Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T06:45:00.862Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-12T06:45:00.862Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-12T06:45:00.862Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T06:45:00.862Z] OK: 8 MiB in 20 packages [2022-08-12T06:45:00.862Z] Removing intermediate container 7b4b4c4288ff [2022-08-12T06:45:00.862Z] ---> c381816aae32 [2022-08-12T06:45:00.862Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-08-12T06:45:00.862Z] ---> 435e2a11c1ae [2022-08-12T06:45:00.862Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-08-12T06:45:01.138Z] ---> fe782820ef5a [2022-08-12T06:45:01.138Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-08-12T06:45:01.736Z] ---> 168439e621ec [2022-08-12T06:45:01.736Z] Step 19/24 : EXPOSE 59982 [2022-08-12T06:45:01.736Z] ---> Running in b871698bf0dd [2022-08-12T06:45:02.012Z] Removing intermediate container b871698bf0dd [2022-08-12T06:45:02.012Z] ---> 33381e322e53 [2022-08-12T06:45:02.012Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-08-12T06:45:02.012Z] ---> Running in 75fbffcef3dd [2022-08-12T06:45:02.289Z] Removing intermediate container 75fbffcef3dd [2022-08-12T06:45:02.289Z] ---> efd51b1335e1 [2022-08-12T06:45:02.289Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T06:45:02.563Z] ---> Running in 90f31c3b08aa [2022-08-12T06:45:02.835Z] Removing intermediate container 90f31c3b08aa [2022-08-12T06:45:02.835Z] ---> b4f4f20fb71f [2022-08-12T06:45:02.835Z] Step 22/24 : LABEL arch=arm64 [2022-08-12T06:45:02.835Z] ---> Running in ba182dd90895 [2022-08-12T06:45:03.115Z] Removing intermediate container ba182dd90895 [2022-08-12T06:45:03.115Z] ---> 5632eebad34a [2022-08-12T06:45:03.115Z] Step 23/24 : LABEL git_sha=258d230fdc5e7d28f5a32b9efc186f99d14bb385 [2022-08-12T06:45:03.398Z] ---> Running in bbc6a008aaf8 [2022-08-12T06:45:03.672Z] Removing intermediate container bbc6a008aaf8 [2022-08-12T06:45:03.672Z] ---> 5910f2f18c9b [2022-08-12T06:45:03.672Z] Step 24/24 : LABEL version=0.0.0 [2022-08-12T06:45:03.672Z] ---> Running in 47a62279f232 [2022-08-12T06:45:03.946Z] Removing intermediate container 47a62279f232 [2022-08-12T06:45:03.946Z] ---> bc4ffa7e6b84 [2022-08-12T06:45:03.946Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T06:45:03.946Z] Successfully built bc4ffa7e6b84 [2022-08-12T06:45:03.946Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:45:04.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T06:45:04.405Z] [2022-08-12T06:45:04.405Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:45:04.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T06:45:05.043Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-12T06:45:05.043Z] 8998bd30e6a1: Pulling fs layer [2022-08-12T06:45:05.043Z] 04944245beec: Pulling fs layer [2022-08-12T06:45:05.043Z] 699f458cf7ca: Pulling fs layer [2022-08-12T06:45:05.043Z] 765212b225bb: Pulling fs layer [2022-08-12T06:45:05.043Z] f23df028b6ca: Pulling fs layer [2022-08-12T06:45:05.043Z] d65c8cfc05b1: Pulling fs layer [2022-08-12T06:45:05.043Z] 2437ff75d9bd: Pulling fs layer [2022-08-12T06:45:05.043Z] f23df028b6ca: Waiting [2022-08-12T06:45:05.043Z] 765212b225bb: Waiting [2022-08-12T06:45:05.043Z] d65c8cfc05b1: Waiting [2022-08-12T06:45:05.043Z] 2437ff75d9bd: Waiting [2022-08-12T06:45:05.043Z] 04944245beec: Download complete [2022-08-12T06:45:05.043Z] 765212b225bb: Verifying Checksum [2022-08-12T06:45:05.043Z] 765212b225bb: Download complete [2022-08-12T06:45:05.043Z] f23df028b6ca: Verifying Checksum [2022-08-12T06:45:05.043Z] f23df028b6ca: Download complete [2022-08-12T06:45:05.043Z] d65c8cfc05b1: Verifying Checksum [2022-08-12T06:45:05.043Z] d65c8cfc05b1: Download complete [2022-08-12T06:45:05.318Z] 699f458cf7ca: Verifying Checksum [2022-08-12T06:45:05.318Z] 699f458cf7ca: Download complete [2022-08-12T06:45:05.594Z] 8998bd30e6a1: Download complete [2022-08-12T06:45:08.281Z] 2437ff75d9bd: Verifying Checksum [2022-08-12T06:45:08.281Z] 2437ff75d9bd: Download complete [2022-08-12T06:45:10.259Z] 8998bd30e6a1: Pull complete [2022-08-12T06:45:10.532Z] 04944245beec: Pull complete [2022-08-12T06:45:11.964Z] 699f458cf7ca: Pull complete [2022-08-12T06:45:12.236Z] 765212b225bb: Pull complete [2022-08-12T06:45:13.217Z] f23df028b6ca: Pull complete [2022-08-12T06:45:13.491Z] d65c8cfc05b1: Pull complete [2022-08-12T06:45:28.579Z] 2437ff75d9bd: Pull complete [2022-08-12T06:45:28.579Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-12T06:45:28.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T06:45:28.579Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:45:28.863Z] prd-ubuntu20.04-docker-arm64-4c-16g-22587 does not seem to be running inside a container [2022-08-12T06:45:28.946Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-12T06:45:31.799Z] $ docker top 679468474c5209a333809d2ba64e1d8a85fb622de1dac14e32078cce86e07747 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:45:32.772Z] ---> job-cost.sh [2022-08-12T06:45:32.772Z] lf-activate-venv: SKIPPING [2022-08-12T06:45:32.772Z] INFO: No Stack... [2022-08-12T06:45:33.043Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-12T06:45:34.022Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T06:45:34.697Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2022-08-12T06:45:34.697Z] + cut -d, -f6 [Pipeline] lock [2022-08-12T06:45:34.759Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-410-2-stack-cost] [2022-08-12T06:45:34.769Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-410-2-stack-cost] did not exist. Created. [2022-08-12T06:45:34.769Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-410-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T06:45:35.452Z] /w/workspace/device-mqtt-go/2@tmp/durable-544e4afb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-12T06:45:36.128Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-12T06:45:36.158Z] Warning: overwriting stash ‘stack-cost’ [2022-08-12T06:45:36.202Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T06:45:36.212Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-410-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T06:45:36.234Z] $ docker stop --time=1 679468474c5209a333809d2ba64e1d8a85fb622de1dac14e32078cce86e07747 [2022-08-12T06:45:37.748Z] $ docker rm -f 679468474c5209a333809d2ba64e1d8a85fb622de1dac14e32078cce86e07747 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-12T06:45:38.167Z] provisioning config files... [2022-08-12T06:45:38.175Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp/config3549410229482266960tmp [Pipeline] { [Pipeline] sh [2022-08-12T06:45:38.467Z] + set +x [2022-08-12T06:45:38.467Z] + curl -s https://codecov.io/bash [2022-08-12T06:45:38.467Z] + bash -s -- [2022-08-12T06:45:38.467Z] [2022-08-12T06:45:38.467Z] _____ _ [2022-08-12T06:45:38.467Z] / ____| | | [2022-08-12T06:45:38.467Z] | | ___ __| | ___ ___ _____ __ [2022-08-12T06:45:38.467Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-12T06:45:38.467Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-12T06:45:38.467Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-12T06:45:38.467Z] Bash-1.0.6 [2022-08-12T06:45:38.467Z] [2022-08-12T06:45:38.467Z] [2022-08-12T06:45:38.467Z] ==> git version 2.25.1 found [2022-08-12T06:45:38.467Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-12T06:45:38.467Z] Release-Date: 2020-01-08 [2022-08-12T06:45:38.467Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-12T06:45:38.467Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-12T06:45:38.467Z] ==> Jenkins CI detected. [2022-08-12T06:45:38.467Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-410 [2022-08-12T06:45:38.467Z] project root: . [2022-08-12T06:45:38.467Z] --> token set from env [2022-08-12T06:45:38.467Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-12T06:45:38.467Z] ==> Running gcov in . (disable via -X gcov) [2022-08-12T06:45:38.467Z] ==> Python coveragepy not found [2022-08-12T06:45:38.467Z] ==> Searching for coverage reports in: [2022-08-12T06:45:38.467Z] + . [2022-08-12T06:45:38.467Z] -> Found 1 reports [2022-08-12T06:45:38.467Z] ==> Detecting git/mercurial file structure [2022-08-12T06:45:38.467Z] ==> Reading reports [2022-08-12T06:45:38.467Z] + ./coverage.out bytes=17887 [2022-08-12T06:45:38.467Z] ==> Appending adjustments [2022-08-12T06:45:38.467Z] https://docs.codecov.io/docs/fixing-reports [2022-08-12T06:45:38.727Z] + Found adjustments [2022-08-12T06:45:38.727Z] ==> Gzipping contents [2022-08-12T06:45:38.727Z] 4.0K /tmp/codecov.fFc4tn.gz [2022-08-12T06:45:38.727Z] ==> Uploading reports [2022-08-12T06:45:38.727Z] url: https://codecov.io [2022-08-12T06:45:38.727Z] query: branch=PR-410&commit=258d230fdc5e7d28f5a32b9efc186f99d14bb385&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-410%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=410&job=&cmd_args= [2022-08-12T06:45:38.727Z] -> Pinging Codecov [2022-08-12T06:45:38.727Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-410&commit=258d230fdc5e7d28f5a32b9efc186f99d14bb385&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-410%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=410&job=&cmd_args= [2022-08-12T06:45:38.989Z] -> Uploading to [2022-08-12T06:45:38.989Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-12/7D719EC7BBE17E464838252E33014C33/258d230fdc5e7d28f5a32b9efc186f99d14bb385/0490c374-2b61-4f9c-9922-2e9ebba16ad3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T064538Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b80134249642badf6ea67ff64716e51f33d6ee8097cb8186e81379c95beeb101 [2022-08-12T06:45:38.989Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T06:45:38.989Z] Dload Upload Total Spent Left Speed [2022-08-12T06:45:39.251Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3217 0 0 100 3217 0 13631 --:--:-- --:--:-- --:--:-- 13631 [2022-08-12T06:45:39.251Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/258d230fdc5e7d28f5a32b9efc186f99d14bb385 [Pipeline] } [2022-08-12T06:45:39.262Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-12T06:45:39.927Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-410/archives ] [2022-08-12T06:45:39.927Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-410/archives [2022-08-12T06:45:39.927Z] total 16 [2022-08-12T06:45:39.927Z] drwxr-xr-x 3 root root 4096 Aug 12 06:36 . [2022-08-12T06:45:39.927Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 06:36 .. [2022-08-12T06:45:39.927Z] drwxr-xr-x 2 root root 4096 Aug 12 06:36 cost [2022-08-12T06:45:39.927Z] -rw-r--r-- 1 root root 86 Aug 12 06:36 cost.csv [2022-08-12T06:45:39.927Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-410/archives [2022-08-12T06:45:39.927Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-410/archives [2022-08-12T06:45:39.927Z] total 16 [2022-08-12T06:45:39.927Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 06:36 . [2022-08-12T06:45:39.927Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 06:36 .. [2022-08-12T06:45:39.927Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 06:36 cost [2022-08-12T06:45:39.927Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 12 06:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:45:40.224Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:45:41.087Z] ---> package-listing.sh [2022-08-12T06:45:41.087Z] ++ facter osfamily [2022-08-12T06:45:41.087Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-12T06:45:41.349Z] + OS_FAMILY=debian [2022-08-12T06:45:41.349Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-410 [2022-08-12T06:45:41.349Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-12T06:45:41.349Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-12T06:45:41.349Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-12T06:45:41.349Z] + PACKAGES=/tmp/packages_start.txt [2022-08-12T06:45:41.349Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-410 ']' [2022-08-12T06:45:41.349Z] + PACKAGES=/tmp/packages_end.txt [2022-08-12T06:45:41.349Z] + case "${OS_FAMILY}" in [2022-08-12T06:45:41.349Z] + dpkg -l [2022-08-12T06:45:41.349Z] + grep '^ii' [2022-08-12T06:45:41.349Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-12T06:45:41.349Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-12T06:45:41.349Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-12T06:45:41.349Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-410 ']' [2022-08-12T06:45:41.349Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-410/archives/ [2022-08-12T06:45:41.349Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-410/archives/ [Pipeline] echo [2022-08-12T06:45:41.363Z] 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-410/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-12T06:45:41.644Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:45:42.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:45:42.216Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:45:42.300Z] prd-ubuntu20.04-docker-8c-8g-22585 does not seem to be running inside a container [2022-08-12T06:45:42.344Z] $ 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-410/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-410 -v /w/workspace/gexfoundry_device-mqtt-go_PR-410:/w/workspace/gexfoundry_device-mqtt-go_PR-410:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T06:45:42.559Z] $ docker top f3c49f47d35c27bdede0b6646c5fa1ca983ea1a02ffd0870a411a4d9120435c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:45:42.911Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-12T06:45:43.203Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-12T06:45:43.494Z] + ls /var/log/sa-host [2022-08-12T06:45:43.494Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T06:45:43.574Z] provisioning config files... [2022-08-12T06:45:43.588Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-410@tmp/config4183802736498951157tmp [Pipeline] { [Pipeline] echo [2022-08-12T06:45:43.604Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:45:43.889Z] ---> create-netrc.sh [Pipeline] } [2022-08-12T06:45:43.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:45:44.231Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-12T06:45:44.240Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:45:44.524Z] ---> sudo-logs.sh [2022-08-12T06:45:44.524Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-12T06:45:44.545Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:45:44.834Z] ---> job-cost.sh [2022-08-12T06:45:44.834Z] lf-activate-venv: SKIPPING [2022-08-12T06:45:44.834Z] DEBUG: total: 0.2199999988079071 [2022-08-12T06:45:44.834Z] INFO: Retrieving Stack Cost... [2022-08-12T06:45:45.095Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T06:45:45.666Z] INFO: Archiving Costs [Pipeline] echo [2022-08-12T06:45:45.678Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:45:45.964Z] ---> logs-deploy.sh [2022-08-12T06:45:45.964Z] lf-activate-venv: SKIPPING [2022-08-12T06:45:45.964Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-410/2 [2022-08-12T06:45:45.964Z] INFO: archiving workspace using pattern(s): [2022-08-12T06:45:46.906Z] Archives upload complete. [2022-08-12T06:45:47.167Z] INFO: archiving logs to Nexus