Pull request #569 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ba625a94d7e993e5bfdd5df7b0a2a480a787b868+a5ec5e69222fbe1cabc57f6e226de7296c53eab0 (59a61a0c7d40ea3bc4e651795aabd78205fdaf5a) 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-ssh14172577053984829873.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-ssh10295044066659829719.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-569/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-569/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1454832729881855718.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-569/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8625776451233795665.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-ssh11982361397885282696.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-569/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-569/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15057306854380203531.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9025 in /w/workspace/gexfoundry_device-mqtt-go_PR-569 [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-569 # 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/569/head:refs/remotes/origin/PR-569 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a5ec5e69222fbe1cabc57f6e226de7296c53eab0 into PR head commit ba625a94d7e993e5bfdd5df7b0a2a480a787b868 Merge succeeded, producing ba625a94d7e993e5bfdd5df7b0a2a480a787b868 Checking out Revision ba625a94d7e993e5bfdd5df7b0a2a480a787b868 (PR-569) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-19T01:59:43.608Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f ba625a94d7e993e5bfdd5df7b0a2a480a787b868 # 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 a5ec5e69222fbe1cabc57f6e226de7296c53eab0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba625a94d7e993e5bfdd5df7b0a2a480a787b868 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-19T01:59:43.874Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-19T01:59:44.013Z] ========================================================= [2023-04-19T01:59:44.013Z] EdgeX Global Pipelines Version Info [2023-04-19T01:59:44.013Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-19T01:59:56.482Z] ------------------- [2023-04-19T01:59:56.482Z] stable info: [2023-04-19T01:59:56.482Z] ------------------- [2023-04-19T01:59:56.482Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-19T01:59:56.482Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T01:59:56.482Z] Message: update stable to v1.0.248 [2023-04-19T01:59:56.482Z] ------------------- [2023-04-19T01:59:56.482Z] experimental info: [2023-04-19T01:59:56.482Z] ------------------- [2023-04-19T01:59:56.482Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-19T01:59:56.482Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T01:59:56.482Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-19T01:59:56.976Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-04-19T01:59:57.031Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-04-19T01:59:57.121Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-19T01:59:57.212Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-19T01:59:57.297Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-19T01:59:57.386Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-19T01:59:57.467Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-19T01:59:57.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-19T01:59:57.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-19T01:59:57.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-19T01:59:57.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-19T01:59:57.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-04-19T01:59:57.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-19T01:59:57.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-19T01:59:58.002Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T01:59:58.053Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-19T01:59:58.131Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-19T01:59:58.212Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-19T01:59:58.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-19T01:59:58.313Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-19T01:59:58.363Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-19T01:59:58.425Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-19T01:59:58.477Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-19T01:59:58.539Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-19T01:59:58.812Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-19T01:59:58.859Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-19T01:59:58.901Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-19T01:59:58.948Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-569 [Pipeline] echo [2023-04-19T01:59:59.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-569 [Pipeline] echo [2023-04-19T01:59:59.095Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-569 [Pipeline] echo [2023-04-19T01:59:59.149Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba625a94d7e993e5bfdd5df7b0a2a480a787b868 [Pipeline] echo [2023-04-19T01:59:59.215Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba625a9 [Pipeline] echo [2023-04-19T01:59:59.284Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T01:59:59.443Z] provisioning config files... [2023-04-19T01:59:59.481Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp/config8782363464944021502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T01:59:59.863Z] ---> docker-login.sh [2023-04-19T01:59:59.863Z] nexus3.edgexfoundry.org:10001 [2023-04-19T02:00:00.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:00:00.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:00:00.131Z] Configure a credential helper to remove this warning. See [2023-04-19T02:00:00.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:00:00.131Z] [2023-04-19T02:00:00.131Z] Login Succeeded [2023-04-19T02:00:00.131Z] nexus3.edgexfoundry.org:10002 [2023-04-19T02:00:00.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:00:00.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:00:00.391Z] Configure a credential helper to remove this warning. See [2023-04-19T02:00:00.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:00:00.391Z] [2023-04-19T02:00:00.391Z] Login Succeeded [2023-04-19T02:00:00.391Z] nexus3.edgexfoundry.org:10003 [2023-04-19T02:00:00.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:00:00.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:00:00.391Z] Configure a credential helper to remove this warning. See [2023-04-19T02:00:00.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:00:00.391Z] [2023-04-19T02:00:00.391Z] Login Succeeded [2023-04-19T02:00:00.391Z] nexus3.edgexfoundry.org:10004 [2023-04-19T02:00:00.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:00:00.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:00:00.694Z] Configure a credential helper to remove this warning. See [2023-04-19T02:00:00.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:00:00.694Z] [2023-04-19T02:00:00.694Z] Login Succeeded [2023-04-19T02:00:00.694Z] docker.io [2023-04-19T02:00:00.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:00:00.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:00:00.694Z] Configure a credential helper to remove this warning. See [2023-04-19T02:00:00.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:00:00.694Z] [2023-04-19T02:00:00.694Z] Login Succeeded [2023-04-19T02:00:00.694Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T02:00:00.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-19T02:00:01.851Z] + git rev-list -1 --merges ba625a94d7e993e5bfdd5df7b0a2a480a787b868~1..ba625a94d7e993e5bfdd5df7b0a2a480a787b868 [Pipeline] echo [2023-04-19T02:00:02.176Z] -----------> git rev-list -1 --merges ba625a94d7e993e5bfdd5df7b0a2a480a787b868~1..ba625a94d7e993e5bfdd5df7b0a2a480a787b868 ba625a94d7e993e5bfdd5df7b0a2a480a787b868 [false] [Pipeline] sh [2023-04-19T02:00:02.531Z] + git log --format=format:%s -1 ba625a94d7e993e5bfdd5df7b0a2a480a787b868 [Pipeline] echo [2023-04-19T02:00:02.622Z] ========================================================= [2023-04-19T02:00:02.622Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-19T02:00:02.622Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T02:00:03.231Z] + git log --format=format:%s -1 ba625a94d7e993e5bfdd5df7b0a2a480a787b868 [Pipeline] echo [2023-04-19T02:00:03.295Z] [semverPrep] GIT_COMMIT: ba625a94d7e993e5bfdd5df7b0a2a480a787b868, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-19T02:00:03.341Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-19T02:00:03.866Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-19T02:00:03.866Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-19T02:00:03.866Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-19T02:00:03.866Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-19T02:00:03.866Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-04-19T02:00:03.866Z] -a /etc/ssh/ssh_known_hosts [2023-04-19T02:00:03.866Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:00:04.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T02:00:04.383Z] [2023-04-19T02:00:04.383Z] 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-19T02:00:04.963Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T02:00:04.963Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-19T02:00:04.963Z] b85a868b505f: Pulling fs layer [2023-04-19T02:00:04.963Z] e2be974225ed: Pulling fs layer [2023-04-19T02:00:04.963Z] 339a4e72a1f5: Pulling fs layer [2023-04-19T02:00:04.963Z] 988bab9f4d93: Pulling fs layer [2023-04-19T02:00:04.963Z] 1469e6f7b9e6: Pulling fs layer [2023-04-19T02:00:04.963Z] eaf3925da568: Pulling fs layer [2023-04-19T02:00:04.963Z] 988bab9f4d93: Waiting [2023-04-19T02:00:04.963Z] 1469e6f7b9e6: Waiting [2023-04-19T02:00:04.963Z] bab4dde63d76: Pulling fs layer [2023-04-19T02:00:04.963Z] bde34c3a00c8: Pulling fs layer [2023-04-19T02:00:04.964Z] b352a97aabf1: Pulling fs layer [2023-04-19T02:00:04.964Z] eaf3925da568: Waiting [2023-04-19T02:00:04.964Z] 4872d77fe225: Pulling fs layer [2023-04-19T02:00:04.964Z] bab4dde63d76: Waiting [2023-04-19T02:00:04.964Z] 5851b861e8e6: Pulling fs layer [2023-04-19T02:00:04.964Z] bde34c3a00c8: Waiting [2023-04-19T02:00:04.964Z] b352a97aabf1: Waiting [2023-04-19T02:00:04.964Z] 4872d77fe225: Waiting [2023-04-19T02:00:04.964Z] 5851b861e8e6: Waiting [2023-04-19T02:00:04.964Z] e2be974225ed: Download complete [2023-04-19T02:00:04.964Z] 988bab9f4d93: Verifying Checksum [2023-04-19T02:00:04.964Z] 988bab9f4d93: Download complete [2023-04-19T02:00:05.239Z] 339a4e72a1f5: Verifying Checksum [2023-04-19T02:00:05.239Z] 339a4e72a1f5: Download complete [2023-04-19T02:00:05.239Z] 1469e6f7b9e6: Verifying Checksum [2023-04-19T02:00:05.239Z] 1469e6f7b9e6: Download complete [2023-04-19T02:00:05.239Z] eaf3925da568: Verifying Checksum [2023-04-19T02:00:05.239Z] eaf3925da568: Download complete [2023-04-19T02:00:05.239Z] bde34c3a00c8: Download complete [2023-04-19T02:00:05.239Z] b352a97aabf1: Download complete [2023-04-19T02:00:05.543Z] 4872d77fe225: Verifying Checksum [2023-04-19T02:00:05.543Z] 4872d77fe225: Download complete [2023-04-19T02:00:05.543Z] 5851b861e8e6: Download complete [2023-04-19T02:00:05.543Z] b85a868b505f: Verifying Checksum [2023-04-19T02:00:05.543Z] b85a868b505f: Download complete [2023-04-19T02:00:05.812Z] bab4dde63d76: Verifying Checksum [2023-04-19T02:00:05.812Z] bab4dde63d76: Download complete [2023-04-19T02:00:06.761Z] b85a868b505f: Pull complete [2023-04-19T02:00:06.761Z] e2be974225ed: Pull complete [2023-04-19T02:00:07.330Z] 339a4e72a1f5: Pull complete [2023-04-19T02:00:07.330Z] 988bab9f4d93: Pull complete [2023-04-19T02:00:07.597Z] 1469e6f7b9e6: Pull complete [2023-04-19T02:00:07.879Z] eaf3925da568: Pull complete [2023-04-19T02:00:09.889Z] bab4dde63d76: Pull complete [2023-04-19T02:00:09.889Z] bde34c3a00c8: Pull complete [2023-04-19T02:00:09.889Z] b352a97aabf1: Pull complete [2023-04-19T02:00:09.889Z] 4872d77fe225: Pull complete [2023-04-19T02:00:09.889Z] 5851b861e8e6: Pull complete [2023-04-19T02:00:10.181Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-19T02:00:10.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-19T02:00:10.181Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:00:10.565Z] prd-ubuntu20.04-docker-8c-8g-9025 does not seem to be running inside a container [2023-04-19T02:00:10.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-569 -v /w/workspace/gexfoundry_device-mqtt-go_PR-569:/w/workspace/gexfoundry_device-mqtt-go_PR-569:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-19T02:00:11.760Z] $ docker top b931747adbd8e0bf1bd7b4f378fdecfef221942a82fcf7586ddec42035e697f5 -eo pid,comm [2023-04-19T02:00:11.809Z] 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-19T02:00:11.809Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-19T02:00:11.996Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T02:00:11.997Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T02:00:12.119Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T02:00:12.132Z] $ docker exec b931747adbd8e0bf1bd7b4f378fdecfef221942a82fcf7586ddec42035e697f5 ssh-agent [2023-04-19T02:00:12.230Z] SSH_AUTH_SOCK=/tmp/ssh-DEda0KWBpTRE/agent.31 [2023-04-19T02:00:12.230Z] SSH_AGENT_PID=38 [2023-04-19T02:00:12.239Z] Running ssh-add (command line suppressed) [2023-04-19T02:00:12.356Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp/private_key_3275714081276840911.key (/w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp/private_key_3275714081276840911.key) [2023-04-19T02:00:12.360Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T02:00:12.708Z] + git tag --points-at HEAD [Pipeline] } [2023-04-19T02:00:12.763Z] $ docker exec --env ******** --env ******** b931747adbd8e0bf1bd7b4f378fdecfef221942a82fcf7586ddec42035e697f5 ssh-agent -k [2023-04-19T02:00:12.861Z] unset SSH_AUTH_SOCK; [2023-04-19T02:00:12.861Z] unset SSH_AGENT_PID; [2023-04-19T02:00:12.862Z] echo Agent pid 38 killed; [2023-04-19T02:00:12.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-19T02:00:12.957Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-19T02:00:12.957Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-19T02:00:13.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-19T02:00:13.092Z] $ docker exec b931747adbd8e0bf1bd7b4f378fdecfef221942a82fcf7586ddec42035e697f5 ssh-agent [2023-04-19T02:00:13.189Z] SSH_AUTH_SOCK=/tmp/ssh-T7XNzWo8wXrr/agent.72 [2023-04-19T02:00:13.189Z] SSH_AGENT_PID=78 [2023-04-19T02:00:13.194Z] Running ssh-add (command line suppressed) [2023-04-19T02:00:13.300Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp/private_key_7532559054475443234.key (/w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp/private_key_7532559054475443234.key) [2023-04-19T02:00:13.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-19T02:00:13.655Z] + git semver init [2023-04-19T02:00:13.914Z] 2023-04-19 02:00:13,834 [run_init] DEBUG init version:0.0.0 force:False [2023-04-19T02:00:13.914Z] 2023-04-19 02:00:13,835 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-569/.semver [2023-04-19T02:00:13.914Z] 2023-04-19 02:00:13,836 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-569/.semver [2023-04-19T02:00:13.914Z] 2023-04-19 02:00:13,836 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-569/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-569, universal_newlines=False, shell=None, istream=None) [2023-04-19T02:00:14.852Z] 2023-04-19 02:00:14,635 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-569/.git/info/exclude [2023-04-19T02:00:14.852Z] 2023-04-19 02:00:14,635 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-569/.semver/PR-569 with force:False [2023-04-19T02:00:14.852Z] 2023-04-19 02:00:14,636 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-569/.semver/PR-569 [2023-04-19T02:00:14.852Z] 2023-04-19 02:00:14,640 [execute] INFO git cat-file --batch-check [2023-04-19T02:00:14.852Z] 2023-04-19 02:00:14,641 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-569/.semver, universal_newlines=False, shell=None, istream=) [2023-04-19T02:00:14.852Z] 2023-04-19 02:00:14,646 [execute] INFO git cat-file --batch [2023-04-19T02:00:14.852Z] 2023-04-19 02:00:14,646 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-569/.semver, universal_newlines=False, shell=None, istream=) [2023-04-19T02:00:14.853Z] 2023-04-19 02:00:14,651 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-569/.semver/PR-569 [2023-04-19T02:00:14.853Z] 0.0.0 [Pipeline] } [2023-04-19T02:00:14.889Z] $ docker exec --env ******** --env ******** b931747adbd8e0bf1bd7b4f378fdecfef221942a82fcf7586ddec42035e697f5 ssh-agent -k [2023-04-19T02:00:14.980Z] unset SSH_AUTH_SOCK; [2023-04-19T02:00:14.981Z] unset SSH_AGENT_PID; [2023-04-19T02:00:14.981Z] echo Agent pid 78 killed; [2023-04-19T02:00:14.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-19T02:00:15.451Z] + git semver [Pipeline] } [2023-04-19T02:00:15.753Z] $ docker stop --time=1 b931747adbd8e0bf1bd7b4f378fdecfef221942a82fcf7586ddec42035e697f5 [2023-04-19T02:00:17.050Z] $ docker rm -f --volumes b931747adbd8e0bf1bd7b4f378fdecfef221942a82fcf7586ddec42035e697f5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T02:00:17.456Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-19T02:00:17.753Z] Stashed 1 file(s) [Pipeline] echo [2023-04-19T02:00:17.773Z] [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-19T02:00:18.651Z] provisioning config files... [2023-04-19T02:00:18.660Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp/config3222864967905159428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:00:19.041Z] ---> docker-login.sh [2023-04-19T02:00:19.041Z] nexus3.edgexfoundry.org:10001 [2023-04-19T02:00:19.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:00:19.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:00:19.041Z] Configure a credential helper to remove this warning. See [2023-04-19T02:00:19.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:00:19.041Z] [2023-04-19T02:00:19.041Z] Login Succeeded [2023-04-19T02:00:19.041Z] nexus3.edgexfoundry.org:10002 [2023-04-19T02:00:19.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:00:19.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:00:19.041Z] Configure a credential helper to remove this warning. See [2023-04-19T02:00:19.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:00:19.041Z] [2023-04-19T02:00:19.041Z] Login Succeeded [2023-04-19T02:00:19.041Z] nexus3.edgexfoundry.org:10003 [2023-04-19T02:00:19.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:00:19.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:00:19.304Z] Configure a credential helper to remove this warning. See [2023-04-19T02:00:19.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:00:19.304Z] [2023-04-19T02:00:19.304Z] Login Succeeded [2023-04-19T02:00:19.304Z] nexus3.edgexfoundry.org:10004 [2023-04-19T02:00:19.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:00:19.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:00:19.304Z] Configure a credential helper to remove this warning. See [2023-04-19T02:00:19.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:00:19.304Z] [2023-04-19T02:00:19.304Z] Login Succeeded [2023-04-19T02:00:19.304Z] docker.io [2023-04-19T02:00:19.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:00:19.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:00:19.565Z] Configure a credential helper to remove this warning. See [2023-04-19T02:00:19.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:00:19.565Z] [2023-04-19T02:00:19.565Z] Login Succeeded [2023-04-19T02:00:19.565Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T02:00:19.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-19T02:00:20.005Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T02:00:20.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T02:00:20.123Z] ========================================================= [2023-04-19T02:00:20.123Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-19T02:00:20.123Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:00:20.657Z] + 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-19T02:00:20.657Z] Sending build context to Docker daemon 6.461MB [2023-04-19T02:00:20.657Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T02:00:20.657Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-19T02:00:20.657Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-19T02:00:20.657Z] 63b65145d645: Pulling fs layer [2023-04-19T02:00:20.657Z] a2d21d5440eb: Pulling fs layer [2023-04-19T02:00:20.657Z] 935e6c44a52c: Pulling fs layer [2023-04-19T02:00:20.657Z] 94cc34f8dd06: Pulling fs layer [2023-04-19T02:00:20.657Z] 30dea6a524f1: Pulling fs layer [2023-04-19T02:00:20.657Z] a2aff8979fd8: Pulling fs layer [2023-04-19T02:00:20.657Z] 6808be2612f2: Pulling fs layer [2023-04-19T02:00:20.657Z] f25807f1079a: Pulling fs layer [2023-04-19T02:00:20.657Z] a2aff8979fd8: Waiting [2023-04-19T02:00:20.657Z] 94cc34f8dd06: Waiting [2023-04-19T02:00:20.657Z] 6808be2612f2: Waiting [2023-04-19T02:00:20.657Z] f25807f1079a: Waiting [2023-04-19T02:00:20.657Z] 30dea6a524f1: Waiting [2023-04-19T02:00:20.657Z] a2d21d5440eb: Download complete [2023-04-19T02:00:20.657Z] 94cc34f8dd06: Verifying Checksum [2023-04-19T02:00:20.657Z] 94cc34f8dd06: Download complete [2023-04-19T02:00:20.657Z] 30dea6a524f1: Verifying Checksum [2023-04-19T02:00:20.657Z] 30dea6a524f1: Download complete [2023-04-19T02:00:20.915Z] 63b65145d645: Verifying Checksum [2023-04-19T02:00:20.915Z] 63b65145d645: Download complete [2023-04-19T02:00:20.915Z] a2aff8979fd8: Download complete [2023-04-19T02:00:20.915Z] 63b65145d645: Pull complete [2023-04-19T02:00:21.173Z] a2d21d5440eb: Pull complete [2023-04-19T02:00:21.742Z] 935e6c44a52c: Verifying Checksum [2023-04-19T02:00:21.742Z] 935e6c44a52c: Download complete [2023-04-19T02:00:22.004Z] f25807f1079a: Verifying Checksum [2023-04-19T02:00:22.004Z] f25807f1079a: Download complete [2023-04-19T02:00:22.267Z] 6808be2612f2: Verifying Checksum [2023-04-19T02:00:22.267Z] 6808be2612f2: Download complete [2023-04-19T02:00:25.567Z] 935e6c44a52c: Pull complete [2023-04-19T02:00:25.567Z] 94cc34f8dd06: Pull complete [2023-04-19T02:00:25.567Z] 30dea6a524f1: Pull complete [2023-04-19T02:00:25.567Z] a2aff8979fd8: Pull complete [2023-04-19T02:00:28.092Z] 6808be2612f2: Pull complete [2023-04-19T02:00:28.355Z] f25807f1079a: Pull complete [2023-04-19T02:00:28.355Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-19T02:00:28.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-19T02:00:28.355Z] ---> 3b553350e43f [2023-04-19T02:00:28.355Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-19T02:00:29.733Z] ---> Running in 8f9b377b7664 [2023-04-19T02:00:30.004Z] Removing intermediate container 8f9b377b7664 [2023-04-19T02:00:30.004Z] ---> 9300328ed0eb [2023-04-19T02:00:30.004Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T02:00:30.004Z] ---> Running in 700018a1c8e5 [2023-04-19T02:00:30.004Z] Removing intermediate container 700018a1c8e5 [2023-04-19T02:00:30.004Z] ---> 65ca382ac1bf [2023-04-19T02:00:30.004Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T02:00:30.004Z] ---> Running in 5c76a7a5100a [2023-04-19T02:00:30.004Z] Removing intermediate container 5c76a7a5100a [2023-04-19T02:00:30.004Z] ---> a7113e89c5ab [2023-04-19T02:00:30.004Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T02:00:30.278Z] ---> Running in a7788227ea2d [2023-04-19T02:00:30.278Z] Removing intermediate container a7788227ea2d [2023-04-19T02:00:30.278Z] ---> 9e00c6529a2e [2023-04-19T02:00:30.278Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T02:00:30.278Z] ---> Running in 17879533f650 [2023-04-19T02:00:30.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T02:00:30.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T02:00:30.820Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-19T02:00:30.820Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-19T02:00:30.820Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-19T02:00:30.820Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-19T02:00:30.820Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T02:00:30.820Z] OK: 269 MiB in 57 packages [2023-04-19T02:00:31.425Z] Removing intermediate container 17879533f650 [2023-04-19T02:00:31.425Z] ---> 2e903584997f [2023-04-19T02:00:31.425Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-19T02:00:31.425Z] ---> Running in e2204e33701d [2023-04-19T02:00:31.425Z] Removing intermediate container e2204e33701d [2023-04-19T02:00:31.425Z] ---> 64a6868699f0 [2023-04-19T02:00:31.425Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-19T02:00:31.425Z] ---> 13700da1b62e [2023-04-19T02:00:31.425Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T02:00:31.425Z] ---> Running in 4c25e0d60827 [2023-04-19T02:00:33.416Z] Still waiting to schedule task [2023-04-19T02:00:33.417Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9023’ [2023-04-19T02:01:03.556Z] Removing intermediate container 4c25e0d60827 [2023-04-19T02:01:03.556Z] ---> cc783e5c5bd6 [2023-04-19T02:01:03.556Z] Step 11/12 : COPY . . [2023-04-19T02:01:03.556Z] ---> fb1d6721ccbe [2023-04-19T02:01:03.556Z] Step 12/12 : RUN $MAKE [2023-04-19T02:01:03.556Z] ---> Running in 03f1ac7344ff [2023-04-19T02:01:03.556Z] noop [2023-04-19T02:01:03.556Z] Removing intermediate container 03f1ac7344ff [2023-04-19T02:01:03.556Z] ---> f0c50d02787e [2023-04-19T02:01:03.556Z] Successfully built f0c50d02787e [2023-04-19T02:01:03.556Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:01:04.083Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T02:01:04.083Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:01:04.251Z] prd-ubuntu20.04-docker-8c-8g-9025 does not seem to be running inside a container [2023-04-19T02:01:04.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-569 -v /w/workspace/gexfoundry_device-mqtt-go_PR-569:/w/workspace/gexfoundry_device-mqtt-go_PR-569:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-19T02:01:04.655Z] $ docker top b03e7833ae9b10a0a466f3d43adc1d7f44afa6d66344c5e61b5bb2e5d629869f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T02:01:05.148Z] + go version [2023-04-19T02:01:05.148Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-19T02:01:05.292Z] $ docker stop --time=1 b03e7833ae9b10a0a466f3d43adc1d7f44afa6d66344c5e61b5bb2e5d629869f [2023-04-19T02:01:06.582Z] $ docker rm -f --volumes b03e7833ae9b10a0a466f3d43adc1d7f44afa6d66344c5e61b5bb2e5d629869f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:01:07.636Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-19T02:01:07.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:01:07.837Z] prd-ubuntu20.04-docker-8c-8g-9025 does not seem to be running inside a container [2023-04-19T02:01:07.891Z] $ 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-569 -v /w/workspace/gexfoundry_device-mqtt-go_PR-569:/w/workspace/gexfoundry_device-mqtt-go_PR-569:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-19T02:01:08.244Z] $ docker top 8020341d7eb5f9cf93200938d5cb08b44f9521029bab7e61454838d082c45d24 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T02:01:08.638Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-569 [Pipeline] fileExists [Pipeline] sh [2023-04-19T02:01:09.121Z] + make test [2023-04-19T02:01:09.121Z] go test ./... -coverprofile=coverage.out ./... [2023-04-19T02:01:14.412Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-19T02:01:24.423Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-19T02:01:24.423Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-19T02:01:24.423Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.9% of statements [2023-04-19T02:01:31.136Z] go vet ./... [2023-04-19T02:01:34.500Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-19T02:01:34.500Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-19T02:01:34.500Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-19T02:01:34.582Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-19T02:01:34.631Z] $ docker stop --time=1 8020341d7eb5f9cf93200938d5cb08b44f9521029bab7e61454838d082c45d24 [2023-04-19T02:01:36.357Z] $ docker rm -f --volumes 8020341d7eb5f9cf93200938d5cb08b44f9521029bab7e61454838d082c45d24 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T02:01:36.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-19T02:01:36.931Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-19T02:01:37.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-19T02:01:37.978Z] + ls -al . [2023-04-19T02:01:37.978Z] total 180 [2023-04-19T02:01:37.978Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 02:01 . [2023-04-19T02:01:37.978Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 01:59 .. [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 01:59 .dockerignore [2023-04-19T02:01:37.978Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 02:00 .git [2023-04-19T02:01:37.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 01:59 .github [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 19 01:59 .gitignore [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 01:59 .golangci.yml [2023-04-19T02:01:37.978Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 02:00 .semver [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 9417 Apr 19 01:59 Attribution.txt [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 19 01:59 CHANGELOG.md [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 19 01:59 Dockerfile [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 01:59 GOVERNANCE.md [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 19 01:59 Jenkinsfile [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 01:59 LICENSE [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 19 01:59 Makefile [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 01:59 OWNERS.md [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 19 01:59 README.md [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 02:00 VERSION [2023-04-19T02:01:37.978Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 01:59 bin [2023-04-19T02:01:37.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 01:59 cmd [2023-04-19T02:01:37.978Z] -rw-r--r-- 1 jenkins jenkins 18460 Apr 19 02:01 coverage.out [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 19 01:59 go.mod [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 19 01:59 go.sum [2023-04-19T02:01:37.978Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 01:59 internal [2023-04-19T02:01:37.978Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 01:59 mock [2023-04-19T02:01:37.978Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 01:59 snap [2023-04-19T02:01:37.978Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 19 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:01:38.384Z] + 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=ba625a94d7e993e5bfdd5df7b0a2a480a787b868 --label arch=amd64 --label version=0.0.0 . [2023-04-19T02:01:38.384Z] Sending build context to Docker daemon 6.48MB [2023-04-19T02:01:38.384Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T02:01:38.384Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-19T02:01:38.384Z] ---> f0c50d02787e [2023-04-19T02:01:38.384Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-19T02:01:38.384Z] ---> Running in b2bfea45f7e1 [2023-04-19T02:01:38.384Z] Removing intermediate container b2bfea45f7e1 [2023-04-19T02:01:38.384Z] ---> 72fa40903978 [2023-04-19T02:01:38.384Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T02:01:38.384Z] ---> Running in 6fb1df466078 [2023-04-19T02:01:38.644Z] Removing intermediate container 6fb1df466078 [2023-04-19T02:01:38.644Z] ---> 019ebb530d30 [2023-04-19T02:01:38.644Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T02:01:38.644Z] ---> Running in 3406382b7dda [2023-04-19T02:01:38.644Z] Removing intermediate container 3406382b7dda [2023-04-19T02:01:38.644Z] ---> 22f60e9a39e0 [2023-04-19T02:01:38.644Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T02:01:38.644Z] ---> Running in c6915c3def39 [2023-04-19T02:01:38.644Z] Removing intermediate container c6915c3def39 [2023-04-19T02:01:38.644Z] ---> b7deba0ef0c2 [2023-04-19T02:01:38.644Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T02:01:38.902Z] ---> Running in 7a2ff577cc36 [2023-04-19T02:01:39.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T02:01:39.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T02:01:39.434Z] OK: 269 MiB in 57 packages [2023-04-19T02:01:39.700Z] Removing intermediate container 7a2ff577cc36 [2023-04-19T02:01:39.700Z] ---> 6de8ce894d60 [2023-04-19T02:01:39.700Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-19T02:01:39.700Z] ---> Running in 0b4904e4d52e [2023-04-19T02:01:39.700Z] Removing intermediate container 0b4904e4d52e [2023-04-19T02:01:39.961Z] ---> 2d28b16daf44 [2023-04-19T02:01:39.961Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-19T02:01:39.961Z] ---> 39eb1481bfce [2023-04-19T02:01:39.961Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T02:01:39.961Z] ---> Running in 85b1a9205a31 [2023-04-19T02:01:40.902Z] Removing intermediate container 85b1a9205a31 [2023-04-19T02:01:40.902Z] ---> 16afe5585df2 [2023-04-19T02:01:40.902Z] Step 11/24 : COPY . . [2023-04-19T02:01:40.902Z] ---> e6cfc633d116 [2023-04-19T02:01:40.902Z] Step 12/24 : RUN $MAKE [2023-04-19T02:01:40.902Z] ---> Running in c145be381829 [2023-04-19T02:01:41.162Z] 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-19T02:01:59.292Z] Removing intermediate container c145be381829 [2023-04-19T02:01:59.292Z] ---> 1f1a3eec535a [2023-04-19T02:01:59.292Z] Step 13/24 : FROM alpine:3.17 [2023-04-19T02:01:59.292Z] 3.17: Pulling from library/alpine [2023-04-19T02:01:59.292Z] f56be85fc22e: Pulling fs layer [2023-04-19T02:01:59.292Z] f56be85fc22e: Verifying Checksum [2023-04-19T02:01:59.292Z] f56be85fc22e: Download complete [2023-04-19T02:01:59.292Z] f56be85fc22e: Pull complete [2023-04-19T02:01:59.292Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-19T02:01:59.292Z] Status: Downloaded newer image for alpine:3.17 [2023-04-19T02:01:59.292Z] ---> 9ed4aefc74f6 [2023-04-19T02:01:59.292Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-19T02:01:59.292Z] ---> Running in 7bcea6525023 [2023-04-19T02:01:59.292Z] Removing intermediate container 7bcea6525023 [2023-04-19T02:01:59.292Z] ---> fd0fcab1eec7 [2023-04-19T02:01:59.292Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-19T02:01:59.292Z] ---> Running in d0f7faed031a [2023-04-19T02:01:59.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-19T02:01:59.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-19T02:01:59.814Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-19T02:01:59.814Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T02:01:59.814Z] OK: 7 MiB in 16 packages [2023-04-19T02:02:00.388Z] Removing intermediate container d0f7faed031a [2023-04-19T02:02:00.388Z] ---> 462268514ba0 [2023-04-19T02:02:00.388Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-19T02:02:00.651Z] ---> b73ee531a7b5 [2023-04-19T02:02:00.651Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-19T02:02:00.913Z] ---> a62b6112a1d8 [2023-04-19T02:02:00.913Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-19T02:02:01.179Z] ---> b058455a1bf0 [2023-04-19T02:02:01.179Z] Step 19/24 : EXPOSE 59982 [2023-04-19T02:02:01.179Z] ---> Running in cda2f472dba1 [2023-04-19T02:02:01.179Z] Removing intermediate container cda2f472dba1 [2023-04-19T02:02:01.179Z] ---> 605b990e3163 [2023-04-19T02:02:01.179Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-19T02:02:01.179Z] ---> Running in d554f86aa634 [2023-04-19T02:02:01.179Z] Removing intermediate container d554f86aa634 [2023-04-19T02:02:01.179Z] ---> a99eae553c75 [2023-04-19T02:02:01.179Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-19T02:02:01.179Z] ---> Running in 4520293b44a9 [2023-04-19T02:02:01.439Z] Removing intermediate container 4520293b44a9 [2023-04-19T02:02:01.440Z] ---> f0e5fc39e143 [2023-04-19T02:02:01.440Z] Step 22/24 : LABEL arch=amd64 [2023-04-19T02:02:01.440Z] ---> Running in 0f55d3203769 [2023-04-19T02:02:01.440Z] Removing intermediate container 0f55d3203769 [2023-04-19T02:02:01.440Z] ---> 843b7ff8e98c [2023-04-19T02:02:01.440Z] Step 23/24 : LABEL git_sha=ba625a94d7e993e5bfdd5df7b0a2a480a787b868 [2023-04-19T02:02:01.440Z] ---> Running in 357c7dd2ad5a [2023-04-19T02:02:01.440Z] Removing intermediate container 357c7dd2ad5a [2023-04-19T02:02:01.440Z] ---> f5a9a7a8e263 [2023-04-19T02:02:01.440Z] Step 24/24 : LABEL version=0.0.0 [2023-04-19T02:02:01.440Z] ---> Running in 79ad71a3a383 [2023-04-19T02:02:01.700Z] Removing intermediate container 79ad71a3a383 [2023-04-19T02:02:01.700Z] ---> 278d459d3b6a [2023-04-19T02:02:01.700Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-19T02:02:01.700Z] Successfully built 278d459d3b6a [2023-04-19T02:02:01.700Z] 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-19T02:02:02.589Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T02:02:02.589Z] [2023-04-19T02:02:02.589Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:02:02.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T02:02:02.973Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-19T02:02:02.973Z] 5eb5b503b376: Pulling fs layer [2023-04-19T02:02:02.973Z] 5c69ac0246d0: Pulling fs layer [2023-04-19T02:02:02.973Z] ec43610c2a17: Pulling fs layer [2023-04-19T02:02:02.973Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-19T02:02:02.973Z] 33b1e0a273af: Pulling fs layer [2023-04-19T02:02:02.973Z] 5d3b04190fa2: Pulling fs layer [2023-04-19T02:02:02.973Z] 2f39f015ded8: Pulling fs layer [2023-04-19T02:02:02.973Z] 3a2ae6a8a46f: Waiting [2023-04-19T02:02:02.973Z] 33b1e0a273af: Waiting [2023-04-19T02:02:02.973Z] 5d3b04190fa2: Waiting [2023-04-19T02:02:02.973Z] 2f39f015ded8: Waiting [2023-04-19T02:02:02.973Z] 5c69ac0246d0: Verifying Checksum [2023-04-19T02:02:02.973Z] 5c69ac0246d0: Download complete [2023-04-19T02:02:02.973Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-19T02:02:02.973Z] 3a2ae6a8a46f: Download complete [2023-04-19T02:02:02.973Z] 33b1e0a273af: Verifying Checksum [2023-04-19T02:02:02.973Z] 33b1e0a273af: Download complete [2023-04-19T02:02:02.973Z] ec43610c2a17: Verifying Checksum [2023-04-19T02:02:02.973Z] ec43610c2a17: Download complete [2023-04-19T02:02:02.973Z] 5d3b04190fa2: Verifying Checksum [2023-04-19T02:02:02.973Z] 5d3b04190fa2: Download complete [2023-04-19T02:02:03.233Z] 5eb5b503b376: Verifying Checksum [2023-04-19T02:02:03.233Z] 5eb5b503b376: Download complete [2023-04-19T02:02:04.628Z] 5eb5b503b376: Pull complete [2023-04-19T02:02:04.628Z] 5c69ac0246d0: Pull complete [2023-04-19T02:02:04.906Z] ec43610c2a17: Pull complete [2023-04-19T02:02:04.906Z] 3a2ae6a8a46f: Pull complete [2023-04-19T02:02:05.164Z] 33b1e0a273af: Pull complete [2023-04-19T02:02:05.164Z] 5d3b04190fa2: Pull complete [2023-04-19T02:02:10.451Z] 2f39f015ded8: Pull complete [2023-04-19T02:02:10.451Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-19T02:02:10.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T02:02:10.451Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:02:10.741Z] prd-ubuntu20.04-docker-8c-8g-9025 does not seem to be running inside a container [2023-04-19T02:02:10.794Z] $ 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-569 -v /w/workspace/gexfoundry_device-mqtt-go_PR-569:/w/workspace/gexfoundry_device-mqtt-go_PR-569:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-19T02:02:11.929Z] $ docker top f7a1cb8a28f6e180d68e9b0c8d4cc3df8f49789e39aeebb7a033bbd7d288e84d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:02:12.380Z] ---> job-cost.sh [2023-04-19T02:02:12.381Z] lf-activate-venv: SKIPPING [2023-04-19T02:02:12.381Z] INFO: No Stack... [2023-04-19T02:02:12.640Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-19T02:02:13.206Z] INFO: Archiving Costs [Pipeline] sh [2023-04-19T02:02:13.529Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-569/archives/cost.csv [2023-04-19T02:02:13.529Z] + cut -d, -f6 [Pipeline] lock [2023-04-19T02:02:13.572Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-569-1-stack-cost] [2023-04-19T02:02:13.578Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-569-1-stack-cost] did not exist. Created. [2023-04-19T02:02:13.578Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-569-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-19T02:02:13.995Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-19T02:02:14.053Z] Stashed 1 file(s) [Pipeline] } [2023-04-19T02:02:14.083Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-569-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-19T02:02:14.188Z] $ docker stop --time=1 f7a1cb8a28f6e180d68e9b0c8d4cc3df8f49789e39aeebb7a033bbd7d288e84d [2023-04-19T02:02:15.364Z] $ docker rm -f --volumes f7a1cb8a28f6e180d68e9b0c8d4cc3df8f49789e39aeebb7a033bbd7d288e84d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-19T02:03:34.043Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9028 in /w/workspace/gexfoundry_device-mqtt-go_PR-569 [Pipeline] { [Pipeline] ws [2023-04-19T02:03:34.102Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-04-19T02:03:34.178Z] Selected Git installation does not exist. Using Default [2023-04-19T02:03:34.178Z] The recommended git tool is: NONE [2023-04-19T02:03:40.166Z] using credential edgex-jenkins-ssh [2023-04-19T02:03:40.186Z] Cloning the remote Git repository [2023-04-19T02:03:40.238Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-19T02:03:40.324Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-04-19T02:03:40.456Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-19T02:03:40.457Z] > git --version # timeout=10 [2023-04-19T02:03:40.475Z] > git --version # 'git version 2.25.1' [2023-04-19T02:03:40.477Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T02:03:40.623Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-19T02:03:41.743Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-19T02:03:41.772Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-19T02:03:42.837Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-19T02:03:42.885Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-19T02:03:42.886Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T02:03:42.902Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/569/head:refs/remotes/origin/PR-569 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-19T02:03:43.452Z] Merging remotes/origin/main commit a5ec5e69222fbe1cabc57f6e226de7296c53eab0 into PR head commit ba625a94d7e993e5bfdd5df7b0a2a480a787b868 [2023-04-19T02:03:43.738Z] Merge succeeded, producing ba625a94d7e993e5bfdd5df7b0a2a480a787b868 [2023-04-19T02:03:43.738Z] Checking out Revision ba625a94d7e993e5bfdd5df7b0a2a480a787b868 (PR-569) [2023-04-19T02:03:44.274Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-19T02:03:44.337Z] > git --version # timeout=10 [2023-04-19T02:03:44.350Z] > git --version # 'git version 2.25.1' [2023-04-19T02:03:44.372Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-19T02:03:43.480Z] > git config core.sparsecheckout # timeout=10 [2023-04-19T02:03:43.553Z] > git checkout -f ba625a94d7e993e5bfdd5df7b0a2a480a787b868 # timeout=10 [2023-04-19T02:03:43.646Z] > git remote # timeout=10 [2023-04-19T02:03:43.665Z] > git config --get remote.origin.url # timeout=10 [2023-04-19T02:03:43.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-19T02:03:43.699Z] > git merge a5ec5e69222fbe1cabc57f6e226de7296c53eab0 # timeout=10 [2023-04-19T02:03:43.727Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-19T02:03:43.754Z] > git config core.sparsecheckout # timeout=10 [2023-04-19T02:03:43.776Z] > git checkout -f ba625a94d7e993e5bfdd5df7b0a2a480a787b868 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T02:03:45.445Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-19T02:03:45.445Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T02:03:45.445Z] Dload Upload Total Spent Left Speed [2023-04-19T02:03:45.445Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 249k 0 --:--:-- --:--:-- --:--:-- 254k [Pipeline] sh [2023-04-19T02:03:45.999Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-19T02:03:46.345Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-04-19T02:03:46.345Z] /etc/docker/daemon.json [2023-04-19T02:03:46.345Z] { [2023-04-19T02:03:46.345Z] "registry-mirrors": [ [2023-04-19T02:03:46.345Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-19T02:03:46.345Z] ], [2023-04-19T02:03:46.345Z] "bip": "10.250.0.254/24", [2023-04-19T02:03:46.345Z] "hosts": [ [2023-04-19T02:03:46.345Z] "tcp://0.0.0.0:5555", [2023-04-19T02:03:46.345Z] "unix:///var/run/docker.sock" [2023-04-19T02:03:46.345Z] ], [2023-04-19T02:03:46.345Z] "mtu": 1458, [2023-04-19T02:03:46.345Z] "selinux-enabled": true, [2023-04-19T02:03:46.345Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-19T02:03:46.345Z] } [Pipeline] sh [2023-04-19T02:03:46.694Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-19T02:03:47.054Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T02:04:05.409Z] provisioning config files... [2023-04-19T02:04:05.449Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config962056968070233802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:04:05.876Z] ---> docker-login.sh [2023-04-19T02:04:05.876Z] nexus3.edgexfoundry.org:10001 [2023-04-19T02:04:06.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:04:06.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:04:06.435Z] Configure a credential helper to remove this warning. See [2023-04-19T02:04:06.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:04:06.435Z] [2023-04-19T02:04:06.435Z] Login Succeeded [2023-04-19T02:04:06.435Z] nexus3.edgexfoundry.org:10002 [2023-04-19T02:04:06.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:04:06.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:04:06.710Z] Configure a credential helper to remove this warning. See [2023-04-19T02:04:06.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:04:06.710Z] [2023-04-19T02:04:06.710Z] Login Succeeded [2023-04-19T02:04:06.710Z] nexus3.edgexfoundry.org:10003 [2023-04-19T02:04:06.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:04:06.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:04:06.980Z] Configure a credential helper to remove this warning. See [2023-04-19T02:04:06.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:04:06.980Z] [2023-04-19T02:04:06.980Z] Login Succeeded [2023-04-19T02:04:06.980Z] nexus3.edgexfoundry.org:10004 [2023-04-19T02:04:07.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:04:07.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:04:07.524Z] Configure a credential helper to remove this warning. See [2023-04-19T02:04:07.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:04:07.524Z] [2023-04-19T02:04:07.524Z] Login Succeeded [2023-04-19T02:04:07.524Z] docker.io [2023-04-19T02:04:07.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-19T02:04:08.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-19T02:04:08.062Z] Configure a credential helper to remove this warning. See [2023-04-19T02:04:08.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-19T02:04:08.062Z] [2023-04-19T02:04:08.062Z] Login Succeeded [2023-04-19T02:04:08.062Z] ---> docker-login.sh ends [Pipeline] } [2023-04-19T02:04:08.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-19T02:04:08.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T02:04:08.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-19T02:04:08.657Z] ========================================================= [2023-04-19T02:04:08.658Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-19T02:04:08.658Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:04:09.204Z] + 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-19T02:04:09.473Z] Sending build context to Docker daemon 3.353MB [2023-04-19T02:04:09.473Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T02:04:09.473Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-19T02:04:09.750Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-19T02:04:09.750Z] af6eaf76a39c: Pulling fs layer [2023-04-19T02:04:09.750Z] 55522c791124: Pulling fs layer [2023-04-19T02:04:09.750Z] ce5c4a1c91eb: Pulling fs layer [2023-04-19T02:04:09.750Z] 169dfbe0d373: Pulling fs layer [2023-04-19T02:04:09.750Z] e1ff8fa3b103: Pulling fs layer [2023-04-19T02:04:09.750Z] 52ebb69f0ebf: Pulling fs layer [2023-04-19T02:04:09.750Z] 5abe8eddf0d5: Pulling fs layer [2023-04-19T02:04:09.750Z] 169dfbe0d373: Waiting [2023-04-19T02:04:09.750Z] e1ff8fa3b103: Waiting [2023-04-19T02:04:09.750Z] 52ebb69f0ebf: Waiting [2023-04-19T02:04:09.750Z] 5abe8eddf0d5: Waiting [2023-04-19T02:04:09.750Z] 55522c791124: Verifying Checksum [2023-04-19T02:04:09.750Z] 55522c791124: Download complete [2023-04-19T02:04:09.750Z] 169dfbe0d373: Verifying Checksum [2023-04-19T02:04:09.750Z] 169dfbe0d373: Download complete [2023-04-19T02:04:09.750Z] e1ff8fa3b103: Download complete [2023-04-19T02:04:09.750Z] af6eaf76a39c: Verifying Checksum [2023-04-19T02:04:09.750Z] af6eaf76a39c: Download complete [2023-04-19T02:04:10.737Z] af6eaf76a39c: Pull complete [2023-04-19T02:04:10.737Z] 5abe8eddf0d5: Verifying Checksum [2023-04-19T02:04:10.737Z] 5abe8eddf0d5: Download complete [2023-04-19T02:04:11.337Z] 55522c791124: Pull complete [2023-04-19T02:04:12.309Z] ce5c4a1c91eb: Verifying Checksum [2023-04-19T02:04:12.309Z] ce5c4a1c91eb: Download complete [2023-04-19T02:04:12.309Z] 52ebb69f0ebf: Verifying Checksum [2023-04-19T02:04:12.309Z] 52ebb69f0ebf: Download complete [2023-04-19T02:04:22.511Z] ce5c4a1c91eb: Pull complete [2023-04-19T02:04:22.511Z] 169dfbe0d373: Pull complete [2023-04-19T02:04:22.511Z] e1ff8fa3b103: Pull complete [2023-04-19T02:04:27.897Z] 52ebb69f0ebf: Pull complete [2023-04-19T02:04:29.901Z] 5abe8eddf0d5: Pull complete [2023-04-19T02:04:29.901Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-19T02:04:29.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-19T02:04:29.901Z] ---> 6cb57ee374ae [2023-04-19T02:04:29.901Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-19T02:04:31.877Z] ---> Running in e4d0c06e287e [2023-04-19T02:04:32.158Z] Removing intermediate container e4d0c06e287e [2023-04-19T02:04:32.158Z] ---> 10a29a5867db [2023-04-19T02:04:32.158Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T02:04:32.433Z] ---> Running in 1b3a24a8758c [2023-04-19T02:04:32.703Z] Removing intermediate container 1b3a24a8758c [2023-04-19T02:04:32.703Z] ---> 70955ce2fc9b [2023-04-19T02:04:32.703Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T02:04:32.703Z] ---> Running in 4b19c3ef4376 [2023-04-19T02:04:32.975Z] Removing intermediate container 4b19c3ef4376 [2023-04-19T02:04:32.975Z] ---> 994ed81936a9 [2023-04-19T02:04:32.975Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T02:04:33.245Z] ---> Running in 070745d27896 [2023-04-19T02:04:33.517Z] Removing intermediate container 070745d27896 [2023-04-19T02:04:33.517Z] ---> 091a595edfb3 [2023-04-19T02:04:33.517Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T02:04:33.517Z] ---> Running in 5e63c0a92d69 [2023-04-19T02:04:34.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T02:04:35.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T02:04:36.424Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-19T02:04:36.425Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-19T02:04:36.425Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-19T02:04:36.425Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-19T02:04:36.425Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T02:04:36.425Z] OK: 268 MiB in 57 packages [2023-04-19T02:04:37.846Z] Removing intermediate container 5e63c0a92d69 [2023-04-19T02:04:37.846Z] ---> cb5f399feffa [2023-04-19T02:04:37.846Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-19T02:04:37.846Z] ---> Running in 7725f1d97205 [2023-04-19T02:04:37.846Z] Removing intermediate container 7725f1d97205 [2023-04-19T02:04:37.846Z] ---> 53cc3bd84bd8 [2023-04-19T02:04:37.846Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-19T02:04:38.433Z] ---> 9fe40951c29b [2023-04-19T02:04:38.433Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T02:04:38.704Z] ---> Running in d294b89433f9 [2023-04-19T02:06:00.397Z] Removing intermediate container d294b89433f9 [2023-04-19T02:06:00.397Z] ---> 6b927e51736e [2023-04-19T02:06:00.397Z] Step 11/12 : COPY . . [2023-04-19T02:06:00.397Z] ---> c4c19fbbff28 [2023-04-19T02:06:00.397Z] Step 12/12 : RUN $MAKE [2023-04-19T02:06:00.397Z] ---> Running in 96060a494640 [2023-04-19T02:06:00.397Z] noop [2023-04-19T02:06:00.397Z] Removing intermediate container 96060a494640 [2023-04-19T02:06:00.397Z] ---> a63a400ef725 [2023-04-19T02:06:00.397Z] Successfully built a63a400ef725 [2023-04-19T02:06:00.397Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:06:00.882Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T02:06:00.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:06:01.180Z] prd-ubuntu20.04-docker-arm64-4c-16g-9028 does not seem to be running inside a container [2023-04-19T02:06:01.278Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-19T02:06:02.507Z] $ docker top aeeadb1c273b8ff535c0ecf6d6d48e13b9ef44d61ed77e1bb24a2aba30ba4726 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T02:06:03.383Z] + go version [2023-04-19T02:06:03.383Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-19T02:06:03.440Z] $ docker stop --time=1 aeeadb1c273b8ff535c0ecf6d6d48e13b9ef44d61ed77e1bb24a2aba30ba4726 [2023-04-19T02:06:05.054Z] $ docker rm -f --volumes aeeadb1c273b8ff535c0ecf6d6d48e13b9ef44d61ed77e1bb24a2aba30ba4726 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:06:05.987Z] + docker inspect -f . ci-base-image-arm64 [2023-04-19T02:06:05.987Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:06:06.248Z] prd-ubuntu20.04-docker-arm64-4c-16g-9028 does not seem to be running inside a container [2023-04-19T02:06:06.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-19T02:06:07.527Z] $ docker top 19ef24f4fcd76b62e7f2905e83cb047a639626ed77a4fd49dd6f64bf65a23cf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T02:06:08.084Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-19T02:06:08.474Z] + make test [2023-04-19T02:06:08.474Z] go test ./... -coverprofile=coverage.out ./... [2023-04-19T02:06:47.377Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-19T02:08:54.112Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-19T02:08:54.112Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-19T02:08:54.112Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.9% of statements [2023-04-19T02:08:54.112Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-19T02:08:54.112Z] go vet ./... [2023-04-19T02:09:16.236Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-19T02:09:16.236Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-19T02:09:16.236Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-19T02:09:16.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-19T02:09:16.325Z] $ docker stop --time=1 19ef24f4fcd76b62e7f2905e83cb047a639626ed77a4fd49dd6f64bf65a23cf1 [2023-04-19T02:09:18.188Z] $ docker rm -f --volumes 19ef24f4fcd76b62e7f2905e83cb047a639626ed77a4fd49dd6f64bf65a23cf1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-19T02:09:19.417Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-19T02:09:19.463Z] Warning: overwriting stash ‘coverage-report’ [2023-04-19T02:09:20.122Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-19T02:09:20.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-19T02:09:21.281Z] + ls -al . [2023-04-19T02:09:21.281Z] total 176 [2023-04-19T02:09:21.281Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 02:06 . [2023-04-19T02:09:21.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:03 .. [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 02:03 .dockerignore [2023-04-19T02:09:21.281Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 02:03 .git [2023-04-19T02:09:21.281Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:03 .github [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 19 02:03 .gitignore [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 02:03 .golangci.yml [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 9417 Apr 19 02:03 Attribution.txt [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 19 02:03 CHANGELOG.md [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 19 02:03 Dockerfile [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 02:03 GOVERNANCE.md [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 19 02:03 Jenkinsfile [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 02:03 LICENSE [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 19 02:03 Makefile [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 02:03 OWNERS.md [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 19 02:03 README.md [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 02:00 VERSION [2023-04-19T02:09:21.281Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 02:03 bin [2023-04-19T02:09:21.281Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:03 cmd [2023-04-19T02:09:21.281Z] -rw-r--r-- 1 jenkins jenkins 18460 Apr 19 02:08 coverage.out [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 19 02:03 go.mod [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 19 02:03 go.sum [2023-04-19T02:09:21.281Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:03 internal [2023-04-19T02:09:21.281Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 02:03 mock [2023-04-19T02:09:21.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:03 snap [2023-04-19T02:09:21.281Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 19 02:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:09:21.745Z] + 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=ba625a94d7e993e5bfdd5df7b0a2a480a787b868 --label arch=arm64 --label version=0.0.0 . [2023-04-19T02:09:22.019Z] Sending build context to Docker daemon 3.372MB [2023-04-19T02:09:22.019Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-19T02:09:22.019Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-19T02:09:22.019Z] ---> a63a400ef725 [2023-04-19T02:09:22.019Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-19T02:09:22.288Z] ---> Running in aefb314f0e64 [2023-04-19T02:09:22.559Z] Removing intermediate container aefb314f0e64 [2023-04-19T02:09:22.559Z] ---> dbac3924c6cb [2023-04-19T02:09:22.559Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-19T02:09:22.559Z] ---> Running in b6ef291fca84 [2023-04-19T02:09:22.828Z] Removing intermediate container b6ef291fca84 [2023-04-19T02:09:22.828Z] ---> 9b5c088572bb [2023-04-19T02:09:22.828Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-19T02:09:22.828Z] ---> Running in d0379adadc50 [2023-04-19T02:09:23.412Z] Removing intermediate container d0379adadc50 [2023-04-19T02:09:23.412Z] ---> 0b895f121e2c [2023-04-19T02:09:23.412Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-19T02:09:23.412Z] ---> Running in 10a3e2ad898f [2023-04-19T02:09:23.689Z] Removing intermediate container 10a3e2ad898f [2023-04-19T02:09:23.689Z] ---> 866ab8e5324d [2023-04-19T02:09:23.689Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-19T02:09:23.689Z] ---> Running in f0daa869da4e [2023-04-19T02:09:24.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T02:09:25.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T02:09:26.226Z] OK: 268 MiB in 57 packages [2023-04-19T02:09:26.859Z] Removing intermediate container f0daa869da4e [2023-04-19T02:09:26.859Z] ---> af4576705011 [2023-04-19T02:09:26.859Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-19T02:09:26.859Z] ---> Running in 3e6c2d1cfa79 [2023-04-19T02:09:27.161Z] Removing intermediate container 3e6c2d1cfa79 [2023-04-19T02:09:27.161Z] ---> 2cde7c229139 [2023-04-19T02:09:27.161Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-19T02:09:31.465Z] ---> 96a160345bab [2023-04-19T02:09:31.465Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-19T02:09:31.465Z] ---> Running in 53709f5d663d [2023-04-19T02:09:34.080Z] Removing intermediate container 53709f5d663d [2023-04-19T02:09:34.080Z] ---> 9494e3c58789 [2023-04-19T02:09:34.080Z] Step 11/24 : COPY . . [2023-04-19T02:09:34.679Z] ---> 6af72504bf34 [2023-04-19T02:09:34.679Z] Step 12/24 : RUN $MAKE [2023-04-19T02:09:34.679Z] ---> Running in 6746c164701b [2023-04-19T02:09:35.658Z] 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-19T02:11:57.492Z] Removing intermediate container 6746c164701b [2023-04-19T02:11:57.492Z] ---> bd8f1247c991 [2023-04-19T02:11:57.492Z] Step 13/24 : FROM alpine:3.17 [2023-04-19T02:11:57.492Z] 3.17: Pulling from library/alpine [2023-04-19T02:11:57.492Z] c41833b44d91: Pulling fs layer [2023-04-19T02:11:57.492Z] c41833b44d91: Verifying Checksum [2023-04-19T02:11:57.492Z] c41833b44d91: Download complete [2023-04-19T02:11:57.492Z] c41833b44d91: Pull complete [2023-04-19T02:11:57.492Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-19T02:11:57.492Z] Status: Downloaded newer image for alpine:3.17 [2023-04-19T02:11:57.492Z] ---> 51e60588ff2c [2023-04-19T02:11:57.492Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-19T02:11:57.492Z] ---> Running in 28c5a7a6f5c5 [2023-04-19T02:11:57.492Z] Removing intermediate container 28c5a7a6f5c5 [2023-04-19T02:11:57.492Z] ---> d5fa9240d996 [2023-04-19T02:11:57.492Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-19T02:11:57.492Z] ---> Running in b1c33ae789e5 [2023-04-19T02:11:57.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-19T02:11:57.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-19T02:11:57.492Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-19T02:11:57.492Z] Executing busybox-1.35.0-r29.trigger [2023-04-19T02:11:57.492Z] OK: 8 MiB in 16 packages [2023-04-19T02:11:57.492Z] Removing intermediate container b1c33ae789e5 [2023-04-19T02:11:57.492Z] ---> 5b27fb40024d [2023-04-19T02:11:57.492Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-19T02:11:57.492Z] ---> 80a58a4d9801 [2023-04-19T02:11:57.492Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-19T02:11:57.492Z] ---> af6fe92aadb4 [2023-04-19T02:11:57.492Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-19T02:11:57.492Z] ---> 97d45c3bd0c5 [2023-04-19T02:11:57.492Z] Step 19/24 : EXPOSE 59982 [2023-04-19T02:11:57.492Z] ---> Running in 46c9cc6aba09 [2023-04-19T02:11:57.492Z] Removing intermediate container 46c9cc6aba09 [2023-04-19T02:11:57.492Z] ---> 514dcf55f911 [2023-04-19T02:11:57.492Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-19T02:11:57.492Z] ---> Running in 89ad089654ad [2023-04-19T02:11:57.492Z] Removing intermediate container 89ad089654ad [2023-04-19T02:11:57.492Z] ---> 49feb5aaddf1 [2023-04-19T02:11:57.492Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-19T02:11:57.492Z] ---> Running in ec400780aa5e [2023-04-19T02:11:57.492Z] Removing intermediate container ec400780aa5e [2023-04-19T02:11:57.492Z] ---> fa31f8d4f9ff [2023-04-19T02:11:57.492Z] Step 22/24 : LABEL arch=arm64 [2023-04-19T02:11:57.492Z] ---> Running in ad5265ab78b8 [2023-04-19T02:11:57.492Z] Removing intermediate container ad5265ab78b8 [2023-04-19T02:11:57.492Z] ---> 5daad270f0ef [2023-04-19T02:11:57.492Z] Step 23/24 : LABEL git_sha=ba625a94d7e993e5bfdd5df7b0a2a480a787b868 [2023-04-19T02:11:57.492Z] ---> Running in 30f705ed9658 [2023-04-19T02:11:57.492Z] Removing intermediate container 30f705ed9658 [2023-04-19T02:11:57.492Z] ---> 2d67f35b80fd [2023-04-19T02:11:57.492Z] Step 24/24 : LABEL version=0.0.0 [2023-04-19T02:11:57.492Z] ---> Running in 4b73ab5fe36d [2023-04-19T02:11:57.492Z] Removing intermediate container 4b73ab5fe36d [2023-04-19T02:11:57.492Z] ---> c13860bbb034 [2023-04-19T02:11:57.492Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-19T02:11:57.492Z] Successfully built c13860bbb034 [2023-04-19T02:11:57.492Z] 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-19T02:11:58.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T02:11:58.313Z] [2023-04-19T02:11:58.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:11:58.715Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T02:11:58.715Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-19T02:11:58.715Z] 8998bd30e6a1: Pulling fs layer [2023-04-19T02:11:58.715Z] 04944245beec: Pulling fs layer [2023-04-19T02:11:58.715Z] 699f458cf7ca: Pulling fs layer [2023-04-19T02:11:58.715Z] 765212b225bb: Pulling fs layer [2023-04-19T02:11:58.715Z] f23df028b6ca: Pulling fs layer [2023-04-19T02:11:58.715Z] d65c8cfc05b1: Pulling fs layer [2023-04-19T02:11:58.715Z] 2437ff75d9bd: Pulling fs layer [2023-04-19T02:11:58.715Z] 765212b225bb: Waiting [2023-04-19T02:11:58.715Z] f23df028b6ca: Waiting [2023-04-19T02:11:58.715Z] 2437ff75d9bd: Waiting [2023-04-19T02:11:58.715Z] d65c8cfc05b1: Waiting [2023-04-19T02:11:58.983Z] 04944245beec: Verifying Checksum [2023-04-19T02:11:58.983Z] 04944245beec: Download complete [2023-04-19T02:11:58.983Z] 765212b225bb: Verifying Checksum [2023-04-19T02:11:58.983Z] 765212b225bb: Download complete [2023-04-19T02:11:58.983Z] f23df028b6ca: Verifying Checksum [2023-04-19T02:11:58.983Z] f23df028b6ca: Download complete [2023-04-19T02:11:58.983Z] d65c8cfc05b1: Verifying Checksum [2023-04-19T02:11:58.983Z] d65c8cfc05b1: Download complete [2023-04-19T02:11:59.251Z] 699f458cf7ca: Verifying Checksum [2023-04-19T02:11:59.251Z] 699f458cf7ca: Download complete [2023-04-19T02:11:59.517Z] 8998bd30e6a1: Verifying Checksum [2023-04-19T02:11:59.517Z] 8998bd30e6a1: Download complete [2023-04-19T02:12:01.456Z] 2437ff75d9bd: Verifying Checksum [2023-04-19T02:12:01.456Z] 2437ff75d9bd: Download complete [2023-04-19T02:12:03.405Z] 8998bd30e6a1: Pull complete [2023-04-19T02:12:03.675Z] 04944245beec: Pull complete [2023-04-19T02:12:05.188Z] 699f458cf7ca: Pull complete [2023-04-19T02:12:05.188Z] 765212b225bb: Pull complete [2023-04-19T02:12:05.790Z] f23df028b6ca: Pull complete [2023-04-19T02:12:06.059Z] d65c8cfc05b1: Pull complete [2023-04-19T02:12:18.398Z] 2437ff75d9bd: Pull complete [2023-04-19T02:12:18.398Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-19T02:12:18.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-19T02:12:18.398Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:12:18.720Z] prd-ubuntu20.04-docker-arm64-4c-16g-9028 does not seem to be running inside a container [2023-04-19T02:12:18.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-19T02:12:21.228Z] $ docker top 4c86b18c6b7182827f6bcd2cb7f8f7790deccdb65a170eaa9883cbb92f511dbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:12:22.198Z] ---> job-cost.sh [2023-04-19T02:12:22.198Z] lf-activate-venv: SKIPPING [2023-04-19T02:12:22.198Z] INFO: No Stack... [2023-04-19T02:12:22.556Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-19T02:12:23.554Z] INFO: Archiving Costs [Pipeline] sh [2023-04-19T02:12:24.222Z] + cut -d, -f6 [2023-04-19T02:12:24.223Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-04-19T02:12:24.296Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-569-1-stack-cost] [2023-04-19T02:12:24.301Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-569-1-stack-cost] did not exist. Created. [2023-04-19T02:12:24.302Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-569-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-19T02:12:24.699Z] /w/workspace/device-mqtt-go/1@tmp/durable-8f9171d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-19T02:12:25.062Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-19T02:12:25.100Z] Warning: overwriting stash ‘stack-cost’ [2023-04-19T02:12:25.143Z] Stashed 1 file(s) [Pipeline] } [2023-04-19T02:12:25.159Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-569-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-19T02:12:25.267Z] $ docker stop --time=1 4c86b18c6b7182827f6bcd2cb7f8f7790deccdb65a170eaa9883cbb92f511dbd [2023-04-19T02:12:26.773Z] $ docker rm -f --volumes 4c86b18c6b7182827f6bcd2cb7f8f7790deccdb65a170eaa9883cbb92f511dbd [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-19T02:12:27.837Z] provisioning config files... [2023-04-19T02:12:27.848Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp/config9723102488560559646tmp [Pipeline] { [Pipeline] sh [2023-04-19T02:12:28.187Z] + set +x [2023-04-19T02:12:28.187Z] + + curlbash -s -s https://codecov.io/bash -- [2023-04-19T02:12:28.187Z] [2023-04-19T02:12:28.187Z] [2023-04-19T02:12:28.187Z] _____ _ [2023-04-19T02:12:28.187Z] / ____| | | [2023-04-19T02:12:28.187Z] | | ___ __| | ___ ___ _____ __ [2023-04-19T02:12:28.187Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-19T02:12:28.187Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-19T02:12:28.187Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-19T02:12:28.187Z] Bash-1.0.6 [2023-04-19T02:12:28.187Z] [2023-04-19T02:12:28.187Z] [2023-04-19T02:12:28.187Z] ==> git version 2.25.1 found [2023-04-19T02:12:28.187Z] ==> 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-19T02:12:28.187Z] Release-Date: 2020-01-08 [2023-04-19T02:12:28.187Z] 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-19T02:12:28.187Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-19T02:12:28.187Z] ==> Jenkins CI detected. [2023-04-19T02:12:28.187Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-569 [2023-04-19T02:12:28.187Z] project root: . [2023-04-19T02:12:28.187Z] --> token set from env [2023-04-19T02:12:28.187Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-19T02:12:28.187Z] ==> Running gcov in . (disable via -X gcov) [2023-04-19T02:12:28.187Z] ==> Python coveragepy not found [2023-04-19T02:12:28.187Z] ==> Searching for coverage reports in: [2023-04-19T02:12:28.187Z] + . [2023-04-19T02:12:28.187Z] -> Found 1 reports [2023-04-19T02:12:28.187Z] ==> Detecting git/mercurial file structure [2023-04-19T02:12:28.187Z] ==> Reading reports [2023-04-19T02:12:28.187Z] + ./coverage.out bytes=18460 [2023-04-19T02:12:28.187Z] ==> Appending adjustments [2023-04-19T02:12:28.187Z] https://docs.codecov.io/docs/fixing-reports [2023-04-19T02:12:28.446Z] + Found adjustments [2023-04-19T02:12:28.446Z] ==> Gzipping contents [2023-04-19T02:12:28.446Z] 4.0K /tmp/codecov.DseS2Q.gz [2023-04-19T02:12:28.446Z] ==> Uploading reports [2023-04-19T02:12:28.446Z] url: https://codecov.io [2023-04-19T02:12:28.446Z] query: branch=PR-569&commit=ba625a94d7e993e5bfdd5df7b0a2a480a787b868&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-569%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=569&job=&cmd_args= [2023-04-19T02:12:28.446Z] -> Pinging Codecov [2023-04-19T02:12:28.446Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-569&commit=ba625a94d7e993e5bfdd5df7b0a2a480a787b868&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-569%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=569&job=&cmd_args= [2023-04-19T02:12:28.446Z] -> Uploading to [2023-04-19T02:12:28.446Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-19/7D719EC7BBE17E464838252E33014C33/ba625a94d7e993e5bfdd5df7b0a2a480a787b868/9c03558c-77df-470c-a9c0-e69d37b5463f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230419T021228Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b5e0bd5db99a1553137c4c3c1ee88406cd6bd5b3a137d4dc68018d07e02b7046 [2023-04-19T02:12:28.446Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-19T02:12:28.446Z] Dload Upload Total Spent Left Speed [2023-04-19T02:12:28.706Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 15674 --:--:-- --:--:-- --:--:-- 15598 100 3182 0 0 100 3182 0 14463 --:--:-- --:--:-- --:--:-- 14398 [2023-04-19T02:12:28.706Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ba625a94d7e993e5bfdd5df7b0a2a480a787b868 [Pipeline] } [2023-04-19T02:12:28.741Z] 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-19T02:12:30.562Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-569/archives ] [2023-04-19T02:12:30.562Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-569/archives [2023-04-19T02:12:30.562Z] total 16 [2023-04-19T02:12:30.562Z] drwxr-xr-x 3 root root 4096 Apr 19 02:02 . [2023-04-19T02:12:30.562Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 02:02 .. [2023-04-19T02:12:30.562Z] drwxr-xr-x 2 root root 4096 Apr 19 02:02 cost [2023-04-19T02:12:30.562Z] -rw-r--r-- 1 root root 86 Apr 19 02:02 cost.csv [2023-04-19T02:12:30.562Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-569/archives [2023-04-19T02:12:30.562Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-569/archives [2023-04-19T02:12:30.562Z] total 16 [2023-04-19T02:12:30.562Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 02:02 . [2023-04-19T02:12:30.562Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 02:02 .. [2023-04-19T02:12:30.562Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 02:02 cost [2023-04-19T02:12:30.562Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 19 02:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:12:30.888Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:12:31.781Z] ---> package-listing.sh [2023-04-19T02:12:31.781Z] ++ facter osfamily [2023-04-19T02:12:31.781Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-19T02:12:32.039Z] + OS_FAMILY=debian [2023-04-19T02:12:32.039Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-569 [2023-04-19T02:12:32.039Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-19T02:12:32.039Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-19T02:12:32.039Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-19T02:12:32.039Z] + PACKAGES=/tmp/packages_start.txt [2023-04-19T02:12:32.039Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-569 ']' [2023-04-19T02:12:32.039Z] + PACKAGES=/tmp/packages_end.txt [2023-04-19T02:12:32.039Z] + case "${OS_FAMILY}" in [2023-04-19T02:12:32.039Z] + dpkg -l [2023-04-19T02:12:32.039Z] + grep '^ii' [2023-04-19T02:12:32.039Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-19T02:12:32.039Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-19T02:12:32.039Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-19T02:12:32.039Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-569 ']' [2023-04-19T02:12:32.039Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-569/archives/ [2023-04-19T02:12:32.039Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-569/archives/ [Pipeline] echo [2023-04-19T02:12:32.075Z] 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-569/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-19T02:12:32.365Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-19T02:12:32.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-19T02:12:32.984Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-19T02:12:33.127Z] prd-ubuntu20.04-docker-8c-8g-9025 does not seem to be running inside a container [2023-04-19T02:12:33.177Z] $ 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-569/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-569 -v /w/workspace/gexfoundry_device-mqtt-go_PR-569:/w/workspace/gexfoundry_device-mqtt-go_PR-569:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-19T02:12:33.354Z] $ docker top dc4cc956a9df1009764355fb8c4d8a2a18b65c1ea7f1d0ffa7e89d049ba59de7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-19T02:12:33.720Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-19T02:12:34.035Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-19T02:12:34.403Z] + ls /var/log/sa-host [2023-04-19T02:12:34.404Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-19T02:12:34.565Z] provisioning config files... [2023-04-19T02:12:34.574Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-569@tmp/config16554184493002658604tmp [Pipeline] { [Pipeline] echo [2023-04-19T02:12:34.634Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:12:34.950Z] ---> create-netrc.sh [Pipeline] } [2023-04-19T02:12:34.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:12:35.379Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-19T02:12:35.414Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:12:35.729Z] ---> sudo-logs.sh [2023-04-19T02:12:35.729Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-19T02:12:35.817Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:12:36.128Z] ---> job-cost.sh [2023-04-19T02:12:36.128Z] lf-activate-venv: SKIPPING [2023-04-19T02:12:36.128Z] DEBUG: total: 0.2199999988079071 [2023-04-19T02:12:36.128Z] INFO: Retrieving Stack Cost... [2023-04-19T02:12:36.388Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-19T02:12:36.955Z] INFO: Archiving Costs [Pipeline] echo [2023-04-19T02:12:36.989Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-19T02:12:37.306Z] ---> logs-deploy.sh [2023-04-19T02:12:37.306Z] lf-activate-venv: SKIPPING [2023-04-19T02:12:37.306Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-569/1 [2023-04-19T02:12:37.306Z] INFO: archiving workspace using pattern(s): [2023-04-19T02:12:38.241Z] Archives upload complete. [2023-04-19T02:12:38.241Z] INFO: archiving logs to Nexus