Pull request #476 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 557f3c64a4a07b2ba4a5984e2dc0961a529df972+bc7652beee9a90296fe0b57947c4589a421f5e02 (a0e0756f18744f5ed28a402044c20ea44d3a2f3d) 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-ssh357010852138587567.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10205897044851757520.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-476/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-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12970630415092302746.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-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13269454370222934143.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12710826998791877116.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-476/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-476/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14451133336478806382.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5046 in /w/workspace/gexfoundry_device-mqtt-go_PR-476 [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-476 # 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/476/head:refs/remotes/origin/PR-476 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 557f3c64a4a07b2ba4a5984e2dc0961a529df972 Merge succeeded, producing 557f3c64a4a07b2ba4a5984e2dc0961a529df972 Checking out Revision 557f3c64a4a07b2ba4a5984e2dc0961a529df972 (PR-476) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-08T01:03:26.252Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-08T01:03:26.419Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 557f3c64a4a07b2ba4a5984e2dc0961a529df972 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 557f3c64a4a07b2ba4a5984e2dc0961a529df972 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-08T01:03:26.647Z] ========================================================= [2023-02-08T01:03:26.647Z] EdgeX Global Pipelines Version Info [2023-02-08T01:03:26.647Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-08T01:03:27.369Z] ------------------- [2023-02-08T01:03:27.369Z] stable info: [2023-02-08T01:03:27.369Z] ------------------- [2023-02-08T01:03:27.369Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-08T01:03:27.369Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-08T01:03:27.369Z] Message: update stable to v1.0.244 [2023-02-08T01:03:27.940Z] ------------------- [2023-02-08T01:03:27.940Z] experimental info: [2023-02-08T01:03:27.940Z] ------------------- [2023-02-08T01:03:27.940Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-08T01:03:27.940Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-08T01:03:27.940Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-08T01:03:28.238Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-08T01:03:28.279Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-08T01:03:28.477Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-08T01:03:28.517Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-08T01:03:28.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-08T01:03:28.590Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-08T01:03:28.629Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-08T01:03:28.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-08T01:03:28.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-08T01:03:28.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-08T01:03:28.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-08T01:03:28.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-08T01:03:28.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-08T01:03:28.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-08T01:03:28.934Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-08T01:03:28.970Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-08T01:03:29.004Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-08T01:03:29.041Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-08T01:03:29.077Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-08T01:03:29.115Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-08T01:03:29.157Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-08T01:03:29.198Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-08T01:03:29.232Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-08T01:03:29.267Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-08T01:03:29.300Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-08T01:03:29.336Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-08T01:03:29.374Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-08T01:03:29.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-476 [Pipeline] echo [2023-02-08T01:03:29.447Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-476 [Pipeline] echo [2023-02-08T01:03:29.490Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-476 [Pipeline] echo [2023-02-08T01:03:29.531Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 557f3c64a4a07b2ba4a5984e2dc0961a529df972 [Pipeline] echo [2023-02-08T01:03:29.570Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 557f3c6 [Pipeline] echo [2023-02-08T01:03:29.607Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-08T01:03:29.715Z] provisioning config files... [2023-02-08T01:03:29.728Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp/config14082455964946955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T01:03:30.065Z] ---> docker-login.sh [2023-02-08T01:03:30.065Z] nexus3.edgexfoundry.org:10001 [2023-02-08T01:03:30.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:03:30.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:03:30.586Z] Configure a credential helper to remove this warning. See [2023-02-08T01:03:30.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:03:30.586Z] [2023-02-08T01:03:30.586Z] Login Succeeded [2023-02-08T01:03:30.586Z] nexus3.edgexfoundry.org:10002 [2023-02-08T01:03:30.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:03:30.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:03:30.586Z] Configure a credential helper to remove this warning. See [2023-02-08T01:03:30.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:03:30.586Z] [2023-02-08T01:03:30.586Z] Login Succeeded [2023-02-08T01:03:30.586Z] nexus3.edgexfoundry.org:10003 [2023-02-08T01:03:30.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:03:30.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:03:30.846Z] Configure a credential helper to remove this warning. See [2023-02-08T01:03:30.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:03:30.846Z] [2023-02-08T01:03:30.846Z] Login Succeeded [2023-02-08T01:03:30.846Z] nexus3.edgexfoundry.org:10004 [2023-02-08T01:03:30.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:03:30.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:03:30.846Z] Configure a credential helper to remove this warning. See [2023-02-08T01:03:30.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:03:30.846Z] [2023-02-08T01:03:30.846Z] Login Succeeded [2023-02-08T01:03:30.846Z] docker.io [2023-02-08T01:03:30.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:03:31.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:03:31.105Z] Configure a credential helper to remove this warning. See [2023-02-08T01:03:31.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:03:31.105Z] [2023-02-08T01:03:31.105Z] Login Succeeded [2023-02-08T01:03:31.105Z] ---> docker-login.sh ends [Pipeline] } [2023-02-08T01:03:31.383Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-08T01:03:32.026Z] + git rev-list -1 --merges 557f3c64a4a07b2ba4a5984e2dc0961a529df972~1..557f3c64a4a07b2ba4a5984e2dc0961a529df972 [Pipeline] echo [2023-02-08T01:03:32.092Z] -----------> git rev-list -1 --merges 557f3c64a4a07b2ba4a5984e2dc0961a529df972~1..557f3c64a4a07b2ba4a5984e2dc0961a529df972 557f3c64a4a07b2ba4a5984e2dc0961a529df972 [false] [Pipeline] sh [2023-02-08T01:03:32.401Z] + git log --format=format:%s -1 557f3c64a4a07b2ba4a5984e2dc0961a529df972 [Pipeline] echo [2023-02-08T01:03:32.441Z] ========================================================= [2023-02-08T01:03:32.441Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-08T01:03:32.441Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-08T01:03:32.880Z] + git log --format=format:%s -1 557f3c64a4a07b2ba4a5984e2dc0961a529df972 [Pipeline] echo [2023-02-08T01:03:32.913Z] [semverPrep] GIT_COMMIT: 557f3c64a4a07b2ba4a5984e2dc0961a529df972, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-08T01:03:32.972Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-08T01:03:33.386Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-08T01:03:33.386Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-08T01:03:33.386Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-08T01:03:33.386Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-08T01:03:33.386Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-08T01:03:33.386Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-08T01:03:33.386Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:03:33.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-08T01:03:33.907Z] [2023-02-08T01:03:33.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:03:34.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-08T01:03:34.292Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-08T01:03:34.292Z] b85a868b505f: Pulling fs layer [2023-02-08T01:03:34.292Z] e2be974225ed: Pulling fs layer [2023-02-08T01:03:34.292Z] 339a4e72a1f5: Pulling fs layer [2023-02-08T01:03:34.292Z] 988bab9f4d93: Pulling fs layer [2023-02-08T01:03:34.292Z] 1469e6f7b9e6: Pulling fs layer [2023-02-08T01:03:34.292Z] eaf3925da568: Pulling fs layer [2023-02-08T01:03:34.292Z] bab4dde63d76: Pulling fs layer [2023-02-08T01:03:34.292Z] bde34c3a00c8: Pulling fs layer [2023-02-08T01:03:34.292Z] b352a97aabf1: Pulling fs layer [2023-02-08T01:03:34.292Z] 4872d77fe225: Pulling fs layer [2023-02-08T01:03:34.292Z] 5851b861e8e6: Pulling fs layer [2023-02-08T01:03:34.292Z] 1469e6f7b9e6: Waiting [2023-02-08T01:03:34.292Z] eaf3925da568: Waiting [2023-02-08T01:03:34.292Z] bab4dde63d76: Waiting [2023-02-08T01:03:34.292Z] bde34c3a00c8: Waiting [2023-02-08T01:03:34.292Z] b352a97aabf1: Waiting [2023-02-08T01:03:34.292Z] 4872d77fe225: Waiting [2023-02-08T01:03:34.292Z] 5851b861e8e6: Waiting [2023-02-08T01:03:34.292Z] 988bab9f4d93: Waiting [2023-02-08T01:03:34.292Z] e2be974225ed: Verifying Checksum [2023-02-08T01:03:34.292Z] e2be974225ed: Download complete [2023-02-08T01:03:34.292Z] 988bab9f4d93: Download complete [2023-02-08T01:03:34.553Z] 1469e6f7b9e6: Verifying Checksum [2023-02-08T01:03:34.553Z] 1469e6f7b9e6: Download complete [2023-02-08T01:03:34.553Z] eaf3925da568: Verifying Checksum [2023-02-08T01:03:34.553Z] eaf3925da568: Download complete [2023-02-08T01:03:34.553Z] 339a4e72a1f5: Verifying Checksum [2023-02-08T01:03:34.553Z] 339a4e72a1f5: Download complete [2023-02-08T01:03:34.553Z] bde34c3a00c8: Download complete [2023-02-08T01:03:34.813Z] b352a97aabf1: Verifying Checksum [2023-02-08T01:03:34.813Z] b352a97aabf1: Download complete [2023-02-08T01:03:34.813Z] b85a868b505f: Verifying Checksum [2023-02-08T01:03:34.813Z] b85a868b505f: Download complete [2023-02-08T01:03:34.813Z] 4872d77fe225: Download complete [2023-02-08T01:03:34.813Z] 5851b861e8e6: Verifying Checksum [2023-02-08T01:03:34.813Z] 5851b861e8e6: Download complete [2023-02-08T01:03:35.071Z] bab4dde63d76: Verifying Checksum [2023-02-08T01:03:35.071Z] bab4dde63d76: Download complete [2023-02-08T01:03:36.011Z] b85a868b505f: Pull complete [2023-02-08T01:03:36.272Z] e2be974225ed: Pull complete [2023-02-08T01:03:36.532Z] 339a4e72a1f5: Pull complete [2023-02-08T01:03:36.817Z] 988bab9f4d93: Pull complete [2023-02-08T01:03:37.078Z] 1469e6f7b9e6: Pull complete [2023-02-08T01:03:37.078Z] eaf3925da568: Pull complete [2023-02-08T01:03:38.987Z] bab4dde63d76: Pull complete [2023-02-08T01:03:38.987Z] bde34c3a00c8: Pull complete [2023-02-08T01:03:39.246Z] b352a97aabf1: Pull complete [2023-02-08T01:03:39.246Z] 4872d77fe225: Pull complete [2023-02-08T01:03:39.246Z] 5851b861e8e6: Pull complete [2023-02-08T01:03:39.246Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-08T01:03:39.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-08T01:03:39.246Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T01:03:39.451Z] prd-ubuntu20.04-docker-8c-8g-5046 does not seem to be running inside a container [2023-02-08T01:03:39.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-476 -v /w/workspace/gexfoundry_device-mqtt-go_PR-476:/w/workspace/gexfoundry_device-mqtt-go_PR-476:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-08T01:03:41.680Z] $ docker top a41547fa1149f163319380009d7aeb102ac66f7629ff8840abca4e948300cf6d -eo pid,comm [2023-02-08T01:03:41.744Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-08T01:03:41.744Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-08T01:03:41.871Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-08T01:03:41.871Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-08T01:03:41.980Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-08T01:03:41.977Z] $ docker exec a41547fa1149f163319380009d7aeb102ac66f7629ff8840abca4e948300cf6d ssh-agent [2023-02-08T01:03:42.115Z] SSH_AUTH_SOCK=/tmp/ssh-CkAlh8fborzd/agent.32 [2023-02-08T01:03:42.115Z] SSH_AGENT_PID=38 [2023-02-08T01:03:42.121Z] Running ssh-add (command line suppressed) [2023-02-08T01:03:42.216Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp/private_key_17085368589362631779.key (/w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp/private_key_17085368589362631779.key) [2023-02-08T01:03:42.233Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-08T01:03:42.561Z] + git tag --points-at HEAD [Pipeline] } [2023-02-08T01:03:42.583Z] $ docker exec --env ******** --env ******** a41547fa1149f163319380009d7aeb102ac66f7629ff8840abca4e948300cf6d ssh-agent -k [2023-02-08T01:03:42.681Z] unset SSH_AUTH_SOCK; [2023-02-08T01:03:42.682Z] unset SSH_AGENT_PID; [2023-02-08T01:03:42.682Z] echo Agent pid 38 killed; [2023-02-08T01:03:42.695Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-08T01:03:42.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-08T01:03:42.787Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-08T01:03:42.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-08T01:03:42.900Z] $ docker exec a41547fa1149f163319380009d7aeb102ac66f7629ff8840abca4e948300cf6d ssh-agent [2023-02-08T01:03:43.027Z] SSH_AUTH_SOCK=/tmp/ssh-y4rguFsrijLY/agent.70 [2023-02-08T01:03:43.027Z] SSH_AGENT_PID=76 [2023-02-08T01:03:43.032Z] Running ssh-add (command line suppressed) [2023-02-08T01:03:43.136Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp/private_key_13044061561822000271.key (/w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp/private_key_13044061561822000271.key) [2023-02-08T01:03:43.153Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-08T01:03:43.492Z] + git semver init [2023-02-08T01:03:43.751Z] 2023-02-08 01:03:43,667 [run_init] DEBUG init version:0.0.0 force:False [2023-02-08T01:03:43.751Z] 2023-02-08 01:03:43,668 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-476/.semver [2023-02-08T01:03:43.751Z] 2023-02-08 01:03:43,668 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-476/.semver [2023-02-08T01:03:43.751Z] 2023-02-08 01:03:43,669 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-476/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-476, universal_newlines=False, shell=None, istream=None) [2023-02-08T01:03:44.689Z] 2023-02-08 01:03:44,540 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-476/.git/info/exclude [2023-02-08T01:03:44.689Z] 2023-02-08 01:03:44,541 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-476/.semver/PR-476 with force:False [2023-02-08T01:03:44.689Z] 2023-02-08 01:03:44,541 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-476/.semver/PR-476 [2023-02-08T01:03:44.689Z] 2023-02-08 01:03:44,545 [execute] INFO git cat-file --batch-check [2023-02-08T01:03:44.689Z] 2023-02-08 01:03:44,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-476/.semver, universal_newlines=False, shell=None, istream=) [2023-02-08T01:03:44.689Z] 2023-02-08 01:03:44,551 [execute] INFO git cat-file --batch [2023-02-08T01:03:44.689Z] 2023-02-08 01:03:44,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-476/.semver, universal_newlines=False, shell=None, istream=) [2023-02-08T01:03:44.689Z] 2023-02-08 01:03:44,556 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-476/.semver/PR-476 [2023-02-08T01:03:44.689Z] 0.0.0 [Pipeline] } [2023-02-08T01:03:44.710Z] $ docker exec --env ******** --env ******** a41547fa1149f163319380009d7aeb102ac66f7629ff8840abca4e948300cf6d ssh-agent -k [2023-02-08T01:03:44.808Z] unset SSH_AUTH_SOCK; [2023-02-08T01:03:44.808Z] unset SSH_AGENT_PID; [2023-02-08T01:03:44.809Z] echo Agent pid 76 killed; [2023-02-08T01:03:44.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-08T01:03:45.229Z] + git semver [Pipeline] } [2023-02-08T01:03:45.509Z] $ docker stop --time=1 a41547fa1149f163319380009d7aeb102ac66f7629ff8840abca4e948300cf6d [2023-02-08T01:03:46.816Z] $ docker rm -f --volumes a41547fa1149f163319380009d7aeb102ac66f7629ff8840abca4e948300cf6d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-08T01:03:47.218Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-08T01:03:47.492Z] Stashed 1 file(s) [Pipeline] echo [2023-02-08T01:03:47.511Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-08T01:03:48.088Z] provisioning config files... [2023-02-08T01:03:48.102Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp/config10175282973159059355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T01:03:48.471Z] ---> docker-login.sh [2023-02-08T01:03:48.471Z] nexus3.edgexfoundry.org:10001 [2023-02-08T01:03:48.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:03:48.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:03:48.471Z] Configure a credential helper to remove this warning. See [2023-02-08T01:03:48.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:03:48.471Z] [2023-02-08T01:03:48.471Z] Login Succeeded [2023-02-08T01:03:48.471Z] nexus3.edgexfoundry.org:10002 [2023-02-08T01:03:48.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:03:48.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:03:48.471Z] Configure a credential helper to remove this warning. See [2023-02-08T01:03:48.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:03:48.471Z] [2023-02-08T01:03:48.471Z] Login Succeeded [2023-02-08T01:03:48.471Z] nexus3.edgexfoundry.org:10003 [2023-02-08T01:03:48.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:03:48.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:03:48.730Z] Configure a credential helper to remove this warning. See [2023-02-08T01:03:48.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:03:48.730Z] [2023-02-08T01:03:48.730Z] Login Succeeded [2023-02-08T01:03:48.730Z] nexus3.edgexfoundry.org:10004 [2023-02-08T01:03:48.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:03:48.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:03:48.730Z] Configure a credential helper to remove this warning. See [2023-02-08T01:03:48.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:03:48.730Z] [2023-02-08T01:03:48.730Z] Login Succeeded [2023-02-08T01:03:48.730Z] docker.io [2023-02-08T01:03:48.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:03:49.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:03:49.251Z] Configure a credential helper to remove this warning. See [2023-02-08T01:03:49.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:03:49.251Z] [2023-02-08T01:03:49.251Z] Login Succeeded [2023-02-08T01:03:49.251Z] ---> docker-login.sh ends [Pipeline] } [2023-02-08T01:03:49.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-08T01:03:49.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-08T01:03:49.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-08T01:03:49.531Z] ========================================================= [2023-02-08T01:03:49.532Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-08T01:03:49.532Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:03:50.004Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-08T01:03:50.004Z] Sending build context to Docker daemon 6.32MB [2023-02-08T01:03:50.004Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-08T01:03:50.004Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-08T01:03:50.004Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-08T01:03:50.004Z] 213ec9aee27d: Pulling fs layer [2023-02-08T01:03:50.004Z] 4583459ba037: Pulling fs layer [2023-02-08T01:03:50.004Z] 93c1e223e6f2: Pulling fs layer [2023-02-08T01:03:50.004Z] 53926ce57604: Pulling fs layer [2023-02-08T01:03:50.004Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-08T01:03:50.004Z] 22ff95d597cd: Pulling fs layer [2023-02-08T01:03:50.004Z] 12d6caf4c0d1: Pulling fs layer [2023-02-08T01:03:50.004Z] 96b7cbca73a9: Pulling fs layer [2023-02-08T01:03:50.004Z] a7acece74701: Pulling fs layer [2023-02-08T01:03:50.004Z] 22ff95d597cd: Waiting [2023-02-08T01:03:50.004Z] 96b7cbca73a9: Waiting [2023-02-08T01:03:50.004Z] a7acece74701: Waiting [2023-02-08T01:03:50.004Z] 12d6caf4c0d1: Waiting [2023-02-08T01:03:50.004Z] 53926ce57604: Waiting [2023-02-08T01:03:50.004Z] 21b2b0c7a3f4: Waiting [2023-02-08T01:03:50.269Z] 93c1e223e6f2: Verifying Checksum [2023-02-08T01:03:50.269Z] 93c1e223e6f2: Download complete [2023-02-08T01:03:50.269Z] 4583459ba037: Verifying Checksum [2023-02-08T01:03:50.269Z] 4583459ba037: Download complete [2023-02-08T01:03:50.269Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-08T01:03:50.269Z] 21b2b0c7a3f4: Download complete [2023-02-08T01:03:50.269Z] 22ff95d597cd: Download complete [2023-02-08T01:03:50.269Z] 213ec9aee27d: Download complete [2023-02-08T01:03:50.269Z] 12d6caf4c0d1: Verifying Checksum [2023-02-08T01:03:50.269Z] 12d6caf4c0d1: Download complete [2023-02-08T01:03:50.536Z] 213ec9aee27d: Pull complete [2023-02-08T01:03:50.536Z] 4583459ba037: Pull complete [2023-02-08T01:03:50.536Z] 93c1e223e6f2: Pull complete [2023-02-08T01:03:51.523Z] a7acece74701: Verifying Checksum [2023-02-08T01:03:51.523Z] a7acece74701: Download complete [2023-02-08T01:03:51.523Z] 53926ce57604: Verifying Checksum [2023-02-08T01:03:51.523Z] 53926ce57604: Download complete [2023-02-08T01:03:51.523Z] 96b7cbca73a9: Verifying Checksum [2023-02-08T01:03:51.523Z] 96b7cbca73a9: Download complete [2023-02-08T01:03:55.709Z] 53926ce57604: Pull complete [2023-02-08T01:03:55.709Z] 21b2b0c7a3f4: Pull complete [2023-02-08T01:03:55.709Z] 22ff95d597cd: Pull complete [2023-02-08T01:03:55.709Z] 12d6caf4c0d1: Pull complete [2023-02-08T01:03:57.611Z] 96b7cbca73a9: Pull complete [2023-02-08T01:03:58.178Z] a7acece74701: Pull complete [2023-02-08T01:03:58.178Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-08T01:03:58.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-08T01:03:58.178Z] ---> db6d94c90886 [2023-02-08T01:03:58.178Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-08T01:04:01.461Z] ---> Running in d9a43b70b08a [2023-02-08T01:04:01.461Z] Removing intermediate container d9a43b70b08a [2023-02-08T01:04:01.461Z] ---> ff3adadc2854 [2023-02-08T01:04:01.461Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-08T01:04:01.461Z] ---> Running in b32e240479bc [2023-02-08T01:04:01.719Z] Removing intermediate container b32e240479bc [2023-02-08T01:04:01.719Z] ---> c57ba59c59a7 [2023-02-08T01:04:01.719Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-08T01:04:01.719Z] ---> Running in 32d3623a5bcf [2023-02-08T01:04:01.719Z] Removing intermediate container 32d3623a5bcf [2023-02-08T01:04:01.719Z] ---> c396cdf143ab [2023-02-08T01:04:01.719Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-08T01:04:01.719Z] ---> Running in b308c3563af0 [2023-02-08T01:04:01.981Z] Removing intermediate container b308c3563af0 [2023-02-08T01:04:01.981Z] ---> 4eb2e752c60c [2023-02-08T01:04:01.981Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-08T01:04:01.981Z] ---> Running in 2bd02154ee8d [2023-02-08T01:04:02.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-08T01:04:02.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-08T01:04:02.813Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-08T01:04:02.813Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-08T01:04:02.813Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-08T01:04:02.813Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-08T01:04:02.813Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T01:04:02.813Z] OK: 216 MiB in 55 packages [2023-02-08T01:04:02.922Z] Still waiting to schedule task [2023-02-08T01:04:02.922Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-08T01:04:03.388Z] Removing intermediate container 2bd02154ee8d [2023-02-08T01:04:03.388Z] ---> 594f0892976a [2023-02-08T01:04:03.388Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-08T01:04:03.388Z] ---> Running in 55e96215c32c [2023-02-08T01:04:03.388Z] Removing intermediate container 55e96215c32c [2023-02-08T01:04:03.388Z] ---> 7a23745141b1 [2023-02-08T01:04:03.388Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-08T01:04:03.388Z] ---> c3b5b150595c [2023-02-08T01:04:03.388Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-08T01:04:03.388Z] ---> Running in a37e023babca [2023-02-08T01:04:42.117Z] Removing intermediate container a37e023babca [2023-02-08T01:04:42.117Z] ---> 152a85a22fc8 [2023-02-08T01:04:42.117Z] Step 11/12 : COPY . . [2023-02-08T01:04:42.117Z] ---> 35eded41a670 [2023-02-08T01:04:42.117Z] Step 12/12 : RUN $MAKE [2023-02-08T01:04:42.117Z] ---> Running in ab64419e0f35 [2023-02-08T01:04:42.117Z] noop [2023-02-08T01:04:42.117Z] Removing intermediate container ab64419e0f35 [2023-02-08T01:04:42.117Z] ---> 6a502aa7ba8d [2023-02-08T01:04:42.117Z] Successfully built 6a502aa7ba8d [2023-02-08T01:04:42.117Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:04:42.550Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-08T01:04:42.550Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T01:04:42.716Z] prd-ubuntu20.04-docker-8c-8g-5046 does not seem to be running inside a container [2023-02-08T01:04:42.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-476 -v /w/workspace/gexfoundry_device-mqtt-go_PR-476:/w/workspace/gexfoundry_device-mqtt-go_PR-476:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-08T01:04:43.060Z] $ docker top 5bc223138b5bcf41c7f760e733785783223cbb6a3b6542e257ac79072ce2751f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-08T01:04:43.446Z] + go version [2023-02-08T01:04:43.446Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-08T01:04:43.489Z] $ docker stop --time=1 5bc223138b5bcf41c7f760e733785783223cbb6a3b6542e257ac79072ce2751f [2023-02-08T01:04:44.768Z] $ docker rm -f --volumes 5bc223138b5bcf41c7f760e733785783223cbb6a3b6542e257ac79072ce2751f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:04:45.434Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-08T01:04:45.434Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T01:04:45.574Z] prd-ubuntu20.04-docker-8c-8g-5046 does not seem to be running inside a container [2023-02-08T01:04:45.606Z] $ 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-476 -v /w/workspace/gexfoundry_device-mqtt-go_PR-476:/w/workspace/gexfoundry_device-mqtt-go_PR-476:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-08T01:04:45.929Z] $ docker top 737903076d569f64956bdccb6e18f7f5e9ab218d9b35777ced989b49438ab5b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-08T01:04:46.317Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-476 [Pipeline] fileExists [Pipeline] sh [2023-02-08T01:04:46.676Z] + make test [2023-02-08T01:04:46.676Z] go test ./... -coverprofile=coverage.out ./... [2023-02-08T01:04:46.933Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-08T01:04:56.919Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-08T01:04:56.919Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2023-02-08T01:04:56.919Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-08T01:05:02.235Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-08T01:05:02.235Z] go vet ./... [2023-02-08T01:05:05.595Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-08T01:05:05.595Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-08T01:05:05.595Z] ./bin/test-attribution-txt.sh [2023-02-08T01:05:05.596Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-08T01:05:05.596Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-08T01:05:05.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-08T01:05:05.675Z] $ docker stop --time=1 737903076d569f64956bdccb6e18f7f5e9ab218d9b35777ced989b49438ab5b4 [2023-02-08T01:05:09.577Z] $ docker rm -f --volumes 737903076d569f64956bdccb6e18f7f5e9ab218d9b35777ced989b49438ab5b4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-08T01:05:10.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-08T01:05:10.133Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-08T01:05:10.890Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-08T01:05:11.202Z] + ls -al . [2023-02-08T01:05:11.202Z] total 184 [2023-02-08T01:05:11.202Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 8 01:04 . [2023-02-08T01:05:11.202Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 01:03 .. [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 8 01:03 .dockerignore [2023-02-08T01:05:11.202Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 8 01:04 .git [2023-02-08T01:05:11.202Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 01:03 .github [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 8 01:03 .gitignore [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 8 01:03 .golangci.yml [2023-02-08T01:05:11.202Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 8 01:03 .semver [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 8 01:03 Attribution.txt [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 8 01:03 CHANGELOG.md [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 8 01:03 Dockerfile [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 8 01:03 GOVERNANCE.md [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 8 01:03 Jenkinsfile [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 8 01:03 LICENSE [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 8 01:03 Makefile [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 8 01:03 OWNERS.md [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 8 01:03 README.md [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 8 01:03 VERSION [2023-02-08T01:05:11.202Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 01:03 bin [2023-02-08T01:05:11.202Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 01:03 cmd [2023-02-08T01:05:11.202Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 8 01:04 coverage.out [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 3375 Feb 8 01:03 go.mod [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 33277 Feb 8 01:03 go.sum [2023-02-08T01:05:11.202Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 01:03 internal [2023-02-08T01:05:11.202Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 01:03 mock [2023-02-08T01:05:11.202Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 01:03 snap [2023-02-08T01:05:11.202Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 8 01:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:05:11.594Z] + 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=557f3c64a4a07b2ba4a5984e2dc0961a529df972 --label arch=amd64 --label version=0.0.0 . [2023-02-08T01:05:11.594Z] Sending build context to Docker daemon 6.339MB [2023-02-08T01:05:11.594Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-08T01:05:11.594Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-08T01:05:11.594Z] ---> 6a502aa7ba8d [2023-02-08T01:05:11.594Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-08T01:05:11.855Z] ---> Running in b789cf722867 [2023-02-08T01:05:12.115Z] Removing intermediate container b789cf722867 [2023-02-08T01:05:12.115Z] ---> 23e52588a152 [2023-02-08T01:05:12.115Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-08T01:05:12.115Z] ---> Running in b995ef44ac09 [2023-02-08T01:05:12.115Z] Removing intermediate container b995ef44ac09 [2023-02-08T01:05:12.115Z] ---> 8cf9adad0abd [2023-02-08T01:05:12.115Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-08T01:05:12.115Z] ---> Running in d57a10ab7528 [2023-02-08T01:05:12.374Z] Removing intermediate container d57a10ab7528 [2023-02-08T01:05:12.374Z] ---> 429321bf8145 [2023-02-08T01:05:12.374Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-08T01:05:12.374Z] ---> Running in c026050208af [2023-02-08T01:05:12.374Z] Removing intermediate container c026050208af [2023-02-08T01:05:12.374Z] ---> 77205608ce1e [2023-02-08T01:05:12.374Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-08T01:05:12.374Z] ---> Running in 88706203bfa5 [2023-02-08T01:05:12.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-08T01:05:12.933Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-08T01:05:12.933Z] OK: 216 MiB in 55 packages [2023-02-08T01:05:13.535Z] Removing intermediate container 88706203bfa5 [2023-02-08T01:05:13.535Z] ---> f30dc2da2957 [2023-02-08T01:05:13.535Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-08T01:05:13.535Z] ---> Running in 2de92ccf8c1e [2023-02-08T01:05:13.535Z] Removing intermediate container 2de92ccf8c1e [2023-02-08T01:05:13.535Z] ---> 4339648e0778 [2023-02-08T01:05:13.535Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-08T01:05:13.816Z] ---> b16fd11573f1 [2023-02-08T01:05:13.816Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-08T01:05:13.816Z] ---> Running in 156fd1769ca0 [2023-02-08T01:05:15.251Z] Removing intermediate container 156fd1769ca0 [2023-02-08T01:05:15.251Z] ---> 3b7c94ccb48f [2023-02-08T01:05:15.251Z] Step 11/24 : COPY . . [2023-02-08T01:05:16.217Z] ---> 0d81348913c0 [2023-02-08T01:05:16.217Z] Step 12/24 : RUN $MAKE [2023-02-08T01:05:16.217Z] ---> Running in e4b3d96e1ab6 [2023-02-08T01:05:16.476Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-02-08T01:05:55.269Z] Removing intermediate container e4b3d96e1ab6 [2023-02-08T01:05:55.269Z] ---> bb03b92c2b11 [2023-02-08T01:05:55.269Z] Step 13/24 : FROM alpine:3.16 [2023-02-08T01:05:55.269Z] 3.16: Pulling from library/alpine [2023-02-08T01:05:55.269Z] ca7dd9ec2225: Pulling fs layer [2023-02-08T01:05:55.269Z] ca7dd9ec2225: Download complete [2023-02-08T01:05:55.269Z] ca7dd9ec2225: Pull complete [2023-02-08T01:05:55.269Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-08T01:05:55.269Z] Status: Downloaded newer image for alpine:3.16 [2023-02-08T01:05:55.269Z] ---> bfe296a52501 [2023-02-08T01:05:55.269Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-08T01:05:56.221Z] ---> Running in f7acc0792f69 [2023-02-08T01:05:57.158Z] Removing intermediate container f7acc0792f69 [2023-02-08T01:05:57.158Z] ---> e885b62014f3 [2023-02-08T01:05:57.158Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-08T01:05:58.536Z] ---> Running in a7b53b518925 [2023-02-08T01:06:00.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-08T01:06:00.700Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-08T01:06:00.959Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-08T01:06:00.959Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T01:06:00.959Z] OK: 6 MiB in 15 packages [2023-02-08T01:06:02.861Z] Removing intermediate container a7b53b518925 [2023-02-08T01:06:02.861Z] ---> 8e508d207566 [2023-02-08T01:06:02.861Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-08T01:06:04.782Z] ---> 6f69118ef233 [2023-02-08T01:06:04.782Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-08T01:06:06.186Z] ---> a9c8ca166e99 [2023-02-08T01:06:06.186Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-08T01:06:07.125Z] ---> 1076f7c8125e [2023-02-08T01:06:07.126Z] Step 19/24 : EXPOSE 59982 [2023-02-08T01:06:07.386Z] ---> Running in cf0f25c5e4f9 [2023-02-08T01:06:08.386Z] Removing intermediate container cf0f25c5e4f9 [2023-02-08T01:06:08.386Z] ---> 0f604148bc28 [2023-02-08T01:06:08.386Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-08T01:06:09.805Z] ---> Running in ca328bd41d14 [2023-02-08T01:06:11.196Z] Removing intermediate container ca328bd41d14 [2023-02-08T01:06:11.196Z] ---> a72de07b947b [2023-02-08T01:06:11.196Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-08T01:06:11.196Z] ---> Running in 3d2bd5423f97 [2023-02-08T01:06:11.455Z] Removing intermediate container 3d2bd5423f97 [2023-02-08T01:06:11.455Z] ---> 14355690e6d2 [2023-02-08T01:06:11.455Z] Step 22/24 : LABEL arch=amd64 [2023-02-08T01:06:11.714Z] ---> Running in 4b27c5261692 [2023-02-08T01:06:11.971Z] Removing intermediate container 4b27c5261692 [2023-02-08T01:06:11.971Z] ---> 764a6b894209 [2023-02-08T01:06:11.971Z] Step 23/24 : LABEL git_sha=557f3c64a4a07b2ba4a5984e2dc0961a529df972 [2023-02-08T01:06:12.538Z] ---> Running in 0ab963e31978 [2023-02-08T01:06:12.797Z] Removing intermediate container 0ab963e31978 [2023-02-08T01:06:12.797Z] ---> 74876c3bd3f5 [2023-02-08T01:06:12.797Z] Step 24/24 : LABEL version=0.0.0 [2023-02-08T01:06:13.056Z] ---> Running in c81ef272cd21 [2023-02-08T01:06:13.056Z] Removing intermediate container c81ef272cd21 [2023-02-08T01:06:13.056Z] ---> 3e854e264198 [2023-02-08T01:06:13.056Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-08T01:06:13.056Z] Successfully built 3e854e264198 [2023-02-08T01:06:13.056Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:06:13.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-08T01:06:13.921Z] [2023-02-08T01:06:13.921Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:06:14.295Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-08T01:06:14.592Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-08T01:06:14.592Z] 5eb5b503b376: Pulling fs layer [2023-02-08T01:06:14.592Z] 5c69ac0246d0: Pulling fs layer [2023-02-08T01:06:14.592Z] ec43610c2a17: Pulling fs layer [2023-02-08T01:06:14.592Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-08T01:06:14.592Z] 33b1e0a273af: Pulling fs layer [2023-02-08T01:06:14.592Z] 5d3b04190fa2: Pulling fs layer [2023-02-08T01:06:14.592Z] 2f39f015ded8: Pulling fs layer [2023-02-08T01:06:14.592Z] 33b1e0a273af: Waiting [2023-02-08T01:06:14.592Z] 5d3b04190fa2: Waiting [2023-02-08T01:06:14.592Z] 2f39f015ded8: Waiting [2023-02-08T01:06:14.592Z] 3a2ae6a8a46f: Waiting [2023-02-08T01:06:14.862Z] 5c69ac0246d0: Download complete [2023-02-08T01:06:14.862Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-08T01:06:14.862Z] 3a2ae6a8a46f: Download complete [2023-02-08T01:06:14.862Z] 33b1e0a273af: Verifying Checksum [2023-02-08T01:06:14.862Z] 33b1e0a273af: Download complete [2023-02-08T01:06:14.862Z] 5d3b04190fa2: Verifying Checksum [2023-02-08T01:06:14.862Z] 5d3b04190fa2: Download complete [2023-02-08T01:06:15.137Z] ec43610c2a17: Verifying Checksum [2023-02-08T01:06:15.137Z] ec43610c2a17: Download complete [2023-02-08T01:06:15.404Z] 5eb5b503b376: Verifying Checksum [2023-02-08T01:06:15.404Z] 5eb5b503b376: Download complete [2023-02-08T01:06:16.375Z] 2f39f015ded8: Download complete [2023-02-08T01:06:17.327Z] 5eb5b503b376: Pull complete [2023-02-08T01:06:18.731Z] 5c69ac0246d0: Pull complete [2023-02-08T01:06:20.112Z] ec43610c2a17: Pull complete [2023-02-08T01:06:21.501Z] 3a2ae6a8a46f: Pull complete [2023-02-08T01:06:22.436Z] 33b1e0a273af: Pull complete [2023-02-08T01:06:23.388Z] 5d3b04190fa2: Pull complete [2023-02-08T01:06:29.947Z] 2f39f015ded8: Pull complete [2023-02-08T01:06:30.883Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-08T01:06:31.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-08T01:06:31.142Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T01:06:31.356Z] prd-ubuntu20.04-docker-8c-8g-5046 does not seem to be running inside a container [2023-02-08T01:06:31.397Z] $ 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-476 -v /w/workspace/gexfoundry_device-mqtt-go_PR-476:/w/workspace/gexfoundry_device-mqtt-go_PR-476:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-08T01:06:54.519Z] $ docker top 274a3094ace0e4bcd481d15ac7527b0fc89521576c07271c54181d008548e573 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T01:06:54.944Z] ---> job-cost.sh [2023-02-08T01:06:54.945Z] lf-activate-venv: SKIPPING [2023-02-08T01:06:54.945Z] INFO: No Stack... [2023-02-08T01:06:55.203Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-08T01:06:55.771Z] INFO: Archiving Costs [Pipeline] sh [2023-02-08T01:06:56.088Z] + cut -d, -f6 [2023-02-08T01:06:56.088Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-476/archives/cost.csv [Pipeline] lock [2023-02-08T01:06:56.128Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-476-1-stack-cost] [2023-02-08T01:06:56.132Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-476-1-stack-cost] did not exist. Created. [2023-02-08T01:06:56.132Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-476-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-08T01:06:56.532Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-08T01:06:56.577Z] Stashed 1 file(s) [Pipeline] } [2023-02-08T01:06:56.609Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-476-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-08T01:06:56.736Z] $ docker stop --time=1 274a3094ace0e4bcd481d15ac7527b0fc89521576c07271c54181d008548e573 [2023-02-08T01:06:57.173Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5049 in /w/workspace/gexfoundry_device-mqtt-go_PR-476 [2023-02-08T01:07:00.552Z] $ docker rm -f --volumes 274a3094ace0e4bcd481d15ac7527b0fc89521576c07271c54181d008548e573 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws [2023-02-08T01:07:01.066Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] } [2023-02-08T01:07:01.138Z] Selected Git installation does not exist. Using Default [2023-02-08T01:07:01.138Z] The recommended git tool is: NONE [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-08T01:07:07.023Z] using credential edgex-jenkins-ssh [2023-02-08T01:07:07.045Z] Cloning the remote Git repository [2023-02-08T01:07:07.099Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-08T01:07:07.188Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-08T01:07:07.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-08T01:07:07.371Z] > git --version # timeout=10 [2023-02-08T01:07:07.395Z] > git --version # 'git version 2.25.1' [2023-02-08T01:07:07.397Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-08T01:07:07.471Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-08T01:07:09.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-08T01:07:09.570Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-08T01:07:10.675Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-08T01:07:10.726Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-08T01:07:10.727Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-08T01:07:10.749Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/476/head:refs/remotes/origin/PR-476 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-08T01:07:11.383Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 557f3c64a4a07b2ba4a5984e2dc0961a529df972 [2023-02-08T01:07:11.655Z] Merge succeeded, producing 557f3c64a4a07b2ba4a5984e2dc0961a529df972 [2023-02-08T01:07:11.656Z] Checking out Revision 557f3c64a4a07b2ba4a5984e2dc0961a529df972 (PR-476) [2023-02-08T01:07:12.246Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-08T01:07:12.312Z] > git --version # timeout=10 [2023-02-08T01:07:12.326Z] > git --version # 'git version 2.25.1' [2023-02-08T01:07:12.346Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-08T01:07:11.411Z] > git config core.sparsecheckout # timeout=10 [2023-02-08T01:07:11.434Z] > git checkout -f 557f3c64a4a07b2ba4a5984e2dc0961a529df972 # timeout=10 [2023-02-08T01:07:11.540Z] > git remote # timeout=10 [2023-02-08T01:07:11.567Z] > git config --get remote.origin.url # timeout=10 [2023-02-08T01:07:11.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-08T01:07:11.605Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-08T01:07:11.635Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-08T01:07:11.664Z] > git config core.sparsecheckout # timeout=10 [2023-02-08T01:07:11.683Z] > git checkout -f 557f3c64a4a07b2ba4a5984e2dc0961a529df972 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-08T01:07:13.563Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-08T01:07:13.563Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-08T01:07:13.563Z] Dload Upload Total Spent Left Speed [2023-02-08T01:07:13.563Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-02-08T01:07:14.293Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-08T01:07:14.645Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-08T01:07:14.645Z] + sudo tee /etc/docker/daemon.new [2023-02-08T01:07:14.645Z] { [2023-02-08T01:07:14.645Z] "registry-mirrors": [ [2023-02-08T01:07:14.645Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-08T01:07:14.645Z] ], [2023-02-08T01:07:14.645Z] "bip": "10.250.0.254/24", [2023-02-08T01:07:14.645Z] "hosts": [ [2023-02-08T01:07:14.645Z] "tcp://0.0.0.0:5555", [2023-02-08T01:07:14.645Z] "unix:///var/run/docker.sock" [2023-02-08T01:07:14.645Z] ], [2023-02-08T01:07:14.645Z] "mtu": 1458, [2023-02-08T01:07:14.645Z] "selinux-enabled": true, [2023-02-08T01:07:14.645Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-08T01:07:14.645Z] } [Pipeline] sh [2023-02-08T01:07:15.009Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-08T01:07:15.368Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-08T01:07:35.495Z] provisioning config files... [2023-02-08T01:07:35.528Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5966250158258499889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T01:07:35.940Z] ---> docker-login.sh [2023-02-08T01:07:35.940Z] nexus3.edgexfoundry.org:10001 [2023-02-08T01:07:36.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:07:36.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:07:36.535Z] Configure a credential helper to remove this warning. See [2023-02-08T01:07:36.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:07:36.535Z] [2023-02-08T01:07:36.535Z] Login Succeeded [2023-02-08T01:07:36.535Z] nexus3.edgexfoundry.org:10002 [2023-02-08T01:07:36.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:07:37.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:07:37.076Z] Configure a credential helper to remove this warning. See [2023-02-08T01:07:37.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:07:37.076Z] [2023-02-08T01:07:37.076Z] Login Succeeded [2023-02-08T01:07:37.076Z] nexus3.edgexfoundry.org:10003 [2023-02-08T01:07:37.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:07:37.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:07:37.346Z] Configure a credential helper to remove this warning. See [2023-02-08T01:07:37.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:07:37.346Z] [2023-02-08T01:07:37.346Z] Login Succeeded [2023-02-08T01:07:37.346Z] nexus3.edgexfoundry.org:10004 [2023-02-08T01:07:37.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:07:37.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:07:37.891Z] Configure a credential helper to remove this warning. See [2023-02-08T01:07:37.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:07:37.891Z] [2023-02-08T01:07:37.891Z] Login Succeeded [2023-02-08T01:07:37.891Z] docker.io [2023-02-08T01:07:38.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T01:07:38.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T01:07:38.432Z] Configure a credential helper to remove this warning. See [2023-02-08T01:07:38.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T01:07:38.432Z] [2023-02-08T01:07:38.432Z] Login Succeeded [2023-02-08T01:07:38.432Z] ---> docker-login.sh ends [Pipeline] } [2023-02-08T01:07:38.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-08T01:07:38.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-08T01:07:38.919Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-08T01:07:38.957Z] ========================================================= [2023-02-08T01:07:38.957Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-08T01:07:38.957Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:07:39.470Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-08T01:07:39.742Z] Sending build context to Docker daemon 3.289MB [2023-02-08T01:07:39.742Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-08T01:07:39.742Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-08T01:07:40.023Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-08T01:07:40.023Z] 9b18e9b68314: Pulling fs layer [2023-02-08T01:07:40.023Z] 35d82f9e3411: Pulling fs layer [2023-02-08T01:07:40.023Z] e16973657156: Pulling fs layer [2023-02-08T01:07:40.023Z] fc693d55d65f: Pulling fs layer [2023-02-08T01:07:40.023Z] 7e9fc2657dce: Pulling fs layer [2023-02-08T01:07:40.023Z] dda99020689f: Pulling fs layer [2023-02-08T01:07:40.023Z] db1c61fa0a46: Pulling fs layer [2023-02-08T01:07:40.023Z] 891c053d2c06: Pulling fs layer [2023-02-08T01:07:40.023Z] fc693d55d65f: Waiting [2023-02-08T01:07:40.023Z] 7e9fc2657dce: Waiting [2023-02-08T01:07:40.023Z] dda99020689f: Waiting [2023-02-08T01:07:40.023Z] db1c61fa0a46: Waiting [2023-02-08T01:07:40.023Z] 891c053d2c06: Waiting [2023-02-08T01:07:40.023Z] e16973657156: Verifying Checksum [2023-02-08T01:07:40.023Z] e16973657156: Download complete [2023-02-08T01:07:40.023Z] 35d82f9e3411: Verifying Checksum [2023-02-08T01:07:40.023Z] 35d82f9e3411: Download complete [2023-02-08T01:07:40.023Z] 7e9fc2657dce: Verifying Checksum [2023-02-08T01:07:40.023Z] 7e9fc2657dce: Download complete [2023-02-08T01:07:40.023Z] dda99020689f: Verifying Checksum [2023-02-08T01:07:40.023Z] dda99020689f: Download complete [2023-02-08T01:07:40.298Z] 9b18e9b68314: Verifying Checksum [2023-02-08T01:07:40.298Z] 9b18e9b68314: Download complete [2023-02-08T01:07:41.288Z] 9b18e9b68314: Pull complete [2023-02-08T01:07:41.288Z] 891c053d2c06: Verifying Checksum [2023-02-08T01:07:41.288Z] 891c053d2c06: Download complete [2023-02-08T01:07:41.567Z] 35d82f9e3411: Pull complete [2023-02-08T01:07:41.853Z] e16973657156: Pull complete [2023-02-08T01:07:42.448Z] db1c61fa0a46: Verifying Checksum [2023-02-08T01:07:42.448Z] db1c61fa0a46: Download complete [2023-02-08T01:07:43.039Z] fc693d55d65f: Verifying Checksum [2023-02-08T01:07:43.039Z] fc693d55d65f: Download complete [2023-02-08T01:07:55.375Z] fc693d55d65f: Pull complete [2023-02-08T01:07:55.375Z] 7e9fc2657dce: Pull complete [2023-02-08T01:07:55.375Z] dda99020689f: Pull complete [2023-02-08T01:08:00.741Z] db1c61fa0a46: Pull complete [2023-02-08T01:08:02.717Z] 891c053d2c06: Pull complete [2023-02-08T01:08:02.717Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-08T01:08:02.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-08T01:08:02.717Z] ---> f96f9c87975a [2023-02-08T01:08:02.717Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-08T01:08:04.677Z] ---> Running in c57858ace10d [2023-02-08T01:08:04.948Z] Removing intermediate container c57858ace10d [2023-02-08T01:08:04.948Z] ---> 99438bec1b54 [2023-02-08T01:08:04.948Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-08T01:08:05.221Z] ---> Running in 31e0d0bc4485 [2023-02-08T01:08:05.489Z] Removing intermediate container 31e0d0bc4485 [2023-02-08T01:08:05.489Z] ---> 4fd5c33c00a0 [2023-02-08T01:08:05.489Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-08T01:08:05.489Z] ---> Running in 235ba75692c0 [2023-02-08T01:08:05.757Z] Removing intermediate container 235ba75692c0 [2023-02-08T01:08:05.757Z] ---> 602de1391dde [2023-02-08T01:08:05.757Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-08T01:08:06.025Z] ---> Running in e2ec05cccc1a [2023-02-08T01:08:06.373Z] Removing intermediate container e2ec05cccc1a [2023-02-08T01:08:06.373Z] ---> a6e4ba837179 [2023-02-08T01:08:06.373Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-08T01:08:06.373Z] ---> Running in 8bf95ced167d [2023-02-08T01:08:07.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-08T01:08:08.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-08T01:08:09.095Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-08T01:08:09.095Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-08T01:08:09.095Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-08T01:08:09.095Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-08T01:08:09.095Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T01:08:09.095Z] OK: 226 MiB in 55 packages [2023-02-08T01:08:10.524Z] Removing intermediate container 8bf95ced167d [2023-02-08T01:08:10.524Z] ---> 594dc34d32ea [2023-02-08T01:08:10.524Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-08T01:08:10.524Z] ---> Running in 1799cd0921b1 [2023-02-08T01:08:10.797Z] Removing intermediate container 1799cd0921b1 [2023-02-08T01:08:10.797Z] ---> f90cd0051a73 [2023-02-08T01:08:10.797Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-08T01:08:11.394Z] ---> 0f5894e4480e [2023-02-08T01:08:11.394Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-08T01:08:11.394Z] ---> Running in a7a1332ebf1c [2023-02-08T01:09:33.109Z] Removing intermediate container a7a1332ebf1c [2023-02-08T01:09:33.109Z] ---> 4e42d7ede441 [2023-02-08T01:09:33.109Z] Step 11/12 : COPY . . [2023-02-08T01:09:33.109Z] ---> c6274f5cadad [2023-02-08T01:09:33.109Z] Step 12/12 : RUN $MAKE [2023-02-08T01:09:33.109Z] ---> Running in b25b10b3b41c [2023-02-08T01:09:33.109Z] noop [2023-02-08T01:09:33.109Z] Removing intermediate container b25b10b3b41c [2023-02-08T01:09:33.109Z] ---> 8fb842b605f3 [2023-02-08T01:09:33.109Z] Successfully built 8fb842b605f3 [2023-02-08T01:09:33.109Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:09:33.595Z] + docker inspect -f . ci-base-image-arm64 [2023-02-08T01:09:33.595Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T01:09:33.991Z] prd-ubuntu20.04-docker-arm64-4c-16g-5049 does not seem to be running inside a container [2023-02-08T01:09:34.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-08T01:09:35.326Z] $ docker top 3e27de51d955322d98cc39c87af90b7c727b0632784442946a4c22eb61ea7490 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-08T01:09:36.217Z] + go version [2023-02-08T01:09:36.218Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-08T01:09:36.256Z] $ docker stop --time=1 3e27de51d955322d98cc39c87af90b7c727b0632784442946a4c22eb61ea7490 [2023-02-08T01:09:37.917Z] $ docker rm -f --volumes 3e27de51d955322d98cc39c87af90b7c727b0632784442946a4c22eb61ea7490 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:09:38.761Z] + docker inspect -f . ci-base-image-arm64 [2023-02-08T01:09:38.762Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T01:09:39.022Z] prd-ubuntu20.04-docker-arm64-4c-16g-5049 does not seem to be running inside a container [2023-02-08T01:09:39.093Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-08T01:09:40.274Z] $ docker top 6075b797f6207e2e5b20d3ec4fba7ccefdf305d9afe553affc06c31daa5982ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-08T01:09:41.204Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-08T01:09:41.913Z] + make test [2023-02-08T01:09:41.913Z] go test ./... -coverprofile=coverage.out ./... [2023-02-08T01:09:43.870Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-08T01:11:20.531Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-08T01:11:20.531Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.068s coverage: 21.8% of statements [2023-02-08T01:11:20.531Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-08T01:11:20.531Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-08T01:11:20.531Z] go vet ./... [2023-02-08T01:11:47.254Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-08T01:11:47.254Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-08T01:11:47.254Z] ./bin/test-attribution-txt.sh [2023-02-08T01:11:47.254Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-08T01:11:47.254Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-08T01:11:47.290Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-08T01:11:47.326Z] $ docker stop --time=1 6075b797f6207e2e5b20d3ec4fba7ccefdf305d9afe553affc06c31daa5982ea [2023-02-08T01:11:49.133Z] $ docker rm -f --volumes 6075b797f6207e2e5b20d3ec4fba7ccefdf305d9afe553affc06c31daa5982ea [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-08T01:11:50.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-08T01:11:50.248Z] Warning: overwriting stash ‘coverage-report’ [2023-02-08T01:11:50.883Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-08T01:11:51.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-08T01:11:51.817Z] + ls -al . [2023-02-08T01:11:51.817Z] total 180 [2023-02-08T01:11:51.817Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 8 01:09 . [2023-02-08T01:11:51.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 01:07 .. [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 8 01:07 .dockerignore [2023-02-08T01:11:51.817Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 8 01:07 .git [2023-02-08T01:11:51.817Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 01:07 .github [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 8 01:07 .gitignore [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 8 01:07 .golangci.yml [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 8 01:07 Attribution.txt [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 8 01:07 CHANGELOG.md [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 8 01:07 Dockerfile [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 8 01:07 GOVERNANCE.md [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 8 01:07 Jenkinsfile [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 8 01:07 LICENSE [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 8 01:07 Makefile [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 8 01:07 OWNERS.md [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 8 01:07 README.md [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 8 01:03 VERSION [2023-02-08T01:11:51.817Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 01:07 bin [2023-02-08T01:11:51.817Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 01:07 cmd [2023-02-08T01:11:51.817Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 8 01:11 coverage.out [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 3375 Feb 8 01:07 go.mod [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 33277 Feb 8 01:07 go.sum [2023-02-08T01:11:51.817Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 01:07 internal [2023-02-08T01:11:51.817Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 01:07 mock [2023-02-08T01:11:51.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 01:07 snap [2023-02-08T01:11:51.817Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 8 01:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:11:52.247Z] + 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=557f3c64a4a07b2ba4a5984e2dc0961a529df972 --label arch=arm64 --label version=0.0.0 . [2023-02-08T01:11:52.515Z] Sending build context to Docker daemon 3.308MB [2023-02-08T01:11:52.515Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-08T01:11:52.515Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-08T01:11:52.515Z] ---> 8fb842b605f3 [2023-02-08T01:11:52.515Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-08T01:11:53.105Z] ---> Running in 0775de0adbce [2023-02-08T01:11:53.375Z] Removing intermediate container 0775de0adbce [2023-02-08T01:11:53.375Z] ---> b96984edb508 [2023-02-08T01:11:53.375Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-08T01:11:53.643Z] ---> Running in 9af44eaf29b1 [2023-02-08T01:11:53.910Z] Removing intermediate container 9af44eaf29b1 [2023-02-08T01:11:53.910Z] ---> cebb9e463d6c [2023-02-08T01:11:53.910Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-08T01:11:53.910Z] ---> Running in 86e1bc11cfb6 [2023-02-08T01:11:54.517Z] Removing intermediate container 86e1bc11cfb6 [2023-02-08T01:11:54.517Z] ---> 380d92c18e9f [2023-02-08T01:11:54.517Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-08T01:11:54.793Z] ---> Running in b02bbea69a38 [2023-02-08T01:11:55.117Z] Removing intermediate container b02bbea69a38 [2023-02-08T01:11:55.117Z] ---> 9b17433ba323 [2023-02-08T01:11:55.117Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-08T01:11:55.387Z] ---> Running in acc4a1ec391d [2023-02-08T01:11:56.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-08T01:11:56.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-08T01:11:58.215Z] OK: 226 MiB in 55 packages [2023-02-08T01:11:59.186Z] Removing intermediate container acc4a1ec391d [2023-02-08T01:11:59.186Z] ---> a05a87554ed7 [2023-02-08T01:11:59.186Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-08T01:11:59.186Z] ---> Running in a55bb81784e9 [2023-02-08T01:11:59.455Z] Removing intermediate container a55bb81784e9 [2023-02-08T01:11:59.455Z] ---> 959f60636c17 [2023-02-08T01:11:59.455Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-08T01:12:00.045Z] ---> 9e4ef8595a33 [2023-02-08T01:12:00.045Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-08T01:12:00.321Z] ---> Running in 9effa0ba8ee2 [2023-02-08T01:12:04.581Z] Removing intermediate container 9effa0ba8ee2 [2023-02-08T01:12:04.581Z] ---> 9cbf1d69a50d [2023-02-08T01:12:04.581Z] Step 11/24 : COPY . . [2023-02-08T01:12:05.557Z] ---> a1b00c21f91f [2023-02-08T01:12:05.557Z] Step 12/24 : RUN $MAKE [2023-02-08T01:12:05.557Z] ---> Running in 690cd410cdab [2023-02-08T01:12:07.510Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-02-08T01:14:14.239Z] Removing intermediate container 690cd410cdab [2023-02-08T01:14:14.239Z] ---> 9b33eb024846 [2023-02-08T01:14:14.239Z] Step 13/24 : FROM alpine:3.16 [2023-02-08T01:14:14.239Z] 3.16: Pulling from library/alpine [2023-02-08T01:14:14.239Z] 6875df1f5354: Pulling fs layer [2023-02-08T01:14:14.239Z] 6875df1f5354: Verifying Checksum [2023-02-08T01:14:14.239Z] 6875df1f5354: Download complete [2023-02-08T01:14:14.239Z] 6875df1f5354: Pull complete [2023-02-08T01:14:14.239Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-08T01:14:14.239Z] Status: Downloaded newer image for alpine:3.16 [2023-02-08T01:14:14.239Z] ---> 2b4661558fb8 [2023-02-08T01:14:14.239Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-08T01:14:14.239Z] ---> Running in ac456b275a2c [2023-02-08T01:14:14.239Z] Removing intermediate container ac456b275a2c [2023-02-08T01:14:14.239Z] ---> 8da153bdd15b [2023-02-08T01:14:14.239Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-08T01:14:14.239Z] ---> Running in 1c3343fcf87e [2023-02-08T01:14:14.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-08T01:14:15.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-08T01:14:16.050Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-08T01:14:16.050Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T01:14:16.050Z] OK: 5 MiB in 15 packages [2023-02-08T01:14:17.009Z] Removing intermediate container 1c3343fcf87e [2023-02-08T01:14:17.009Z] ---> 49d931875c7b [2023-02-08T01:14:17.009Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-08T01:14:18.413Z] ---> c0188b019434 [2023-02-08T01:14:18.413Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-08T01:14:18.678Z] ---> 40dc6a67c69c [2023-02-08T01:14:18.678Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-08T01:14:19.260Z] ---> 905ede22d284 [2023-02-08T01:14:19.260Z] Step 19/24 : EXPOSE 59982 [2023-02-08T01:14:19.260Z] ---> Running in d1ce19ad14f4 [2023-02-08T01:14:19.526Z] Removing intermediate container d1ce19ad14f4 [2023-02-08T01:14:19.526Z] ---> 1108f5eacfaf [2023-02-08T01:14:19.526Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-08T01:14:19.526Z] ---> Running in 184d453314e2 [2023-02-08T01:14:19.796Z] Removing intermediate container 184d453314e2 [2023-02-08T01:14:19.796Z] ---> 3a7f88319c2c [2023-02-08T01:14:19.796Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-08T01:14:19.796Z] ---> Running in 2d45d9bfc63d [2023-02-08T01:14:20.062Z] Removing intermediate container 2d45d9bfc63d [2023-02-08T01:14:20.063Z] ---> 127d2993ff7f [2023-02-08T01:14:20.063Z] Step 22/24 : LABEL arch=arm64 [2023-02-08T01:14:20.328Z] ---> Running in 1117586a506c [2023-02-08T01:14:20.592Z] Removing intermediate container 1117586a506c [2023-02-08T01:14:20.593Z] ---> 7bb804a24ae9 [2023-02-08T01:14:20.593Z] Step 23/24 : LABEL git_sha=557f3c64a4a07b2ba4a5984e2dc0961a529df972 [2023-02-08T01:14:20.593Z] ---> Running in 3359c64c4a66 [2023-02-08T01:14:20.858Z] Removing intermediate container 3359c64c4a66 [2023-02-08T01:14:20.858Z] ---> 22e1e750a7a3 [2023-02-08T01:14:20.858Z] Step 24/24 : LABEL version=0.0.0 [2023-02-08T01:14:20.858Z] ---> Running in 80bd8fc06c95 [2023-02-08T01:14:21.122Z] Removing intermediate container 80bd8fc06c95 [2023-02-08T01:14:21.122Z] ---> b27c955f7d54 [2023-02-08T01:14:21.122Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-08T01:14:21.122Z] Successfully built b27c955f7d54 [2023-02-08T01:14:21.122Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:14:21.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-08T01:14:21.932Z] [2023-02-08T01:14:21.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:14:22.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-08T01:14:22.338Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-08T01:14:22.338Z] 8998bd30e6a1: Pulling fs layer [2023-02-08T01:14:22.338Z] 04944245beec: Pulling fs layer [2023-02-08T01:14:22.338Z] 699f458cf7ca: Pulling fs layer [2023-02-08T01:14:22.338Z] 765212b225bb: Pulling fs layer [2023-02-08T01:14:22.338Z] f23df028b6ca: Pulling fs layer [2023-02-08T01:14:22.338Z] 765212b225bb: Waiting [2023-02-08T01:14:22.338Z] d65c8cfc05b1: Pulling fs layer [2023-02-08T01:14:22.338Z] f23df028b6ca: Waiting [2023-02-08T01:14:22.338Z] 2437ff75d9bd: Pulling fs layer [2023-02-08T01:14:22.338Z] 2437ff75d9bd: Waiting [2023-02-08T01:14:22.338Z] d65c8cfc05b1: Waiting [2023-02-08T01:14:22.607Z] 04944245beec: Verifying Checksum [2023-02-08T01:14:22.607Z] 04944245beec: Download complete [2023-02-08T01:14:22.607Z] 765212b225bb: Verifying Checksum [2023-02-08T01:14:22.607Z] 765212b225bb: Download complete [2023-02-08T01:14:22.607Z] f23df028b6ca: Verifying Checksum [2023-02-08T01:14:22.607Z] f23df028b6ca: Download complete [2023-02-08T01:14:22.607Z] d65c8cfc05b1: Verifying Checksum [2023-02-08T01:14:22.607Z] d65c8cfc05b1: Download complete [2023-02-08T01:14:22.876Z] 699f458cf7ca: Verifying Checksum [2023-02-08T01:14:22.876Z] 699f458cf7ca: Download complete [2023-02-08T01:14:23.142Z] 8998bd30e6a1: Verifying Checksum [2023-02-08T01:14:23.142Z] 8998bd30e6a1: Download complete [2023-02-08T01:14:25.723Z] 2437ff75d9bd: Verifying Checksum [2023-02-08T01:14:25.723Z] 2437ff75d9bd: Download complete [2023-02-08T01:14:27.129Z] 8998bd30e6a1: Pull complete [2023-02-08T01:14:29.707Z] 04944245beec: Pull complete [2023-02-08T01:14:30.665Z] 699f458cf7ca: Pull complete [2023-02-08T01:14:30.665Z] 765212b225bb: Pull complete [2023-02-08T01:14:31.623Z] f23df028b6ca: Pull complete [2023-02-08T01:14:31.623Z] d65c8cfc05b1: Pull complete [2023-02-08T01:14:46.600Z] 2437ff75d9bd: Pull complete [2023-02-08T01:14:46.600Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-08T01:14:46.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-08T01:14:46.600Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T01:14:46.919Z] prd-ubuntu20.04-docker-arm64-4c-16g-5049 does not seem to be running inside a container [2023-02-08T01:14:46.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-08T01:14:49.477Z] $ docker top 91d0c4d4f6ac7bb65e1f6cda70e0dc3f230b4e489ae0672c6894baf1c624f279 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T01:14:50.375Z] ---> job-cost.sh [2023-02-08T01:14:50.376Z] lf-activate-venv: SKIPPING [2023-02-08T01:14:50.376Z] INFO: No Stack... [2023-02-08T01:14:50.640Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-08T01:14:51.594Z] INFO: Archiving Costs [Pipeline] sh [2023-02-08T01:14:51.942Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-02-08T01:14:51.942Z] + cut -d, -f6 [Pipeline] lock [2023-02-08T01:14:52.034Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-476-1-stack-cost] [2023-02-08T01:14:52.040Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-476-1-stack-cost] did not exist. Created. [2023-02-08T01:14:52.040Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-476-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-08T01:14:52.830Z] /w/workspace/device-mqtt-go/1@tmp/durable-3cbaea6f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-08T01:14:53.528Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-08T01:14:53.569Z] Warning: overwriting stash ‘stack-cost’ [2023-02-08T01:14:53.622Z] Stashed 1 file(s) [Pipeline] } [2023-02-08T01:14:53.636Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-476-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-08T01:14:53.737Z] $ docker stop --time=1 91d0c4d4f6ac7bb65e1f6cda70e0dc3f230b4e489ae0672c6894baf1c624f279 [2023-02-08T01:14:55.246Z] $ docker rm -f --volumes 91d0c4d4f6ac7bb65e1f6cda70e0dc3f230b4e489ae0672c6894baf1c624f279 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-08T01:14:56.243Z] provisioning config files... [2023-02-08T01:14:56.249Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp/config1238462533239099248tmp [Pipeline] { [Pipeline] sh [2023-02-08T01:14:56.585Z] + set +x [2023-02-08T01:14:56.585Z] + bash -s -- [2023-02-08T01:14:56.585Z] + curl -s https://codecov.io/bash [2023-02-08T01:14:56.585Z] [2023-02-08T01:14:56.585Z] _____ _ [2023-02-08T01:14:56.585Z] / ____| | | [2023-02-08T01:14:56.585Z] | | ___ __| | ___ ___ _____ __ [2023-02-08T01:14:56.585Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-08T01:14:56.585Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-08T01:14:56.585Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-08T01:14:56.585Z] Bash-1.0.6 [2023-02-08T01:14:56.585Z] [2023-02-08T01:14:56.585Z] [2023-02-08T01:14:56.585Z] ==> git version 2.25.1 found [2023-02-08T01:14:56.585Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-08T01:14:56.585Z] Release-Date: 2020-01-08 [2023-02-08T01:14:56.585Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-08T01:14:56.585Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-08T01:14:56.585Z] ==> Jenkins CI detected. [2023-02-08T01:14:56.585Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-476 [2023-02-08T01:14:56.585Z] project root: . [2023-02-08T01:14:56.585Z] --> token set from env [2023-02-08T01:14:56.585Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-08T01:14:56.585Z] ==> Running gcov in . (disable via -X gcov) [2023-02-08T01:14:56.585Z] ==> Python coveragepy not found [2023-02-08T01:14:56.585Z] ==> Searching for coverage reports in: [2023-02-08T01:14:56.585Z] + . [2023-02-08T01:14:56.585Z] -> Found 1 reports [2023-02-08T01:14:56.585Z] ==> Detecting git/mercurial file structure [2023-02-08T01:14:56.585Z] ==> Reading reports [2023-02-08T01:14:56.585Z] + ./coverage.out bytes=17887 [2023-02-08T01:14:56.585Z] ==> Appending adjustments [2023-02-08T01:14:56.585Z] https://docs.codecov.io/docs/fixing-reports [2023-02-08T01:14:56.844Z] + Found adjustments [2023-02-08T01:14:56.844Z] ==> Gzipping contents [2023-02-08T01:14:56.844Z] 4.0K /tmp/codecov.VT5Jos.gz [2023-02-08T01:14:56.844Z] ==> Uploading reports [2023-02-08T01:14:56.844Z] url: https://codecov.io [2023-02-08T01:14:56.844Z] query: branch=PR-476&commit=557f3c64a4a07b2ba4a5984e2dc0961a529df972&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-476%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=476&job=&cmd_args= [2023-02-08T01:14:56.844Z] -> Pinging Codecov [2023-02-08T01:14:56.844Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-476&commit=557f3c64a4a07b2ba4a5984e2dc0961a529df972&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-476%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=476&job=&cmd_args= [2023-02-08T01:14:58.227Z] -> Uploading to [2023-02-08T01:14:58.227Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-08/7D719EC7BBE17E464838252E33014C33/557f3c64a4a07b2ba4a5984e2dc0961a529df972/838a258a-7c5e-4707-ba1e-8ec86821e71e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230208%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230208T011457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=81efe2bd66fab336cb5768e06fd01816dd45fe218c3a640a3fd778728f44787a [2023-02-08T01:14:58.227Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-08T01:14:58.227Z] Dload Upload Total Spent Left Speed [2023-02-08T01:14:58.227Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 11344 --:--:-- --:--:-- --:--:-- 11384 [2023-02-08T01:14:58.227Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/557f3c64a4a07b2ba4a5984e2dc0961a529df972 [Pipeline] } [2023-02-08T01:14:58.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-08T01:15:00.473Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-476/archives ] [2023-02-08T01:15:00.473Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-476/archives [2023-02-08T01:15:00.473Z] total 16 [2023-02-08T01:15:00.473Z] drwxr-xr-x 3 root root 4096 Feb 8 01:06 . [2023-02-08T01:15:00.473Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 8 01:06 .. [2023-02-08T01:15:00.473Z] drwxr-xr-x 2 root root 4096 Feb 8 01:06 cost [2023-02-08T01:15:00.473Z] -rw-r--r-- 1 root root 86 Feb 8 01:06 cost.csv [2023-02-08T01:15:00.474Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-476/archives [2023-02-08T01:15:00.474Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-476/archives [2023-02-08T01:15:00.474Z] total 16 [2023-02-08T01:15:00.474Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 8 01:06 . [2023-02-08T01:15:00.474Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 8 01:06 .. [2023-02-08T01:15:00.474Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 8 01:06 cost [2023-02-08T01:15:00.474Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 8 01:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-08T01:15:00.807Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T01:15:01.704Z] ---> package-listing.sh [2023-02-08T01:15:01.704Z] ++ facter osfamily [2023-02-08T01:15:01.704Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-08T01:15:01.963Z] + OS_FAMILY=debian [2023-02-08T01:15:01.963Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-476 [2023-02-08T01:15:01.963Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-08T01:15:01.963Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-08T01:15:01.963Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-08T01:15:01.963Z] + PACKAGES=/tmp/packages_start.txt [2023-02-08T01:15:01.963Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-476 ']' [2023-02-08T01:15:01.963Z] + PACKAGES=/tmp/packages_end.txt [2023-02-08T01:15:01.963Z] + case "${OS_FAMILY}" in [2023-02-08T01:15:01.963Z] + dpkg -l [2023-02-08T01:15:01.963Z] + grep '^ii' [2023-02-08T01:15:01.963Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-08T01:15:01.963Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-08T01:15:01.963Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-08T01:15:01.963Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-476 ']' [2023-02-08T01:15:01.963Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-476/archives/ [2023-02-08T01:15:01.963Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-476/archives/ [Pipeline] echo [2023-02-08T01:15:01.998Z] 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-476/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-08T01:15:02.295Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T01:15:02.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-08T01:15:02.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T01:15:03.073Z] prd-ubuntu20.04-docker-8c-8g-5046 does not seem to be running inside a container [2023-02-08T01:15:03.115Z] $ 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-476/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-476 -v /w/workspace/gexfoundry_device-mqtt-go_PR-476:/w/workspace/gexfoundry_device-mqtt-go_PR-476:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-08T01:15:03.309Z] $ docker top 36d06c1b11d2365051acce26b119c85ea6dae5db57657457a1faebdcdf2335d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-08T01:15:03.677Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-08T01:15:03.989Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-08T01:15:04.302Z] + ls /var/log/sa-host [2023-02-08T01:15:04.302Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-08T01:15:04.434Z] provisioning config files... [2023-02-08T01:15:04.443Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-476@tmp/config15281450706446569039tmp [Pipeline] { [Pipeline] echo [2023-02-08T01:15:04.489Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T01:15:04.797Z] ---> create-netrc.sh [Pipeline] } [2023-02-08T01:15:04.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-08T01:15:05.230Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-08T01:15:05.265Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T01:15:05.572Z] ---> sudo-logs.sh [2023-02-08T01:15:05.572Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-08T01:15:05.665Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T01:15:05.972Z] ---> job-cost.sh [2023-02-08T01:15:05.972Z] lf-activate-venv: SKIPPING [2023-02-08T01:15:05.972Z] DEBUG: total: 0.2199999988079071 [2023-02-08T01:15:05.972Z] INFO: Retrieving Stack Cost... [2023-02-08T01:15:07.347Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-08T01:15:07.347Z] INFO: Archiving Costs [Pipeline] echo [2023-02-08T01:15:07.384Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T01:15:07.694Z] ---> logs-deploy.sh [2023-02-08T01:15:07.694Z] lf-activate-venv: SKIPPING [2023-02-08T01:15:07.694Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-476/1 [2023-02-08T01:15:07.694Z] INFO: archiving workspace using pattern(s): [2023-02-08T01:15:08.628Z] Archives upload complete. [2023-02-08T01:15:08.628Z] INFO: archiving logs to Nexus