Pull request #577 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 MonicaisHer for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80+5b2c861b7985e68cc74183010c56eea75d87e84b (5c760d10565653bf60dcbe6929209ce7b523da2b) 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-ssh6349734050357403289.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-ssh1611461094370351469.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-577/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-577/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10496757093587149985.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-577/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10473404470584641372.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-ssh17682466694966700111.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-577/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-577/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2835496763745638892.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9519 in /w/workspace/gexfoundry_device-mqtt-go_PR-577 [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-577 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/577/head:refs/remotes/origin/PR-577 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5b2c861b7985e68cc74183010c56eea75d87e84b into PR head commit f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 Merge succeeded, producing f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 Checking out Revision f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 (PR-577) > git config core.sparsecheckout # timeout=10 > git checkout -f f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 # 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 5b2c861b7985e68cc74183010c56eea75d87e84b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 # timeout=10 Commit message: "build(snap): Upgrade snap base to core22" 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-24T09:46:47.202Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T09:46:47.392Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T09:46:47.511Z] ========================================================= [2023-04-24T09:46:47.511Z] EdgeX Global Pipelines Version Info [2023-04-24T09:46:47.511Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T09:46:48.317Z] ------------------- [2023-04-24T09:46:48.317Z] stable info: [2023-04-24T09:46:48.317Z] ------------------- [2023-04-24T09:46:48.317Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T09:46:48.317Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T09:46:48.317Z] Message: update stable to v1.0.248 [2023-04-24T09:46:48.892Z] ------------------- [2023-04-24T09:46:48.892Z] experimental info: [2023-04-24T09:46:48.892Z] ------------------- [2023-04-24T09:46:48.892Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T09:46:48.892Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T09:46:48.892Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T09:46:49.186Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-04-24T09:46:49.231Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-04-24T09:46:49.276Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T09:46:49.319Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T09:46:49.365Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T09:46:49.412Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T09:46:49.462Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T09:46:49.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T09:46:49.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T09:46:49.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T09:46:49.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T09:46:49.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-04-24T09:46:49.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T09:46:49.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T09:46:49.820Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T09:46:49.863Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T09:46:49.906Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T09:46:49.948Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T09:46:49.992Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T09:46:50.035Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T09:46:50.076Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-24T09:46:50.120Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-24T09:46:50.161Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T09:46:50.204Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T09:46:50.247Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T09:46:50.286Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T09:46:50.327Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T09:46:50.372Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-577 [Pipeline] echo [2023-04-24T09:46:50.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-577 [Pipeline] echo [2023-04-24T09:46:50.462Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-577 [Pipeline] echo [2023-04-24T09:46:50.501Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 [Pipeline] echo [2023-04-24T09:46:50.545Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f43ea4c [Pipeline] echo [2023-04-24T09:46:50.593Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T09:46:50.720Z] provisioning config files... [2023-04-24T09:46:50.736Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-577@tmp/config11164033638266097160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T09:46:51.081Z] ---> docker-login.sh [2023-04-24T09:46:51.081Z] nexus3.edgexfoundry.org:10001 [2023-04-24T09:46:51.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:46:51.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:46:51.342Z] Configure a credential helper to remove this warning. See [2023-04-24T09:46:51.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:46:51.342Z] [2023-04-24T09:46:51.342Z] Login Succeeded [2023-04-24T09:46:51.342Z] nexus3.edgexfoundry.org:10002 [2023-04-24T09:46:51.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:46:51.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:46:51.604Z] Configure a credential helper to remove this warning. See [2023-04-24T09:46:51.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:46:51.604Z] [2023-04-24T09:46:51.604Z] Login Succeeded [2023-04-24T09:46:51.604Z] nexus3.edgexfoundry.org:10003 [2023-04-24T09:46:51.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:46:51.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:46:51.604Z] Configure a credential helper to remove this warning. See [2023-04-24T09:46:51.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:46:51.604Z] [2023-04-24T09:46:51.604Z] Login Succeeded [2023-04-24T09:46:51.604Z] nexus3.edgexfoundry.org:10004 [2023-04-24T09:46:51.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:46:51.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:46:51.872Z] Configure a credential helper to remove this warning. See [2023-04-24T09:46:51.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:46:51.872Z] [2023-04-24T09:46:51.872Z] Login Succeeded [2023-04-24T09:46:51.872Z] docker.io [2023-04-24T09:46:51.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:46:52.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:46:52.134Z] Configure a credential helper to remove this warning. See [2023-04-24T09:46:52.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:46:52.134Z] [2023-04-24T09:46:52.134Z] Login Succeeded [2023-04-24T09:46:52.134Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T09:46:52.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T09:46:52.830Z] + git rev-list -1 --merges f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80~1..f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 [Pipeline] echo [2023-04-24T09:46:52.893Z] -----------> git rev-list -1 --merges f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80~1..f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 [false] [Pipeline] sh [2023-04-24T09:46:53.205Z] + git log --format=format:%s -1 f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 [Pipeline] echo [2023-04-24T09:46:53.248Z] ========================================================= [2023-04-24T09:46:53.248Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T09:46:53.248Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T09:46:53.675Z] + git log --format=format:%s -1 f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 [Pipeline] echo [2023-04-24T09:46:53.710Z] [semverPrep] GIT_COMMIT: f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80, Commit Message: build(snap): Upgrade snap base to core22 [Pipeline] echo [2023-04-24T09:46:53.739Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T09:46:54.135Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T09:46:54.135Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T09:46:54.135Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T09:46:54.135Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T09:46:54.136Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T09:46:54.136Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T09:46:54.136Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T09:46:54.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T09:46:54.624Z] [2023-04-24T09:46:54.624Z] 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-24T09:46:54.998Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T09:46:54.998Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T09:46:54.998Z] b85a868b505f: Pulling fs layer [2023-04-24T09:46:54.998Z] e2be974225ed: Pulling fs layer [2023-04-24T09:46:54.998Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T09:46:54.998Z] 988bab9f4d93: Pulling fs layer [2023-04-24T09:46:54.998Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T09:46:54.998Z] eaf3925da568: Pulling fs layer [2023-04-24T09:46:54.998Z] bab4dde63d76: Pulling fs layer [2023-04-24T09:46:54.998Z] bde34c3a00c8: Pulling fs layer [2023-04-24T09:46:54.998Z] b352a97aabf1: Pulling fs layer [2023-04-24T09:46:54.998Z] 4872d77fe225: Pulling fs layer [2023-04-24T09:46:54.998Z] 5851b861e8e6: Pulling fs layer [2023-04-24T09:46:54.998Z] bde34c3a00c8: Waiting [2023-04-24T09:46:54.998Z] b352a97aabf1: Waiting [2023-04-24T09:46:54.998Z] 988bab9f4d93: Waiting [2023-04-24T09:46:54.998Z] 1469e6f7b9e6: Waiting [2023-04-24T09:46:54.998Z] eaf3925da568: Waiting [2023-04-24T09:46:54.998Z] bab4dde63d76: Waiting [2023-04-24T09:46:54.998Z] 4872d77fe225: Waiting [2023-04-24T09:46:54.998Z] 5851b861e8e6: Waiting [2023-04-24T09:46:54.998Z] e2be974225ed: Verifying Checksum [2023-04-24T09:46:54.998Z] e2be974225ed: Download complete [2023-04-24T09:46:54.998Z] 988bab9f4d93: Verifying Checksum [2023-04-24T09:46:54.998Z] 988bab9f4d93: Download complete [2023-04-24T09:46:54.998Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T09:46:54.998Z] 1469e6f7b9e6: Download complete [2023-04-24T09:46:55.257Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T09:46:55.257Z] eaf3925da568: Verifying Checksum [2023-04-24T09:46:55.257Z] eaf3925da568: Download complete [2023-04-24T09:46:55.257Z] bde34c3a00c8: Verifying Checksum [2023-04-24T09:46:55.257Z] bde34c3a00c8: Download complete [2023-04-24T09:46:55.257Z] b352a97aabf1: Download complete [2023-04-24T09:46:55.257Z] 4872d77fe225: Verifying Checksum [2023-04-24T09:46:55.257Z] 4872d77fe225: Download complete [2023-04-24T09:46:55.257Z] 5851b861e8e6: Verifying Checksum [2023-04-24T09:46:55.257Z] 5851b861e8e6: Download complete [2023-04-24T09:46:55.257Z] b85a868b505f: Verifying Checksum [2023-04-24T09:46:55.257Z] b85a868b505f: Download complete [2023-04-24T09:46:55.515Z] bab4dde63d76: Verifying Checksum [2023-04-24T09:46:55.515Z] bab4dde63d76: Download complete [2023-04-24T09:46:56.894Z] b85a868b505f: Pull complete [2023-04-24T09:46:56.894Z] e2be974225ed: Pull complete [2023-04-24T09:46:57.154Z] 339a4e72a1f5: Pull complete [2023-04-24T09:46:57.426Z] 988bab9f4d93: Pull complete [2023-04-24T09:46:57.686Z] 1469e6f7b9e6: Pull complete [2023-04-24T09:46:57.686Z] eaf3925da568: Pull complete [2023-04-24T09:46:59.592Z] bab4dde63d76: Pull complete [2023-04-24T09:46:59.592Z] bde34c3a00c8: Pull complete [2023-04-24T09:46:59.852Z] b352a97aabf1: Pull complete [2023-04-24T09:46:59.852Z] 4872d77fe225: Pull complete [2023-04-24T09:46:59.852Z] 5851b861e8e6: Pull complete [2023-04-24T09:46:59.852Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T09:46:59.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T09:46:59.852Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T09:47:00.084Z] prd-ubuntu20.04-docker-8c-8g-9519 does not seem to be running inside a container [2023-04-24T09:47:00.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-577 -v /w/workspace/gexfoundry_device-mqtt-go_PR-577:/w/workspace/gexfoundry_device-mqtt-go_PR-577:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-577@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-577@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-24T09:47:02.488Z] $ docker top 0d71135e636e293c6c404547120b2bd4672248fa3b238b86be65ce2cf18d7a0a -eo pid,comm [2023-04-24T09:47:02.547Z] 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-24T09:47:02.547Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T09:47:02.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T09:47:02.675Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T09:47:02.795Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T09:47:02.795Z] $ docker exec 0d71135e636e293c6c404547120b2bd4672248fa3b238b86be65ce2cf18d7a0a ssh-agent [2023-04-24T09:47:02.914Z] SSH_AUTH_SOCK=/tmp/ssh-pedL3BAJOTMK/agent.33 [2023-04-24T09:47:02.914Z] SSH_AGENT_PID=39 [2023-04-24T09:47:02.919Z] Running ssh-add (command line suppressed) [2023-04-24T09:47:03.026Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-577@tmp/private_key_8681200100916962358.key (/w/workspace/gexfoundry_device-mqtt-go_PR-577@tmp/private_key_8681200100916962358.key) [2023-04-24T09:47:03.044Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T09:47:03.388Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T09:47:03.414Z] $ docker exec --env ******** --env ******** 0d71135e636e293c6c404547120b2bd4672248fa3b238b86be65ce2cf18d7a0a ssh-agent -k [2023-04-24T09:47:03.515Z] unset SSH_AUTH_SOCK; [2023-04-24T09:47:03.516Z] unset SSH_AGENT_PID; [2023-04-24T09:47:03.516Z] echo Agent pid 39 killed; [2023-04-24T09:47:03.530Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T09:47:03.616Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T09:47:03.616Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T09:47:03.732Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T09:47:03.732Z] $ docker exec 0d71135e636e293c6c404547120b2bd4672248fa3b238b86be65ce2cf18d7a0a ssh-agent [2023-04-24T09:47:03.856Z] SSH_AUTH_SOCK=/tmp/ssh-yPC9KsDvZGoQ/agent.71 [2023-04-24T09:47:03.856Z] SSH_AGENT_PID=77 [2023-04-24T09:47:03.860Z] Running ssh-add (command line suppressed) [2023-04-24T09:47:03.970Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-577@tmp/private_key_17386605344976241367.key (/w/workspace/gexfoundry_device-mqtt-go_PR-577@tmp/private_key_17386605344976241367.key) [2023-04-24T09:47:03.987Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T09:47:04.316Z] + git semver init [2023-04-24T09:47:04.576Z] 2023-04-24 09:47:04,520 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T09:47:04.576Z] 2023-04-24 09:47:04,521 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-577/.semver [2023-04-24T09:47:04.576Z] 2023-04-24 09:47:04,521 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-577/.semver [2023-04-24T09:47:04.576Z] 2023-04-24 09:47:04,522 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-577/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-577, universal_newlines=False, shell=None, istream=None) [2023-04-24T09:47:05.513Z] 2023-04-24 09:47:05,323 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-577/.git/info/exclude [2023-04-24T09:47:05.513Z] 2023-04-24 09:47:05,324 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-577/.semver/PR-577 with force:False [2023-04-24T09:47:05.513Z] 2023-04-24 09:47:05,324 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-577/.semver/PR-577 [2023-04-24T09:47:05.513Z] 2023-04-24 09:47:05,329 [execute] INFO git cat-file --batch-check [2023-04-24T09:47:05.513Z] 2023-04-24 09:47:05,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-577/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T09:47:05.513Z] 2023-04-24 09:47:05,336 [execute] INFO git cat-file --batch [2023-04-24T09:47:05.513Z] 2023-04-24 09:47:05,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-577/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T09:47:05.513Z] 2023-04-24 09:47:05,341 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-577/.semver/PR-577 [2023-04-24T09:47:05.513Z] 0.0.0 [Pipeline] } [2023-04-24T09:47:05.540Z] $ docker exec --env ******** --env ******** 0d71135e636e293c6c404547120b2bd4672248fa3b238b86be65ce2cf18d7a0a ssh-agent -k [2023-04-24T09:47:05.647Z] unset SSH_AUTH_SOCK; [2023-04-24T09:47:05.647Z] unset SSH_AGENT_PID; [2023-04-24T09:47:05.647Z] echo Agent pid 77 killed; [2023-04-24T09:47:05.659Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T09:47:06.097Z] + git semver [Pipeline] } [2023-04-24T09:47:06.378Z] $ docker stop --time=1 0d71135e636e293c6c404547120b2bd4672248fa3b238b86be65ce2cf18d7a0a [2023-04-24T09:47:07.709Z] $ docker rm -f --volumes 0d71135e636e293c6c404547120b2bd4672248fa3b238b86be65ce2cf18d7a0a [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T09:47:08.116Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T09:47:08.408Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T09:47:08.425Z] [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-24T09:47:08.990Z] provisioning config files... [2023-04-24T09:47:09.000Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-577@tmp/config3184827602487205799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T09:47:09.336Z] ---> docker-login.sh [2023-04-24T09:47:09.336Z] nexus3.edgexfoundry.org:10001 [2023-04-24T09:47:09.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:47:09.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:47:09.336Z] Configure a credential helper to remove this warning. See [2023-04-24T09:47:09.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:47:09.336Z] [2023-04-24T09:47:09.336Z] Login Succeeded [2023-04-24T09:47:09.336Z] nexus3.edgexfoundry.org:10002 [2023-04-24T09:47:09.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:47:09.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:47:09.336Z] Configure a credential helper to remove this warning. See [2023-04-24T09:47:09.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:47:09.336Z] [2023-04-24T09:47:09.336Z] Login Succeeded [2023-04-24T09:47:09.336Z] nexus3.edgexfoundry.org:10003 [2023-04-24T09:47:09.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:47:09.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:47:09.596Z] Configure a credential helper to remove this warning. See [2023-04-24T09:47:09.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:47:09.596Z] [2023-04-24T09:47:09.596Z] Login Succeeded [2023-04-24T09:47:09.596Z] nexus3.edgexfoundry.org:10004 [2023-04-24T09:47:09.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:47:09.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:47:09.596Z] Configure a credential helper to remove this warning. See [2023-04-24T09:47:09.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:47:09.596Z] [2023-04-24T09:47:09.596Z] Login Succeeded [2023-04-24T09:47:09.596Z] docker.io [2023-04-24T09:47:09.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:47:09.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:47:09.856Z] Configure a credential helper to remove this warning. See [2023-04-24T09:47:09.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:47:09.856Z] [2023-04-24T09:47:09.856Z] Login Succeeded [2023-04-24T09:47:09.856Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T09:47:09.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T09:47:10.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T09:47:10.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T09:47:10.175Z] ========================================================= [2023-04-24T09:47:10.175Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T09:47:10.175Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T09:47:10.650Z] + 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-24T09:47:10.650Z] Sending build context to Docker daemon 6.487MB [2023-04-24T09:47:10.650Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T09:47:10.650Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T09:47:10.650Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T09:47:10.650Z] 63b65145d645: Pulling fs layer [2023-04-24T09:47:10.650Z] a2d21d5440eb: Pulling fs layer [2023-04-24T09:47:10.650Z] 935e6c44a52c: Pulling fs layer [2023-04-24T09:47:10.650Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T09:47:10.650Z] 30dea6a524f1: Pulling fs layer [2023-04-24T09:47:10.650Z] a2aff8979fd8: Pulling fs layer [2023-04-24T09:47:10.650Z] 6808be2612f2: Pulling fs layer [2023-04-24T09:47:10.650Z] f25807f1079a: Pulling fs layer [2023-04-24T09:47:10.650Z] 6808be2612f2: Waiting [2023-04-24T09:47:10.650Z] 94cc34f8dd06: Waiting [2023-04-24T09:47:10.650Z] f25807f1079a: Waiting [2023-04-24T09:47:10.650Z] 30dea6a524f1: Waiting [2023-04-24T09:47:10.650Z] a2aff8979fd8: Waiting [2023-04-24T09:47:10.650Z] a2d21d5440eb: Download complete [2023-04-24T09:47:10.910Z] 94cc34f8dd06: Verifying Checksum [2023-04-24T09:47:10.910Z] 94cc34f8dd06: Download complete [2023-04-24T09:47:10.910Z] 30dea6a524f1: Verifying Checksum [2023-04-24T09:47:10.910Z] 30dea6a524f1: Download complete [2023-04-24T09:47:10.910Z] 63b65145d645: Download complete [2023-04-24T09:47:10.910Z] a2aff8979fd8: Verifying Checksum [2023-04-24T09:47:10.910Z] a2aff8979fd8: Download complete [2023-04-24T09:47:10.910Z] 63b65145d645: Pull complete [2023-04-24T09:47:11.170Z] a2d21d5440eb: Pull complete [2023-04-24T09:47:11.170Z] f25807f1079a: Download complete [2023-04-24T09:47:11.429Z] 935e6c44a52c: Verifying Checksum [2023-04-24T09:47:11.429Z] 935e6c44a52c: Download complete [2023-04-24T09:47:11.687Z] 6808be2612f2: Verifying Checksum [2023-04-24T09:47:11.687Z] 6808be2612f2: Download complete [2023-04-24T09:47:14.982Z] 935e6c44a52c: Pull complete [2023-04-24T09:47:14.982Z] 94cc34f8dd06: Pull complete [2023-04-24T09:47:14.982Z] 30dea6a524f1: Pull complete [2023-04-24T09:47:14.982Z] a2aff8979fd8: Pull complete [2023-04-24T09:47:17.511Z] 6808be2612f2: Pull complete [2023-04-24T09:47:18.079Z] f25807f1079a: Pull complete [2023-04-24T09:47:18.339Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T09:47:18.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T09:47:18.339Z] ---> 3b553350e43f [2023-04-24T09:47:18.339Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T09:47:21.633Z] ---> Running in 9e444c68ebf6 [2023-04-24T09:47:21.633Z] Removing intermediate container 9e444c68ebf6 [2023-04-24T09:47:21.633Z] ---> 9a8915844304 [2023-04-24T09:47:21.633Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T09:47:21.633Z] ---> Running in 9637e5453c79 [2023-04-24T09:47:21.633Z] Removing intermediate container 9637e5453c79 [2023-04-24T09:47:21.633Z] ---> e988d450efcf [2023-04-24T09:47:21.633Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T09:47:21.892Z] ---> Running in 6e33a1badf26 [2023-04-24T09:47:21.892Z] Removing intermediate container 6e33a1badf26 [2023-04-24T09:47:21.892Z] ---> 436e35dbae39 [2023-04-24T09:47:21.892Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T09:47:21.892Z] ---> Running in d4e5004028be [2023-04-24T09:47:21.892Z] Removing intermediate container d4e5004028be [2023-04-24T09:47:21.892Z] ---> 9c9e23d314f8 [2023-04-24T09:47:21.892Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T09:47:22.152Z] ---> Running in 116b354b2d14 [2023-04-24T09:47:22.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T09:47:22.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T09:47:22.671Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T09:47:22.671Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T09:47:22.671Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T09:47:22.671Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T09:47:22.671Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T09:47:22.671Z] OK: 269 MiB in 57 packages [2023-04-24T09:47:23.240Z] Removing intermediate container 116b354b2d14 [2023-04-24T09:47:23.240Z] ---> 5e1f9f8e9186 [2023-04-24T09:47:23.240Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-24T09:47:23.240Z] ---> Running in 76f22bd00c08 [2023-04-24T09:47:23.240Z] Removing intermediate container 76f22bd00c08 [2023-04-24T09:47:23.240Z] ---> eab5b5b19a52 [2023-04-24T09:47:23.240Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T09:47:23.240Z] ---> dacd5f59f9b7 [2023-04-24T09:47:23.240Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T09:47:23.240Z] ---> Running in 07ec21b1ca4b [2023-04-24T09:47:23.823Z] Still waiting to schedule task [2023-04-24T09:47:23.823Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-24T09:48:01.968Z] Removing intermediate container 07ec21b1ca4b [2023-04-24T09:48:01.968Z] ---> 80fe45588baa [2023-04-24T09:48:01.968Z] Step 11/12 : COPY . . [2023-04-24T09:48:01.968Z] ---> bd2ffa629a67 [2023-04-24T09:48:01.968Z] Step 12/12 : RUN $MAKE [2023-04-24T09:48:01.968Z] ---> Running in 31fcbfa53084 [2023-04-24T09:48:01.968Z] noop [2023-04-24T09:48:01.968Z] Removing intermediate container 31fcbfa53084 [2023-04-24T09:48:01.968Z] ---> 7429bf435e53 [2023-04-24T09:48:01.968Z] Successfully built 7429bf435e53 [2023-04-24T09:48:01.968Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T09:48:02.420Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T09:48:02.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T09:48:02.573Z] prd-ubuntu20.04-docker-8c-8g-9519 does not seem to be running inside a container [2023-04-24T09:48:02.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-577 -v /w/workspace/gexfoundry_device-mqtt-go_PR-577:/w/workspace/gexfoundry_device-mqtt-go_PR-577:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-577@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-577@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-24T09:48:03.004Z] $ docker top c850577e04b787c1ab17a994810ffc9006aa2e59209cca2f283ce60a52dffa3e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T09:48:03.394Z] + go version [2023-04-24T09:48:03.394Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T09:48:03.434Z] $ docker stop --time=1 c850577e04b787c1ab17a994810ffc9006aa2e59209cca2f283ce60a52dffa3e [2023-04-24T09:48:04.729Z] $ docker rm -f --volumes c850577e04b787c1ab17a994810ffc9006aa2e59209cca2f283ce60a52dffa3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T09:48:05.426Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T09:48:05.426Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T09:48:05.584Z] prd-ubuntu20.04-docker-8c-8g-9519 does not seem to be running inside a container [2023-04-24T09:48:05.628Z] $ 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-577 -v /w/workspace/gexfoundry_device-mqtt-go_PR-577:/w/workspace/gexfoundry_device-mqtt-go_PR-577:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-577@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-577@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-24T09:48:05.966Z] $ docker top 195c367b50686a30f0f1a3f1ce1983791871e58726b1ec4684efa102c4442c35 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T09:48:06.352Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-577 [Pipeline] fileExists [Pipeline] sh [2023-04-24T09:48:06.705Z] + make test [2023-04-24T09:48:06.705Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T09:48:12.003Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-24T09:48:21.981Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-24T09:48:22.242Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-24T09:48:22.242Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.020s coverage: 21.9% of statements [2023-04-24T09:48:30.349Z] go vet ./... [2023-04-24T09:48:33.632Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T09:48:33.632Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T09:48:33.632Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T09:48:33.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T09:48:33.710Z] $ docker stop --time=1 195c367b50686a30f0f1a3f1ce1983791871e58726b1ec4684efa102c4442c35 [2023-04-24T09:48:36.505Z] $ docker rm -f --volumes 195c367b50686a30f0f1a3f1ce1983791871e58726b1ec4684efa102c4442c35 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T09:48:37.040Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T09:48:37.106Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T09:48:37.812Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T09:48:38.124Z] + ls -al . [2023-04-24T09:48:38.125Z] total 180 [2023-04-24T09:48:38.125Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 09:48 . [2023-04-24T09:48:38.125Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 09:46 .. [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 09:46 .dockerignore [2023-04-24T09:48:38.125Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 09:47 .git [2023-04-24T09:48:38.125Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:46 .github [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 09:46 .gitignore [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 09:46 .golangci.yml [2023-04-24T09:48:38.125Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 09:47 .semver [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 9417 Apr 24 09:46 Attribution.txt [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 24 09:46 CHANGELOG.md [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 24 09:46 Dockerfile [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 09:46 GOVERNANCE.md [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 09:46 Jenkinsfile [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 09:46 LICENSE [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 24 09:46 Makefile [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 09:46 OWNERS.md [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 24 09:46 README.md [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 09:47 VERSION [2023-04-24T09:48:38.125Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 09:46 bin [2023-04-24T09:48:38.125Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:46 cmd [2023-04-24T09:48:38.125Z] -rw-r--r-- 1 jenkins jenkins 18460 Apr 24 09:48 coverage.out [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 24 09:46 go.mod [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 09:46 go.sum [2023-04-24T09:48:38.125Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:46 internal [2023-04-24T09:48:38.125Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 09:46 mock [2023-04-24T09:48:38.125Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 09:46 snap [2023-04-24T09:48:38.125Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 24 09:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T09:48:38.512Z] + 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=f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 --label arch=amd64 --label version=0.0.0 . [2023-04-24T09:48:38.512Z] Sending build context to Docker daemon 6.506MB [2023-04-24T09:48:38.512Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T09:48:38.512Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-24T09:48:38.512Z] ---> 7429bf435e53 [2023-04-24T09:48:38.512Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-24T09:48:38.773Z] ---> Running in 0440dd996d65 [2023-04-24T09:48:38.773Z] Removing intermediate container 0440dd996d65 [2023-04-24T09:48:38.773Z] ---> 48cb326551c8 [2023-04-24T09:48:38.773Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T09:48:38.773Z] ---> Running in 4fd54343b9f8 [2023-04-24T09:48:38.773Z] Removing intermediate container 4fd54343b9f8 [2023-04-24T09:48:38.773Z] ---> 501d7a300759 [2023-04-24T09:48:38.773Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T09:48:38.773Z] ---> Running in dc650c3ce8b6 [2023-04-24T09:48:39.033Z] Removing intermediate container dc650c3ce8b6 [2023-04-24T09:48:39.033Z] ---> bd40d9f224c1 [2023-04-24T09:48:39.033Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T09:48:39.033Z] ---> Running in c72ccd4e9cb1 [2023-04-24T09:48:39.033Z] Removing intermediate container c72ccd4e9cb1 [2023-04-24T09:48:39.033Z] ---> 455af92b3f61 [2023-04-24T09:48:39.033Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T09:48:39.033Z] ---> Running in c97dc070f05f [2023-04-24T09:48:39.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T09:48:39.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T09:48:39.817Z] OK: 269 MiB in 57 packages [2023-04-24T09:48:40.077Z] Removing intermediate container c97dc070f05f [2023-04-24T09:48:40.077Z] ---> c4e02dcc0c96 [2023-04-24T09:48:40.077Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-24T09:48:40.077Z] ---> Running in 5bfc22207a03 [2023-04-24T09:48:40.077Z] Removing intermediate container 5bfc22207a03 [2023-04-24T09:48:40.077Z] ---> d1a6dd5890ee [2023-04-24T09:48:40.077Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-24T09:48:40.336Z] ---> 2bef0bcb2a84 [2023-04-24T09:48:40.336Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T09:48:40.336Z] ---> Running in c96fa4ea1868 [2023-04-24T09:48:41.299Z] Removing intermediate container c96fa4ea1868 [2023-04-24T09:48:41.299Z] ---> 4cce2d492c41 [2023-04-24T09:48:41.299Z] Step 11/24 : COPY . . [2023-04-24T09:48:41.558Z] ---> 5fb17bd287c2 [2023-04-24T09:48:41.558Z] Step 12/24 : RUN $MAKE [2023-04-24T09:48:41.558Z] ---> Running in 495a255a133a [2023-04-24T09:48:41.817Z] 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-24T09:48:54.841Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9520 in /w/workspace/gexfoundry_device-mqtt-go_PR-577 [Pipeline] { [Pipeline] ws [2023-04-24T09:48:54.906Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-04-24T09:48:54.989Z] Selected Git installation does not exist. Using Default [2023-04-24T09:48:54.989Z] The recommended git tool is: NONE [2023-04-24T09:49:00.106Z] using credential edgex-jenkins-ssh [2023-04-24T09:49:00.127Z] Cloning the remote Git repository [2023-04-24T09:49:00.168Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-24T09:49:00.267Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-04-24T09:49:00.407Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-24T09:49:00.407Z] > git --version # timeout=10 [2023-04-24T09:49:00.435Z] > git --version # 'git version 2.25.1' [2023-04-24T09:49:00.438Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T09:49:00.580Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T09:49:01.700Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-24T09:49:01.723Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T09:49:03.177Z] Merging remotes/origin/main commit 5b2c861b7985e68cc74183010c56eea75d87e84b into PR head commit f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 [2023-04-24T09:49:03.479Z] Merge succeeded, producing f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 [2023-04-24T09:49:03.479Z] Checking out Revision f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 (PR-577) [2023-04-24T09:49:02.548Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-24T09:49:02.587Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-24T09:49:02.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T09:49:02.603Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/577/head:refs/remotes/origin/PR-577 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-24T09:49:03.194Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T09:49:03.295Z] > git checkout -f f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 # timeout=10 [2023-04-24T09:49:03.380Z] > git remote # timeout=10 [2023-04-24T09:49:03.399Z] > git config --get remote.origin.url # timeout=10 [2023-04-24T09:49:03.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T09:49:03.437Z] > git merge 5b2c861b7985e68cc74183010c56eea75d87e84b # timeout=10 [2023-04-24T09:49:03.461Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-24T09:49:03.484Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T09:49:03.498Z] > git checkout -f f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 # timeout=10 [2023-04-24T09:49:03.738Z] Removing intermediate container 495a255a133a [2023-04-24T09:49:03.738Z] ---> 67356a9ac048 [2023-04-24T09:49:03.738Z] Step 13/24 : FROM alpine:3.17 [2023-04-24T09:49:03.738Z] 3.17: Pulling from library/alpine [2023-04-24T09:49:03.738Z] f56be85fc22e: Pulling fs layer [2023-04-24T09:49:03.738Z] f56be85fc22e: Verifying Checksum [2023-04-24T09:49:03.738Z] f56be85fc22e: Download complete [2023-04-24T09:49:03.738Z] f56be85fc22e: Pull complete [2023-04-24T09:49:03.738Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T09:49:03.738Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T09:49:03.738Z] ---> 9ed4aefc74f6 [2023-04-24T09:49:03.738Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-24T09:49:03.738Z] ---> Running in caf35860dfc6 [2023-04-24T09:49:03.738Z] Removing intermediate container caf35860dfc6 [2023-04-24T09:49:03.738Z] ---> 9e247750a7fd [2023-04-24T09:49:03.738Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-24T09:49:03.738Z] ---> Running in fd1155d17243 [2023-04-24T09:49:03.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T09:49:03.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T09:49:03.738Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T09:49:03.738Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T09:49:03.738Z] OK: 7 MiB in 16 packages [2023-04-24T09:49:03.738Z] Removing intermediate container fd1155d17243 [2023-04-24T09:49:03.738Z] ---> 03318f77b6fc [2023-04-24T09:49:03.738Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-24T09:49:03.738Z] ---> 23c5caab6955 [2023-04-24T09:49:03.738Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-24T09:49:03.738Z] ---> 0b956203ee18 [2023-04-24T09:49:03.738Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-24T09:49:03.738Z] ---> ec1ea09399b0 [2023-04-24T09:49:03.738Z] Step 19/24 : EXPOSE 59982 [2023-04-24T09:49:03.738Z] ---> Running in 71f9863e02e5 [2023-04-24T09:49:03.738Z] Removing intermediate container 71f9863e02e5 [2023-04-24T09:49:03.738Z] ---> d7e60970ac21 [2023-04-24T09:49:03.738Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-24T09:49:03.738Z] ---> Running in 79f53f7968d1 [2023-04-24T09:49:03.738Z] Removing intermediate container 79f53f7968d1 [2023-04-24T09:49:03.738Z] ---> 2b07dcd0d73c [2023-04-24T09:49:03.738Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-24T09:49:03.738Z] ---> Running in efe961a57800 [2023-04-24T09:49:03.738Z] Removing intermediate container efe961a57800 [2023-04-24T09:49:03.738Z] ---> b1d630b05e78 [2023-04-24T09:49:03.738Z] Step 22/24 : LABEL arch=amd64 [2023-04-24T09:49:03.738Z] ---> Running in cbb10e6bfe60 [2023-04-24T09:49:04.000Z] Removing intermediate container cbb10e6bfe60 [2023-04-24T09:49:04.000Z] ---> a847c5b2d633 [2023-04-24T09:49:04.000Z] Step 23/24 : LABEL git_sha=f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 [2023-04-24T09:49:04.000Z] ---> Running in f258a0d85dbb [2023-04-24T09:49:04.000Z] Removing intermediate container f258a0d85dbb [2023-04-24T09:49:04.000Z] ---> 8b0c5b6a85be [2023-04-24T09:49:04.000Z] Step 24/24 : LABEL version=0.0.0 [2023-04-24T09:49:04.000Z] ---> Running in 93353f77a07c [2023-04-24T09:49:04.267Z] Removing intermediate container 93353f77a07c [2023-04-24T09:49:04.267Z] ---> b4eb1535e431 [2023-04-24T09:49:04.267Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T09:49:04.267Z] Successfully built b4eb1535e431 [2023-04-24T09:49:04.267Z] 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-24T09:49:05.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T09:49:05.245Z] [2023-04-24T09:49:05.245Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T09:49:05.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T09:49:05.622Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T09:49:05.622Z] 5eb5b503b376: Pulling fs layer [2023-04-24T09:49:05.622Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T09:49:05.622Z] ec43610c2a17: Pulling fs layer [2023-04-24T09:49:05.622Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T09:49:05.622Z] 33b1e0a273af: Pulling fs layer [2023-04-24T09:49:05.622Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T09:49:05.622Z] 2f39f015ded8: Pulling fs layer [2023-04-24T09:49:05.622Z] 5d3b04190fa2: Waiting [2023-04-24T09:49:05.622Z] 33b1e0a273af: Waiting [2023-04-24T09:49:05.622Z] 3a2ae6a8a46f: Waiting [2023-04-24T09:49:05.622Z] 2f39f015ded8: Waiting [2023-04-24T09:49:05.622Z] 5c69ac0246d0: Download complete [2023-04-24T09:49:05.622Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-24T09:49:05.622Z] 3a2ae6a8a46f: Download complete [2023-04-24T09:49:05.622Z] 33b1e0a273af: Verifying Checksum [2023-04-24T09:49:05.622Z] 33b1e0a273af: Download complete [2023-04-24T09:49:05.622Z] ec43610c2a17: Verifying Checksum [2023-04-24T09:49:05.622Z] ec43610c2a17: Download complete [2023-04-24T09:49:05.622Z] 5d3b04190fa2: Verifying Checksum [2023-04-24T09:49:05.622Z] 5d3b04190fa2: Download complete [2023-04-24T09:49:05.882Z] 5eb5b503b376: Verifying Checksum [2023-04-24T09:49:05.882Z] 5eb5b503b376: Download complete [2023-04-24T09:49:06.456Z] 2f39f015ded8: Verifying Checksum [2023-04-24T09:49:06.456Z] 2f39f015ded8: Download complete [2023-04-24T09:49:06.965Z] Commit message: "build(snap): Upgrade snap base to core22" [2023-04-24T09:49:07.011Z] > git --version # timeout=10 [2023-04-24T09:49:07.021Z] > git --version # 'git version 2.25.1' [2023-04-24T09:49:07.035Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T09:49:07.039Z] 5eb5b503b376: Pull complete [2023-04-24T09:49:07.298Z] 5c69ac0246d0: Pull complete [2023-04-24T09:49:07.529Z] [2023-04-24T09:49:07.529Z] GitHub has been notified of this commit’s build result [2023-04-24T09:49:07.529Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T09:49:07.865Z] ec43610c2a17: Pull complete [2023-04-24T09:49:07.865Z] 3a2ae6a8a46f: Pull complete [2023-04-24T09:49:08.125Z] 33b1e0a273af: Pull complete [2023-04-24T09:49:08.125Z] 5d3b04190fa2: Pull complete [2023-04-24T09:49:08.304Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T09:49:08.304Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T09:49:08.304Z] Dload Upload Total Spent Left Speed [2023-04-24T09:49:08.304Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76353 0 --:--:-- --:--:-- --:--:-- 76353 [Pipeline] sh [2023-04-24T09:49:09.093Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T09:49:09.444Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T09:49:09.444Z] + sudo tee /etc/docker/daemon.new [2023-04-24T09:49:09.444Z] { [2023-04-24T09:49:09.444Z] "registry-mirrors": [ [2023-04-24T09:49:09.444Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T09:49:09.444Z] ], [2023-04-24T09:49:09.444Z] "bip": "10.250.0.254/24", [2023-04-24T09:49:09.444Z] "hosts": [ [2023-04-24T09:49:09.444Z] "tcp://0.0.0.0:5555", [2023-04-24T09:49:09.444Z] "unix:///var/run/docker.sock" [2023-04-24T09:49:09.444Z] ], [2023-04-24T09:49:09.444Z] "mtu": 1458, [2023-04-24T09:49:09.444Z] "selinux-enabled": true, [2023-04-24T09:49:09.444Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T09:49:09.444Z] } [Pipeline] sh [2023-04-24T09:49:09.797Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T09:49:10.162Z] + sudo service docker restart [2023-04-24T09:49:13.392Z] 2f39f015ded8: Pull complete [2023-04-24T09:49:13.393Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T09:49:13.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T09:49:13.393Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T09:49:13.629Z] prd-ubuntu20.04-docker-8c-8g-9519 does not seem to be running inside a container [2023-04-24T09:49:13.666Z] $ 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-577 -v /w/workspace/gexfoundry_device-mqtt-go_PR-577:/w/workspace/gexfoundry_device-mqtt-go_PR-577:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-577@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-577@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-24T09:49:16.172Z] $ docker top a06934eae5cec455371757d6240e9418a3c463f487ea933ace3b159370d9969e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T09:49:16.640Z] ---> job-cost.sh [2023-04-24T09:49:16.640Z] lf-activate-venv: SKIPPING [2023-04-24T09:49:16.640Z] INFO: No Stack... [2023-04-24T09:49:16.900Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T09:49:17.160Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T09:49:17.484Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-577/archives/cost.csv [2023-04-24T09:49:17.484Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T09:49:17.526Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-577-1-stack-cost] [2023-04-24T09:49:17.530Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-577-1-stack-cost] did not exist. Created. [2023-04-24T09:49:17.530Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-577-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T09:49:17.922Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T09:49:17.971Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T09:49:18.004Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-577-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T09:49:18.107Z] $ docker stop --time=1 a06934eae5cec455371757d6240e9418a3c463f487ea933ace3b159370d9969e [2023-04-24T09:49:19.267Z] $ docker rm -f --volumes a06934eae5cec455371757d6240e9418a3c463f487ea933ace3b159370d9969e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T09:49:28.490Z] provisioning config files... [2023-04-24T09:49:28.519Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8662261886428451811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T09:49:28.916Z] ---> docker-login.sh [2023-04-24T09:49:28.916Z] nexus3.edgexfoundry.org:10001 [2023-04-24T09:49:29.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:49:29.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:49:29.460Z] Configure a credential helper to remove this warning. See [2023-04-24T09:49:29.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:49:29.460Z] [2023-04-24T09:49:29.460Z] Login Succeeded [2023-04-24T09:49:29.460Z] nexus3.edgexfoundry.org:10002 [2023-04-24T09:49:29.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:49:29.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:49:29.999Z] Configure a credential helper to remove this warning. See [2023-04-24T09:49:29.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:49:29.999Z] [2023-04-24T09:49:29.999Z] Login Succeeded [2023-04-24T09:49:29.999Z] nexus3.edgexfoundry.org:10003 [2023-04-24T09:49:29.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:49:30.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:49:30.273Z] Configure a credential helper to remove this warning. See [2023-04-24T09:49:30.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:49:30.273Z] [2023-04-24T09:49:30.273Z] Login Succeeded [2023-04-24T09:49:30.273Z] nexus3.edgexfoundry.org:10004 [2023-04-24T09:49:30.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:49:30.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:49:30.546Z] Configure a credential helper to remove this warning. See [2023-04-24T09:49:30.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:49:30.546Z] [2023-04-24T09:49:30.546Z] Login Succeeded [2023-04-24T09:49:30.546Z] docker.io [2023-04-24T09:49:30.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T09:49:31.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T09:49:31.085Z] Configure a credential helper to remove this warning. See [2023-04-24T09:49:31.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T09:49:31.085Z] [2023-04-24T09:49:31.085Z] Login Succeeded [2023-04-24T09:49:31.085Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T09:49:31.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T09:49:31.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T09:49:31.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T09:49:31.552Z] ========================================================= [2023-04-24T09:49:31.552Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T09:49:31.552Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T09:49:32.051Z] + 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-24T09:49:32.320Z] Sending build context to Docker daemon 3.36MB [2023-04-24T09:49:32.320Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T09:49:32.320Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T09:49:32.609Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T09:49:32.609Z] af6eaf76a39c: Pulling fs layer [2023-04-24T09:49:32.609Z] 55522c791124: Pulling fs layer [2023-04-24T09:49:32.609Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T09:49:32.609Z] 169dfbe0d373: Pulling fs layer [2023-04-24T09:49:32.609Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T09:49:32.609Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T09:49:32.609Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T09:49:32.609Z] 169dfbe0d373: Waiting [2023-04-24T09:49:32.609Z] e1ff8fa3b103: Waiting [2023-04-24T09:49:32.609Z] 52ebb69f0ebf: Waiting [2023-04-24T09:49:32.609Z] 5abe8eddf0d5: Waiting [2023-04-24T09:49:32.609Z] 55522c791124: Verifying Checksum [2023-04-24T09:49:32.609Z] 55522c791124: Download complete [2023-04-24T09:49:32.609Z] 169dfbe0d373: Verifying Checksum [2023-04-24T09:49:32.609Z] 169dfbe0d373: Download complete [2023-04-24T09:49:32.609Z] af6eaf76a39c: Download complete [2023-04-24T09:49:32.609Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T09:49:32.609Z] e1ff8fa3b103: Download complete [2023-04-24T09:49:33.597Z] af6eaf76a39c: Pull complete [2023-04-24T09:49:33.597Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T09:49:33.597Z] 5abe8eddf0d5: Download complete [2023-04-24T09:49:35.015Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T09:49:35.015Z] ce5c4a1c91eb: Download complete [2023-04-24T09:49:35.015Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T09:49:35.015Z] 52ebb69f0ebf: Download complete [2023-04-24T09:49:36.428Z] 55522c791124: Pull complete [2023-04-24T09:49:51.448Z] ce5c4a1c91eb: Pull complete [2023-04-24T09:49:51.448Z] 169dfbe0d373: Pull complete [2023-04-24T09:49:51.448Z] e1ff8fa3b103: Pull complete [2023-04-24T09:49:56.815Z] 52ebb69f0ebf: Pull complete [2023-04-24T09:49:58.232Z] 5abe8eddf0d5: Pull complete [2023-04-24T09:49:58.503Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T09:49:58.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T09:49:58.503Z] ---> 6cb57ee374ae [2023-04-24T09:49:58.503Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T09:50:00.445Z] ---> Running in 15437ac4c5b2 [2023-04-24T09:50:00.445Z] Removing intermediate container 15437ac4c5b2 [2023-04-24T09:50:00.445Z] ---> 68c34a357864 [2023-04-24T09:50:00.445Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T09:50:00.445Z] ---> Running in 68ae1f38429d [2023-04-24T09:50:00.713Z] Removing intermediate container 68ae1f38429d [2023-04-24T09:50:00.713Z] ---> a2001f2c1615 [2023-04-24T09:50:00.713Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T09:50:00.982Z] ---> Running in 5a65d555feb6 [2023-04-24T09:50:01.250Z] Removing intermediate container 5a65d555feb6 [2023-04-24T09:50:01.250Z] ---> 8faebbe19780 [2023-04-24T09:50:01.250Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T09:50:01.250Z] ---> Running in 5c6116274c29 [2023-04-24T09:50:01.523Z] Removing intermediate container 5c6116274c29 [2023-04-24T09:50:01.523Z] ---> 314ec86bf16d [2023-04-24T09:50:01.523Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T09:50:01.523Z] ---> Running in d3064f4ca1a5 [2023-04-24T09:50:02.935Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T09:50:03.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T09:50:04.162Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T09:50:04.162Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T09:50:04.162Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T09:50:04.429Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T09:50:04.429Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T09:50:04.429Z] OK: 268 MiB in 57 packages [2023-04-24T09:50:05.392Z] Removing intermediate container d3064f4ca1a5 [2023-04-24T09:50:05.392Z] ---> d429a5d997aa [2023-04-24T09:50:05.392Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-24T09:50:05.392Z] ---> Running in 164155e6d560 [2023-04-24T09:50:05.660Z] Removing intermediate container 164155e6d560 [2023-04-24T09:50:05.660Z] ---> 9237889443d0 [2023-04-24T09:50:05.660Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T09:50:06.248Z] ---> 639cbe834272 [2023-04-24T09:50:06.248Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T09:50:06.248Z] ---> Running in 26064086791b [2023-04-24T09:51:14.118Z] Removing intermediate container 26064086791b [2023-04-24T09:51:14.118Z] ---> 903ffd2102b2 [2023-04-24T09:51:14.118Z] Step 11/12 : COPY . . [2023-04-24T09:51:14.118Z] ---> ec4b770d876c [2023-04-24T09:51:14.118Z] Step 12/12 : RUN $MAKE [2023-04-24T09:51:14.118Z] ---> Running in 01f5d5217b7d [2023-04-24T09:51:14.118Z] noop [2023-04-24T09:51:14.118Z] Removing intermediate container 01f5d5217b7d [2023-04-24T09:51:14.118Z] ---> 5772b25d69b9 [2023-04-24T09:51:14.118Z] Successfully built 5772b25d69b9 [2023-04-24T09:51:14.118Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T09:51:14.604Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T09:51:14.604Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T09:51:14.887Z] prd-ubuntu20.04-docker-arm64-4c-16g-9520 does not seem to be running inside a container [2023-04-24T09:51:14.949Z] $ 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-24T09:51:16.123Z] $ docker top 219e250bffe20a3998572613bff15f90d72fb2046db96c84d8ebf80d857fbf55 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T09:51:17.013Z] + go version [2023-04-24T09:51:17.013Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T09:51:17.043Z] $ docker stop --time=1 219e250bffe20a3998572613bff15f90d72fb2046db96c84d8ebf80d857fbf55 [2023-04-24T09:51:18.652Z] $ docker rm -f --volumes 219e250bffe20a3998572613bff15f90d72fb2046db96c84d8ebf80d857fbf55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T09:51:19.561Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T09:51:19.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T09:51:19.819Z] prd-ubuntu20.04-docker-arm64-4c-16g-9520 does not seem to be running inside a container [2023-04-24T09:51:19.882Z] $ 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-24T09:51:22.114Z] $ docker top 4c60ed8e09132ac0b676fed55f931055aed5ea970d14601db3171a82cc0fff98 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T09:51:22.683Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-24T09:51:23.081Z] + make test [2023-04-24T09:51:23.350Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T09:51:55.571Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-24T09:53:47.232Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-24T09:53:47.232Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-24T09:53:47.232Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.080s coverage: 21.9% of statements [2023-04-24T09:53:47.232Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-24T09:53:47.232Z] go vet ./... [2023-04-24T09:54:19.502Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T09:54:19.502Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T09:54:19.502Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T09:54:19.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T09:54:19.565Z] $ docker stop --time=1 4c60ed8e09132ac0b676fed55f931055aed5ea970d14601db3171a82cc0fff98 [2023-04-24T09:54:21.612Z] $ docker rm -f --volumes 4c60ed8e09132ac0b676fed55f931055aed5ea970d14601db3171a82cc0fff98 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T09:54:22.955Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T09:54:22.991Z] Warning: overwriting stash ‘coverage-report’ [2023-04-24T09:54:23.531Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T09:54:24.104Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T09:54:24.449Z] + ls -al . [2023-04-24T09:54:24.449Z] total 176 [2023-04-24T09:54:24.449Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 09:51 . [2023-04-24T09:54:24.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 09:49 .. [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 09:49 .dockerignore [2023-04-24T09:54:24.449Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 09:49 .git [2023-04-24T09:54:24.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:49 .github [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 09:49 .gitignore [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 09:49 .golangci.yml [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 9417 Apr 24 09:49 Attribution.txt [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 24 09:49 CHANGELOG.md [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 24 09:49 Dockerfile [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 09:49 GOVERNANCE.md [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 09:49 Jenkinsfile [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 09:49 LICENSE [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 24 09:49 Makefile [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 09:49 OWNERS.md [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 24 09:49 README.md [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 09:47 VERSION [2023-04-24T09:54:24.449Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 09:49 bin [2023-04-24T09:54:24.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:49 cmd [2023-04-24T09:54:24.449Z] -rw-r--r-- 1 jenkins jenkins 18460 Apr 24 09:53 coverage.out [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 24 09:49 go.mod [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 09:49 go.sum [2023-04-24T09:54:24.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:49 internal [2023-04-24T09:54:24.449Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 09:49 mock [2023-04-24T09:54:24.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 09:49 snap [2023-04-24T09:54:24.449Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 24 09:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T09:54:24.867Z] + 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=f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 --label arch=arm64 --label version=0.0.0 . [2023-04-24T09:54:25.134Z] Sending build context to Docker daemon 3.379MB [2023-04-24T09:54:25.134Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T09:54:25.134Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-24T09:54:25.134Z] ---> 5772b25d69b9 [2023-04-24T09:54:25.134Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-24T09:54:26.544Z] ---> Running in 30529c550727 [2023-04-24T09:54:26.810Z] Removing intermediate container 30529c550727 [2023-04-24T09:54:26.810Z] ---> abc7cd86f416 [2023-04-24T09:54:26.810Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T09:54:26.810Z] ---> Running in 94172374f57a [2023-04-24T09:54:28.241Z] Removing intermediate container 94172374f57a [2023-04-24T09:54:28.241Z] ---> c745e7b124d1 [2023-04-24T09:54:28.241Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T09:54:28.241Z] ---> Running in d7eebc7f4a55 [2023-04-24T09:54:28.507Z] Removing intermediate container d7eebc7f4a55 [2023-04-24T09:54:28.507Z] ---> b99211299e55 [2023-04-24T09:54:28.507Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T09:54:28.507Z] ---> Running in 030eb3aabe12 [2023-04-24T09:54:29.912Z] Removing intermediate container 030eb3aabe12 [2023-04-24T09:54:29.912Z] ---> 3a67bd57dfae [2023-04-24T09:54:29.912Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T09:54:30.192Z] ---> Running in 0c939625aa00 [2023-04-24T09:54:31.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T09:54:31.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T09:54:32.717Z] OK: 268 MiB in 57 packages [2023-04-24T09:54:33.692Z] Removing intermediate container 0c939625aa00 [2023-04-24T09:54:33.692Z] ---> 84ae8a093b13 [2023-04-24T09:54:33.692Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-24T09:54:33.692Z] ---> Running in 4f877f8bc7de [2023-04-24T09:54:33.960Z] Removing intermediate container 4f877f8bc7de [2023-04-24T09:54:33.960Z] ---> 2058b9e56c67 [2023-04-24T09:54:33.960Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-24T09:54:34.543Z] ---> 389a2e39cac2 [2023-04-24T09:54:34.543Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T09:54:34.543Z] ---> Running in f45b981bcd16 [2023-04-24T09:54:37.171Z] Removing intermediate container f45b981bcd16 [2023-04-24T09:54:37.171Z] ---> 9e5837ec58e3 [2023-04-24T09:54:37.171Z] Step 11/24 : COPY . . [2023-04-24T09:54:40.500Z] ---> 95d91fdadf5c [2023-04-24T09:54:40.500Z] Step 12/24 : RUN $MAKE [2023-04-24T09:54:40.500Z] ---> Running in e2f822a80b8a [2023-04-24T09:54:41.083Z] 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-24T09:56:47.734Z] Removing intermediate container e2f822a80b8a [2023-04-24T09:56:47.734Z] ---> c389ed0d4267 [2023-04-24T09:56:47.734Z] Step 13/24 : FROM alpine:3.17 [2023-04-24T09:56:47.734Z] 3.17: Pulling from library/alpine [2023-04-24T09:56:47.734Z] c41833b44d91: Pulling fs layer [2023-04-24T09:56:47.734Z] c41833b44d91: Verifying Checksum [2023-04-24T09:56:47.734Z] c41833b44d91: Download complete [2023-04-24T09:56:47.734Z] c41833b44d91: Pull complete [2023-04-24T09:56:47.734Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T09:56:47.734Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T09:56:47.734Z] ---> 51e60588ff2c [2023-04-24T09:56:47.734Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-24T09:56:47.734Z] ---> Running in c07cda2604bb [2023-04-24T09:56:47.734Z] Removing intermediate container c07cda2604bb [2023-04-24T09:56:47.734Z] ---> ac941c831c69 [2023-04-24T09:56:47.734Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-24T09:56:47.734Z] ---> Running in e021724e210c [2023-04-24T09:56:47.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T09:56:47.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T09:56:47.734Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T09:56:47.734Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T09:56:47.734Z] OK: 8 MiB in 16 packages [2023-04-24T09:56:47.734Z] Removing intermediate container e021724e210c [2023-04-24T09:56:47.734Z] ---> 7bb3feaed4e5 [2023-04-24T09:56:47.734Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-24T09:56:47.734Z] ---> cabd41d178ca [2023-04-24T09:56:47.734Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-24T09:56:47.734Z] ---> 743439038b5e [2023-04-24T09:56:47.734Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-24T09:56:47.734Z] ---> 353f34940612 [2023-04-24T09:56:47.734Z] Step 19/24 : EXPOSE 59982 [2023-04-24T09:56:47.734Z] ---> Running in 75a0ad2f5495 [2023-04-24T09:56:47.734Z] Removing intermediate container 75a0ad2f5495 [2023-04-24T09:56:47.734Z] ---> 02e851afc44a [2023-04-24T09:56:47.734Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-24T09:56:47.734Z] ---> Running in 5cbb003388d6 [2023-04-24T09:56:47.734Z] Removing intermediate container 5cbb003388d6 [2023-04-24T09:56:47.734Z] ---> ba7207220e41 [2023-04-24T09:56:47.734Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-24T09:56:47.734Z] ---> Running in 84f0d6e93f0f [2023-04-24T09:56:47.734Z] Removing intermediate container 84f0d6e93f0f [2023-04-24T09:56:47.734Z] ---> 097ebb0d7699 [2023-04-24T09:56:47.734Z] Step 22/24 : LABEL arch=arm64 [2023-04-24T09:56:47.734Z] ---> Running in 396042ce5970 [2023-04-24T09:56:48.011Z] Removing intermediate container 396042ce5970 [2023-04-24T09:56:48.011Z] ---> 7a524b7bfb0a [2023-04-24T09:56:48.011Z] Step 23/24 : LABEL git_sha=f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 [2023-04-24T09:56:48.011Z] ---> Running in 3c6067d13de6 [2023-04-24T09:56:48.280Z] Removing intermediate container 3c6067d13de6 [2023-04-24T09:56:48.280Z] ---> e5d5f3dc6cee [2023-04-24T09:56:48.280Z] Step 24/24 : LABEL version=0.0.0 [2023-04-24T09:56:48.552Z] ---> Running in 29c7db70e121 [2023-04-24T09:56:48.818Z] Removing intermediate container 29c7db70e121 [2023-04-24T09:56:48.818Z] ---> c3c180ed6361 [2023-04-24T09:56:48.818Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T09:56:48.818Z] Successfully built c3c180ed6361 [2023-04-24T09:56:48.818Z] 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-24T09:56:49.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T09:56:49.622Z] [2023-04-24T09:56:49.622Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T09:56:50.017Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T09:56:50.017Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T09:56:50.017Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T09:56:50.017Z] 04944245beec: Pulling fs layer [2023-04-24T09:56:50.017Z] 699f458cf7ca: Pulling fs layer [2023-04-24T09:56:50.017Z] 765212b225bb: Pulling fs layer [2023-04-24T09:56:50.017Z] f23df028b6ca: Pulling fs layer [2023-04-24T09:56:50.017Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T09:56:50.017Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T09:56:50.017Z] f23df028b6ca: Waiting [2023-04-24T09:56:50.017Z] d65c8cfc05b1: Waiting [2023-04-24T09:56:50.017Z] 2437ff75d9bd: Waiting [2023-04-24T09:56:50.017Z] 765212b225bb: Waiting [2023-04-24T09:56:50.283Z] 04944245beec: Verifying Checksum [2023-04-24T09:56:50.283Z] 04944245beec: Download complete [2023-04-24T09:56:50.283Z] 765212b225bb: Verifying Checksum [2023-04-24T09:56:50.283Z] 765212b225bb: Download complete [2023-04-24T09:56:50.283Z] f23df028b6ca: Download complete [2023-04-24T09:56:50.283Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T09:56:50.283Z] d65c8cfc05b1: Download complete [2023-04-24T09:56:50.283Z] 699f458cf7ca: Verifying Checksum [2023-04-24T09:56:50.283Z] 699f458cf7ca: Download complete [2023-04-24T09:56:50.865Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T09:56:50.865Z] 8998bd30e6a1: Download complete [2023-04-24T09:56:52.799Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T09:56:52.799Z] 2437ff75d9bd: Download complete [2023-04-24T09:56:54.738Z] 8998bd30e6a1: Pull complete [2023-04-24T09:56:55.003Z] 04944245beec: Pull complete [2023-04-24T09:56:56.404Z] 699f458cf7ca: Pull complete [2023-04-24T09:56:56.404Z] 765212b225bb: Pull complete [2023-04-24T09:56:56.985Z] f23df028b6ca: Pull complete [2023-04-24T09:56:57.252Z] d65c8cfc05b1: Pull complete [2023-04-24T09:57:12.222Z] 2437ff75d9bd: Pull complete [2023-04-24T09:57:12.222Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T09:57:12.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T09:57:12.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T09:57:12.544Z] prd-ubuntu20.04-docker-arm64-4c-16g-9520 does not seem to be running inside a container [2023-04-24T09:57:12.599Z] $ 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-24T09:57:14.938Z] $ docker top 28a7e3096d35ed943c8cf1966b69cbb1986edc8eeabb226d32472b200eea6af0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T09:57:15.829Z] ---> job-cost.sh [2023-04-24T09:57:15.829Z] lf-activate-venv: SKIPPING [2023-04-24T09:57:15.829Z] INFO: No Stack... [2023-04-24T09:57:16.095Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T09:57:17.053Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T09:57:17.401Z] + + cutcat -d, /w/workspace/device-mqtt-go/1/archives/cost.csv -f6 [2023-04-24T09:57:17.401Z] [Pipeline] lock [2023-04-24T09:57:17.457Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-577-1-stack-cost] [2023-04-24T09:57:17.480Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-577-1-stack-cost] did not exist. Created. [2023-04-24T09:57:17.480Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-577-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T09:57:17.905Z] /w/workspace/device-mqtt-go/1@tmp/durable-7be60f4f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T09:57:18.257Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T09:57:18.553Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T09:57:18.600Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T09:57:18.618Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-577-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T09:57:18.698Z] $ docker stop --time=1 28a7e3096d35ed943c8cf1966b69cbb1986edc8eeabb226d32472b200eea6af0 [2023-04-24T09:57:20.686Z] $ docker rm -f --volumes 28a7e3096d35ed943c8cf1966b69cbb1986edc8eeabb226d32472b200eea6af0 [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-24T09:57:21.647Z] provisioning config files... [2023-04-24T09:57:21.656Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-577@tmp/config425382411013749203tmp [Pipeline] { [Pipeline] sh [2023-04-24T09:57:22.009Z] + set +x [2023-04-24T09:57:22.010Z] + curl -s https://codecov.io/bash [2023-04-24T09:57:22.010Z] + bash -s -- [2023-04-24T09:57:22.010Z] [2023-04-24T09:57:22.010Z] _____ _ [2023-04-24T09:57:22.010Z] / ____| | | [2023-04-24T09:57:22.010Z] | | ___ __| | ___ ___ _____ __ [2023-04-24T09:57:22.010Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-24T09:57:22.010Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-24T09:57:22.010Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-24T09:57:22.010Z] Bash-1.0.6 [2023-04-24T09:57:22.010Z] [2023-04-24T09:57:22.010Z] [2023-04-24T09:57:22.010Z] ==> git version 2.25.1 found [2023-04-24T09:57:22.010Z] ==> 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-24T09:57:22.010Z] Release-Date: 2020-01-08 [2023-04-24T09:57:22.010Z] 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-24T09:57:22.010Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-24T09:57:22.010Z] ==> Jenkins CI detected. [2023-04-24T09:57:22.010Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-577 [2023-04-24T09:57:22.010Z] project root: . [2023-04-24T09:57:22.010Z] --> token set from env [2023-04-24T09:57:22.010Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-24T09:57:22.010Z] ==> Running gcov in . (disable via -X gcov) [2023-04-24T09:57:22.010Z] ==> Python coveragepy not found [2023-04-24T09:57:22.010Z] ==> Searching for coverage reports in: [2023-04-24T09:57:22.010Z] + . [2023-04-24T09:57:22.010Z] -> Found 1 reports [2023-04-24T09:57:22.010Z] ==> Detecting git/mercurial file structure [2023-04-24T09:57:22.010Z] ==> Reading reports [2023-04-24T09:57:22.010Z] + ./coverage.out bytes=18460 [2023-04-24T09:57:22.272Z] ==> Appending adjustments [2023-04-24T09:57:22.272Z] https://docs.codecov.io/docs/fixing-reports [2023-04-24T09:57:22.272Z] + Found adjustments [2023-04-24T09:57:22.272Z] ==> Gzipping contents [2023-04-24T09:57:22.272Z] 4.0K /tmp/codecov.Vzooue.gz [2023-04-24T09:57:22.272Z] ==> Uploading reports [2023-04-24T09:57:22.272Z] url: https://codecov.io [2023-04-24T09:57:22.272Z] query: branch=PR-577&commit=f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-577%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=577&job=&cmd_args= [2023-04-24T09:57:22.272Z] -> Pinging Codecov [2023-04-24T09:57:22.272Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-577&commit=f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-577%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=577&job=&cmd_args= [2023-04-24T09:57:22.531Z] -> Uploading to [2023-04-24T09:57:22.531Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-24/7D719EC7BBE17E464838252E33014C33/f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80/1ab1a13c-8479-4e80-b24f-56f54608f3b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T095722Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a0ae3bb358e32a14b786de9296fc276aee1d217c0ba5c8ecfd735ec208326597 [2023-04-24T09:57:22.531Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T09:57:22.531Z] Dload Upload Total Spent Left Speed [2023-04-24T09:57:22.531Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 13774 --:--:-- --:--:-- --:--:-- 13774 [2023-04-24T09:57:22.531Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/f43ea4c741a2dc8de6236f3b56c6f35f21bd6e80 [Pipeline] } [2023-04-24T09:57:22.807Z] 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-24T09:57:24.552Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-577/archives ] [2023-04-24T09:57:24.552Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-577/archives [2023-04-24T09:57:24.552Z] total 16 [2023-04-24T09:57:24.552Z] drwxr-xr-x 3 root root 4096 Apr 24 09:49 . [2023-04-24T09:57:24.552Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 09:49 .. [2023-04-24T09:57:24.552Z] drwxr-xr-x 2 root root 4096 Apr 24 09:49 cost [2023-04-24T09:57:24.552Z] -rw-r--r-- 1 root root 86 Apr 24 09:49 cost.csv [2023-04-24T09:57:24.552Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-577/archives [2023-04-24T09:57:24.552Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-577/archives [2023-04-24T09:57:24.552Z] total 16 [2023-04-24T09:57:24.552Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 09:49 . [2023-04-24T09:57:24.552Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 09:49 .. [2023-04-24T09:57:24.552Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 09:49 cost [2023-04-24T09:57:24.552Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 24 09:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T09:57:24.878Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T09:57:25.766Z] ---> package-listing.sh [2023-04-24T09:57:25.766Z] ++ facter osfamily [2023-04-24T09:57:25.766Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T09:57:26.025Z] + OS_FAMILY=debian [2023-04-24T09:57:26.025Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-577 [2023-04-24T09:57:26.025Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T09:57:26.025Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T09:57:26.025Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T09:57:26.025Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T09:57:26.025Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-577 ']' [2023-04-24T09:57:26.025Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T09:57:26.025Z] + case "${OS_FAMILY}" in [2023-04-24T09:57:26.026Z] + dpkg -l [2023-04-24T09:57:26.026Z] + grep '^ii' [2023-04-24T09:57:26.026Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T09:57:26.026Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T09:57:26.026Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T09:57:26.026Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-577 ']' [2023-04-24T09:57:26.026Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-577/archives/ [2023-04-24T09:57:26.026Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-577/archives/ [Pipeline] echo [2023-04-24T09:57:26.060Z] 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-577/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-24T09:57:26.350Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T09:57:26.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T09:57:26.975Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T09:57:27.111Z] prd-ubuntu20.04-docker-8c-8g-9519 does not seem to be running inside a container [2023-04-24T09:57:27.159Z] $ 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-577/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-577 -v /w/workspace/gexfoundry_device-mqtt-go_PR-577:/w/workspace/gexfoundry_device-mqtt-go_PR-577:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-577@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-577@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-24T09:57:27.336Z] $ docker top 9e82a54909a465af58e0783f700bb673eb32048d49af9a73ac6b9caa9dfaa715 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T09:57:27.712Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T09:57:28.018Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T09:57:28.328Z] + ls /var/log/sa-host [2023-04-24T09:57:28.328Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T09:57:28.556Z] provisioning config files... [2023-04-24T09:57:28.565Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-577@tmp/config5708620247715251245tmp [Pipeline] { [Pipeline] echo [2023-04-24T09:57:28.613Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T09:57:28.919Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T09:57:28.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T09:57:29.359Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T09:57:29.390Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T09:57:29.701Z] ---> sudo-logs.sh [2023-04-24T09:57:29.701Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T09:57:29.783Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T09:57:30.095Z] ---> job-cost.sh [2023-04-24T09:57:30.095Z] lf-activate-venv: SKIPPING [2023-04-24T09:57:30.095Z] DEBUG: total: 0.2199999988079071 [2023-04-24T09:57:30.095Z] INFO: Retrieving Stack Cost... [2023-04-24T09:57:30.357Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T09:57:30.925Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T09:57:30.957Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T09:57:31.270Z] ---> logs-deploy.sh [2023-04-24T09:57:31.270Z] lf-activate-venv: SKIPPING [2023-04-24T09:57:31.270Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-577/1 [2023-04-24T09:57:31.270Z] INFO: archiving workspace using pattern(s): [2023-04-24T09:57:32.208Z] Archives upload complete. [2023-04-24T09:57:32.208Z] INFO: archiving logs to Nexus