Pull request #563 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jim-wang-intel for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 rather than b3975dfce9e36d407c8f395f34e3e031e1e74ed6 Obtained Jenkinsfile from 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 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-ssh183147781883188025.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh3482747627996055343.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-563/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-563/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5052189227324480978.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-563/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4509269966862123119.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6829369405586383683.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-563/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-563/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12873101969437669516.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 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-8750’ Running on prd-ubuntu20.04-docker-8c-8g-8752 in /w/workspace/gexfoundry_device-mqtt-go_PR-563 [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-563 # 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 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 into PR head commit b3975dfce9e36d407c8f395f34e3e031e1e74ed6 > 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/563/head:refs/remotes/origin/PR-563 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing b3975dfce9e36d407c8f395f34e3e031e1e74ed6 Checking out Revision b3975dfce9e36d407c8f395f34e3e031e1e74ed6 (PR-563) > git checkout -f b3975dfce9e36d407c8f395f34e3e031e1e74ed6 # 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 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b3975dfce9e36d407c8f395f34e3e031e1e74ed6 # timeout=10 Commit message: "fix: Add ProfilesDir & DevicesDir to local config This is so that the values can be overriden with Envs" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T18:01:35.424Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T18:01:35.598Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T18:01:35.792Z] ========================================================= [2023-04-17T18:01:35.792Z] EdgeX Global Pipelines Version Info [2023-04-17T18:01:35.792Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:01:36.534Z] ------------------- [2023-04-17T18:01:36.534Z] stable info: [2023-04-17T18:01:36.534Z] ------------------- [2023-04-17T18:01:36.534Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T18:01:36.534Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T18:01:36.534Z] Message: update stable to v1.0.248 [2023-04-17T18:01:37.103Z] ------------------- [2023-04-17T18:01:37.103Z] experimental info: [2023-04-17T18:01:37.103Z] ------------------- [2023-04-17T18:01:37.103Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T18:01:37.103Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T18:01:37.103Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T18:01:37.374Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-04-17T18:01:37.418Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-04-17T18:01:37.459Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T18:01:37.500Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T18:01:37.540Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T18:01:37.576Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T18:01:37.619Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T18:01:37.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T18:01:37.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T18:01:37.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T18:01:37.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T18:01:37.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-04-17T18:01:37.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T18:01:37.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T18:01:37.939Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T18:01:37.974Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T18:01:38.011Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T18:01:38.051Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T18:01:38.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T18:01:38.124Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T18:01:38.165Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-17T18:01:38.211Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-17T18:01:38.252Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T18:01:38.300Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T18:01:38.341Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T18:01:38.381Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T18:01:38.421Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T18:01:38.464Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-563 [Pipeline] echo [2023-04-17T18:01:38.503Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-563 [Pipeline] echo [2023-04-17T18:01:38.546Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-563 [Pipeline] echo [2023-04-17T18:01:38.588Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b3975dfce9e36d407c8f395f34e3e031e1e74ed6 [Pipeline] echo [2023-04-17T18:01:38.627Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b3975df [Pipeline] echo [2023-04-17T18:01:38.672Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:01:38.793Z] provisioning config files... [2023-04-17T18:01:38.809Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/config1337265870249274971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:01:39.274Z] ---> docker-login.sh [2023-04-17T18:01:39.274Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:01:39.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:01:39.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:01:39.534Z] Configure a credential helper to remove this warning. See [2023-04-17T18:01:39.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:01:39.534Z] [2023-04-17T18:01:39.534Z] Login Succeeded [2023-04-17T18:01:39.534Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:01:39.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:01:39.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:01:39.795Z] Configure a credential helper to remove this warning. See [2023-04-17T18:01:39.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:01:39.795Z] [2023-04-17T18:01:39.795Z] Login Succeeded [2023-04-17T18:01:39.795Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:01:39.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:01:39.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:01:39.795Z] Configure a credential helper to remove this warning. See [2023-04-17T18:01:39.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:01:39.795Z] [2023-04-17T18:01:39.795Z] Login Succeeded [2023-04-17T18:01:39.795Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:01:39.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:01:40.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:01:40.055Z] Configure a credential helper to remove this warning. See [2023-04-17T18:01:40.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:01:40.055Z] [2023-04-17T18:01:40.055Z] Login Succeeded [2023-04-17T18:01:40.055Z] docker.io [2023-04-17T18:01:40.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:01:40.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:01:40.319Z] Configure a credential helper to remove this warning. See [2023-04-17T18:01:40.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:01:40.319Z] [2023-04-17T18:01:40.319Z] Login Succeeded [2023-04-17T18:01:40.319Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:01:40.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T18:01:41.021Z] + git rev-list -1 --merges b3975dfce9e36d407c8f395f34e3e031e1e74ed6~1..b3975dfce9e36d407c8f395f34e3e031e1e74ed6 [Pipeline] echo [2023-04-17T18:01:41.128Z] -----------> git rev-list -1 --merges b3975dfce9e36d407c8f395f34e3e031e1e74ed6~1..b3975dfce9e36d407c8f395f34e3e031e1e74ed6 b3975dfce9e36d407c8f395f34e3e031e1e74ed6 [false] [Pipeline] sh [2023-04-17T18:01:41.437Z] + git log --format=format:%s -1 b3975dfce9e36d407c8f395f34e3e031e1e74ed6 [Pipeline] echo [2023-04-17T18:01:41.492Z] ========================================================= [2023-04-17T18:01:41.492Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T18:01:41.492Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T18:01:41.937Z] + git log --format=format:%s -1 b3975dfce9e36d407c8f395f34e3e031e1e74ed6 [Pipeline] echo [2023-04-17T18:01:41.972Z] [semverPrep] GIT_COMMIT: b3975dfce9e36d407c8f395f34e3e031e1e74ed6, Commit Message: fix: Add ProfilesDir & DevicesDir to local config This is so that the values can be overriden with Envs [Pipeline] echo [2023-04-17T18:01:42.007Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T18:01:42.382Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T18:01:42.382Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T18:01:42.382Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T18:01:42.382Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T18:01:42.382Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-17T18:01:42.382Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T18:01:42.382Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:01:42.815Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:01:42.815Z] [2023-04-17T18:01:42.815Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:01:43.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:01:43.190Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T18:01:43.190Z] b85a868b505f: Pulling fs layer [2023-04-17T18:01:43.190Z] e2be974225ed: Pulling fs layer [2023-04-17T18:01:43.190Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T18:01:43.190Z] 988bab9f4d93: Pulling fs layer [2023-04-17T18:01:43.190Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T18:01:43.190Z] eaf3925da568: Pulling fs layer [2023-04-17T18:01:43.190Z] bab4dde63d76: Pulling fs layer [2023-04-17T18:01:43.190Z] bde34c3a00c8: Pulling fs layer [2023-04-17T18:01:43.190Z] b352a97aabf1: Pulling fs layer [2023-04-17T18:01:43.190Z] 4872d77fe225: Pulling fs layer [2023-04-17T18:01:43.190Z] 5851b861e8e6: Pulling fs layer [2023-04-17T18:01:43.190Z] 4872d77fe225: Waiting [2023-04-17T18:01:43.190Z] b352a97aabf1: Waiting [2023-04-17T18:01:43.190Z] bde34c3a00c8: Waiting [2023-04-17T18:01:43.190Z] 1469e6f7b9e6: Waiting [2023-04-17T18:01:43.190Z] bab4dde63d76: Waiting [2023-04-17T18:01:43.190Z] eaf3925da568: Waiting [2023-04-17T18:01:43.190Z] 5851b861e8e6: Waiting [2023-04-17T18:01:43.190Z] 988bab9f4d93: Waiting [2023-04-17T18:01:43.190Z] e2be974225ed: Download complete [2023-04-17T18:01:43.190Z] 988bab9f4d93: Verifying Checksum [2023-04-17T18:01:43.190Z] 988bab9f4d93: Download complete [2023-04-17T18:01:43.190Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T18:01:43.190Z] 1469e6f7b9e6: Download complete [2023-04-17T18:01:43.190Z] eaf3925da568: Verifying Checksum [2023-04-17T18:01:43.190Z] eaf3925da568: Download complete [2023-04-17T18:01:43.449Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T18:01:43.449Z] 339a4e72a1f5: Download complete [2023-04-17T18:01:43.449Z] bde34c3a00c8: Download complete [2023-04-17T18:01:43.449Z] 4872d77fe225: Download complete [2023-04-17T18:01:43.449Z] 5851b861e8e6: Verifying Checksum [2023-04-17T18:01:43.449Z] 5851b861e8e6: Download complete [2023-04-17T18:01:43.449Z] b85a868b505f: Verifying Checksum [2023-04-17T18:01:43.449Z] b85a868b505f: Download complete [2023-04-17T18:01:43.707Z] bab4dde63d76: Verifying Checksum [2023-04-17T18:01:43.707Z] bab4dde63d76: Download complete [2023-04-17T18:01:44.650Z] b85a868b505f: Pull complete [2023-04-17T18:01:44.908Z] e2be974225ed: Pull complete [2023-04-17T18:01:45.167Z] 339a4e72a1f5: Pull complete [2023-04-17T18:01:45.429Z] 988bab9f4d93: Pull complete [2023-04-17T18:01:45.687Z] 1469e6f7b9e6: Pull complete [2023-04-17T18:01:45.687Z] eaf3925da568: Pull complete [2023-04-17T18:01:47.586Z] bab4dde63d76: Pull complete [2023-04-17T18:01:47.586Z] bde34c3a00c8: Pull complete [2023-04-17T18:01:47.586Z] b352a97aabf1: Pull complete [2023-04-17T18:01:47.586Z] 4872d77fe225: Pull complete [2023-04-17T18:01:47.846Z] 5851b861e8e6: Pull complete [2023-04-17T18:01:47.846Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T18:01:47.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:01:47.846Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:01:48.079Z] prd-ubuntu20.04-docker-8c-8g-8752 does not seem to be running inside a container [2023-04-17T18:01:48.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-563 -v /w/workspace/gexfoundry_device-mqtt-go_PR-563:/w/workspace/gexfoundry_device-mqtt-go_PR-563:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T18:01:49.266Z] $ docker top 6f7155b07530b5405cf563c0ad69ca36d46e217fb37ce1725bc3eaaae3227f4e -eo pid,comm [2023-04-17T18:01:49.321Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-17T18:01:49.322Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T18:01:49.470Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T18:01:49.470Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T18:01:49.588Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T18:01:49.585Z] $ docker exec 6f7155b07530b5405cf563c0ad69ca36d46e217fb37ce1725bc3eaaae3227f4e ssh-agent [2023-04-17T18:01:49.711Z] SSH_AUTH_SOCK=/tmp/ssh-lSfUq515IW6W/agent.32 [2023-04-17T18:01:49.711Z] SSH_AGENT_PID=39 [2023-04-17T18:01:49.717Z] Running ssh-add (command line suppressed) [2023-04-17T18:01:49.819Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/private_key_3226959051226013239.key (/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/private_key_3226959051226013239.key) [2023-04-17T18:01:49.836Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T18:01:50.158Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T18:01:50.179Z] $ docker exec --env ******** --env ******** 6f7155b07530b5405cf563c0ad69ca36d46e217fb37ce1725bc3eaaae3227f4e ssh-agent -k [2023-04-17T18:01:50.277Z] unset SSH_AUTH_SOCK; [2023-04-17T18:01:50.277Z] unset SSH_AGENT_PID; [2023-04-17T18:01:50.278Z] echo Agent pid 39 killed; [2023-04-17T18:01:50.293Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T18:01:50.384Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T18:01:50.384Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T18:01:50.501Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T18:01:50.499Z] $ docker exec 6f7155b07530b5405cf563c0ad69ca36d46e217fb37ce1725bc3eaaae3227f4e ssh-agent [2023-04-17T18:01:50.610Z] SSH_AUTH_SOCK=/tmp/ssh-GpIj0XXBnnYJ/agent.71 [2023-04-17T18:01:50.610Z] SSH_AGENT_PID=77 [2023-04-17T18:01:50.615Z] Running ssh-add (command line suppressed) [2023-04-17T18:01:50.704Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/private_key_5222489441413701907.key (/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/private_key_5222489441413701907.key) [2023-04-17T18:01:50.722Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T18:01:51.052Z] + git semver init [2023-04-17T18:01:51.312Z] 2023-04-17 18:01:51,221 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T18:01:51.312Z] 2023-04-17 18:01:51,221 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver [2023-04-17T18:01:51.312Z] 2023-04-17 18:01:51,222 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver [2023-04-17T18:01:51.312Z] 2023-04-17 18:01:51,222 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-563, universal_newlines=False, shell=None, istream=None) [2023-04-17T18:01:52.250Z] 2023-04-17 18:01:51,963 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-563/.git/info/exclude [2023-04-17T18:01:52.250Z] 2023-04-17 18:01:51,963 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver/PR-563 with force:False [2023-04-17T18:01:52.250Z] 2023-04-17 18:01:51,963 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver/PR-563 [2023-04-17T18:01:52.250Z] 2023-04-17 18:01:51,968 [execute] INFO git cat-file --batch-check [2023-04-17T18:01:52.250Z] 2023-04-17 18:01:51,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T18:01:52.250Z] 2023-04-17 18:01:51,975 [execute] INFO git cat-file --batch [2023-04-17T18:01:52.250Z] 2023-04-17 18:01:51,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T18:01:52.250Z] 2023-04-17 18:01:51,981 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver/PR-563 [2023-04-17T18:01:52.250Z] 0.0.0 [Pipeline] } [2023-04-17T18:01:52.275Z] $ docker exec --env ******** --env ******** 6f7155b07530b5405cf563c0ad69ca36d46e217fb37ce1725bc3eaaae3227f4e ssh-agent -k [2023-04-17T18:01:52.380Z] unset SSH_AUTH_SOCK; [2023-04-17T18:01:52.381Z] unset SSH_AGENT_PID; [2023-04-17T18:01:52.381Z] echo Agent pid 77 killed; [2023-04-17T18:01:52.396Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T18:01:52.829Z] + git semver [Pipeline] } [2023-04-17T18:01:53.108Z] $ docker stop --time=1 6f7155b07530b5405cf563c0ad69ca36d46e217fb37ce1725bc3eaaae3227f4e [2023-04-17T18:01:54.362Z] $ docker rm -f --volumes 6f7155b07530b5405cf563c0ad69ca36d46e217fb37ce1725bc3eaaae3227f4e [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T18:01:54.771Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T18:01:55.038Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T18:01:55.058Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:01:55.712Z] provisioning config files... [2023-04-17T18:01:55.723Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/config7958024113302356217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:01:56.077Z] ---> docker-login.sh [2023-04-17T18:01:56.077Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:01:56.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:01:56.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:01:56.077Z] Configure a credential helper to remove this warning. See [2023-04-17T18:01:56.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:01:56.077Z] [2023-04-17T18:01:56.077Z] Login Succeeded [2023-04-17T18:01:56.077Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:01:56.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:01:56.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:01:56.077Z] Configure a credential helper to remove this warning. See [2023-04-17T18:01:56.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:01:56.077Z] [2023-04-17T18:01:56.077Z] Login Succeeded [2023-04-17T18:01:56.077Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:01:56.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:01:56.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:01:56.336Z] Configure a credential helper to remove this warning. See [2023-04-17T18:01:56.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:01:56.336Z] [2023-04-17T18:01:56.336Z] Login Succeeded [2023-04-17T18:01:56.336Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:01:56.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:01:56.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:01:56.336Z] Configure a credential helper to remove this warning. See [2023-04-17T18:01:56.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:01:56.336Z] [2023-04-17T18:01:56.336Z] Login Succeeded [2023-04-17T18:01:56.336Z] docker.io [2023-04-17T18:01:56.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:01:56.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:01:56.601Z] Configure a credential helper to remove this warning. See [2023-04-17T18:01:56.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:01:56.601Z] [2023-04-17T18:01:56.601Z] Login Succeeded [2023-04-17T18:01:56.601Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:01:56.630Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T18:01:56.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:01:56.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:01:56.922Z] ========================================================= [2023-04-17T18:01:56.922Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T18:01:56.922Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:01:57.397Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T18:01:57.398Z] Sending build context to Docker daemon 6.431MB [2023-04-17T18:01:57.398Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:01:57.398Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T18:01:57.398Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T18:01:57.398Z] 63b65145d645: Pulling fs layer [2023-04-17T18:01:57.398Z] a2d21d5440eb: Pulling fs layer [2023-04-17T18:01:57.398Z] 935e6c44a52c: Pulling fs layer [2023-04-17T18:01:57.398Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T18:01:57.398Z] 30dea6a524f1: Pulling fs layer [2023-04-17T18:01:57.398Z] a2aff8979fd8: Pulling fs layer [2023-04-17T18:01:57.398Z] 6808be2612f2: Pulling fs layer [2023-04-17T18:01:57.398Z] f25807f1079a: Pulling fs layer [2023-04-17T18:01:57.398Z] 94cc34f8dd06: Waiting [2023-04-17T18:01:57.398Z] 6808be2612f2: Waiting [2023-04-17T18:01:57.398Z] 30dea6a524f1: Waiting [2023-04-17T18:01:57.398Z] f25807f1079a: Waiting [2023-04-17T18:01:57.398Z] a2aff8979fd8: Waiting [2023-04-17T18:01:57.398Z] a2d21d5440eb: Download complete [2023-04-17T18:01:57.398Z] 94cc34f8dd06: Download complete [2023-04-17T18:01:57.398Z] 30dea6a524f1: Verifying Checksum [2023-04-17T18:01:57.398Z] 30dea6a524f1: Download complete [2023-04-17T18:01:57.657Z] 63b65145d645: Verifying Checksum [2023-04-17T18:01:57.657Z] 63b65145d645: Download complete [2023-04-17T18:01:57.657Z] a2aff8979fd8: Verifying Checksum [2023-04-17T18:01:57.657Z] a2aff8979fd8: Download complete [2023-04-17T18:01:57.657Z] 63b65145d645: Pull complete [2023-04-17T18:01:57.917Z] a2d21d5440eb: Pull complete [2023-04-17T18:01:57.917Z] f25807f1079a: Verifying Checksum [2023-04-17T18:01:57.917Z] f25807f1079a: Download complete [2023-04-17T18:01:58.175Z] 935e6c44a52c: Verifying Checksum [2023-04-17T18:01:58.175Z] 935e6c44a52c: Download complete [2023-04-17T18:01:58.175Z] 6808be2612f2: Verifying Checksum [2023-04-17T18:01:58.175Z] 6808be2612f2: Download complete [2023-04-17T18:02:01.459Z] 935e6c44a52c: Pull complete [2023-04-17T18:02:01.459Z] 94cc34f8dd06: Pull complete [2023-04-17T18:02:01.721Z] 30dea6a524f1: Pull complete [2023-04-17T18:02:01.721Z] a2aff8979fd8: Pull complete [2023-04-17T18:02:04.248Z] 6808be2612f2: Pull complete [2023-04-17T18:02:04.813Z] f25807f1079a: Pull complete [2023-04-17T18:02:04.813Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T18:02:04.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T18:02:04.813Z] ---> 3b553350e43f [2023-04-17T18:02:04.813Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:02:06.189Z] ---> Running in ec14691cb791 [2023-04-17T18:02:06.189Z] Removing intermediate container ec14691cb791 [2023-04-17T18:02:06.189Z] ---> ecb81e263284 [2023-04-17T18:02:06.189Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:02:06.448Z] ---> Running in 2af8f6eac2b8 [2023-04-17T18:02:06.448Z] Removing intermediate container 2af8f6eac2b8 [2023-04-17T18:02:06.448Z] ---> 209be38050b5 [2023-04-17T18:02:06.448Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T18:02:06.448Z] ---> Running in 6e4097a8a5b9 [2023-04-17T18:02:06.448Z] Removing intermediate container 6e4097a8a5b9 [2023-04-17T18:02:06.448Z] ---> 613722ffa138 [2023-04-17T18:02:06.448Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:02:06.706Z] ---> Running in 25dad9146b45 [2023-04-17T18:02:06.706Z] Removing intermediate container 25dad9146b45 [2023-04-17T18:02:06.706Z] ---> fae1c3a3f8a3 [2023-04-17T18:02:06.706Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:02:06.706Z] ---> Running in f1f56dce1de2 [2023-04-17T18:02:06.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T18:02:06.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T18:02:07.224Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T18:02:07.224Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T18:02:07.224Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T18:02:07.224Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T18:02:07.224Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T18:02:07.224Z] OK: 269 MiB in 57 packages [2023-04-17T18:02:07.792Z] Removing intermediate container f1f56dce1de2 [2023-04-17T18:02:07.792Z] ---> e37ac9646105 [2023-04-17T18:02:07.792Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-17T18:02:07.792Z] ---> Running in 27d1029a9cc5 [2023-04-17T18:02:07.792Z] Removing intermediate container 27d1029a9cc5 [2023-04-17T18:02:07.792Z] ---> bd9ce36b83df [2023-04-17T18:02:07.792Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T18:02:07.792Z] ---> c56ca14b2ba9 [2023-04-17T18:02:07.792Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:02:07.792Z] ---> Running in 4633da51a461 [2023-04-17T18:02:10.515Z] Still waiting to schedule task [2023-04-17T18:02:10.516Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8751’ is offline [2023-04-17T18:02:34.336Z] Removing intermediate container 4633da51a461 [2023-04-17T18:02:34.336Z] ---> 680001d9eacf [2023-04-17T18:02:34.336Z] Step 11/12 : COPY . . [2023-04-17T18:02:34.336Z] ---> 9091d8d6d02b [2023-04-17T18:02:34.336Z] Step 12/12 : RUN $MAKE [2023-04-17T18:02:34.336Z] ---> Running in 3665863fd4b4 [2023-04-17T18:02:34.336Z] noop [2023-04-17T18:02:34.336Z] Removing intermediate container 3665863fd4b4 [2023-04-17T18:02:34.336Z] ---> addb039265f3 [2023-04-17T18:02:34.336Z] Successfully built addb039265f3 [2023-04-17T18:02:34.336Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:02:34.763Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T18:02:34.764Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:02:34.906Z] prd-ubuntu20.04-docker-8c-8g-8752 does not seem to be running inside a container [2023-04-17T18:02:34.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-563 -v /w/workspace/gexfoundry_device-mqtt-go_PR-563:/w/workspace/gexfoundry_device-mqtt-go_PR-563:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-563@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 ******** ci-base-image-x86_64 cat [2023-04-17T18:02:35.316Z] $ docker top ffe40e69ab0142781b31c80b280a4dd1a38579148640379c1c0766b6954001d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:02:35.721Z] + go version [2023-04-17T18:02:35.721Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T18:02:35.749Z] $ docker stop --time=1 ffe40e69ab0142781b31c80b280a4dd1a38579148640379c1c0766b6954001d5 [2023-04-17T18:02:37.054Z] $ docker rm -f --volumes ffe40e69ab0142781b31c80b280a4dd1a38579148640379c1c0766b6954001d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:02:37.776Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T18:02:37.776Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:02:37.925Z] prd-ubuntu20.04-docker-8c-8g-8752 does not seem to be running inside a container [2023-04-17T18:02:37.945Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-563 -v /w/workspace/gexfoundry_device-mqtt-go_PR-563:/w/workspace/gexfoundry_device-mqtt-go_PR-563:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-563@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 ******** ci-base-image-x86_64 cat [2023-04-17T18:02:38.259Z] $ docker top d4ad18819741fb63fa9b636f2ba74668f4b980ef739809e6543400d0b356f321 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:02:38.656Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-563 [Pipeline] fileExists [Pipeline] sh [2023-04-17T18:02:39.164Z] + make test [2023-04-17T18:02:39.164Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T18:02:44.424Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-17T18:02:54.383Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-17T18:02:54.383Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-17T18:02:54.383Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.0% of statements [2023-04-17T18:03:02.487Z] go vet ./... [2023-04-17T18:03:05.014Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T18:03:05.015Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T18:03:05.015Z] ./bin/test-attribution-txt.sh [2023-04-17T18:03:05.015Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T18:03:05.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T18:03:05.084Z] $ docker stop --time=1 d4ad18819741fb63fa9b636f2ba74668f4b980ef739809e6543400d0b356f321 [2023-04-17T18:03:06.946Z] $ docker rm -f --volumes d4ad18819741fb63fa9b636f2ba74668f4b980ef739809e6543400d0b356f321 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T18:03:07.481Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T18:03:07.553Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-17T18:03:08.340Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T18:03:08.656Z] + ls -al . [2023-04-17T18:03:08.656Z] total 180 [2023-04-17T18:03:08.656Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 18:02 . [2023-04-17T18:03:08.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:01 .. [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 18:01 .dockerignore [2023-04-17T18:03:08.656Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:01 .git [2023-04-17T18:03:08.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:01 .github [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 17 18:01 .gitignore [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 18:01 .golangci.yml [2023-04-17T18:03:08.656Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 18:01 .semver [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 9288 Apr 17 18:01 Attribution.txt [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 17 18:01 CHANGELOG.md [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 17 18:01 Dockerfile [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 18:01 GOVERNANCE.md [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 17 18:01 Jenkinsfile [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 18:01 LICENSE [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 17 18:01 Makefile [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 18:01 OWNERS.md [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 17 18:01 README.md [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 18:01 VERSION [2023-04-17T18:03:08.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:01 bin [2023-04-17T18:03:08.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:01 cmd [2023-04-17T18:03:08.656Z] -rw-r--r-- 1 jenkins jenkins 18376 Apr 17 18:02 coverage.out [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 17 18:01 go.mod [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 17 18:01 go.sum [2023-04-17T18:03:08.656Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:01 internal [2023-04-17T18:03:08.656Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:01 mock [2023-04-17T18:03:08.656Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:01 snap [2023-04-17T18:03:08.656Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 17 18:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:03:09.059Z] + 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=b3975dfce9e36d407c8f395f34e3e031e1e74ed6 --label arch=amd64 --label version=0.0.0 . [2023-04-17T18:03:09.059Z] Sending build context to Docker daemon 6.45MB [2023-04-17T18:03:09.059Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:03:09.059Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-17T18:03:09.059Z] ---> addb039265f3 [2023-04-17T18:03:09.059Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:03:09.059Z] ---> Running in 3568c2262068 [2023-04-17T18:03:09.059Z] Removing intermediate container 3568c2262068 [2023-04-17T18:03:09.059Z] ---> 0d9239044ea3 [2023-04-17T18:03:09.059Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:03:09.319Z] ---> Running in c671aac42f17 [2023-04-17T18:03:09.319Z] Removing intermediate container c671aac42f17 [2023-04-17T18:03:09.319Z] ---> d0fe14da26f9 [2023-04-17T18:03:09.319Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T18:03:09.319Z] ---> Running in c4f6dea837cb [2023-04-17T18:03:09.319Z] Removing intermediate container c4f6dea837cb [2023-04-17T18:03:09.319Z] ---> 6fa24dffdb2e [2023-04-17T18:03:09.319Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:03:09.319Z] ---> Running in f80e547b4c45 [2023-04-17T18:03:09.580Z] Removing intermediate container f80e547b4c45 [2023-04-17T18:03:09.580Z] ---> d539c98fc85c [2023-04-17T18:03:09.580Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:03:09.580Z] ---> Running in 8ee54cd9bbd9 [2023-04-17T18:03:09.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T18:03:10.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T18:03:10.362Z] OK: 269 MiB in 57 packages [2023-04-17T18:03:10.623Z] Removing intermediate container 8ee54cd9bbd9 [2023-04-17T18:03:10.623Z] ---> b4592bc2548b [2023-04-17T18:03:10.623Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-17T18:03:10.623Z] ---> Running in 7af95869dabc [2023-04-17T18:03:10.883Z] Removing intermediate container 7af95869dabc [2023-04-17T18:03:10.883Z] ---> c3bd23c5bb62 [2023-04-17T18:03:10.883Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-17T18:03:10.883Z] ---> 51c69e4fa8a6 [2023-04-17T18:03:10.883Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:03:10.883Z] ---> Running in 77fe5d19d7b7 [2023-04-17T18:03:13.000Z] Removing intermediate container 77fe5d19d7b7 [2023-04-17T18:03:13.000Z] ---> fdb92892db3f [2023-04-17T18:03:13.000Z] Step 11/24 : COPY . . [2023-04-17T18:03:17.196Z] ---> c9e2eb55537e [2023-04-17T18:03:17.196Z] Step 12/24 : RUN $MAKE [2023-04-17T18:03:17.196Z] ---> Running in 23ca3d8a9615 [2023-04-17T18:03:17.196Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-04-17T18:03:35.490Z] Removing intermediate container 23ca3d8a9615 [2023-04-17T18:03:35.490Z] ---> 6db059abe2a0 [2023-04-17T18:03:35.490Z] Step 13/24 : FROM alpine:3.17 [2023-04-17T18:03:35.490Z] 3.17: Pulling from library/alpine [2023-04-17T18:03:35.490Z] f56be85fc22e: Pulling fs layer [2023-04-17T18:03:35.490Z] f56be85fc22e: Verifying Checksum [2023-04-17T18:03:35.490Z] f56be85fc22e: Download complete [2023-04-17T18:03:35.490Z] f56be85fc22e: Pull complete [2023-04-17T18:03:35.490Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T18:03:35.490Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T18:03:35.490Z] ---> 9ed4aefc74f6 [2023-04-17T18:03:35.490Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-17T18:03:35.490Z] ---> Running in e60d6dc2cada [2023-04-17T18:03:35.490Z] Removing intermediate container e60d6dc2cada [2023-04-17T18:03:35.490Z] ---> cbd54c194592 [2023-04-17T18:03:35.490Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-17T18:03:35.490Z] ---> Running in 9627ec7f41ae [2023-04-17T18:03:35.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T18:03:35.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T18:03:35.748Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T18:03:35.748Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T18:03:35.748Z] OK: 7 MiB in 16 packages [2023-04-17T18:03:36.007Z] Removing intermediate container 9627ec7f41ae [2023-04-17T18:03:36.007Z] ---> fdf8298a6440 [2023-04-17T18:03:36.007Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-17T18:03:36.572Z] ---> e2dc6e9ad40f [2023-04-17T18:03:36.572Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-17T18:03:36.572Z] ---> aef5a0524660 [2023-04-17T18:03:36.572Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-17T18:03:36.830Z] ---> d64b9ef2665e [2023-04-17T18:03:36.830Z] Step 19/24 : EXPOSE 59982 [2023-04-17T18:03:36.830Z] ---> Running in 404ffe50bc7d [2023-04-17T18:03:37.088Z] Removing intermediate container 404ffe50bc7d [2023-04-17T18:03:37.088Z] ---> 8e90f566361b [2023-04-17T18:03:37.088Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-17T18:03:37.088Z] ---> Running in b39c71e91a7c [2023-04-17T18:03:37.088Z] Removing intermediate container b39c71e91a7c [2023-04-17T18:03:37.088Z] ---> 36050b47a6c3 [2023-04-17T18:03:37.088Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-17T18:03:37.088Z] ---> Running in da51987298e2 [2023-04-17T18:03:37.346Z] Removing intermediate container da51987298e2 [2023-04-17T18:03:37.346Z] ---> 3be09274fdc1 [2023-04-17T18:03:37.346Z] Step 22/24 : LABEL arch=amd64 [2023-04-17T18:03:37.346Z] ---> Running in 6ef50d83bccc [2023-04-17T18:03:37.346Z] Removing intermediate container 6ef50d83bccc [2023-04-17T18:03:37.346Z] ---> f7b358813537 [2023-04-17T18:03:37.346Z] Step 23/24 : LABEL git_sha=b3975dfce9e36d407c8f395f34e3e031e1e74ed6 [2023-04-17T18:03:37.346Z] ---> Running in f83d8e417ab6 [2023-04-17T18:03:37.604Z] Removing intermediate container f83d8e417ab6 [2023-04-17T18:03:37.604Z] ---> 801c439b93e5 [2023-04-17T18:03:37.604Z] Step 24/24 : LABEL version=0.0.0 [2023-04-17T18:03:37.604Z] ---> Running in f646700ffddf [2023-04-17T18:03:37.863Z] Removing intermediate container f646700ffddf [2023-04-17T18:03:37.863Z] ---> b58fee4c1ec2 [2023-04-17T18:03:37.863Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T18:03:37.863Z] Successfully built b58fee4c1ec2 [2023-04-17T18:03:37.863Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:03:38.691Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:03:38.691Z] [2023-04-17T18:03:38.691Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:03:39.067Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:03:39.067Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T18:03:39.067Z] 5eb5b503b376: Pulling fs layer [2023-04-17T18:03:39.067Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T18:03:39.067Z] ec43610c2a17: Pulling fs layer [2023-04-17T18:03:39.067Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T18:03:39.067Z] 33b1e0a273af: Pulling fs layer [2023-04-17T18:03:39.067Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T18:03:39.067Z] 33b1e0a273af: Waiting [2023-04-17T18:03:39.067Z] 3a2ae6a8a46f: Waiting [2023-04-17T18:03:39.067Z] 2f39f015ded8: Pulling fs layer [2023-04-17T18:03:39.067Z] 2f39f015ded8: Waiting [2023-04-17T18:03:39.067Z] 5d3b04190fa2: Waiting [2023-04-17T18:03:39.067Z] 5c69ac0246d0: Verifying Checksum [2023-04-17T18:03:39.067Z] 5c69ac0246d0: Download complete [2023-04-17T18:03:39.067Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-17T18:03:39.067Z] 3a2ae6a8a46f: Download complete [2023-04-17T18:03:39.067Z] 33b1e0a273af: Verifying Checksum [2023-04-17T18:03:39.067Z] 33b1e0a273af: Download complete [2023-04-17T18:03:39.067Z] 5d3b04190fa2: Verifying Checksum [2023-04-17T18:03:39.067Z] 5d3b04190fa2: Download complete [2023-04-17T18:03:39.067Z] ec43610c2a17: Download complete [2023-04-17T18:03:39.326Z] 5eb5b503b376: Verifying Checksum [2023-04-17T18:03:39.326Z] 5eb5b503b376: Download complete [2023-04-17T18:03:39.892Z] 2f39f015ded8: Download complete [2023-04-17T18:03:40.458Z] 5eb5b503b376: Pull complete [2023-04-17T18:03:40.458Z] 5c69ac0246d0: Pull complete [2023-04-17T18:03:41.024Z] ec43610c2a17: Pull complete [2023-04-17T18:03:41.024Z] 3a2ae6a8a46f: Pull complete [2023-04-17T18:03:41.282Z] 33b1e0a273af: Pull complete [2023-04-17T18:03:41.282Z] 5d3b04190fa2: Pull complete [2023-04-17T18:03:45.559Z] 2f39f015ded8: Pull complete [2023-04-17T18:03:45.559Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T18:03:45.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:03:45.559Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:03:45.761Z] prd-ubuntu20.04-docker-8c-8g-8752 does not seem to be running inside a container [2023-04-17T18:03:45.788Z] $ 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-563 -v /w/workspace/gexfoundry_device-mqtt-go_PR-563:/w/workspace/gexfoundry_device-mqtt-go_PR-563:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T18:03:50.377Z] $ docker top 9a096592d63e3a45fd8d962cb465c1559712e1e9424559b306389b89ebf6e830 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:03:50.823Z] ---> job-cost.sh [2023-04-17T18:03:50.823Z] lf-activate-venv: SKIPPING [2023-04-17T18:03:50.823Z] INFO: No Stack... [2023-04-17T18:03:51.084Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T18:03:51.342Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T18:03:51.659Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives/cost.csv [2023-04-17T18:03:51.659Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T18:03:51.696Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-563-1-stack-cost] [2023-04-17T18:03:51.701Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-563-1-stack-cost] did not exist. Created. [2023-04-17T18:03:51.701Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-563-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T18:03:52.104Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T18:03:52.151Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T18:03:52.184Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-563-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T18:03:52.258Z] $ docker stop --time=1 9a096592d63e3a45fd8d962cb465c1559712e1e9424559b306389b89ebf6e830 [2023-04-17T18:03:53.399Z] $ docker rm -f --volumes 9a096592d63e3a45fd8d962cb465c1559712e1e9424559b306389b89ebf6e830 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T18:03:54.528Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8753 in /w/workspace/gexfoundry_device-mqtt-go_PR-563 [Pipeline] { [Pipeline] ws [2023-04-17T18:03:54.589Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-04-17T18:03:54.674Z] Selected Git installation does not exist. Using Default [2023-04-17T18:03:54.674Z] The recommended git tool is: NONE [2023-04-17T18:03:59.847Z] using credential edgex-jenkins-ssh [2023-04-17T18:03:59.864Z] Cloning the remote Git repository [2023-04-17T18:03:59.914Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-17T18:04:00.040Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-04-17T18:04:00.205Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-17T18:04:00.206Z] > git --version # timeout=10 [2023-04-17T18:04:00.231Z] > git --version # 'git version 2.25.1' [2023-04-17T18:04:00.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T18:04:00.434Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T18:04:01.625Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-17T18:04:01.648Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T18:04:03.228Z] Merging remotes/origin/main commit 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 into PR head commit b3975dfce9e36d407c8f395f34e3e031e1e74ed6 [2023-04-17T18:04:02.513Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-17T18:04:02.568Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-17T18:04:02.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T18:04:02.588Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-17T18:04:03.249Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T18:04:03.356Z] > git checkout -f b3975dfce9e36d407c8f395f34e3e031e1e74ed6 # timeout=10 [2023-04-17T18:04:03.443Z] > git remote # timeout=10 [2023-04-17T18:04:03.463Z] > git config --get remote.origin.url # timeout=10 [2023-04-17T18:04:03.487Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T18:04:03.502Z] > git merge 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 # timeout=10 [2023-04-17T18:04:03.527Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-17T18:04:03.552Z] Merge succeeded, producing b3975dfce9e36d407c8f395f34e3e031e1e74ed6 [2023-04-17T18:04:03.553Z] Checking out Revision b3975dfce9e36d407c8f395f34e3e031e1e74ed6 (PR-563) [2023-04-17T18:04:03.561Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T18:04:03.577Z] > git checkout -f b3975dfce9e36d407c8f395f34e3e031e1e74ed6 # timeout=10 [2023-04-17T18:04:07.097Z] Commit message: "fix: Add ProfilesDir & DevicesDir to local config This is so that the values can be overriden with Envs" [2023-04-17T18:04:07.157Z] > git --version # timeout=10 [2023-04-17T18:04:07.169Z] > git --version # 'git version 2.25.1' [2023-04-17T18:04:07.184Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T18:04:08.645Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T18:04:08.645Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T18:04:08.645Z] Dload Upload Total Spent Left Speed [2023-04-17T18:04:08.645Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-04-17T18:04:09.427Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T18:04:09.787Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-17T18:04:09.787Z] + sudo tee /etc/docker/daemon.new [2023-04-17T18:04:09.787Z] { [2023-04-17T18:04:09.787Z] "registry-mirrors": [ [2023-04-17T18:04:09.787Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T18:04:09.787Z] ], [2023-04-17T18:04:09.787Z] "bip": "10.250.0.254/24", [2023-04-17T18:04:09.787Z] "hosts": [ [2023-04-17T18:04:09.787Z] "tcp://0.0.0.0:5555", [2023-04-17T18:04:09.787Z] "unix:///var/run/docker.sock" [2023-04-17T18:04:09.787Z] ], [2023-04-17T18:04:09.787Z] "mtu": 1458, [2023-04-17T18:04:09.787Z] "selinux-enabled": true, [2023-04-17T18:04:09.787Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T18:04:09.787Z] } [Pipeline] sh [2023-04-17T18:04:10.148Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T18:04:10.513Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:04:28.878Z] provisioning config files... [2023-04-17T18:04:28.908Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6333937008258632924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:04:29.302Z] ---> docker-login.sh [2023-04-17T18:04:29.302Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:04:29.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:30.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:30.171Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:30.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:30.171Z] [2023-04-17T18:04:30.171Z] Login Succeeded [2023-04-17T18:04:30.171Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:04:30.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:30.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:30.441Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:30.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:30.441Z] [2023-04-17T18:04:30.441Z] Login Succeeded [2023-04-17T18:04:30.441Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:04:30.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:30.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:30.710Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:30.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:30.710Z] [2023-04-17T18:04:30.710Z] Login Succeeded [2023-04-17T18:04:30.710Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:04:30.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:30.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:30.985Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:30.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:30.985Z] [2023-04-17T18:04:30.985Z] Login Succeeded [2023-04-17T18:04:30.985Z] docker.io [2023-04-17T18:04:31.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:04:31.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:04:31.531Z] Configure a credential helper to remove this warning. See [2023-04-17T18:04:31.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:04:31.531Z] [2023-04-17T18:04:31.531Z] Login Succeeded [2023-04-17T18:04:31.531Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:04:31.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T18:04:31.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:04:32.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:04:32.046Z] ========================================================= [2023-04-17T18:04:32.046Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T18:04:32.046Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:04:32.586Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T18:04:32.860Z] Sending build context to Docker daemon 3.341MB [2023-04-17T18:04:32.860Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:04:32.860Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T18:04:33.137Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T18:04:33.137Z] af6eaf76a39c: Pulling fs layer [2023-04-17T18:04:33.137Z] 55522c791124: Pulling fs layer [2023-04-17T18:04:33.137Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T18:04:33.137Z] 169dfbe0d373: Pulling fs layer [2023-04-17T18:04:33.137Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T18:04:33.137Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T18:04:33.137Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T18:04:33.137Z] 169dfbe0d373: Waiting [2023-04-17T18:04:33.137Z] e1ff8fa3b103: Waiting [2023-04-17T18:04:33.137Z] 5abe8eddf0d5: Waiting [2023-04-17T18:04:33.137Z] 52ebb69f0ebf: Waiting [2023-04-17T18:04:33.137Z] 55522c791124: Verifying Checksum [2023-04-17T18:04:33.137Z] 55522c791124: Download complete [2023-04-17T18:04:33.137Z] 169dfbe0d373: Verifying Checksum [2023-04-17T18:04:33.137Z] 169dfbe0d373: Download complete [2023-04-17T18:04:33.137Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T18:04:33.137Z] e1ff8fa3b103: Download complete [2023-04-17T18:04:33.137Z] af6eaf76a39c: Verifying Checksum [2023-04-17T18:04:33.137Z] af6eaf76a39c: Download complete [2023-04-17T18:04:34.586Z] af6eaf76a39c: Pull complete [2023-04-17T18:04:34.586Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T18:04:34.586Z] 5abe8eddf0d5: Download complete [2023-04-17T18:04:34.861Z] 55522c791124: Pull complete [2023-04-17T18:04:35.832Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T18:04:35.832Z] ce5c4a1c91eb: Download complete [2023-04-17T18:04:35.832Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T18:04:35.832Z] 52ebb69f0ebf: Download complete [2023-04-17T18:04:48.169Z] ce5c4a1c91eb: Pull complete [2023-04-17T18:04:48.169Z] 169dfbe0d373: Pull complete [2023-04-17T18:04:48.169Z] e1ff8fa3b103: Pull complete [2023-04-17T18:04:54.843Z] 52ebb69f0ebf: Pull complete [2023-04-17T18:04:55.831Z] 5abe8eddf0d5: Pull complete [2023-04-17T18:04:55.831Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T18:04:55.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T18:04:55.831Z] ---> 6cb57ee374ae [2023-04-17T18:04:55.831Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:04:58.443Z] ---> Running in 9b192247fd79 [2023-04-17T18:04:58.443Z] Removing intermediate container 9b192247fd79 [2023-04-17T18:04:58.443Z] ---> e949dd54d587 [2023-04-17T18:04:58.443Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:04:58.443Z] ---> Running in 9c8c7e495258 [2023-04-17T18:04:58.712Z] Removing intermediate container 9c8c7e495258 [2023-04-17T18:04:58.712Z] ---> 54b8275d349e [2023-04-17T18:04:58.712Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T18:04:58.712Z] ---> Running in 3853fab016ce [2023-04-17T18:04:58.986Z] Removing intermediate container 3853fab016ce [2023-04-17T18:04:58.986Z] ---> e30db91632cd [2023-04-17T18:04:58.986Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:04:59.256Z] ---> Running in d9e8b78086bf [2023-04-17T18:04:59.527Z] Removing intermediate container d9e8b78086bf [2023-04-17T18:04:59.527Z] ---> 06f7e60ee589 [2023-04-17T18:04:59.527Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:04:59.799Z] ---> Running in 364d77bad417 [2023-04-17T18:05:00.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T18:05:01.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T18:05:02.711Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T18:05:02.711Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T18:05:02.711Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T18:05:02.983Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T18:05:02.983Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T18:05:02.983Z] OK: 268 MiB in 57 packages [2023-04-17T18:05:07.255Z] Removing intermediate container 364d77bad417 [2023-04-17T18:05:07.255Z] ---> 849c99027672 [2023-04-17T18:05:07.255Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-17T18:05:07.255Z] ---> Running in 97e4377b6635 [2023-04-17T18:05:07.255Z] Removing intermediate container 97e4377b6635 [2023-04-17T18:05:07.255Z] ---> 89a2df363ef0 [2023-04-17T18:05:07.255Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T18:05:07.522Z] ---> e12dbf88bddc [2023-04-17T18:05:07.522Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:05:07.522Z] ---> Running in 3e3e2e7594a0 [2023-04-17T18:06:15.427Z] Removing intermediate container 3e3e2e7594a0 [2023-04-17T18:06:15.427Z] ---> f86870df542b [2023-04-17T18:06:15.427Z] Step 11/12 : COPY . . [2023-04-17T18:06:15.427Z] ---> 6f9435b60c2f [2023-04-17T18:06:15.427Z] Step 12/12 : RUN $MAKE [2023-04-17T18:06:15.427Z] ---> Running in c38f92729ed0 [2023-04-17T18:06:15.427Z] noop [2023-04-17T18:06:15.427Z] Removing intermediate container c38f92729ed0 [2023-04-17T18:06:15.427Z] ---> c6f5e826fa42 [2023-04-17T18:06:15.427Z] Successfully built c6f5e826fa42 [2023-04-17T18:06:15.427Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:06:15.900Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T18:06:15.900Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:06:16.167Z] prd-ubuntu20.04-docker-arm64-4c-16g-8753 does not seem to be running inside a container [2023-04-17T18:06:16.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-17T18:06:17.464Z] $ docker top c057caf614549feabf70c74f318995b66508bfb316bb095ce541052a97584757 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:06:18.325Z] + go version [2023-04-17T18:06:18.325Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T18:06:18.362Z] $ docker stop --time=1 c057caf614549feabf70c74f318995b66508bfb316bb095ce541052a97584757 [2023-04-17T18:06:19.997Z] $ docker rm -f --volumes c057caf614549feabf70c74f318995b66508bfb316bb095ce541052a97584757 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:06:20.847Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T18:06:20.847Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:06:21.093Z] prd-ubuntu20.04-docker-arm64-4c-16g-8753 does not seem to be running inside a container [2023-04-17T18:06:21.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-17T18:06:22.300Z] $ docker top 236989b40ca9c44547347f1fe60d120ce1bf6695acad550f985ee04b150854be -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:06:23.177Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-17T18:06:23.569Z] + make test [2023-04-17T18:06:23.840Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T18:07:02.731Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-17T18:09:09.403Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-17T18:09:09.403Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-17T18:09:09.403Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 22.0% of statements [2023-04-17T18:09:09.403Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-17T18:09:09.403Z] go vet ./... [2023-04-17T18:09:49.010Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T18:09:49.010Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T18:09:49.010Z] ./bin/test-attribution-txt.sh [2023-04-17T18:09:49.010Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T18:09:49.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T18:09:49.083Z] $ docker stop --time=1 236989b40ca9c44547347f1fe60d120ce1bf6695acad550f985ee04b150854be [2023-04-17T18:09:51.059Z] $ docker rm -f --volumes 236989b40ca9c44547347f1fe60d120ce1bf6695acad550f985ee04b150854be [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T18:09:52.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T18:09:52.438Z] Warning: overwriting stash ‘coverage-report’ [2023-04-17T18:09:53.077Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T18:09:53.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T18:09:54.078Z] + ls -al . [2023-04-17T18:09:54.078Z] total 176 [2023-04-17T18:09:54.078Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 18:06 . [2023-04-17T18:09:54.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:04 .. [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 18:04 .dockerignore [2023-04-17T18:09:54.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:04 .git [2023-04-17T18:09:54.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:04 .github [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 17 18:04 .gitignore [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 18:04 .golangci.yml [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 9288 Apr 17 18:04 Attribution.txt [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 17 18:04 CHANGELOG.md [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 17 18:04 Dockerfile [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 18:04 GOVERNANCE.md [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 17 18:04 Jenkinsfile [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 18:04 LICENSE [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 17 18:04 Makefile [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 18:04 OWNERS.md [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 17 18:04 README.md [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 18:01 VERSION [2023-04-17T18:09:54.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:04 bin [2023-04-17T18:09:54.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:04 cmd [2023-04-17T18:09:54.078Z] -rw-r--r-- 1 jenkins jenkins 18376 Apr 17 18:09 coverage.out [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 17 18:04 go.mod [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 17 18:04 go.sum [2023-04-17T18:09:54.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:04 internal [2023-04-17T18:09:54.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:04 mock [2023-04-17T18:09:54.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:04 snap [2023-04-17T18:09:54.078Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 17 18:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:09:54.510Z] + 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=b3975dfce9e36d407c8f395f34e3e031e1e74ed6 --label arch=arm64 --label version=0.0.0 . [2023-04-17T18:09:54.806Z] Sending build context to Docker daemon 3.36MB [2023-04-17T18:09:54.806Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:09:54.806Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-17T18:09:54.806Z] ---> c6f5e826fa42 [2023-04-17T18:09:54.806Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:09:55.089Z] ---> Running in fba7863e036c [2023-04-17T18:09:55.358Z] Removing intermediate container fba7863e036c [2023-04-17T18:09:55.358Z] ---> dafe95bd4d25 [2023-04-17T18:09:55.358Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:09:55.631Z] ---> Running in 1e7cb1572a8f [2023-04-17T18:09:55.901Z] Removing intermediate container 1e7cb1572a8f [2023-04-17T18:09:55.901Z] ---> b254ecfd0843 [2023-04-17T18:09:55.901Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T18:09:55.901Z] ---> Running in b845e8b907c3 [2023-04-17T18:09:56.182Z] Removing intermediate container b845e8b907c3 [2023-04-17T18:09:56.182Z] ---> 739889e0afcb [2023-04-17T18:09:56.182Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:09:56.451Z] ---> Running in eb156d849b0a [2023-04-17T18:09:56.725Z] Removing intermediate container eb156d849b0a [2023-04-17T18:09:56.725Z] ---> f906c8a4ec60 [2023-04-17T18:09:56.725Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:09:56.725Z] ---> Running in 990445dbc253 [2023-04-17T18:09:58.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T18:09:58.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T18:10:00.136Z] OK: 268 MiB in 57 packages [2023-04-17T18:10:00.720Z] Removing intermediate container 990445dbc253 [2023-04-17T18:10:00.720Z] ---> ec920c7e5330 [2023-04-17T18:10:00.720Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-17T18:10:00.721Z] ---> Running in 3fcce10f5fe9 [2023-04-17T18:10:01.305Z] Removing intermediate container 3fcce10f5fe9 [2023-04-17T18:10:01.305Z] ---> e2b4a102cfcb [2023-04-17T18:10:01.305Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-17T18:10:01.577Z] ---> b3b9657c1e19 [2023-04-17T18:10:01.577Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:10:01.844Z] ---> Running in 484b1fb480b1 [2023-04-17T18:10:04.430Z] Removing intermediate container 484b1fb480b1 [2023-04-17T18:10:04.430Z] ---> 754989386d3d [2023-04-17T18:10:04.430Z] Step 11/24 : COPY . . [2023-04-17T18:10:05.396Z] ---> 1e4de6d51ed2 [2023-04-17T18:10:05.396Z] Step 12/24 : RUN $MAKE [2023-04-17T18:10:05.668Z] ---> Running in fc8914e2fd36 [2023-04-17T18:10:06.640Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-04-17T18:12:43.409Z] Removing intermediate container fc8914e2fd36 [2023-04-17T18:12:43.409Z] ---> 672c82d5df61 [2023-04-17T18:12:43.409Z] Step 13/24 : FROM alpine:3.17 [2023-04-17T18:12:43.409Z] 3.17: Pulling from library/alpine [2023-04-17T18:12:43.409Z] c41833b44d91: Pulling fs layer [2023-04-17T18:12:43.409Z] c41833b44d91: Verifying Checksum [2023-04-17T18:12:43.409Z] c41833b44d91: Download complete [2023-04-17T18:12:43.409Z] c41833b44d91: Pull complete [2023-04-17T18:12:43.409Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T18:12:43.409Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T18:12:43.409Z] ---> 51e60588ff2c [2023-04-17T18:12:43.409Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-17T18:12:43.409Z] ---> Running in ddfe05a6d3bc [2023-04-17T18:12:43.409Z] Removing intermediate container ddfe05a6d3bc [2023-04-17T18:12:43.409Z] ---> 3da96df57de0 [2023-04-17T18:12:43.409Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-17T18:12:43.409Z] ---> Running in b609db0ef08e [2023-04-17T18:12:43.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T18:12:43.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T18:12:43.410Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T18:12:43.410Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T18:12:43.410Z] OK: 8 MiB in 16 packages [2023-04-17T18:12:43.410Z] Removing intermediate container b609db0ef08e [2023-04-17T18:12:43.410Z] ---> 326560475d32 [2023-04-17T18:12:43.410Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-17T18:12:43.410Z] ---> 75328d36ec24 [2023-04-17T18:12:43.410Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-17T18:12:43.410Z] ---> 6f39cc92c372 [2023-04-17T18:12:43.410Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-17T18:12:43.410Z] ---> f846ebba0a62 [2023-04-17T18:12:43.410Z] Step 19/24 : EXPOSE 59982 [2023-04-17T18:12:43.410Z] ---> Running in 67a1b9daee26 [2023-04-17T18:12:43.410Z] Removing intermediate container 67a1b9daee26 [2023-04-17T18:12:43.410Z] ---> 4116feca6148 [2023-04-17T18:12:43.410Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-17T18:12:43.410Z] ---> Running in 88d16bb4f941 [2023-04-17T18:12:43.410Z] Removing intermediate container 88d16bb4f941 [2023-04-17T18:12:43.410Z] ---> a45607bac08d [2023-04-17T18:12:43.410Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-17T18:12:43.410Z] ---> Running in a681b1ab7bf9 [2023-04-17T18:12:43.410Z] Removing intermediate container a681b1ab7bf9 [2023-04-17T18:12:43.410Z] ---> 62c33f0e7355 [2023-04-17T18:12:43.410Z] Step 22/24 : LABEL arch=arm64 [2023-04-17T18:12:43.410Z] ---> Running in 7e7a10487cf7 [2023-04-17T18:12:43.410Z] Removing intermediate container 7e7a10487cf7 [2023-04-17T18:12:43.410Z] ---> b5ca0e2b6e2a [2023-04-17T18:12:43.410Z] Step 23/24 : LABEL git_sha=b3975dfce9e36d407c8f395f34e3e031e1e74ed6 [2023-04-17T18:12:43.410Z] ---> Running in 9e3e65cba5b0 [2023-04-17T18:12:43.410Z] Removing intermediate container 9e3e65cba5b0 [2023-04-17T18:12:43.410Z] ---> a0b8f5d80378 [2023-04-17T18:12:43.410Z] Step 24/24 : LABEL version=0.0.0 [2023-04-17T18:12:43.410Z] ---> Running in 8eca13a60bc5 [2023-04-17T18:12:43.410Z] Removing intermediate container 8eca13a60bc5 [2023-04-17T18:12:43.410Z] ---> f49edbe5b9ca [2023-04-17T18:12:43.410Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T18:12:43.410Z] Successfully built f49edbe5b9ca [2023-04-17T18:12:43.410Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:12:44.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T18:12:44.204Z] [2023-04-17T18:12:44.204Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:12:44.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T18:12:44.611Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T18:12:44.611Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T18:12:44.611Z] 04944245beec: Pulling fs layer [2023-04-17T18:12:44.611Z] 699f458cf7ca: Pulling fs layer [2023-04-17T18:12:44.611Z] 765212b225bb: Pulling fs layer [2023-04-17T18:12:44.611Z] f23df028b6ca: Pulling fs layer [2023-04-17T18:12:44.611Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T18:12:44.611Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T18:12:44.611Z] 765212b225bb: Waiting [2023-04-17T18:12:44.611Z] f23df028b6ca: Waiting [2023-04-17T18:12:44.611Z] d65c8cfc05b1: Waiting [2023-04-17T18:12:44.611Z] 2437ff75d9bd: Waiting [2023-04-17T18:12:44.880Z] 04944245beec: Verifying Checksum [2023-04-17T18:12:44.880Z] 04944245beec: Download complete [2023-04-17T18:12:44.880Z] 765212b225bb: Verifying Checksum [2023-04-17T18:12:44.880Z] 765212b225bb: Download complete [2023-04-17T18:12:44.880Z] f23df028b6ca: Download complete [2023-04-17T18:12:44.880Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T18:12:44.880Z] d65c8cfc05b1: Download complete [2023-04-17T18:12:45.148Z] 699f458cf7ca: Verifying Checksum [2023-04-17T18:12:45.415Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T18:12:45.415Z] 8998bd30e6a1: Download complete [2023-04-17T18:12:47.992Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T18:12:47.992Z] 2437ff75d9bd: Download complete [2023-04-17T18:12:49.400Z] 8998bd30e6a1: Pull complete [2023-04-17T18:12:50.819Z] 04944245beec: Pull complete [2023-04-17T18:12:51.779Z] 699f458cf7ca: Pull complete [2023-04-17T18:12:52.046Z] 765212b225bb: Pull complete [2023-04-17T18:12:53.004Z] f23df028b6ca: Pull complete [2023-04-17T18:12:53.004Z] d65c8cfc05b1: Pull complete [2023-04-17T18:13:08.003Z] 2437ff75d9bd: Pull complete [2023-04-17T18:13:08.003Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T18:13:08.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T18:13:08.003Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:13:08.375Z] prd-ubuntu20.04-docker-arm64-4c-16g-8753 does not seem to be running inside a container [2023-04-17T18:13:08.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-17T18:13:11.193Z] $ docker top 97f1e27a19781d9257c19260f77da0ccca086024f5cec824fff779f97761b982 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:13:12.150Z] ---> job-cost.sh [2023-04-17T18:13:12.150Z] lf-activate-venv: SKIPPING [2023-04-17T18:13:12.150Z] INFO: No Stack... [2023-04-17T18:13:12.418Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T18:13:13.381Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T18:13:14.034Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-04-17T18:13:14.034Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T18:13:14.120Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-563-1-stack-cost] [2023-04-17T18:13:14.125Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-563-1-stack-cost] did not exist. Created. [2023-04-17T18:13:14.125Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-563-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T18:13:14.876Z] /w/workspace/device-mqtt-go/1@tmp/durable-9cc6abf1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T18:13:15.559Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T18:13:15.598Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T18:13:15.659Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T18:13:15.674Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-563-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T18:13:15.765Z] $ docker stop --time=1 97f1e27a19781d9257c19260f77da0ccca086024f5cec824fff779f97761b982 [2023-04-17T18:13:17.601Z] $ docker rm -f --volumes 97f1e27a19781d9257c19260f77da0ccca086024f5cec824fff779f97761b982 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-17T18:13:18.623Z] provisioning config files... [2023-04-17T18:13:18.630Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/config3420464397009103806tmp [Pipeline] { [Pipeline] sh [2023-04-17T18:13:18.968Z] + set +x [2023-04-17T18:13:18.968Z] + curl -s https://codecov.io/bash [2023-04-17T18:13:18.968Z] + bash -s -- [2023-04-17T18:13:18.968Z] [2023-04-17T18:13:18.968Z] _____ _ [2023-04-17T18:13:18.968Z] / ____| | | [2023-04-17T18:13:18.968Z] | | ___ __| | ___ ___ _____ __ [2023-04-17T18:13:18.968Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-17T18:13:18.968Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-17T18:13:18.968Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-17T18:13:18.968Z] Bash-1.0.6 [2023-04-17T18:13:18.968Z] [2023-04-17T18:13:18.968Z] [2023-04-17T18:13:18.968Z] ==> git version 2.25.1 found [2023-04-17T18:13:18.968Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-17T18:13:18.968Z] Release-Date: 2020-01-08 [2023-04-17T18:13:18.968Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-17T18:13:18.968Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-17T18:13:18.968Z] ==> Jenkins CI detected. [2023-04-17T18:13:18.968Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-563 [2023-04-17T18:13:18.968Z] project root: . [2023-04-17T18:13:18.968Z] --> token set from env [2023-04-17T18:13:18.968Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-17T18:13:18.968Z] ==> Running gcov in . (disable via -X gcov) [2023-04-17T18:13:18.968Z] ==> Python coveragepy not found [2023-04-17T18:13:18.968Z] ==> Searching for coverage reports in: [2023-04-17T18:13:18.968Z] + . [2023-04-17T18:13:19.227Z] -> Found 1 reports [2023-04-17T18:13:19.227Z] ==> Detecting git/mercurial file structure [2023-04-17T18:13:19.227Z] ==> Reading reports [2023-04-17T18:13:19.227Z] + ./coverage.out bytes=18376 [2023-04-17T18:13:19.227Z] ==> Appending adjustments [2023-04-17T18:13:19.227Z] https://docs.codecov.io/docs/fixing-reports [2023-04-17T18:13:19.227Z] + Found adjustments [2023-04-17T18:13:19.227Z] ==> Gzipping contents [2023-04-17T18:13:19.227Z] 4.0K /tmp/codecov.J8Mvqd.gz [2023-04-17T18:13:19.227Z] ==> Uploading reports [2023-04-17T18:13:19.227Z] url: https://codecov.io [2023-04-17T18:13:19.227Z] query: branch=PR-563&commit=b3975dfce9e36d407c8f395f34e3e031e1e74ed6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-563%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=563&job=&cmd_args= [2023-04-17T18:13:19.227Z] -> Pinging Codecov [2023-04-17T18:13:19.227Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-563&commit=b3975dfce9e36d407c8f395f34e3e031e1e74ed6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-563%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=563&job=&cmd_args= [2023-04-17T18:13:19.486Z] -> Uploading to [2023-04-17T18:13:19.486Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-17/7D719EC7BBE17E464838252E33014C33/b3975dfce9e36d407c8f395f34e3e031e1e74ed6/515192da-1b8d-4621-921a-c931c8b2d69e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T181319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cca08420b0f7f77ef9531b3b5142fdb76e2d66362c0f269a9e844bcd03443604 [2023-04-17T18:13:19.486Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T18:13:19.486Z] Dload Upload Total Spent Left Speed [2023-04-17T18:13:19.744Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3167 0 0 100 3167 0 10663 --:--:-- --:--:-- --:--:-- 10627 100 3167 0 0 100 3167 0 10486 --:--:-- --:--:-- --:--:-- 10486 [2023-04-17T18:13:19.744Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/b3975dfce9e36d407c8f395f34e3e031e1e74ed6 [Pipeline] } [2023-04-17T18:13:19.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-17T18:13:21.648Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives ] [2023-04-17T18:13:21.648Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives [2023-04-17T18:13:21.648Z] total 16 [2023-04-17T18:13:21.648Z] drwxr-xr-x 3 root root 4096 Apr 17 18:03 . [2023-04-17T18:13:21.648Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 18:03 .. [2023-04-17T18:13:21.648Z] drwxr-xr-x 2 root root 4096 Apr 17 18:03 cost [2023-04-17T18:13:21.648Z] -rw-r--r-- 1 root root 86 Apr 17 18:03 cost.csv [2023-04-17T18:13:21.648Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives [2023-04-17T18:13:21.648Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives [2023-04-17T18:13:21.648Z] total 16 [2023-04-17T18:13:21.648Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 18:03 . [2023-04-17T18:13:21.648Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 18:03 .. [2023-04-17T18:13:21.648Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 18:03 cost [2023-04-17T18:13:21.648Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 17 18:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:13:21.982Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:13:22.889Z] ---> package-listing.sh [2023-04-17T18:13:22.890Z] ++ facter osfamily [2023-04-17T18:13:22.890Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T18:13:23.149Z] + OS_FAMILY=debian [2023-04-17T18:13:23.149Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-563 [2023-04-17T18:13:23.149Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T18:13:23.149Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T18:13:23.149Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T18:13:23.149Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T18:13:23.149Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-563 ']' [2023-04-17T18:13:23.149Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T18:13:23.149Z] + case "${OS_FAMILY}" in [2023-04-17T18:13:23.149Z] + grep '^ii' [2023-04-17T18:13:23.149Z] + dpkg -l [2023-04-17T18:13:23.149Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T18:13:23.149Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T18:13:23.149Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T18:13:23.149Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-563 ']' [2023-04-17T18:13:23.149Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives/ [2023-04-17T18:13:23.149Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives/ [Pipeline] echo [2023-04-17T18:13:23.185Z] 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-563/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-17T18:13:23.472Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:13:24.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:13:24.098Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:13:24.239Z] prd-ubuntu20.04-docker-8c-8g-8752 does not seem to be running inside a container [2023-04-17T18:13:24.275Z] $ 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-563/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-563 -v /w/workspace/gexfoundry_device-mqtt-go_PR-563:/w/workspace/gexfoundry_device-mqtt-go_PR-563:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-563@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T18:13:24.453Z] $ docker top 06b0308d189a59a479a7957fd8ae059280e7464c05b2a8aba4c21c87291956ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:13:24.830Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T18:13:25.139Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T18:13:25.451Z] + ls /var/log/sa-host [2023-04-17T18:13:25.451Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:13:25.591Z] provisioning config files... [2023-04-17T18:13:25.602Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/config16410582042117994611tmp [Pipeline] { [Pipeline] echo [2023-04-17T18:13:25.660Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:13:25.971Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T18:13:26.002Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:13:26.412Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T18:13:26.446Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:13:26.755Z] ---> sudo-logs.sh [2023-04-17T18:13:26.755Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T18:13:26.838Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:13:27.147Z] ---> job-cost.sh [2023-04-17T18:13:27.147Z] lf-activate-venv: SKIPPING [2023-04-17T18:13:27.147Z] DEBUG: total: 0.2199999988079071 [2023-04-17T18:13:27.147Z] INFO: Retrieving Stack Cost... [2023-04-17T18:13:27.406Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T18:13:27.975Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T18:13:28.015Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:13:28.319Z] ---> logs-deploy.sh [2023-04-17T18:13:28.320Z] lf-activate-venv: SKIPPING [2023-04-17T18:13:28.320Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-563/1 [2023-04-17T18:13:28.320Z] INFO: archiving workspace using pattern(s): [2023-04-17T18:13:29.256Z] Archives upload complete. [2023-04-17T18:13:29.256Z] INFO: archiving logs to Nexus