Pull request #472 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 75a7ed32f927d6e4b5b08e146859912bc40d1a35+bc7652beee9a90296fe0b57947c4589a421f5e02 (9a7c1da90f68cd6d2cba734e6a7f4c2cc7f826d9) 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-ssh12536785611064303230.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-ssh14660034427793914420.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-472/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-472/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16466385492889841284.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-472/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4086471213422231117.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-ssh12304891533758311293.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-472/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-472/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9630863714786009730.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-4605 in /w/workspace/gexfoundry_device-mqtt-go_PR-472 [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-472 # 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/472/head:refs/remotes/origin/PR-472 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 75a7ed32f927d6e4b5b08e146859912bc40d1a35 Merge succeeded, producing 75a7ed32f927d6e4b5b08e146859912bc40d1a35 Checking out Revision 75a7ed32f927d6e4b5b08e146859912bc40d1a35 (PR-472) 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-06T01:47:50.239Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 75a7ed32f927d6e4b5b08e146859912bc40d1a35 # 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 75a7ed32f927d6e4b5b08e146859912bc40d1a35 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-06T01:47:50.415Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-06T01:47:50.510Z] ========================================================= [2023-02-06T01:47:50.510Z] EdgeX Global Pipelines Version Info [2023-02-06T01:47:50.510Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-06T01:47:51.420Z] ------------------- [2023-02-06T01:47:51.420Z] stable info: [2023-02-06T01:47:51.420Z] ------------------- [2023-02-06T01:47:51.420Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-06T01:47:51.420Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T01:47:51.420Z] Message: update stable to v1.0.244 [2023-02-06T01:47:51.990Z] ------------------- [2023-02-06T01:47:51.990Z] experimental info: [2023-02-06T01:47:51.990Z] ------------------- [2023-02-06T01:47:51.990Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-06T01:47:51.990Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T01:47:51.990Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-06T01:47:52.284Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-06T01:47:52.326Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-06T01:47:52.363Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-06T01:47:52.399Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-06T01:47:52.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-06T01:47:52.470Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-06T01:47:52.506Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-06T01:47:52.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-06T01:47:52.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-06T01:47:52.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-06T01:47:52.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-06T01:47:52.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-06T01:47:52.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-06T01:47:52.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-06T01:47:52.819Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-06T01:47:52.860Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-06T01:47:52.903Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T01:47:52.943Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T01:47:52.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-06T01:47:53.016Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-06T01:47:53.052Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-06T01:47:53.087Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-06T01:47:53.127Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-06T01:47:53.162Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-06T01:47:53.198Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-06T01:47:53.234Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-06T01:47:53.271Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-06T01:47:53.309Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-472 [Pipeline] echo [2023-02-06T01:47:53.347Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-472 [Pipeline] echo [2023-02-06T01:47:53.383Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-472 [Pipeline] echo [2023-02-06T01:47:53.418Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75a7ed32f927d6e4b5b08e146859912bc40d1a35 [Pipeline] echo [2023-02-06T01:47:53.454Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75a7ed3 [Pipeline] echo [2023-02-06T01:47:53.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T01:47:53.600Z] provisioning config files... [2023-02-06T01:47:53.614Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-472@tmp/config4733626857510151586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T01:47:53.969Z] ---> docker-login.sh [2023-02-06T01:47:53.969Z] nexus3.edgexfoundry.org:10001 [2023-02-06T01:47:54.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:47:54.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:47:54.232Z] Configure a credential helper to remove this warning. See [2023-02-06T01:47:54.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:47:54.232Z] [2023-02-06T01:47:54.232Z] Login Succeeded [2023-02-06T01:47:54.232Z] nexus3.edgexfoundry.org:10002 [2023-02-06T01:47:54.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:47:54.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:47:54.496Z] Configure a credential helper to remove this warning. See [2023-02-06T01:47:54.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:47:54.496Z] [2023-02-06T01:47:54.496Z] Login Succeeded [2023-02-06T01:47:54.496Z] nexus3.edgexfoundry.org:10003 [2023-02-06T01:47:54.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:47:54.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:47:54.496Z] Configure a credential helper to remove this warning. See [2023-02-06T01:47:54.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:47:54.496Z] [2023-02-06T01:47:54.496Z] Login Succeeded [2023-02-06T01:47:54.496Z] nexus3.edgexfoundry.org:10004 [2023-02-06T01:47:54.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:47:54.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:47:54.757Z] Configure a credential helper to remove this warning. See [2023-02-06T01:47:54.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:47:54.757Z] [2023-02-06T01:47:54.757Z] Login Succeeded [2023-02-06T01:47:54.757Z] docker.io [2023-02-06T01:47:54.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:47:55.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:47:55.020Z] Configure a credential helper to remove this warning. See [2023-02-06T01:47:55.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:47:55.020Z] [2023-02-06T01:47:55.020Z] Login Succeeded [2023-02-06T01:47:55.020Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T01:47:55.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-06T01:47:55.679Z] + git rev-list -1 --merges 75a7ed32f927d6e4b5b08e146859912bc40d1a35~1..75a7ed32f927d6e4b5b08e146859912bc40d1a35 [Pipeline] echo [2023-02-06T01:47:55.751Z] -----------> git rev-list -1 --merges 75a7ed32f927d6e4b5b08e146859912bc40d1a35~1..75a7ed32f927d6e4b5b08e146859912bc40d1a35 75a7ed32f927d6e4b5b08e146859912bc40d1a35 [false] [Pipeline] sh [2023-02-06T01:47:56.069Z] + git log --format=format:%s -1 75a7ed32f927d6e4b5b08e146859912bc40d1a35 [Pipeline] echo [2023-02-06T01:47:56.103Z] ========================================================= [2023-02-06T01:47:56.103Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-06T01:47:56.103Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T01:47:56.531Z] + git log --format=format:%s -1 75a7ed32f927d6e4b5b08e146859912bc40d1a35 [Pipeline] echo [2023-02-06T01:47:56.563Z] [semverPrep] GIT_COMMIT: 75a7ed32f927d6e4b5b08e146859912bc40d1a35, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-06T01:47:56.595Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-06T01:47:56.998Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-06T01:47:56.998Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-06T01:47:56.998Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-06T01:47:56.998Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-06T01:47:56.998Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-06T01:47:56.998Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-06T01:47:56.998Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T01:47:57.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T01:47:57.627Z] [2023-02-06T01:47:57.628Z] 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-06T01:47:58.024Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T01:47:58.024Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-06T01:47:58.024Z] b85a868b505f: Pulling fs layer [2023-02-06T01:47:58.024Z] e2be974225ed: Pulling fs layer [2023-02-06T01:47:58.024Z] 339a4e72a1f5: Pulling fs layer [2023-02-06T01:47:58.024Z] 988bab9f4d93: Pulling fs layer [2023-02-06T01:47:58.024Z] 1469e6f7b9e6: Pulling fs layer [2023-02-06T01:47:58.024Z] eaf3925da568: Pulling fs layer [2023-02-06T01:47:58.024Z] bab4dde63d76: Pulling fs layer [2023-02-06T01:47:58.024Z] bde34c3a00c8: Pulling fs layer [2023-02-06T01:47:58.024Z] b352a97aabf1: Pulling fs layer [2023-02-06T01:47:58.024Z] 4872d77fe225: Pulling fs layer [2023-02-06T01:47:58.024Z] 5851b861e8e6: Pulling fs layer [2023-02-06T01:47:58.024Z] 988bab9f4d93: Waiting [2023-02-06T01:47:58.024Z] 1469e6f7b9e6: Waiting [2023-02-06T01:47:58.024Z] bde34c3a00c8: Waiting [2023-02-06T01:47:58.024Z] b352a97aabf1: Waiting [2023-02-06T01:47:58.024Z] eaf3925da568: Waiting [2023-02-06T01:47:58.024Z] bab4dde63d76: Waiting [2023-02-06T01:47:58.024Z] 4872d77fe225: Waiting [2023-02-06T01:47:58.024Z] e2be974225ed: Download complete [2023-02-06T01:47:58.024Z] 988bab9f4d93: Verifying Checksum [2023-02-06T01:47:58.024Z] 988bab9f4d93: Download complete [2023-02-06T01:47:58.287Z] 1469e6f7b9e6: Verifying Checksum [2023-02-06T01:47:58.288Z] 1469e6f7b9e6: Download complete [2023-02-06T01:47:58.288Z] eaf3925da568: Download complete [2023-02-06T01:47:58.288Z] 339a4e72a1f5: Verifying Checksum [2023-02-06T01:47:58.288Z] 339a4e72a1f5: Download complete [2023-02-06T01:47:58.562Z] 4872d77fe225: Verifying Checksum [2023-02-06T01:47:58.562Z] 4872d77fe225: Download complete [2023-02-06T01:47:58.562Z] 5851b861e8e6: Verifying Checksum [2023-02-06T01:47:58.562Z] 5851b861e8e6: Download complete [2023-02-06T01:47:58.562Z] b85a868b505f: Verifying Checksum [2023-02-06T01:47:58.562Z] b85a868b505f: Download complete [2023-02-06T01:47:59.130Z] bab4dde63d76: Verifying Checksum [2023-02-06T01:47:59.130Z] bab4dde63d76: Download complete [2023-02-06T01:47:59.696Z] b85a868b505f: Pull complete [2023-02-06T01:47:59.956Z] e2be974225ed: Pull complete [2023-02-06T01:48:00.216Z] 339a4e72a1f5: Pull complete [2023-02-06T01:48:00.476Z] 988bab9f4d93: Pull complete [2023-02-06T01:48:00.734Z] 1469e6f7b9e6: Pull complete [2023-02-06T01:48:00.734Z] eaf3925da568: Pull complete [2023-02-06T01:48:02.638Z] bab4dde63d76: Pull complete [2023-02-06T01:48:02.638Z] bde34c3a00c8: Pull complete [2023-02-06T01:48:02.638Z] b352a97aabf1: Pull complete [2023-02-06T01:48:02.899Z] 4872d77fe225: Pull complete [2023-02-06T01:48:03.159Z] 5851b861e8e6: Pull complete [2023-02-06T01:48:03.159Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-06T01:48:03.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T01:48:03.159Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T01:48:03.388Z] prd-ubuntu20.04-docker-8c-8g-4605 does not seem to be running inside a container [2023-02-06T01:48:03.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-472 -v /w/workspace/gexfoundry_device-mqtt-go_PR-472:/w/workspace/gexfoundry_device-mqtt-go_PR-472:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-472@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-472@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-06T01:48:06.313Z] $ docker top a396f814dd4d7d25f2ab0b8a3a093d0cf60cb389078d6c00504a295e39de67eb -eo pid,comm [2023-02-06T01:48:06.388Z] 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-06T01:48:06.388Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-06T01:48:06.522Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T01:48:06.522Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T01:48:06.632Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T01:48:06.626Z] $ docker exec a396f814dd4d7d25f2ab0b8a3a093d0cf60cb389078d6c00504a295e39de67eb ssh-agent [2023-02-06T01:48:06.736Z] SSH_AUTH_SOCK=/tmp/ssh-d38SiDKPWSrC/agent.32 [2023-02-06T01:48:06.736Z] SSH_AGENT_PID=38 [2023-02-06T01:48:06.743Z] Running ssh-add (command line suppressed) [2023-02-06T01:48:06.829Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-472@tmp/private_key_15250535439739533231.key (/w/workspace/gexfoundry_device-mqtt-go_PR-472@tmp/private_key_15250535439739533231.key) [2023-02-06T01:48:06.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T01:48:07.173Z] + git tag --points-at HEAD [Pipeline] } [2023-02-06T01:48:07.188Z] $ docker exec --env ******** --env ******** a396f814dd4d7d25f2ab0b8a3a093d0cf60cb389078d6c00504a295e39de67eb ssh-agent -k [2023-02-06T01:48:07.294Z] unset SSH_AUTH_SOCK; [2023-02-06T01:48:07.295Z] unset SSH_AGENT_PID; [2023-02-06T01:48:07.295Z] echo Agent pid 38 killed; [2023-02-06T01:48:07.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-06T01:48:07.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T01:48:07.392Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T01:48:07.508Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T01:48:07.502Z] $ docker exec a396f814dd4d7d25f2ab0b8a3a093d0cf60cb389078d6c00504a295e39de67eb ssh-agent [2023-02-06T01:48:07.603Z] SSH_AUTH_SOCK=/tmp/ssh-j3I678lWVnUx/agent.70 [2023-02-06T01:48:07.603Z] SSH_AGENT_PID=76 [2023-02-06T01:48:07.608Z] Running ssh-add (command line suppressed) [2023-02-06T01:48:07.691Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-472@tmp/private_key_10116189731965931936.key (/w/workspace/gexfoundry_device-mqtt-go_PR-472@tmp/private_key_10116189731965931936.key) [2023-02-06T01:48:07.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T01:48:08.045Z] + git semver init [2023-02-06T01:48:08.305Z] 2023-02-06 01:48:08,210 [run_init] DEBUG init version:0.0.0 force:False [2023-02-06T01:48:08.305Z] 2023-02-06 01:48:08,211 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-472/.semver [2023-02-06T01:48:08.305Z] 2023-02-06 01:48:08,211 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-472/.semver [2023-02-06T01:48:08.305Z] 2023-02-06 01:48:08,211 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-472/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-472, universal_newlines=False, shell=None, istream=None) [2023-02-06T01:48:09.685Z] 2023-02-06 01:48:09,239 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-472/.git/info/exclude [2023-02-06T01:48:09.685Z] 2023-02-06 01:48:09,240 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-472/.semver/PR-472 with force:False [2023-02-06T01:48:09.685Z] 2023-02-06 01:48:09,240 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-472/.semver/PR-472 [2023-02-06T01:48:09.685Z] 2023-02-06 01:48:09,244 [execute] INFO git cat-file --batch-check [2023-02-06T01:48:09.685Z] 2023-02-06 01:48:09,244 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-472/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T01:48:09.685Z] 2023-02-06 01:48:09,252 [execute] INFO git cat-file --batch [2023-02-06T01:48:09.685Z] 2023-02-06 01:48:09,252 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-472/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T01:48:09.685Z] 2023-02-06 01:48:09,258 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-472/.semver/PR-472 [2023-02-06T01:48:09.685Z] 0.0.0 [Pipeline] } [2023-02-06T01:48:09.705Z] $ docker exec --env ******** --env ******** a396f814dd4d7d25f2ab0b8a3a093d0cf60cb389078d6c00504a295e39de67eb ssh-agent -k [2023-02-06T01:48:09.813Z] unset SSH_AUTH_SOCK; [2023-02-06T01:48:09.813Z] unset SSH_AGENT_PID; [2023-02-06T01:48:09.813Z] echo Agent pid 76 killed; [2023-02-06T01:48:09.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-06T01:48:10.260Z] + git semver [Pipeline] } [2023-02-06T01:48:10.537Z] $ docker stop --time=1 a396f814dd4d7d25f2ab0b8a3a093d0cf60cb389078d6c00504a295e39de67eb [2023-02-06T01:48:11.967Z] $ docker rm -f --volumes a396f814dd4d7d25f2ab0b8a3a093d0cf60cb389078d6c00504a295e39de67eb [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T01:48:12.373Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-06T01:48:12.685Z] Stashed 1 file(s) [Pipeline] echo [2023-02-06T01:48:12.706Z] [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-06T01:48:13.267Z] provisioning config files... [2023-02-06T01:48:13.276Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-472@tmp/config8515411990726619919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T01:48:13.627Z] ---> docker-login.sh [2023-02-06T01:48:13.627Z] nexus3.edgexfoundry.org:10001 [2023-02-06T01:48:13.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:48:13.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:48:13.627Z] Configure a credential helper to remove this warning. See [2023-02-06T01:48:13.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:48:13.627Z] [2023-02-06T01:48:13.627Z] Login Succeeded [2023-02-06T01:48:13.627Z] nexus3.edgexfoundry.org:10002 [2023-02-06T01:48:13.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:48:13.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:48:13.627Z] Configure a credential helper to remove this warning. See [2023-02-06T01:48:13.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:48:13.627Z] [2023-02-06T01:48:13.627Z] Login Succeeded [2023-02-06T01:48:13.627Z] nexus3.edgexfoundry.org:10003 [2023-02-06T01:48:13.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:48:13.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:48:13.888Z] Configure a credential helper to remove this warning. See [2023-02-06T01:48:13.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:48:13.888Z] [2023-02-06T01:48:13.888Z] Login Succeeded [2023-02-06T01:48:13.888Z] nexus3.edgexfoundry.org:10004 [2023-02-06T01:48:13.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:48:13.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:48:13.888Z] Configure a credential helper to remove this warning. See [2023-02-06T01:48:13.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:48:13.888Z] [2023-02-06T01:48:13.888Z] Login Succeeded [2023-02-06T01:48:13.888Z] docker.io [2023-02-06T01:48:14.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:48:14.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:48:14.150Z] Configure a credential helper to remove this warning. See [2023-02-06T01:48:14.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:48:14.150Z] [2023-02-06T01:48:14.150Z] Login Succeeded [2023-02-06T01:48:14.150Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T01:48:14.179Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-06T01:48:14.382Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T01:48:14.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T01:48:14.452Z] ========================================================= [2023-02-06T01:48:14.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-06T01:48:14.452Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T01:48:14.921Z] + 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-06T01:48:14.922Z] Sending build context to Docker daemon 6.32MB [2023-02-06T01:48:14.922Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T01:48:14.922Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-06T01:48:14.922Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-06T01:48:14.922Z] 213ec9aee27d: Pulling fs layer [2023-02-06T01:48:14.922Z] 4583459ba037: Pulling fs layer [2023-02-06T01:48:14.922Z] 93c1e223e6f2: Pulling fs layer [2023-02-06T01:48:14.922Z] 53926ce57604: Pulling fs layer [2023-02-06T01:48:14.922Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-06T01:48:14.922Z] 22ff95d597cd: Pulling fs layer [2023-02-06T01:48:14.922Z] 12d6caf4c0d1: Pulling fs layer [2023-02-06T01:48:14.922Z] 96b7cbca73a9: Pulling fs layer [2023-02-06T01:48:14.922Z] a7acece74701: Pulling fs layer [2023-02-06T01:48:14.922Z] 22ff95d597cd: Waiting [2023-02-06T01:48:14.922Z] 12d6caf4c0d1: Waiting [2023-02-06T01:48:14.922Z] 96b7cbca73a9: Waiting [2023-02-06T01:48:14.922Z] 53926ce57604: Waiting [2023-02-06T01:48:14.922Z] 21b2b0c7a3f4: Waiting [2023-02-06T01:48:14.922Z] a7acece74701: Waiting [2023-02-06T01:48:14.922Z] 93c1e223e6f2: Verifying Checksum [2023-02-06T01:48:14.922Z] 93c1e223e6f2: Download complete [2023-02-06T01:48:14.922Z] 4583459ba037: Download complete [2023-02-06T01:48:14.922Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-06T01:48:14.922Z] 21b2b0c7a3f4: Download complete [2023-02-06T01:48:15.185Z] 22ff95d597cd: Download complete [2023-02-06T01:48:15.185Z] 213ec9aee27d: Verifying Checksum [2023-02-06T01:48:15.185Z] 213ec9aee27d: Download complete [2023-02-06T01:48:15.185Z] 12d6caf4c0d1: Verifying Checksum [2023-02-06T01:48:15.185Z] 12d6caf4c0d1: Download complete [2023-02-06T01:48:15.185Z] 213ec9aee27d: Pull complete [2023-02-06T01:48:15.453Z] 4583459ba037: Pull complete [2023-02-06T01:48:15.453Z] 93c1e223e6f2: Pull complete [2023-02-06T01:48:16.426Z] 53926ce57604: Verifying Checksum [2023-02-06T01:48:16.426Z] 53926ce57604: Download complete [2023-02-06T01:48:16.426Z] a7acece74701: Verifying Checksum [2023-02-06T01:48:16.426Z] a7acece74701: Download complete [2023-02-06T01:48:16.426Z] 96b7cbca73a9: Verifying Checksum [2023-02-06T01:48:16.426Z] 96b7cbca73a9: Download complete [2023-02-06T01:48:19.710Z] 53926ce57604: Pull complete [2023-02-06T01:48:19.710Z] 21b2b0c7a3f4: Pull complete [2023-02-06T01:48:19.710Z] 22ff95d597cd: Pull complete [2023-02-06T01:48:19.710Z] 12d6caf4c0d1: Pull complete [2023-02-06T01:48:21.610Z] 96b7cbca73a9: Pull complete [2023-02-06T01:48:22.175Z] a7acece74701: Pull complete [2023-02-06T01:48:22.175Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-06T01:48:22.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-06T01:48:22.175Z] ---> db6d94c90886 [2023-02-06T01:48:22.175Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-06T01:48:25.463Z] ---> Running in 349d47fca0a9 [2023-02-06T01:48:25.463Z] Removing intermediate container 349d47fca0a9 [2023-02-06T01:48:25.463Z] ---> 31cb6b3f89bf [2023-02-06T01:48:25.463Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T01:48:25.463Z] ---> Running in f9bff9d5b959 [2023-02-06T01:48:25.463Z] Removing intermediate container f9bff9d5b959 [2023-02-06T01:48:25.463Z] ---> 7e6a4b9a1205 [2023-02-06T01:48:25.463Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-06T01:48:25.463Z] ---> Running in 6eb0ecbeea6b [2023-02-06T01:48:25.722Z] Removing intermediate container 6eb0ecbeea6b [2023-02-06T01:48:25.722Z] ---> 8cd9076623ae [2023-02-06T01:48:25.722Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-06T01:48:25.722Z] ---> Running in 824d79b91a97 [2023-02-06T01:48:25.722Z] Removing intermediate container 824d79b91a97 [2023-02-06T01:48:25.722Z] ---> d1b1e82c107f [2023-02-06T01:48:25.722Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-06T01:48:25.981Z] ---> Running in 4750c716d5c1 [2023-02-06T01:48:26.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T01:48:26.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T01:48:27.070Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-06T01:48:27.070Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-06T01:48:27.070Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-06T01:48:27.070Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-06T01:48:27.070Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T01:48:27.070Z] OK: 216 MiB in 55 packages [2023-02-06T01:48:27.639Z] Removing intermediate container 4750c716d5c1 [2023-02-06T01:48:27.639Z] ---> 7ef3d5500d69 [2023-02-06T01:48:27.639Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-06T01:48:27.639Z] ---> Running in c1f5088db376 [2023-02-06T01:48:27.639Z] Removing intermediate container c1f5088db376 [2023-02-06T01:48:27.639Z] ---> 1f331fefca00 [2023-02-06T01:48:27.639Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-06T01:48:27.639Z] ---> 7b14a510eec4 [2023-02-06T01:48:27.639Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T01:48:27.898Z] ---> Running in 8d0019675059 [2023-02-06T01:48:28.095Z] Still waiting to schedule task [2023-02-06T01:48:28.095Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4602’ [2023-02-06T01:48:59.989Z] Removing intermediate container 8d0019675059 [2023-02-06T01:48:59.989Z] ---> 348eda990c62 [2023-02-06T01:48:59.989Z] Step 11/12 : COPY . . [2023-02-06T01:48:59.989Z] ---> 10a4a53b00aa [2023-02-06T01:48:59.989Z] Step 12/12 : RUN $MAKE [2023-02-06T01:48:59.989Z] ---> Running in 07fce59abec9 [2023-02-06T01:48:59.989Z] noop [2023-02-06T01:48:59.989Z] Removing intermediate container 07fce59abec9 [2023-02-06T01:48:59.989Z] ---> 0da806dcce33 [2023-02-06T01:48:59.989Z] Successfully built 0da806dcce33 [2023-02-06T01:48:59.989Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T01:49:00.492Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T01:49:00.492Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T01:49:00.640Z] prd-ubuntu20.04-docker-8c-8g-4605 does not seem to be running inside a container [2023-02-06T01:49:00.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-472 -v /w/workspace/gexfoundry_device-mqtt-go_PR-472:/w/workspace/gexfoundry_device-mqtt-go_PR-472:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-472@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-472@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-06T01:49:01.077Z] $ docker top 0270dfbfff2d2ef9c39c4dc6c0746aa8e74340e755cf40f21b398b1872bfe11a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T01:49:01.453Z] + go version [2023-02-06T01:49:01.453Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-06T01:49:01.491Z] $ docker stop --time=1 0270dfbfff2d2ef9c39c4dc6c0746aa8e74340e755cf40f21b398b1872bfe11a [2023-02-06T01:49:02.797Z] $ docker rm -f --volumes 0270dfbfff2d2ef9c39c4dc6c0746aa8e74340e755cf40f21b398b1872bfe11a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T01:49:03.498Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T01:49:03.498Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T01:49:03.640Z] prd-ubuntu20.04-docker-8c-8g-4605 does not seem to be running inside a container [2023-02-06T01:49:03.688Z] $ 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-472 -v /w/workspace/gexfoundry_device-mqtt-go_PR-472:/w/workspace/gexfoundry_device-mqtt-go_PR-472:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-472@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-472@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-06T01:49:04.011Z] $ docker top 827d1c680d81afe53c06d3e6e3b02e65f258cc023835ab228bed6b667242e104 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T01:49:04.387Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-472 [Pipeline] fileExists [Pipeline] sh [2023-02-06T01:49:04.740Z] + make test [2023-02-06T01:49:04.740Z] go test ./... -coverprofile=coverage.out ./... [2023-02-06T01:49:04.997Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-06T01:49:14.963Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-06T01:49:14.963Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2023-02-06T01:49:14.963Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-06T01:49:20.240Z] 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-06T01:49:20.240Z] go vet ./... [2023-02-06T01:49:23.519Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T01:49:23.520Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-06T01:49:23.520Z] ./bin/test-attribution-txt.sh [2023-02-06T01:49:23.520Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-06T01:49:23.520Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-06T01:49:23.559Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T01:49:23.598Z] $ docker stop --time=1 827d1c680d81afe53c06d3e6e3b02e65f258cc023835ab228bed6b667242e104 [2023-02-06T01:49:25.649Z] $ docker rm -f --volumes 827d1c680d81afe53c06d3e6e3b02e65f258cc023835ab228bed6b667242e104 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T01:49:26.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T01:49:26.298Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-06T01:49:26.964Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-06T01:49:27.279Z] + ls -al . [2023-02-06T01:49:27.279Z] total 184 [2023-02-06T01:49:27.279Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 01:49 . [2023-02-06T01:49:27.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 01:47 .. [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 01:47 .dockerignore [2023-02-06T01:49:27.279Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 01:49 .git [2023-02-06T01:49:27.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 01:47 .github [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 6 01:47 .gitignore [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 01:47 .golangci.yml [2023-02-06T01:49:27.279Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 01:48 .semver [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 6 01:47 Attribution.txt [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 6 01:47 CHANGELOG.md [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 6 01:47 Dockerfile [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 01:47 GOVERNANCE.md [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 6 01:47 Jenkinsfile [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 01:47 LICENSE [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 6 01:47 Makefile [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 6 01:47 OWNERS.md [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 6 01:47 README.md [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 01:48 VERSION [2023-02-06T01:49:27.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 01:47 bin [2023-02-06T01:49:27.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 01:47 cmd [2023-02-06T01:49:27.279Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 6 01:49 coverage.out [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 3375 Feb 6 01:47 go.mod [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 33277 Feb 6 01:47 go.sum [2023-02-06T01:49:27.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 01:47 internal [2023-02-06T01:49:27.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 01:47 mock [2023-02-06T01:49:27.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 01:47 snap [2023-02-06T01:49:27.279Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 6 01:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T01:49:27.678Z] + 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=75a7ed32f927d6e4b5b08e146859912bc40d1a35 --label arch=amd64 --label version=0.0.0 . [2023-02-06T01:49:27.678Z] Sending build context to Docker daemon 6.338MB [2023-02-06T01:49:27.678Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T01:49:27.678Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-06T01:49:27.678Z] ---> 0da806dcce33 [2023-02-06T01:49:27.678Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-06T01:49:27.946Z] ---> Running in f8a01c7ffc68 [2023-02-06T01:49:27.946Z] Removing intermediate container f8a01c7ffc68 [2023-02-06T01:49:27.946Z] ---> 2babc7187830 [2023-02-06T01:49:27.946Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T01:49:27.946Z] ---> Running in 9ab1f4386aee [2023-02-06T01:49:27.946Z] Removing intermediate container 9ab1f4386aee [2023-02-06T01:49:27.946Z] ---> de40e68bb3e2 [2023-02-06T01:49:27.946Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-06T01:49:28.206Z] ---> Running in 5d5d3a9a1c93 [2023-02-06T01:49:28.206Z] Removing intermediate container 5d5d3a9a1c93 [2023-02-06T01:49:28.206Z] ---> e837e34a2dd7 [2023-02-06T01:49:28.206Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-06T01:49:28.206Z] ---> Running in 1ceb1c9044b2 [2023-02-06T01:49:28.464Z] Removing intermediate container 1ceb1c9044b2 [2023-02-06T01:49:28.464Z] ---> dc56f8b81678 [2023-02-06T01:49:28.464Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-06T01:49:28.464Z] ---> Running in d2bab62ccc98 [2023-02-06T01:49:28.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T01:49:28.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T01:49:29.242Z] OK: 216 MiB in 55 packages [2023-02-06T01:49:29.808Z] Removing intermediate container d2bab62ccc98 [2023-02-06T01:49:29.808Z] ---> dbb8af320ea7 [2023-02-06T01:49:29.808Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-06T01:49:30.066Z] ---> Running in f5649765296d [2023-02-06T01:49:30.325Z] Removing intermediate container f5649765296d [2023-02-06T01:49:30.325Z] ---> 61e372fd3276 [2023-02-06T01:49:30.325Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-06T01:49:30.584Z] ---> 917fa2dd9116 [2023-02-06T01:49:30.584Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T01:49:30.584Z] ---> Running in 4b472f00c0e4 [2023-02-06T01:49:32.040Z] Removing intermediate container 4b472f00c0e4 [2023-02-06T01:49:32.040Z] ---> 3f912488e47c [2023-02-06T01:49:32.040Z] Step 11/24 : COPY . . [2023-02-06T01:49:32.301Z] ---> b5eac864c493 [2023-02-06T01:49:32.301Z] Step 12/24 : RUN $MAKE [2023-02-06T01:49:32.561Z] ---> Running in 1fc003b45ccb [2023-02-06T01:49:32.821Z] 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-06T01:49:51.102Z] Removing intermediate container 1fc003b45ccb [2023-02-06T01:49:51.102Z] ---> 552f7eaabb7f [2023-02-06T01:49:51.102Z] Step 13/24 : FROM alpine:3.16 [2023-02-06T01:49:51.102Z] 3.16: Pulling from library/alpine [2023-02-06T01:49:51.102Z] ca7dd9ec2225: Pulling fs layer [2023-02-06T01:49:51.102Z] ca7dd9ec2225: Verifying Checksum [2023-02-06T01:49:51.102Z] ca7dd9ec2225: Download complete [2023-02-06T01:49:51.360Z] ca7dd9ec2225: Pull complete [2023-02-06T01:49:51.360Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-06T01:49:51.360Z] Status: Downloaded newer image for alpine:3.16 [2023-02-06T01:49:51.360Z] ---> bfe296a52501 [2023-02-06T01:49:51.360Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-06T01:49:51.360Z] ---> Running in b3aeb38d85ee [2023-02-06T01:49:51.360Z] Removing intermediate container b3aeb38d85ee [2023-02-06T01:49:51.360Z] ---> d03248559742 [2023-02-06T01:49:51.360Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-06T01:49:51.619Z] ---> Running in 18fdf69ad56e [2023-02-06T01:49:51.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T01:49:51.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T01:49:52.137Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-06T01:49:52.137Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T01:49:52.137Z] OK: 6 MiB in 15 packages [2023-02-06T01:49:52.705Z] Removing intermediate container 18fdf69ad56e [2023-02-06T01:49:52.705Z] ---> 0f5ae1d67106 [2023-02-06T01:49:52.705Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-06T01:49:53.272Z] ---> ff03b5f48926 [2023-02-06T01:49:53.272Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-06T01:49:53.272Z] ---> 5789310b7634 [2023-02-06T01:49:53.272Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-06T01:49:53.272Z] ---> e34f7689ef84 [2023-02-06T01:49:53.272Z] Step 19/24 : EXPOSE 59982 [2023-02-06T01:49:53.272Z] ---> Running in e69b7e182217 [2023-02-06T01:49:53.532Z] Removing intermediate container e69b7e182217 [2023-02-06T01:49:53.532Z] ---> 415e8a1d3078 [2023-02-06T01:49:53.532Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-06T01:49:53.532Z] ---> Running in 8e0fffad4d18 [2023-02-06T01:49:53.532Z] Removing intermediate container 8e0fffad4d18 [2023-02-06T01:49:53.532Z] ---> 4a1ea1671307 [2023-02-06T01:49:53.532Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-06T01:49:53.532Z] ---> Running in 70ab465fa1e8 [2023-02-06T01:49:53.792Z] Removing intermediate container 70ab465fa1e8 [2023-02-06T01:49:53.792Z] ---> df18f511caa7 [2023-02-06T01:49:53.792Z] Step 22/24 : LABEL arch=amd64 [2023-02-06T01:49:53.792Z] ---> Running in b4301465540b [2023-02-06T01:49:53.792Z] Removing intermediate container b4301465540b [2023-02-06T01:49:53.792Z] ---> 62ad274518d2 [2023-02-06T01:49:53.792Z] Step 23/24 : LABEL git_sha=75a7ed32f927d6e4b5b08e146859912bc40d1a35 [2023-02-06T01:49:54.052Z] ---> Running in 5016630cb49f [2023-02-06T01:49:54.052Z] Removing intermediate container 5016630cb49f [2023-02-06T01:49:54.052Z] ---> 4e5f405aae35 [2023-02-06T01:49:54.052Z] Step 24/24 : LABEL version=0.0.0 [2023-02-06T01:49:54.052Z] ---> Running in fa9382f19161 [2023-02-06T01:49:54.052Z] Removing intermediate container fa9382f19161 [2023-02-06T01:49:54.052Z] ---> 3e7a19b50396 [2023-02-06T01:49:54.052Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-06T01:49:54.052Z] Successfully built 3e7a19b50396 [2023-02-06T01:49:54.052Z] 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-06T01:49:54.855Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T01:49:54.855Z] [2023-02-06T01:49:54.855Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T01:49:55.228Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T01:49:55.228Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-06T01:49:55.228Z] 5eb5b503b376: Pulling fs layer [2023-02-06T01:49:55.228Z] 5c69ac0246d0: Pulling fs layer [2023-02-06T01:49:55.228Z] ec43610c2a17: Pulling fs layer [2023-02-06T01:49:55.228Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-06T01:49:55.228Z] 33b1e0a273af: Pulling fs layer [2023-02-06T01:49:55.228Z] 5d3b04190fa2: Pulling fs layer [2023-02-06T01:49:55.228Z] 2f39f015ded8: Pulling fs layer [2023-02-06T01:49:55.228Z] 33b1e0a273af: Waiting [2023-02-06T01:49:55.228Z] 5d3b04190fa2: Waiting [2023-02-06T01:49:55.228Z] 3a2ae6a8a46f: Waiting [2023-02-06T01:49:55.228Z] 5c69ac0246d0: Download complete [2023-02-06T01:49:55.228Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-06T01:49:55.228Z] 3a2ae6a8a46f: Download complete [2023-02-06T01:49:55.490Z] 33b1e0a273af: Verifying Checksum [2023-02-06T01:49:55.490Z] 33b1e0a273af: Download complete [2023-02-06T01:49:55.490Z] 5d3b04190fa2: Verifying Checksum [2023-02-06T01:49:55.490Z] 5d3b04190fa2: Download complete [2023-02-06T01:49:55.490Z] ec43610c2a17: Verifying Checksum [2023-02-06T01:49:55.490Z] ec43610c2a17: Download complete [2023-02-06T01:49:55.751Z] 5eb5b503b376: Verifying Checksum [2023-02-06T01:49:55.751Z] 5eb5b503b376: Download complete [2023-02-06T01:49:56.317Z] 2f39f015ded8: Verifying Checksum [2023-02-06T01:49:56.317Z] 2f39f015ded8: Download complete [2023-02-06T01:49:56.884Z] 5eb5b503b376: Pull complete [2023-02-06T01:49:57.142Z] 5c69ac0246d0: Pull complete [2023-02-06T01:49:57.400Z] ec43610c2a17: Pull complete [2023-02-06T01:49:57.662Z] 3a2ae6a8a46f: Pull complete [2023-02-06T01:49:57.662Z] 33b1e0a273af: Pull complete [2023-02-06T01:49:57.922Z] 5d3b04190fa2: Pull complete [2023-02-06T01:50:02.109Z] 2f39f015ded8: Pull complete [2023-02-06T01:50:02.110Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-06T01:50:02.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T01:50:02.110Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T01:50:02.307Z] prd-ubuntu20.04-docker-8c-8g-4605 does not seem to be running inside a container [2023-02-06T01:50:02.345Z] $ 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-472 -v /w/workspace/gexfoundry_device-mqtt-go_PR-472:/w/workspace/gexfoundry_device-mqtt-go_PR-472:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-472@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-472@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-06T01:50:04.330Z] $ docker top de0cc4d421ec6cb905ea8b224b8809c087915f3babe2fea83a5782762bec8d09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T01:50:04.798Z] ---> job-cost.sh [2023-02-06T01:50:04.798Z] lf-activate-venv: SKIPPING [2023-02-06T01:50:04.798Z] INFO: No Stack... [2023-02-06T01:50:05.367Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T01:50:05.627Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T01:50:05.949Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-472/archives/cost.csv [2023-02-06T01:50:05.949Z] + cut -d, -f6 [Pipeline] lock [2023-02-06T01:50:05.986Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-472-1-stack-cost] [2023-02-06T01:50:05.990Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-472-1-stack-cost] did not exist. Created. [2023-02-06T01:50:05.991Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-472-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T01:50:06.368Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-06T01:50:06.431Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T01:50:06.446Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-472-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T01:50:06.529Z] $ docker stop --time=1 de0cc4d421ec6cb905ea8b224b8809c087915f3babe2fea83a5782762bec8d09 [2023-02-06T01:50:07.682Z] $ docker rm -f --volumes de0cc4d421ec6cb905ea8b224b8809c087915f3babe2fea83a5782762bec8d09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-06T01:51:55.675Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4606 in /w/workspace/gexfoundry_device-mqtt-go_PR-472 [Pipeline] { [Pipeline] ws [2023-02-06T01:51:55.745Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-02-06T01:51:55.814Z] Selected Git installation does not exist. Using Default [2023-02-06T01:51:55.815Z] The recommended git tool is: NONE [2023-02-06T01:52:00.845Z] using credential edgex-jenkins-ssh [2023-02-06T01:52:00.862Z] Cloning the remote Git repository [2023-02-06T01:52:00.906Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-06T01:52:00.978Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-06T01:52:01.152Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-06T01:52:01.153Z] > git --version # timeout=10 [2023-02-06T01:52:01.183Z] > git --version # 'git version 2.25.1' [2023-02-06T01:52:01.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T01:52:01.245Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T01:52:02.444Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-06T01:52:02.482Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T01:52:03.956Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 75a7ed32f927d6e4b5b08e146859912bc40d1a35 [2023-02-06T01:52:04.154Z] Merge succeeded, producing 75a7ed32f927d6e4b5b08e146859912bc40d1a35 [2023-02-06T01:52:04.154Z] Checking out Revision 75a7ed32f927d6e4b5b08e146859912bc40d1a35 (PR-472) [2023-02-06T01:52:03.335Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-06T01:52:03.371Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-06T01:52:03.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T01:52:03.387Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/472/head:refs/remotes/origin/PR-472 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-06T01:52:03.970Z] > git config core.sparsecheckout # timeout=10 [2023-02-06T01:52:03.986Z] > git checkout -f 75a7ed32f927d6e4b5b08e146859912bc40d1a35 # timeout=10 [2023-02-06T01:52:04.063Z] > git remote # timeout=10 [2023-02-06T01:52:04.079Z] > git config --get remote.origin.url # timeout=10 [2023-02-06T01:52:04.097Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T01:52:04.110Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-06T01:52:04.133Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-06T01:52:04.159Z] > git config core.sparsecheckout # timeout=10 [2023-02-06T01:52:04.171Z] > git checkout -f 75a7ed32f927d6e4b5b08e146859912bc40d1a35 # timeout=10 [2023-02-06T01:52:04.640Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-06T01:52:04.691Z] > git --version # timeout=10 [2023-02-06T01:52:04.704Z] > git --version # 'git version 2.25.1' [2023-02-06T01:52:04.719Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T01:52:05.884Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-06T01:52:05.884Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T01:52:05.884Z] Dload Upload Total Spent Left Speed [2023-02-06T01:52:05.884Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10503 0 0 57708 0 --:--:-- --:--:-- --:--:-- 57393 100 12751 100 12751 0 0 69298 0 --:--:-- --:--:-- --:--:-- 69298 [Pipeline] sh [2023-02-06T01:52:06.508Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-06T01:52:06.858Z] + sudo tee /etc/docker/daemon.new [2023-02-06T01:52:06.858Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-06T01:52:06.858Z] { [2023-02-06T01:52:06.858Z] "registry-mirrors": [ [2023-02-06T01:52:06.858Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-06T01:52:06.858Z] ], [2023-02-06T01:52:06.858Z] "bip": "10.250.0.254/24", [2023-02-06T01:52:06.858Z] "hosts": [ [2023-02-06T01:52:06.858Z] "tcp://0.0.0.0:5555", [2023-02-06T01:52:06.858Z] "unix:///var/run/docker.sock" [2023-02-06T01:52:06.858Z] ], [2023-02-06T01:52:06.858Z] "mtu": 1458, [2023-02-06T01:52:06.858Z] "selinux-enabled": true, [2023-02-06T01:52:06.858Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-06T01:52:06.858Z] } [Pipeline] sh [2023-02-06T01:52:07.197Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-06T01:52:07.536Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T01:52:25.820Z] provisioning config files... [2023-02-06T01:52:25.844Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config10144093658935078526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T01:52:26.222Z] ---> docker-login.sh [2023-02-06T01:52:26.222Z] nexus3.edgexfoundry.org:10001 [2023-02-06T01:52:26.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:52:26.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:52:26.766Z] Configure a credential helper to remove this warning. See [2023-02-06T01:52:26.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:52:26.766Z] [2023-02-06T01:52:26.766Z] Login Succeeded [2023-02-06T01:52:27.033Z] nexus3.edgexfoundry.org:10002 [2023-02-06T01:52:27.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:52:27.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:52:27.301Z] Configure a credential helper to remove this warning. See [2023-02-06T01:52:27.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:52:27.301Z] [2023-02-06T01:52:27.301Z] Login Succeeded [2023-02-06T01:52:27.301Z] nexus3.edgexfoundry.org:10003 [2023-02-06T01:52:27.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:52:27.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:52:27.570Z] Configure a credential helper to remove this warning. See [2023-02-06T01:52:27.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:52:27.570Z] [2023-02-06T01:52:27.570Z] Login Succeeded [2023-02-06T01:52:27.570Z] nexus3.edgexfoundry.org:10004 [2023-02-06T01:52:27.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:52:27.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:52:27.842Z] Configure a credential helper to remove this warning. See [2023-02-06T01:52:27.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:52:27.842Z] [2023-02-06T01:52:27.842Z] Login Succeeded [2023-02-06T01:52:27.842Z] docker.io [2023-02-06T01:52:28.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T01:52:28.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T01:52:28.394Z] Configure a credential helper to remove this warning. See [2023-02-06T01:52:28.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T01:52:28.394Z] [2023-02-06T01:52:28.394Z] Login Succeeded [2023-02-06T01:52:28.394Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T01:52:28.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-06T01:52:28.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T01:52:28.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T01:52:28.873Z] ========================================================= [2023-02-06T01:52:28.873Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-06T01:52:28.873Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T01:52:29.360Z] + 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-06T01:52:29.629Z] Sending build context to Docker daemon 3.278MB [2023-02-06T01:52:29.629Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T01:52:29.629Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-06T01:52:29.900Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-06T01:52:29.900Z] 9b18e9b68314: Pulling fs layer [2023-02-06T01:52:29.900Z] 35d82f9e3411: Pulling fs layer [2023-02-06T01:52:29.900Z] e16973657156: Pulling fs layer [2023-02-06T01:52:29.900Z] fc693d55d65f: Pulling fs layer [2023-02-06T01:52:29.900Z] 7e9fc2657dce: Pulling fs layer [2023-02-06T01:52:29.900Z] dda99020689f: Pulling fs layer [2023-02-06T01:52:29.900Z] db1c61fa0a46: Pulling fs layer [2023-02-06T01:52:29.900Z] 891c053d2c06: Pulling fs layer [2023-02-06T01:52:29.900Z] fc693d55d65f: Waiting [2023-02-06T01:52:29.900Z] 7e9fc2657dce: Waiting [2023-02-06T01:52:29.900Z] db1c61fa0a46: Waiting [2023-02-06T01:52:29.900Z] dda99020689f: Waiting [2023-02-06T01:52:29.900Z] 891c053d2c06: Waiting [2023-02-06T01:52:29.900Z] e16973657156: Verifying Checksum [2023-02-06T01:52:29.900Z] e16973657156: Download complete [2023-02-06T01:52:29.900Z] 35d82f9e3411: Verifying Checksum [2023-02-06T01:52:29.900Z] 35d82f9e3411: Download complete [2023-02-06T01:52:29.900Z] 7e9fc2657dce: Verifying Checksum [2023-02-06T01:52:29.900Z] 7e9fc2657dce: Download complete [2023-02-06T01:52:29.900Z] dda99020689f: Verifying Checksum [2023-02-06T01:52:29.900Z] dda99020689f: Download complete [2023-02-06T01:52:29.900Z] 9b18e9b68314: Verifying Checksum [2023-02-06T01:52:30.891Z] 891c053d2c06: Verifying Checksum [2023-02-06T01:52:30.891Z] 891c053d2c06: Download complete [2023-02-06T01:52:31.858Z] db1c61fa0a46: Download complete [2023-02-06T01:52:32.127Z] 9b18e9b68314: Pull complete [2023-02-06T01:52:32.395Z] fc693d55d65f: Verifying Checksum [2023-02-06T01:52:32.395Z] fc693d55d65f: Download complete [2023-02-06T01:52:32.662Z] 35d82f9e3411: Pull complete [2023-02-06T01:52:32.938Z] e16973657156: Pull complete [2023-02-06T01:52:45.252Z] fc693d55d65f: Pull complete [2023-02-06T01:52:45.252Z] 7e9fc2657dce: Pull complete [2023-02-06T01:52:45.252Z] dda99020689f: Pull complete [2023-02-06T01:52:51.919Z] db1c61fa0a46: Pull complete [2023-02-06T01:52:52.570Z] 891c053d2c06: Pull complete [2023-02-06T01:52:52.845Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-06T01:52:52.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-06T01:52:52.845Z] ---> f96f9c87975a [2023-02-06T01:52:52.845Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-06T01:52:54.796Z] ---> Running in a9e64ccffea1 [2023-02-06T01:52:55.063Z] Removing intermediate container a9e64ccffea1 [2023-02-06T01:52:55.063Z] ---> 18eb24f6affb [2023-02-06T01:52:55.063Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T01:52:55.063Z] ---> Running in 5b212c370a00 [2023-02-06T01:52:55.330Z] Removing intermediate container 5b212c370a00 [2023-02-06T01:52:55.330Z] ---> 1b5b27c290a3 [2023-02-06T01:52:55.330Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-06T01:52:55.330Z] ---> Running in 5ea802fb7c9b [2023-02-06T01:52:55.597Z] Removing intermediate container 5ea802fb7c9b [2023-02-06T01:52:55.597Z] ---> 45f66271e122 [2023-02-06T01:52:55.597Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-06T01:52:55.864Z] ---> Running in 00431229ff7b [2023-02-06T01:52:56.139Z] Removing intermediate container 00431229ff7b [2023-02-06T01:52:56.139Z] ---> c7999b65b180 [2023-02-06T01:52:56.139Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-06T01:52:56.139Z] ---> Running in a49ffa2439e7 [2023-02-06T01:52:57.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T01:52:57.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T01:52:58.535Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-06T01:52:58.535Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-06T01:52:58.535Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-06T01:52:58.535Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-06T01:52:58.535Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T01:52:58.535Z] OK: 226 MiB in 55 packages [2023-02-06T01:52:59.496Z] Removing intermediate container a49ffa2439e7 [2023-02-06T01:52:59.496Z] ---> 653d7b1b8eea [2023-02-06T01:52:59.496Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-06T01:52:59.763Z] ---> Running in 4afb562d45a8 [2023-02-06T01:53:00.028Z] Removing intermediate container 4afb562d45a8 [2023-02-06T01:53:00.028Z] ---> ae46ed11e970 [2023-02-06T01:53:00.028Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-06T01:53:00.301Z] ---> 21809e14869a [2023-02-06T01:53:00.301Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T01:53:00.577Z] ---> Running in 54ac6a023060 [2023-02-06T01:54:22.200Z] Removing intermediate container 54ac6a023060 [2023-02-06T01:54:22.200Z] ---> e028c20887e1 [2023-02-06T01:54:22.200Z] Step 11/12 : COPY . . [2023-02-06T01:54:22.200Z] ---> b382bfe407d8 [2023-02-06T01:54:22.200Z] Step 12/12 : RUN $MAKE [2023-02-06T01:54:22.200Z] ---> Running in 3e2d568f647e [2023-02-06T01:54:22.200Z] noop [2023-02-06T01:54:22.200Z] Removing intermediate container 3e2d568f647e [2023-02-06T01:54:22.200Z] ---> 0309a6d23a40 [2023-02-06T01:54:22.200Z] Successfully built 0309a6d23a40 [2023-02-06T01:54:22.200Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T01:54:22.646Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T01:54:22.646Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T01:54:22.881Z] prd-ubuntu20.04-docker-arm64-4c-16g-4606 does not seem to be running inside a container [2023-02-06T01:54:22.952Z] $ 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-06T01:54:24.082Z] $ docker top 13d03c45c77cfec42265d2990a0ac9c1630fe49d883181ab7e1698c31d72be0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T01:54:24.947Z] + go version [2023-02-06T01:54:24.947Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-06T01:54:24.982Z] $ docker stop --time=1 13d03c45c77cfec42265d2990a0ac9c1630fe49d883181ab7e1698c31d72be0c [2023-02-06T01:54:26.738Z] $ docker rm -f --volumes 13d03c45c77cfec42265d2990a0ac9c1630fe49d883181ab7e1698c31d72be0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T01:54:27.561Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T01:54:27.561Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T01:54:27.810Z] prd-ubuntu20.04-docker-arm64-4c-16g-4606 does not seem to be running inside a container [2023-02-06T01:54:27.868Z] $ 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-06T01:54:28.946Z] $ docker top 589bbbcf3b9fe38f34db224186e416bba3e1968efb6d45584cef569127546cd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T01:54:29.465Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-06T01:54:30.162Z] + make test [2023-02-06T01:54:30.162Z] go test ./... -coverprofile=coverage.out ./... [2023-02-06T01:54:31.572Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-06T01:55:53.190Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-06T01:55:53.190Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.064s coverage: 21.8% of statements [2023-02-06T01:55:53.190Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-06T01:55:53.190Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-06T01:55:53.190Z] go vet ./... [2023-02-06T01:56:08.185Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T01:56:08.185Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-06T01:56:08.185Z] ./bin/test-attribution-txt.sh [2023-02-06T01:56:08.185Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-06T01:56:08.185Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-06T01:56:08.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T01:56:08.299Z] $ docker stop --time=1 589bbbcf3b9fe38f34db224186e416bba3e1968efb6d45584cef569127546cd4 [2023-02-06T01:56:10.104Z] $ docker rm -f --volumes 589bbbcf3b9fe38f34db224186e416bba3e1968efb6d45584cef569127546cd4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T01:56:11.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T01:56:11.181Z] Warning: overwriting stash ‘coverage-report’ [2023-02-06T01:56:12.099Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T01:56:12.680Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-06T01:56:13.010Z] + ls -al . [2023-02-06T01:56:13.010Z] total 180 [2023-02-06T01:56:13.010Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 6 01:54 . [2023-02-06T01:56:13.010Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 01:52 .. [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 01:52 .dockerignore [2023-02-06T01:56:13.010Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 01:52 .git [2023-02-06T01:56:13.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 01:52 .github [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 6 01:52 .gitignore [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 01:52 .golangci.yml [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 6 01:52 Attribution.txt [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 6 01:52 CHANGELOG.md [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 6 01:52 Dockerfile [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 01:52 GOVERNANCE.md [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 6 01:52 Jenkinsfile [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 01:52 LICENSE [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 6 01:52 Makefile [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 6 01:52 OWNERS.md [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 6 01:52 README.md [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 01:48 VERSION [2023-02-06T01:56:13.010Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 01:52 bin [2023-02-06T01:56:13.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 01:52 cmd [2023-02-06T01:56:13.010Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 6 01:55 coverage.out [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 3375 Feb 6 01:52 go.mod [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 33277 Feb 6 01:52 go.sum [2023-02-06T01:56:13.010Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 01:52 internal [2023-02-06T01:56:13.010Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 01:52 mock [2023-02-06T01:56:13.010Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 01:52 snap [2023-02-06T01:56:13.010Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 6 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T01:56:13.591Z] + 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=75a7ed32f927d6e4b5b08e146859912bc40d1a35 --label arch=arm64 --label version=0.0.0 . [2023-02-06T01:56:13.866Z] Sending build context to Docker daemon 3.297MB [2023-02-06T01:56:13.866Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T01:56:13.866Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-06T01:56:13.866Z] ---> 0309a6d23a40 [2023-02-06T01:56:13.866Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-06T01:56:14.135Z] ---> Running in e77c1130ab0c [2023-02-06T01:56:14.407Z] Removing intermediate container e77c1130ab0c [2023-02-06T01:56:14.407Z] ---> 4ba9302d0269 [2023-02-06T01:56:14.407Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T01:56:14.676Z] ---> Running in 22380c00fbe1 [2023-02-06T01:56:14.948Z] Removing intermediate container 22380c00fbe1 [2023-02-06T01:56:14.948Z] ---> acfa2e1b12cc [2023-02-06T01:56:14.948Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-06T01:56:15.217Z] ---> Running in fd45d282a286 [2023-02-06T01:56:15.484Z] Removing intermediate container fd45d282a286 [2023-02-06T01:56:15.484Z] ---> 6575025bccf3 [2023-02-06T01:56:15.484Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-06T01:56:15.484Z] ---> Running in 84f54753bdb7 [2023-02-06T01:56:16.070Z] Removing intermediate container 84f54753bdb7 [2023-02-06T01:56:16.070Z] ---> c7596bc60b28 [2023-02-06T01:56:16.070Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-06T01:56:16.070Z] ---> Running in fd699bc90ca1 [2023-02-06T01:56:17.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T01:56:17.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T01:56:18.900Z] OK: 226 MiB in 55 packages [2023-02-06T01:56:19.862Z] Removing intermediate container fd699bc90ca1 [2023-02-06T01:56:19.862Z] ---> 1c87112640bd [2023-02-06T01:56:19.862Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-06T01:56:20.131Z] ---> Running in 00af16f6463f [2023-02-06T01:56:20.400Z] Removing intermediate container 00af16f6463f [2023-02-06T01:56:20.400Z] ---> 5a1db0a284c1 [2023-02-06T01:56:20.400Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-06T01:56:20.986Z] ---> bf536792cc27 [2023-02-06T01:56:20.986Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T01:56:20.986Z] ---> Running in fe7ffff822b3 [2023-02-06T01:56:25.243Z] Removing intermediate container fe7ffff822b3 [2023-02-06T01:56:25.243Z] ---> 0df2b4b6eaa2 [2023-02-06T01:56:25.243Z] Step 11/24 : COPY . . [2023-02-06T01:56:25.830Z] ---> 7960e6d496b4 [2023-02-06T01:56:25.831Z] Step 12/24 : RUN $MAKE [2023-02-06T01:56:25.831Z] ---> Running in 17fdc4cb4f61 [2023-02-06T01:56:26.789Z] 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-06T01:58:48.494Z] Removing intermediate container 17fdc4cb4f61 [2023-02-06T01:58:48.494Z] ---> c1714bae38fc [2023-02-06T01:58:48.494Z] Step 13/24 : FROM alpine:3.16 [2023-02-06T01:58:48.494Z] 3.16: Pulling from library/alpine [2023-02-06T01:58:48.494Z] 6875df1f5354: Pulling fs layer [2023-02-06T01:58:48.494Z] 6875df1f5354: Verifying Checksum [2023-02-06T01:58:48.494Z] 6875df1f5354: Download complete [2023-02-06T01:58:48.494Z] 6875df1f5354: Pull complete [2023-02-06T01:58:48.494Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-06T01:58:48.494Z] Status: Downloaded newer image for alpine:3.16 [2023-02-06T01:58:48.494Z] ---> 2b4661558fb8 [2023-02-06T01:58:48.494Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-06T01:58:48.494Z] ---> Running in b4b5715122c5 [2023-02-06T01:58:48.494Z] Removing intermediate container b4b5715122c5 [2023-02-06T01:58:48.494Z] ---> 1efebeee1448 [2023-02-06T01:58:48.494Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-06T01:58:48.494Z] ---> Running in d3215f7021b0 [2023-02-06T01:58:48.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T01:58:49.346Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T01:58:50.765Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-06T01:58:50.765Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T01:58:50.765Z] OK: 5 MiB in 15 packages [2023-02-06T01:58:51.730Z] Removing intermediate container d3215f7021b0 [2023-02-06T01:58:51.730Z] ---> a19c5328680a [2023-02-06T01:58:51.730Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-06T01:58:53.147Z] ---> 209ff2c63e93 [2023-02-06T01:58:53.147Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-06T01:58:53.741Z] ---> fb28f4feb9d0 [2023-02-06T01:58:53.741Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-06T01:58:54.332Z] ---> 4c638f3e40b7 [2023-02-06T01:58:54.332Z] Step 19/24 : EXPOSE 59982 [2023-02-06T01:58:54.332Z] ---> Running in df2696224add [2023-02-06T01:58:54.602Z] Removing intermediate container df2696224add [2023-02-06T01:58:54.602Z] ---> 3fecefddaf8b [2023-02-06T01:58:54.602Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-06T01:58:54.602Z] ---> Running in bce907e3bf73 [2023-02-06T01:58:56.549Z] Removing intermediate container bce907e3bf73 [2023-02-06T01:58:56.549Z] ---> f335a710b090 [2023-02-06T01:58:56.549Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-06T01:58:56.820Z] ---> Running in ad1af943a288 [2023-02-06T01:58:57.087Z] Removing intermediate container ad1af943a288 [2023-02-06T01:58:57.087Z] ---> b55bed4434d1 [2023-02-06T01:58:57.087Z] Step 22/24 : LABEL arch=arm64 [2023-02-06T01:58:57.087Z] ---> Running in 19dd062184b3 [2023-02-06T01:58:57.355Z] Removing intermediate container 19dd062184b3 [2023-02-06T01:58:57.355Z] ---> f35f3dc6847b [2023-02-06T01:58:57.355Z] Step 23/24 : LABEL git_sha=75a7ed32f927d6e4b5b08e146859912bc40d1a35 [2023-02-06T01:58:57.355Z] ---> Running in 3f6812269d42 [2023-02-06T01:58:57.624Z] Removing intermediate container 3f6812269d42 [2023-02-06T01:58:57.624Z] ---> 6c4e83dfec1f [2023-02-06T01:58:57.624Z] Step 24/24 : LABEL version=0.0.0 [2023-02-06T01:58:57.894Z] ---> Running in d273cb7219e1 [2023-02-06T01:58:58.163Z] Removing intermediate container d273cb7219e1 [2023-02-06T01:58:58.163Z] ---> e92fc3dae4dd [2023-02-06T01:58:58.163Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-06T01:58:58.163Z] Successfully built e92fc3dae4dd [2023-02-06T01:58:58.163Z] 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-06T01:58:58.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T01:58:58.976Z] [2023-02-06T01:58:58.976Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T01:58:59.393Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T01:58:59.393Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-06T01:58:59.393Z] 8998bd30e6a1: Pulling fs layer [2023-02-06T01:58:59.393Z] 04944245beec: Pulling fs layer [2023-02-06T01:58:59.393Z] 699f458cf7ca: Pulling fs layer [2023-02-06T01:58:59.393Z] 765212b225bb: Pulling fs layer [2023-02-06T01:58:59.393Z] f23df028b6ca: Pulling fs layer [2023-02-06T01:58:59.393Z] d65c8cfc05b1: Pulling fs layer [2023-02-06T01:58:59.393Z] 2437ff75d9bd: Pulling fs layer [2023-02-06T01:58:59.393Z] d65c8cfc05b1: Waiting [2023-02-06T01:58:59.393Z] 765212b225bb: Waiting [2023-02-06T01:58:59.393Z] f23df028b6ca: Waiting [2023-02-06T01:58:59.393Z] 2437ff75d9bd: Waiting [2023-02-06T01:58:59.666Z] 04944245beec: Verifying Checksum [2023-02-06T01:58:59.666Z] 04944245beec: Download complete [2023-02-06T01:58:59.666Z] 765212b225bb: Verifying Checksum [2023-02-06T01:58:59.666Z] 765212b225bb: Download complete [2023-02-06T01:58:59.666Z] f23df028b6ca: Verifying Checksum [2023-02-06T01:58:59.666Z] f23df028b6ca: Download complete [2023-02-06T01:58:59.666Z] d65c8cfc05b1: Verifying Checksum [2023-02-06T01:58:59.666Z] d65c8cfc05b1: Download complete [2023-02-06T01:58:59.944Z] 699f458cf7ca: Verifying Checksum [2023-02-06T01:58:59.944Z] 699f458cf7ca: Download complete [2023-02-06T01:59:00.215Z] 8998bd30e6a1: Verifying Checksum [2023-02-06T01:59:00.215Z] 8998bd30e6a1: Download complete [2023-02-06T01:59:02.829Z] 2437ff75d9bd: Download complete [2023-02-06T01:59:04.778Z] 8998bd30e6a1: Pull complete [2023-02-06T01:59:05.050Z] 04944245beec: Pull complete [2023-02-06T01:59:06.460Z] 699f458cf7ca: Pull complete [2023-02-06T01:59:06.727Z] 765212b225bb: Pull complete [2023-02-06T01:59:09.306Z] f23df028b6ca: Pull complete [2023-02-06T01:59:09.306Z] d65c8cfc05b1: Pull complete [2023-02-06T01:59:24.478Z] 2437ff75d9bd: Pull complete [2023-02-06T01:59:24.478Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-06T01:59:24.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T01:59:24.478Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T01:59:24.829Z] prd-ubuntu20.04-docker-arm64-4c-16g-4606 does not seem to be running inside a container [2023-02-06T01:59:24.904Z] $ 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-06T01:59:27.556Z] $ docker top 018da4071a9107e6cc29cb41592193c14a29cd6db475ae7338bf9b759e7ee6fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T01:59:28.476Z] ---> job-cost.sh [2023-02-06T01:59:28.476Z] lf-activate-venv: SKIPPING [2023-02-06T01:59:28.476Z] INFO: No Stack... [2023-02-06T01:59:28.743Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-06T01:59:29.705Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T01:59:30.363Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-02-06T01:59:30.363Z] + cut -d, -f6 [Pipeline] lock [2023-02-06T01:59:30.459Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-472-1-stack-cost] [2023-02-06T01:59:30.464Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-472-1-stack-cost] did not exist. Created. [2023-02-06T01:59:30.464Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-472-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T01:59:31.191Z] /w/workspace/device-mqtt-go/1@tmp/durable-9cfe3ab9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-06T01:59:31.869Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-06T01:59:31.904Z] Warning: overwriting stash ‘stack-cost’ [2023-02-06T01:59:31.956Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T01:59:31.972Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-472-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T01:59:32.047Z] $ docker stop --time=1 018da4071a9107e6cc29cb41592193c14a29cd6db475ae7338bf9b759e7ee6fb [2023-02-06T01:59:34.089Z] $ docker rm -f --volumes 018da4071a9107e6cc29cb41592193c14a29cd6db475ae7338bf9b759e7ee6fb [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-06T01:59:35.127Z] provisioning config files... [2023-02-06T01:59:35.134Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-472@tmp/config7743767560284959380tmp [Pipeline] { [Pipeline] sh [2023-02-06T01:59:35.470Z] + set +x [2023-02-06T01:59:35.470Z] + curl -s https://codecov.io/bash [2023-02-06T01:59:35.470Z] + bash -s -- [2023-02-06T01:59:35.470Z] [2023-02-06T01:59:35.470Z] _____ _ [2023-02-06T01:59:35.470Z] / ____| | | [2023-02-06T01:59:35.470Z] | | ___ __| | ___ ___ _____ __ [2023-02-06T01:59:35.470Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-06T01:59:35.470Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-06T01:59:35.470Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-06T01:59:35.470Z] Bash-1.0.6 [2023-02-06T01:59:35.470Z] [2023-02-06T01:59:35.470Z] [2023-02-06T01:59:35.470Z] ==> git version 2.25.1 found [2023-02-06T01:59:35.470Z] ==> 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-06T01:59:35.470Z] Release-Date: 2020-01-08 [2023-02-06T01:59:35.470Z] 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-06T01:59:35.470Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-06T01:59:35.470Z] ==> Jenkins CI detected. [2023-02-06T01:59:35.470Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-472 [2023-02-06T01:59:35.470Z] project root: . [2023-02-06T01:59:35.470Z] --> token set from env [2023-02-06T01:59:35.470Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-06T01:59:35.470Z] ==> Running gcov in . (disable via -X gcov) [2023-02-06T01:59:35.470Z] ==> Python coveragepy not found [2023-02-06T01:59:35.470Z] ==> Searching for coverage reports in: [2023-02-06T01:59:35.470Z] + . [2023-02-06T01:59:35.470Z] -> Found 1 reports [2023-02-06T01:59:35.470Z] ==> Detecting git/mercurial file structure [2023-02-06T01:59:35.731Z] ==> Reading reports [2023-02-06T01:59:35.731Z] + ./coverage.out bytes=17887 [2023-02-06T01:59:35.731Z] ==> Appending adjustments [2023-02-06T01:59:35.731Z] https://docs.codecov.io/docs/fixing-reports [2023-02-06T01:59:35.731Z] + Found adjustments [2023-02-06T01:59:35.731Z] ==> Gzipping contents [2023-02-06T01:59:35.731Z] 4.0K /tmp/codecov.pZTG1I.gz [2023-02-06T01:59:35.731Z] ==> Uploading reports [2023-02-06T01:59:35.731Z] url: https://codecov.io [2023-02-06T01:59:35.731Z] query: branch=PR-472&commit=75a7ed32f927d6e4b5b08e146859912bc40d1a35&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-472%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=472&job=&cmd_args= [2023-02-06T01:59:35.731Z] -> Pinging Codecov [2023-02-06T01:59:35.731Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-472&commit=75a7ed32f927d6e4b5b08e146859912bc40d1a35&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-472%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=472&job=&cmd_args= [2023-02-06T01:59:35.993Z] -> Uploading to [2023-02-06T01:59:35.993Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-06/7D719EC7BBE17E464838252E33014C33/75a7ed32f927d6e4b5b08e146859912bc40d1a35/f01e8337-482c-42d9-ac3d-5b2a28164da5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T015935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=057417bfdd503846ae823e77f3111338815728dbeb24e759def26b989d65878a [2023-02-06T01:59:35.993Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T01:59:35.993Z] Dload Upload Total Spent Left Speed [2023-02-06T01:59:36.254Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3171 0 0 100 3171 0 11126 --:--:-- --:--:-- --:--:-- 11126 [2023-02-06T01:59:36.514Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/75a7ed32f927d6e4b5b08e146859912bc40d1a35 [Pipeline] } [2023-02-06T01:59:36.541Z] 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-06T01:59:38.333Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-472/archives ] [2023-02-06T01:59:38.333Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-472/archives [2023-02-06T01:59:38.333Z] total 16 [2023-02-06T01:59:38.333Z] drwxr-xr-x 3 root root 4096 Feb 6 01:50 . [2023-02-06T01:59:38.333Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 6 01:50 .. [2023-02-06T01:59:38.333Z] drwxr-xr-x 2 root root 4096 Feb 6 01:50 cost [2023-02-06T01:59:38.333Z] -rw-r--r-- 1 root root 86 Feb 6 01:50 cost.csv [2023-02-06T01:59:38.333Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-472/archives [2023-02-06T01:59:38.333Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-472/archives [2023-02-06T01:59:38.333Z] total 16 [2023-02-06T01:59:38.333Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 01:50 . [2023-02-06T01:59:38.333Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 6 01:50 .. [2023-02-06T01:59:38.333Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 01:50 cost [2023-02-06T01:59:38.333Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 6 01:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-06T01:59:38.668Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T01:59:39.560Z] ---> package-listing.sh [2023-02-06T01:59:39.560Z] ++ facter osfamily [2023-02-06T01:59:39.560Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-06T01:59:39.821Z] + OS_FAMILY=debian [2023-02-06T01:59:39.821Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-472 [2023-02-06T01:59:39.821Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-06T01:59:39.821Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-06T01:59:39.821Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-06T01:59:39.821Z] + PACKAGES=/tmp/packages_start.txt [2023-02-06T01:59:39.821Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-472 ']' [2023-02-06T01:59:39.821Z] + PACKAGES=/tmp/packages_end.txt [2023-02-06T01:59:39.821Z] + case "${OS_FAMILY}" in [2023-02-06T01:59:39.821Z] + dpkg -l [2023-02-06T01:59:39.821Z] + grep '^ii' [2023-02-06T01:59:39.821Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-06T01:59:39.821Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-06T01:59:39.821Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-06T01:59:39.821Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-472 ']' [2023-02-06T01:59:39.821Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-472/archives/ [2023-02-06T01:59:39.821Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-472/archives/ [Pipeline] echo [2023-02-06T01:59:39.861Z] 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-472/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-06T01:59:40.151Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T01:59:40.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T01:59:40.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T01:59:40.915Z] prd-ubuntu20.04-docker-8c-8g-4605 does not seem to be running inside a container [2023-02-06T01:59:40.958Z] $ 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-472/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-472 -v /w/workspace/gexfoundry_device-mqtt-go_PR-472:/w/workspace/gexfoundry_device-mqtt-go_PR-472:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-472@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-472@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-06T01:59:41.178Z] $ docker top 1bbf20aadeb1f5d526bb2f767b6604f33a29cd2a240884ec6096603228412bc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T01:59:41.570Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-06T01:59:41.890Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-06T01:59:42.203Z] + ls /var/log/sa-host [2023-02-06T01:59:42.203Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T01:59:42.448Z] provisioning config files... [2023-02-06T01:59:42.460Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-472@tmp/config4693678629920855905tmp [Pipeline] { [Pipeline] echo [2023-02-06T01:59:42.510Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T01:59:42.832Z] ---> create-netrc.sh [Pipeline] } [2023-02-06T01:59:42.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-06T01:59:43.283Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-06T01:59:43.320Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T01:59:43.636Z] ---> sudo-logs.sh [2023-02-06T01:59:43.636Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-06T01:59:43.732Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T01:59:44.044Z] ---> job-cost.sh [2023-02-06T01:59:44.044Z] lf-activate-venv: SKIPPING [2023-02-06T01:59:44.044Z] DEBUG: total: 0.2199999988079071 [2023-02-06T01:59:44.044Z] INFO: Retrieving Stack Cost... [2023-02-06T01:59:44.611Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T01:59:45.179Z] INFO: Archiving Costs [Pipeline] echo [2023-02-06T01:59:45.215Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T01:59:45.528Z] ---> logs-deploy.sh [2023-02-06T01:59:45.529Z] lf-activate-venv: SKIPPING [2023-02-06T01:59:45.529Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-472/1 [2023-02-06T01:59:45.529Z] INFO: archiving workspace using pattern(s): [2023-02-06T01:59:46.467Z] Archives upload complete. [2023-02-06T01:59:46.467Z] INFO: archiving logs to Nexus