Pull request #471 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e+bc7652beee9a90296fe0b57947c4589a421f5e02 (9e80c3910396c209c5ceeb525bab40728483dfea) 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-ssh16378748100777839310.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-ssh764667480496859115.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-471/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-471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7998407757671428811.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-471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17845564914114431976.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-ssh3995926117499032697.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-471/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-471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16868968475846127181.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 ‘prd-ubuntu20.04-docker-8c-8g-4408’ Running on prd-ubuntu20.04-docker-8c-8g-4414 in /w/workspace/gexfoundry_device-mqtt-go_PR-471 [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-471 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e > 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/471/head:refs/remotes/origin/PR-471 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e # timeout=10 Merge succeeded, producing b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e Checking out Revision b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e (PR-471) 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-03T01:04:54.680Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-03T01:04:54.867Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > 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 b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e # timeout=10 [Pipeline] echo [2023-02-03T01:04:54.980Z] ========================================================= [2023-02-03T01:04:54.980Z] EdgeX Global Pipelines Version Info [2023-02-03T01:04:54.980Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-03T01:04:55.723Z] ------------------- [2023-02-03T01:04:55.723Z] stable info: [2023-02-03T01:04:55.723Z] ------------------- [2023-02-03T01:04:55.723Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-03T01:04:55.723Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-03T01:04:55.723Z] Message: update stable to v1.0.244 [2023-02-03T01:04:56.293Z] ------------------- [2023-02-03T01:04:56.293Z] experimental info: [2023-02-03T01:04:56.293Z] ------------------- [2023-02-03T01:04:56.293Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-03T01:04:56.293Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-03T01:04:56.293Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-03T01:04:56.651Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-03T01:04:56.694Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-03T01:04:56.738Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-03T01:04:56.779Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-03T01:04:56.820Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-03T01:04:56.863Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-03T01:04:56.911Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-03T01:04:56.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-03T01:04:56.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-03T01:04:57.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-03T01:04:57.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-03T01:04:57.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-03T01:04:57.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-03T01:04:57.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-03T01:04:57.225Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-03T01:04:57.259Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-03T01:04:57.293Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-03T01:04:57.325Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-03T01:04:57.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-03T01:04:57.410Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-03T01:04:57.447Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-03T01:04:57.484Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-03T01:04:57.523Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-03T01:04:57.557Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-03T01:04:57.600Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-03T01:04:57.699Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-03T01:04:57.736Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-03T01:04:57.769Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-471 [Pipeline] echo [2023-02-03T01:04:57.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-471 [Pipeline] echo [2023-02-03T01:04:57.844Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-471 [Pipeline] echo [2023-02-03T01:04:57.882Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e [Pipeline] echo [2023-02-03T01:04:57.920Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b536acf [Pipeline] echo [2023-02-03T01:04:58.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-03T01:04:58.108Z] provisioning config files... [2023-02-03T01:04:58.127Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-471@tmp/config5147594098883531446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-03T01:04:58.474Z] ---> docker-login.sh [2023-02-03T01:04:58.475Z] nexus3.edgexfoundry.org:10001 [2023-02-03T01:04:58.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:04:59.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:04:59.000Z] Configure a credential helper to remove this warning. See [2023-02-03T01:04:59.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:04:59.000Z] [2023-02-03T01:04:59.000Z] Login Succeeded [2023-02-03T01:04:59.000Z] nexus3.edgexfoundry.org:10002 [2023-02-03T01:04:59.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:04:59.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:04:59.000Z] Configure a credential helper to remove this warning. See [2023-02-03T01:04:59.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:04:59.000Z] [2023-02-03T01:04:59.000Z] Login Succeeded [2023-02-03T01:04:59.000Z] nexus3.edgexfoundry.org:10003 [2023-02-03T01:04:59.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:04:59.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:04:59.259Z] Configure a credential helper to remove this warning. See [2023-02-03T01:04:59.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:04:59.259Z] [2023-02-03T01:04:59.259Z] Login Succeeded [2023-02-03T01:04:59.259Z] nexus3.edgexfoundry.org:10004 [2023-02-03T01:04:59.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:04:59.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:04:59.259Z] Configure a credential helper to remove this warning. See [2023-02-03T01:04:59.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:04:59.259Z] [2023-02-03T01:04:59.259Z] Login Succeeded [2023-02-03T01:04:59.259Z] docker.io [2023-02-03T01:04:59.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:04:59.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:04:59.520Z] Configure a credential helper to remove this warning. See [2023-02-03T01:04:59.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:04:59.520Z] [2023-02-03T01:04:59.520Z] Login Succeeded [2023-02-03T01:04:59.520Z] ---> docker-login.sh ends [Pipeline] } [2023-02-03T01:04:59.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-03T01:05:00.179Z] + git rev-list -1 --merges b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e~1..b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e [Pipeline] echo [2023-02-03T01:05:00.245Z] -----------> git rev-list -1 --merges b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e~1..b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e [false] [Pipeline] sh [2023-02-03T01:05:00.554Z] + git log --format=format:%s -1 b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e [Pipeline] echo [2023-02-03T01:05:00.590Z] ========================================================= [2023-02-03T01:05:00.590Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-03T01:05:00.590Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-03T01:05:01.180Z] + git log --format=format:%s -1 b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e [Pipeline] echo [2023-02-03T01:05:01.214Z] [semverPrep] GIT_COMMIT: b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-03T01:05:01.242Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-03T01:05:01.635Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-03T01:05:01.635Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-03T01:05:01.635Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-03T01:05:01.635Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-03T01:05:01.635Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-03T01:05:01.635Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-03T01:05:01.635Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-03T01:05:02.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-03T01:05:02.145Z] [2023-02-03T01:05:02.145Z] 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-03T01:05:02.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-03T01:05:02.532Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-03T01:05:02.532Z] b85a868b505f: Pulling fs layer [2023-02-03T01:05:02.532Z] e2be974225ed: Pulling fs layer [2023-02-03T01:05:02.532Z] 339a4e72a1f5: Pulling fs layer [2023-02-03T01:05:02.532Z] 988bab9f4d93: Pulling fs layer [2023-02-03T01:05:02.532Z] 1469e6f7b9e6: Pulling fs layer [2023-02-03T01:05:02.532Z] eaf3925da568: Pulling fs layer [2023-02-03T01:05:02.532Z] bab4dde63d76: Pulling fs layer [2023-02-03T01:05:02.532Z] bde34c3a00c8: Pulling fs layer [2023-02-03T01:05:02.532Z] b352a97aabf1: Pulling fs layer [2023-02-03T01:05:02.532Z] 4872d77fe225: Pulling fs layer [2023-02-03T01:05:02.532Z] 5851b861e8e6: Pulling fs layer [2023-02-03T01:05:02.532Z] 4872d77fe225: Waiting [2023-02-03T01:05:02.532Z] 1469e6f7b9e6: Waiting [2023-02-03T01:05:02.532Z] 5851b861e8e6: Waiting [2023-02-03T01:05:02.532Z] bab4dde63d76: Waiting [2023-02-03T01:05:02.532Z] eaf3925da568: Waiting [2023-02-03T01:05:02.532Z] bde34c3a00c8: Waiting [2023-02-03T01:05:02.532Z] 988bab9f4d93: Waiting [2023-02-03T01:05:02.532Z] b352a97aabf1: Waiting [2023-02-03T01:05:02.532Z] e2be974225ed: Verifying Checksum [2023-02-03T01:05:02.532Z] e2be974225ed: Download complete [2023-02-03T01:05:02.532Z] 988bab9f4d93: Verifying Checksum [2023-02-03T01:05:02.532Z] 988bab9f4d93: Download complete [2023-02-03T01:05:02.803Z] 1469e6f7b9e6: Verifying Checksum [2023-02-03T01:05:02.803Z] 1469e6f7b9e6: Download complete [2023-02-03T01:05:02.803Z] 339a4e72a1f5: Verifying Checksum [2023-02-03T01:05:02.803Z] 339a4e72a1f5: Download complete [2023-02-03T01:05:02.803Z] eaf3925da568: Verifying Checksum [2023-02-03T01:05:02.803Z] eaf3925da568: Download complete [2023-02-03T01:05:02.803Z] bde34c3a00c8: Verifying Checksum [2023-02-03T01:05:02.803Z] bde34c3a00c8: Download complete [2023-02-03T01:05:03.067Z] b352a97aabf1: Download complete [2023-02-03T01:05:03.067Z] 4872d77fe225: Verifying Checksum [2023-02-03T01:05:03.067Z] 4872d77fe225: Download complete [2023-02-03T01:05:03.067Z] b85a868b505f: Verifying Checksum [2023-02-03T01:05:03.067Z] b85a868b505f: Download complete [2023-02-03T01:05:03.067Z] 5851b861e8e6: Verifying Checksum [2023-02-03T01:05:03.067Z] 5851b861e8e6: Download complete [2023-02-03T01:05:03.327Z] bab4dde63d76: Verifying Checksum [2023-02-03T01:05:03.327Z] bab4dde63d76: Download complete [2023-02-03T01:05:04.266Z] b85a868b505f: Pull complete [2023-02-03T01:05:04.526Z] e2be974225ed: Pull complete [2023-02-03T01:05:05.099Z] 339a4e72a1f5: Pull complete [2023-02-03T01:05:05.100Z] 988bab9f4d93: Pull complete [2023-02-03T01:05:05.358Z] 1469e6f7b9e6: Pull complete [2023-02-03T01:05:05.358Z] eaf3925da568: Pull complete [2023-02-03T01:05:07.257Z] bab4dde63d76: Pull complete [2023-02-03T01:05:07.257Z] bde34c3a00c8: Pull complete [2023-02-03T01:05:07.257Z] b352a97aabf1: Pull complete [2023-02-03T01:05:07.257Z] 4872d77fe225: Pull complete [2023-02-03T01:05:07.517Z] 5851b861e8e6: Pull complete [2023-02-03T01:05:07.517Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-03T01:05:07.517Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-03T01:05:07.517Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-03T01:05:07.721Z] prd-ubuntu20.04-docker-8c-8g-4414 does not seem to be running inside a container [2023-02-03T01:05:07.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-471 -v /w/workspace/gexfoundry_device-mqtt-go_PR-471:/w/workspace/gexfoundry_device-mqtt-go_PR-471:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-471@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-471@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-03T01:05:10.108Z] $ docker top 2d051ba463e96e688ba9fdc0ab49e291f577935aa4f5a9170ccb221d760a668a -eo pid,comm [2023-02-03T01:05:10.160Z] 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-03T01:05:10.160Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-03T01:05:10.289Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-03T01:05:10.289Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-03T01:05:10.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-03T01:05:10.410Z] $ docker exec 2d051ba463e96e688ba9fdc0ab49e291f577935aa4f5a9170ccb221d760a668a ssh-agent [2023-02-03T01:05:10.515Z] SSH_AUTH_SOCK=/tmp/ssh-LvjYAmSP81OK/agent.32 [2023-02-03T01:05:10.515Z] SSH_AGENT_PID=38 [2023-02-03T01:05:10.522Z] Running ssh-add (command line suppressed) [2023-02-03T01:05:10.620Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-471@tmp/private_key_972288892356443679.key (/w/workspace/gexfoundry_device-mqtt-go_PR-471@tmp/private_key_972288892356443679.key) [2023-02-03T01:05:10.633Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-03T01:05:10.964Z] + git tag --points-at HEAD [Pipeline] } [2023-02-03T01:05:10.989Z] $ docker exec --env ******** --env ******** 2d051ba463e96e688ba9fdc0ab49e291f577935aa4f5a9170ccb221d760a668a ssh-agent -k [2023-02-03T01:05:11.085Z] unset SSH_AUTH_SOCK; [2023-02-03T01:05:11.086Z] unset SSH_AGENT_PID; [2023-02-03T01:05:11.086Z] echo Agent pid 38 killed; [2023-02-03T01:05:11.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-03T01:05:11.181Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-03T01:05:11.181Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-03T01:05:11.296Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-03T01:05:11.298Z] $ docker exec 2d051ba463e96e688ba9fdc0ab49e291f577935aa4f5a9170ccb221d760a668a ssh-agent [2023-02-03T01:05:11.401Z] SSH_AUTH_SOCK=/tmp/ssh-PNgigGiB5xTU/agent.71 [2023-02-03T01:05:11.401Z] SSH_AGENT_PID=77 [2023-02-03T01:05:11.405Z] Running ssh-add (command line suppressed) [2023-02-03T01:05:11.502Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-471@tmp/private_key_3223571978948968955.key (/w/workspace/gexfoundry_device-mqtt-go_PR-471@tmp/private_key_3223571978948968955.key) [2023-02-03T01:05:11.516Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-03T01:05:11.846Z] + git semver init [2023-02-03T01:05:12.108Z] 2023-02-03 01:05:12,025 [run_init] DEBUG init version:0.0.0 force:False [2023-02-03T01:05:12.108Z] 2023-02-03 01:05:12,026 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-471/.semver [2023-02-03T01:05:12.108Z] 2023-02-03 01:05:12,026 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-471/.semver [2023-02-03T01:05:12.108Z] 2023-02-03 01:05:12,026 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-471/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-471, universal_newlines=False, shell=None, istream=None) [2023-02-03T01:05:13.045Z] 2023-02-03 01:05:12,852 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-471/.git/info/exclude [2023-02-03T01:05:13.045Z] 2023-02-03 01:05:12,852 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-471/.semver/PR-471 with force:False [2023-02-03T01:05:13.045Z] 2023-02-03 01:05:12,852 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-471/.semver/PR-471 [2023-02-03T01:05:13.045Z] 2023-02-03 01:05:12,857 [execute] INFO git cat-file --batch-check [2023-02-03T01:05:13.045Z] 2023-02-03 01:05:12,857 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-471/.semver, universal_newlines=False, shell=None, istream=) [2023-02-03T01:05:13.045Z] 2023-02-03 01:05:12,863 [execute] INFO git cat-file --batch [2023-02-03T01:05:13.045Z] 2023-02-03 01:05:12,863 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-471/.semver, universal_newlines=False, shell=None, istream=) [2023-02-03T01:05:13.045Z] 2023-02-03 01:05:12,869 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-471/.semver/PR-471 [2023-02-03T01:05:13.045Z] 0.0.0 [Pipeline] } [2023-02-03T01:05:13.068Z] $ docker exec --env ******** --env ******** 2d051ba463e96e688ba9fdc0ab49e291f577935aa4f5a9170ccb221d760a668a ssh-agent -k [2023-02-03T01:05:13.155Z] unset SSH_AUTH_SOCK; [2023-02-03T01:05:13.155Z] unset SSH_AGENT_PID; [2023-02-03T01:05:13.155Z] echo Agent pid 77 killed; [2023-02-03T01:05:13.166Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-03T01:05:13.585Z] + git semver [Pipeline] } [2023-02-03T01:05:13.871Z] $ docker stop --time=1 2d051ba463e96e688ba9fdc0ab49e291f577935aa4f5a9170ccb221d760a668a [2023-02-03T01:05:15.152Z] $ docker rm -f --volumes 2d051ba463e96e688ba9fdc0ab49e291f577935aa4f5a9170ccb221d760a668a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-03T01:05:15.555Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-03T01:05:15.816Z] Stashed 1 file(s) [Pipeline] echo [2023-02-03T01:05:15.833Z] [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-03T01:05:16.411Z] provisioning config files... [2023-02-03T01:05:16.421Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-471@tmp/config15170879286629593327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-03T01:05:16.761Z] ---> docker-login.sh [2023-02-03T01:05:16.761Z] nexus3.edgexfoundry.org:10001 [2023-02-03T01:05:16.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:05:16.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:05:16.761Z] Configure a credential helper to remove this warning. See [2023-02-03T01:05:16.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:05:16.761Z] [2023-02-03T01:05:16.761Z] Login Succeeded [2023-02-03T01:05:16.761Z] nexus3.edgexfoundry.org:10002 [2023-02-03T01:05:16.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:05:16.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:05:16.761Z] Configure a credential helper to remove this warning. See [2023-02-03T01:05:16.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:05:16.761Z] [2023-02-03T01:05:16.761Z] Login Succeeded [2023-02-03T01:05:16.761Z] nexus3.edgexfoundry.org:10003 [2023-02-03T01:05:17.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:05:17.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:05:17.022Z] Configure a credential helper to remove this warning. See [2023-02-03T01:05:17.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:05:17.022Z] [2023-02-03T01:05:17.022Z] Login Succeeded [2023-02-03T01:05:17.022Z] nexus3.edgexfoundry.org:10004 [2023-02-03T01:05:17.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:05:17.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:05:17.022Z] Configure a credential helper to remove this warning. See [2023-02-03T01:05:17.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:05:17.022Z] [2023-02-03T01:05:17.022Z] Login Succeeded [2023-02-03T01:05:17.022Z] docker.io [2023-02-03T01:05:17.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:05:17.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:05:17.281Z] Configure a credential helper to remove this warning. See [2023-02-03T01:05:17.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:05:17.281Z] [2023-02-03T01:05:17.281Z] Login Succeeded [2023-02-03T01:05:17.281Z] ---> docker-login.sh ends [Pipeline] } [2023-02-03T01:05:17.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-03T01:05:17.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-03T01:05:17.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-03T01:05:17.671Z] ========================================================= [2023-02-03T01:05:17.671Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-03T01:05:17.671Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-03T01:05:18.146Z] + 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-03T01:05:18.146Z] Sending build context to Docker daemon 6.342MB [2023-02-03T01:05:18.146Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-03T01:05:18.146Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-03T01:05:18.146Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-03T01:05:18.146Z] 213ec9aee27d: Pulling fs layer [2023-02-03T01:05:18.146Z] 4583459ba037: Pulling fs layer [2023-02-03T01:05:18.146Z] 93c1e223e6f2: Pulling fs layer [2023-02-03T01:05:18.146Z] 53926ce57604: Pulling fs layer [2023-02-03T01:05:18.146Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-03T01:05:18.146Z] 22ff95d597cd: Pulling fs layer [2023-02-03T01:05:18.146Z] 12d6caf4c0d1: Pulling fs layer [2023-02-03T01:05:18.146Z] 96b7cbca73a9: Pulling fs layer [2023-02-03T01:05:18.146Z] a7acece74701: Pulling fs layer [2023-02-03T01:05:18.146Z] 21b2b0c7a3f4: Waiting [2023-02-03T01:05:18.146Z] 22ff95d597cd: Waiting [2023-02-03T01:05:18.146Z] 12d6caf4c0d1: Waiting [2023-02-03T01:05:18.146Z] 96b7cbca73a9: Waiting [2023-02-03T01:05:18.146Z] 53926ce57604: Waiting [2023-02-03T01:05:18.146Z] a7acece74701: Waiting [2023-02-03T01:05:18.146Z] 93c1e223e6f2: Download complete [2023-02-03T01:05:18.146Z] 4583459ba037: Download complete [2023-02-03T01:05:18.411Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-03T01:05:18.411Z] 21b2b0c7a3f4: Download complete [2023-02-03T01:05:18.411Z] 22ff95d597cd: Download complete [2023-02-03T01:05:18.411Z] 213ec9aee27d: Download complete [2023-02-03T01:05:18.411Z] 12d6caf4c0d1: Download complete [2023-02-03T01:05:18.411Z] 213ec9aee27d: Pull complete [2023-02-03T01:05:18.682Z] 4583459ba037: Pull complete [2023-02-03T01:05:18.682Z] 93c1e223e6f2: Pull complete [2023-02-03T01:05:19.303Z] a7acece74701: Verifying Checksum [2023-02-03T01:05:19.303Z] a7acece74701: Download complete [2023-02-03T01:05:19.899Z] 53926ce57604: Verifying Checksum [2023-02-03T01:05:19.899Z] 53926ce57604: Download complete [2023-02-03T01:05:19.899Z] 96b7cbca73a9: Verifying Checksum [2023-02-03T01:05:19.899Z] 96b7cbca73a9: Download complete [2023-02-03T01:05:23.178Z] 53926ce57604: Pull complete [2023-02-03T01:05:23.178Z] 21b2b0c7a3f4: Pull complete [2023-02-03T01:05:23.178Z] 22ff95d597cd: Pull complete [2023-02-03T01:05:23.435Z] 12d6caf4c0d1: Pull complete [2023-02-03T01:05:25.334Z] 96b7cbca73a9: Pull complete [2023-02-03T01:05:25.900Z] a7acece74701: Pull complete [2023-02-03T01:05:25.900Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-03T01:05:25.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-03T01:05:25.900Z] ---> db6d94c90886 [2023-02-03T01:05:25.900Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-03T01:05:30.133Z] ---> Running in fd2a9e4e0436 [2023-02-03T01:05:30.133Z] Removing intermediate container fd2a9e4e0436 [2023-02-03T01:05:30.133Z] ---> 950c35ecabfb [2023-02-03T01:05:30.133Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-03T01:05:30.133Z] ---> Running in ceaa8a065599 [2023-02-03T01:05:30.133Z] Removing intermediate container ceaa8a065599 [2023-02-03T01:05:30.133Z] ---> c37060c17d0f [2023-02-03T01:05:30.133Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-03T01:05:30.133Z] ---> Running in 81528fa8e584 [2023-02-03T01:05:30.133Z] Removing intermediate container 81528fa8e584 [2023-02-03T01:05:30.133Z] ---> 386083d18e87 [2023-02-03T01:05:30.133Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-03T01:05:30.133Z] ---> Running in 13b578c466b4 [2023-02-03T01:05:30.133Z] Removing intermediate container 13b578c466b4 [2023-02-03T01:05:30.133Z] ---> 3e63971b1188 [2023-02-03T01:05:30.133Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-03T01:05:30.133Z] ---> Running in 448b5de16814 [2023-02-03T01:05:30.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-03T01:05:30.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-03T01:05:30.649Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-03T01:05:30.649Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-03T01:05:30.650Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-03T01:05:30.650Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-03T01:05:30.650Z] Executing busybox-1.35.0-r17.trigger [2023-02-03T01:05:30.650Z] OK: 216 MiB in 55 packages [2023-02-03T01:05:31.216Z] Removing intermediate container 448b5de16814 [2023-02-03T01:05:31.216Z] ---> 3c43e95c7ce1 [2023-02-03T01:05:31.216Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-03T01:05:31.216Z] ---> Running in ce9a1a79b39f [2023-02-03T01:05:31.216Z] Removing intermediate container ce9a1a79b39f [2023-02-03T01:05:31.216Z] ---> fef7258efc3c [2023-02-03T01:05:31.216Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-03T01:05:31.235Z] Still waiting to schedule task [2023-02-03T01:05:31.236Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4412’ [2023-02-03T01:05:31.474Z] ---> 94f0f8f79b0d [2023-02-03T01:05:31.474Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-03T01:05:31.474Z] ---> Running in 2354f0977829 [2023-02-03T01:06:27.706Z] Removing intermediate container 2354f0977829 [2023-02-03T01:06:27.706Z] ---> ede7a4986a27 [2023-02-03T01:06:27.706Z] Step 11/12 : COPY . . [2023-02-03T01:06:27.706Z] ---> df67c3c50e5f [2023-02-03T01:06:27.706Z] Step 12/12 : RUN $MAKE [2023-02-03T01:06:27.706Z] ---> Running in 4b122ee559a4 [2023-02-03T01:06:27.706Z] noop [2023-02-03T01:06:27.706Z] Removing intermediate container 4b122ee559a4 [2023-02-03T01:06:27.706Z] ---> b6bf82a3d094 [2023-02-03T01:06:27.706Z] Successfully built b6bf82a3d094 [2023-02-03T01:06:27.706Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-03T01:06:28.141Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-03T01:06:28.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-03T01:06:28.289Z] prd-ubuntu20.04-docker-8c-8g-4414 does not seem to be running inside a container [2023-02-03T01:06:28.321Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-471 -v /w/workspace/gexfoundry_device-mqtt-go_PR-471:/w/workspace/gexfoundry_device-mqtt-go_PR-471:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-471@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-471@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-03T01:06:28.643Z] $ docker top c5e1a3836c1a9a6175ab3e3229148e1e36c84336cc4b6cf25ec8632186d7ade5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-03T01:06:29.028Z] + go version [2023-02-03T01:06:29.028Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-03T01:06:29.066Z] $ docker stop --time=1 c5e1a3836c1a9a6175ab3e3229148e1e36c84336cc4b6cf25ec8632186d7ade5 [2023-02-03T01:06:30.333Z] $ docker rm -f --volumes c5e1a3836c1a9a6175ab3e3229148e1e36c84336cc4b6cf25ec8632186d7ade5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-03T01:06:31.028Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-03T01:06:31.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-03T01:06:31.177Z] prd-ubuntu20.04-docker-8c-8g-4414 does not seem to be running inside a container [2023-02-03T01:06:31.205Z] $ 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-471 -v /w/workspace/gexfoundry_device-mqtt-go_PR-471:/w/workspace/gexfoundry_device-mqtt-go_PR-471:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-471@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-471@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-03T01:06:31.523Z] $ docker top 36ed5cb606ce829536ee6a6992533051da705c4958e512e231bfe518d713836e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-03T01:06:31.909Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-471 [Pipeline] fileExists [Pipeline] sh [2023-02-03T01:06:32.258Z] + make test [2023-02-03T01:06:32.258Z] go test ./... -coverprofile=coverage.out ./... [2023-02-03T01:06:32.515Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-03T01:06:40.617Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-03T01:06:41.188Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2023-02-03T01:06:41.188Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-03T01:06:47.742Z] 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-03T01:06:47.742Z] go vet ./... [2023-02-03T01:06:50.279Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-03T01:06:50.279Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-03T01:06:50.279Z] ./bin/test-attribution-txt.sh [2023-02-03T01:06:50.279Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-03T01:06:50.279Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-03T01:06:50.317Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-03T01:06:50.350Z] $ docker stop --time=1 36ed5cb606ce829536ee6a6992533051da705c4958e512e231bfe518d713836e [2023-02-03T01:06:52.678Z] $ docker rm -f --volumes 36ed5cb606ce829536ee6a6992533051da705c4958e512e231bfe518d713836e [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-03T01:06:53.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-03T01:06:53.240Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-03T01:06:53.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-03T01:06:54.329Z] + ls -al . [2023-02-03T01:06:54.330Z] total 184 [2023-02-03T01:06:54.330Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 3 01:06 . [2023-02-03T01:06:54.330Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 3 01:04 .. [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 3 01:04 .dockerignore [2023-02-03T01:06:54.330Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 3 01:06 .git [2023-02-03T01:06:54.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 01:04 .github [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 3 01:04 .gitignore [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 3 01:04 .golangci.yml [2023-02-03T01:06:54.330Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 3 01:05 .semver [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 3 01:04 Attribution.txt [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 3 01:04 CHANGELOG.md [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 3 01:04 Dockerfile [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 3 01:04 GOVERNANCE.md [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 3 01:04 Jenkinsfile [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 3 01:04 LICENSE [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 3 01:04 Makefile [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 3 01:04 OWNERS.md [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 3 01:04 README.md [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 3 01:05 VERSION [2023-02-03T01:06:54.330Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 3 01:04 bin [2023-02-03T01:06:54.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 01:04 cmd [2023-02-03T01:06:54.330Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 3 01:06 coverage.out [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 3375 Feb 3 01:04 go.mod [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 34669 Feb 3 01:04 go.sum [2023-02-03T01:06:54.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 01:04 internal [2023-02-03T01:06:54.330Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 3 01:04 mock [2023-02-03T01:06:54.330Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 3 01:04 snap [2023-02-03T01:06:54.330Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 3 01:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-03T01:06:54.744Z] + 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=b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e --label arch=amd64 --label version=0.0.0 . [2023-02-03T01:06:54.744Z] Sending build context to Docker daemon 6.36MB [2023-02-03T01:06:54.744Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-03T01:06:54.744Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-03T01:06:54.744Z] ---> b6bf82a3d094 [2023-02-03T01:06:54.744Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-03T01:06:54.744Z] ---> Running in a05fd52ca849 [2023-02-03T01:06:55.002Z] Removing intermediate container a05fd52ca849 [2023-02-03T01:06:55.002Z] ---> a1b8d4b47730 [2023-02-03T01:06:55.002Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-03T01:06:55.002Z] ---> Running in 0ea966233246 [2023-02-03T01:06:55.002Z] Removing intermediate container 0ea966233246 [2023-02-03T01:06:55.002Z] ---> 3b7ef831a363 [2023-02-03T01:06:55.002Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-03T01:06:55.002Z] ---> Running in 947933f1929c [2023-02-03T01:06:55.002Z] Removing intermediate container 947933f1929c [2023-02-03T01:06:55.002Z] ---> a4b1de7a0cc2 [2023-02-03T01:06:55.002Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-03T01:06:55.002Z] ---> Running in fa84c50293cc [2023-02-03T01:06:55.261Z] Removing intermediate container fa84c50293cc [2023-02-03T01:06:55.261Z] ---> 00cc19cdc607 [2023-02-03T01:06:55.261Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-03T01:06:55.261Z] ---> Running in 16b620e944a5 [2023-02-03T01:06:55.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-03T01:06:55.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-03T01:06:55.777Z] OK: 216 MiB in 55 packages [2023-02-03T01:06:56.343Z] Removing intermediate container 16b620e944a5 [2023-02-03T01:06:56.343Z] ---> 85891fa09946 [2023-02-03T01:06:56.343Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-03T01:06:56.343Z] ---> Running in 09e0f217b1bc [2023-02-03T01:06:56.343Z] Removing intermediate container 09e0f217b1bc [2023-02-03T01:06:56.343Z] ---> 256fe96ea2ba [2023-02-03T01:06:56.343Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-03T01:06:56.343Z] ---> 49079c765fb8 [2023-02-03T01:06:56.343Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-03T01:06:56.343Z] ---> Running in ee9ad873bc53 [2023-02-03T01:06:57.285Z] Removing intermediate container ee9ad873bc53 [2023-02-03T01:06:57.285Z] ---> 1cc46ab1e1df [2023-02-03T01:06:57.285Z] Step 11/24 : COPY . . [2023-02-03T01:06:57.543Z] ---> e54b3f6f1174 [2023-02-03T01:06:57.543Z] Step 12/24 : RUN $MAKE [2023-02-03T01:06:57.543Z] ---> Running in cf9c5ce72224 [2023-02-03T01:06:57.801Z] 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-03T01:07:15.868Z] Removing intermediate container cf9c5ce72224 [2023-02-03T01:07:15.868Z] ---> f7eceb6dd4b4 [2023-02-03T01:07:15.868Z] Step 13/24 : FROM alpine:3.16 [2023-02-03T01:07:16.126Z] 3.16: Pulling from library/alpine [2023-02-03T01:07:16.385Z] ca7dd9ec2225: Pulling fs layer [2023-02-03T01:07:16.385Z] ca7dd9ec2225: Verifying Checksum [2023-02-03T01:07:16.385Z] ca7dd9ec2225: Download complete [2023-02-03T01:07:16.644Z] ca7dd9ec2225: Pull complete [2023-02-03T01:07:16.644Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-03T01:07:16.644Z] Status: Downloaded newer image for alpine:3.16 [2023-02-03T01:07:16.644Z] ---> bfe296a52501 [2023-02-03T01:07:16.644Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-03T01:07:16.644Z] ---> Running in e28343b54b75 [2023-02-03T01:07:16.902Z] Removing intermediate container e28343b54b75 [2023-02-03T01:07:16.902Z] ---> d9d8bae0297e [2023-02-03T01:07:16.902Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-03T01:07:16.902Z] ---> Running in 7c7cccc9a65a [2023-02-03T01:07:17.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-03T01:07:17.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-03T01:07:17.729Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-03T01:07:17.729Z] Executing busybox-1.35.0-r17.trigger [2023-02-03T01:07:17.729Z] OK: 6 MiB in 15 packages [2023-02-03T01:07:17.987Z] Removing intermediate container 7c7cccc9a65a [2023-02-03T01:07:17.987Z] ---> 2d275aee8c52 [2023-02-03T01:07:17.987Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-03T01:07:18.555Z] ---> c354e6aa666e [2023-02-03T01:07:18.555Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-03T01:07:18.815Z] ---> c0a188f5063a [2023-02-03T01:07:18.815Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-03T01:07:18.815Z] ---> 389e7219d0ae [2023-02-03T01:07:18.815Z] Step 19/24 : EXPOSE 59982 [2023-02-03T01:07:18.815Z] ---> Running in 647bf9886ed0 [2023-02-03T01:07:19.074Z] Removing intermediate container 647bf9886ed0 [2023-02-03T01:07:19.074Z] ---> 2d8d33bd151a [2023-02-03T01:07:19.074Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-03T01:07:19.074Z] ---> Running in 9d36d530cc5c [2023-02-03T01:07:19.074Z] Removing intermediate container 9d36d530cc5c [2023-02-03T01:07:19.074Z] ---> 080e75950eb2 [2023-02-03T01:07:19.074Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-03T01:07:19.074Z] ---> Running in 8492218031da [2023-02-03T01:07:19.074Z] Removing intermediate container 8492218031da [2023-02-03T01:07:19.074Z] ---> aa033d4754ae [2023-02-03T01:07:19.074Z] Step 22/24 : LABEL arch=amd64 [2023-02-03T01:07:19.074Z] ---> Running in 45889ed7cac8 [2023-02-03T01:07:19.074Z] Removing intermediate container 45889ed7cac8 [2023-02-03T01:07:19.074Z] ---> 3d8c5c30b44d [2023-02-03T01:07:19.074Z] Step 23/24 : LABEL git_sha=b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e [2023-02-03T01:07:19.334Z] ---> Running in 5fae155a5d87 [2023-02-03T01:07:19.334Z] Removing intermediate container 5fae155a5d87 [2023-02-03T01:07:19.334Z] ---> a3c577438b4c [2023-02-03T01:07:19.334Z] Step 24/24 : LABEL version=0.0.0 [2023-02-03T01:07:19.334Z] ---> Running in bd0cdd3244a6 [2023-02-03T01:07:19.334Z] Removing intermediate container bd0cdd3244a6 [2023-02-03T01:07:19.334Z] ---> b8ffda2ce273 [2023-02-03T01:07:19.334Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-03T01:07:19.334Z] Successfully built b8ffda2ce273 [2023-02-03T01:07:19.334Z] 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-03T01:07:20.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-03T01:07:20.340Z] [2023-02-03T01:07:20.340Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-03T01:07:20.717Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-03T01:07:20.717Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-03T01:07:20.717Z] 5eb5b503b376: Pulling fs layer [2023-02-03T01:07:20.717Z] 5c69ac0246d0: Pulling fs layer [2023-02-03T01:07:20.717Z] ec43610c2a17: Pulling fs layer [2023-02-03T01:07:20.717Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-03T01:07:20.717Z] 33b1e0a273af: Pulling fs layer [2023-02-03T01:07:20.717Z] 5d3b04190fa2: Pulling fs layer [2023-02-03T01:07:20.717Z] 2f39f015ded8: Pulling fs layer [2023-02-03T01:07:20.717Z] 5d3b04190fa2: Waiting [2023-02-03T01:07:20.717Z] 2f39f015ded8: Waiting [2023-02-03T01:07:20.717Z] 3a2ae6a8a46f: Waiting [2023-02-03T01:07:20.717Z] 33b1e0a273af: Waiting [2023-02-03T01:07:20.717Z] 5c69ac0246d0: Download complete [2023-02-03T01:07:20.717Z] 3a2ae6a8a46f: Download complete [2023-02-03T01:07:20.978Z] 33b1e0a273af: Verifying Checksum [2023-02-03T01:07:20.978Z] 33b1e0a273af: Download complete [2023-02-03T01:07:20.978Z] 5d3b04190fa2: Verifying Checksum [2023-02-03T01:07:20.978Z] 5d3b04190fa2: Download complete [2023-02-03T01:07:20.978Z] ec43610c2a17: Verifying Checksum [2023-02-03T01:07:20.978Z] ec43610c2a17: Download complete [2023-02-03T01:07:21.237Z] 5eb5b503b376: Verifying Checksum [2023-02-03T01:07:21.237Z] 5eb5b503b376: Download complete [2023-02-03T01:07:21.802Z] 2f39f015ded8: Download complete [2023-02-03T01:07:22.369Z] 5eb5b503b376: Pull complete [2023-02-03T01:07:22.369Z] 5c69ac0246d0: Pull complete [2023-02-03T01:07:22.934Z] ec43610c2a17: Pull complete [2023-02-03T01:07:22.934Z] 3a2ae6a8a46f: Pull complete [2023-02-03T01:07:23.193Z] 33b1e0a273af: Pull complete [2023-02-03T01:07:23.193Z] 5d3b04190fa2: Pull complete [2023-02-03T01:07:27.377Z] 2f39f015ded8: Pull complete [2023-02-03T01:07:27.377Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-03T01:07:27.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-03T01:07:27.377Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-03T01:07:27.577Z] prd-ubuntu20.04-docker-8c-8g-4414 does not seem to be running inside a container [2023-02-03T01:07:27.604Z] $ 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-471 -v /w/workspace/gexfoundry_device-mqtt-go_PR-471:/w/workspace/gexfoundry_device-mqtt-go_PR-471:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-471@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-471@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-03T01:07:30.653Z] $ docker top ae7f70078b2e3273cb2fb2140f3e29249bdd0064b892a9999c692b81f13a2c21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-03T01:07:31.100Z] ---> job-cost.sh [2023-02-03T01:07:31.100Z] lf-activate-venv: SKIPPING [2023-02-03T01:07:31.100Z] INFO: No Stack... [2023-02-03T01:07:31.361Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-03T01:07:31.619Z] INFO: Archiving Costs [Pipeline] sh [2023-02-03T01:07:31.936Z] + + cat /w/workspace/gexfoundry_device-mqtt-go_PR-471/archives/cost.csv [2023-02-03T01:07:31.936Z] cut -d, -f6 [Pipeline] lock [2023-02-03T01:07:31.975Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-471-1-stack-cost] [2023-02-03T01:07:31.979Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-471-1-stack-cost] did not exist. Created. [2023-02-03T01:07:31.980Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-471-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-03T01:07:32.368Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-03T01:07:32.459Z] Stashed 1 file(s) [Pipeline] } [2023-02-03T01:07:32.573Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-471-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-03T01:07:32.659Z] $ docker stop --time=1 ae7f70078b2e3273cb2fb2140f3e29249bdd0064b892a9999c692b81f13a2c21 [2023-02-03T01:07:33.798Z] $ docker rm -f --volumes ae7f70078b2e3273cb2fb2140f3e29249bdd0064b892a9999c692b81f13a2c21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-03T01:08:51.554Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4415 in /w/workspace/gexfoundry_device-mqtt-go_PR-471 [Pipeline] { [Pipeline] ws [2023-02-03T01:08:51.647Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-02-03T01:08:51.729Z] Selected Git installation does not exist. Using Default [2023-02-03T01:08:51.729Z] The recommended git tool is: NONE [2023-02-03T01:08:57.447Z] using credential edgex-jenkins-ssh [2023-02-03T01:08:57.467Z] Cloning the remote Git repository [2023-02-03T01:08:57.532Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-03T01:08:57.620Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-03T01:08:57.798Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-03T01:08:57.799Z] > git --version # timeout=10 [2023-02-03T01:08:57.821Z] > git --version # 'git version 2.25.1' [2023-02-03T01:08:57.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-03T01:08:57.893Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-03T01:08:59.077Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-03T01:08:59.117Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-03T01:09:00.018Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-03T01:09:00.062Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-03T01:09:00.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-03T01:09:00.087Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/471/head:refs/remotes/origin/PR-471 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-03T01:09:00.603Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e [2023-02-03T01:09:00.825Z] Merge succeeded, producing b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e [2023-02-03T01:09:00.825Z] Checking out Revision b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e (PR-471) [2023-02-03T01:09:01.276Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-03T01:09:01.322Z] > git --version # timeout=10 [2023-02-03T01:09:01.336Z] > git --version # 'git version 2.25.1' [2023-02-03T01:09:01.351Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [2023-02-03T01:09:00.620Z] > git config core.sparsecheckout # timeout=10 [2023-02-03T01:09:00.640Z] > git checkout -f b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e # timeout=10 [2023-02-03T01:09:00.723Z] > git remote # timeout=10 [2023-02-03T01:09:00.743Z] > git config --get remote.origin.url # timeout=10 [2023-02-03T01:09:00.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-03T01:09:00.777Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-03T01:09:00.805Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-03T01:09:00.831Z] > git config core.sparsecheckout # timeout=10 [2023-02-03T01:09:00.848Z] > git checkout -f b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-03T01:09:02.589Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-03T01:09:02.589Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-03T01:09:02.589Z] Dload Upload Total Spent Left Speed [2023-02-03T01:09:02.589Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh [2023-02-03T01:09:03.309Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-03T01:09:03.651Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-02-03T01:09:03.651Z] /etc/docker/daemon.json [2023-02-03T01:09:03.651Z] { [2023-02-03T01:09:03.651Z] "registry-mirrors": [ [2023-02-03T01:09:03.651Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-03T01:09:03.651Z] ], [2023-02-03T01:09:03.651Z] "bip": "10.250.0.254/24", [2023-02-03T01:09:03.651Z] "hosts": [ [2023-02-03T01:09:03.651Z] "tcp://0.0.0.0:5555", [2023-02-03T01:09:03.651Z] "unix:///var/run/docker.sock" [2023-02-03T01:09:03.651Z] ], [2023-02-03T01:09:03.651Z] "mtu": 1458, [2023-02-03T01:09:03.651Z] "selinux-enabled": true, [2023-02-03T01:09:03.651Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-03T01:09:03.651Z] } [Pipeline] sh [2023-02-03T01:09:03.996Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-03T01:09:04.346Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-03T01:09:22.636Z] provisioning config files... [2023-02-03T01:09:22.664Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config12094797775115264125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-03T01:09:23.057Z] ---> docker-login.sh [2023-02-03T01:09:23.057Z] nexus3.edgexfoundry.org:10001 [2023-02-03T01:09:23.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:09:23.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:09:23.597Z] Configure a credential helper to remove this warning. See [2023-02-03T01:09:23.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:09:23.597Z] [2023-02-03T01:09:23.597Z] Login Succeeded [2023-02-03T01:09:23.597Z] nexus3.edgexfoundry.org:10002 [2023-02-03T01:09:23.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:09:24.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:09:24.135Z] Configure a credential helper to remove this warning. See [2023-02-03T01:09:24.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:09:24.135Z] [2023-02-03T01:09:24.135Z] Login Succeeded [2023-02-03T01:09:24.135Z] nexus3.edgexfoundry.org:10003 [2023-02-03T01:09:24.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:09:24.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:09:24.403Z] Configure a credential helper to remove this warning. See [2023-02-03T01:09:24.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:09:24.403Z] [2023-02-03T01:09:24.403Z] Login Succeeded [2023-02-03T01:09:24.403Z] nexus3.edgexfoundry.org:10004 [2023-02-03T01:09:24.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:09:24.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:09:24.675Z] Configure a credential helper to remove this warning. See [2023-02-03T01:09:24.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:09:24.675Z] [2023-02-03T01:09:24.675Z] Login Succeeded [2023-02-03T01:09:24.675Z] docker.io [2023-02-03T01:09:24.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-03T01:09:25.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-03T01:09:25.211Z] Configure a credential helper to remove this warning. See [2023-02-03T01:09:25.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-03T01:09:25.211Z] [2023-02-03T01:09:25.211Z] Login Succeeded [2023-02-03T01:09:25.211Z] ---> docker-login.sh ends [Pipeline] } [2023-02-03T01:09:25.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-03T01:09:25.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-03T01:09:25.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-03T01:09:25.642Z] ========================================================= [2023-02-03T01:09:25.642Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-03T01:09:25.642Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-03T01:09:26.159Z] + 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-03T01:09:26.429Z] Sending build context to Docker daemon 3.289MB [2023-02-03T01:09:26.429Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-03T01:09:26.429Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-03T01:09:26.702Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-03T01:09:26.702Z] 9b18e9b68314: Pulling fs layer [2023-02-03T01:09:26.702Z] 35d82f9e3411: Pulling fs layer [2023-02-03T01:09:26.702Z] e16973657156: Pulling fs layer [2023-02-03T01:09:26.702Z] fc693d55d65f: Pulling fs layer [2023-02-03T01:09:26.702Z] 7e9fc2657dce: Pulling fs layer [2023-02-03T01:09:26.702Z] dda99020689f: Pulling fs layer [2023-02-03T01:09:26.702Z] db1c61fa0a46: Pulling fs layer [2023-02-03T01:09:26.702Z] 891c053d2c06: Pulling fs layer [2023-02-03T01:09:26.702Z] fc693d55d65f: Waiting [2023-02-03T01:09:26.702Z] 7e9fc2657dce: Waiting [2023-02-03T01:09:26.702Z] dda99020689f: Waiting [2023-02-03T01:09:26.702Z] db1c61fa0a46: Waiting [2023-02-03T01:09:26.702Z] 891c053d2c06: Waiting [2023-02-03T01:09:26.702Z] e16973657156: Verifying Checksum [2023-02-03T01:09:26.702Z] e16973657156: Download complete [2023-02-03T01:09:26.702Z] 35d82f9e3411: Download complete [2023-02-03T01:09:26.702Z] 7e9fc2657dce: Verifying Checksum [2023-02-03T01:09:26.702Z] 7e9fc2657dce: Download complete [2023-02-03T01:09:26.702Z] dda99020689f: Download complete [2023-02-03T01:09:26.702Z] 9b18e9b68314: Verifying Checksum [2023-02-03T01:09:26.702Z] 9b18e9b68314: Download complete [2023-02-03T01:09:27.681Z] 9b18e9b68314: Pull complete [2023-02-03T01:09:27.950Z] 891c053d2c06: Verifying Checksum [2023-02-03T01:09:27.950Z] 891c053d2c06: Download complete [2023-02-03T01:09:28.919Z] db1c61fa0a46: Download complete [2023-02-03T01:09:29.506Z] fc693d55d65f: Verifying Checksum [2023-02-03T01:09:29.506Z] fc693d55d65f: Download complete [2023-02-03T01:09:30.918Z] 35d82f9e3411: Pull complete [2023-02-03T01:09:30.918Z] e16973657156: Pull complete [2023-02-03T01:09:43.234Z] fc693d55d65f: Pull complete [2023-02-03T01:09:43.234Z] 7e9fc2657dce: Pull complete [2023-02-03T01:09:43.504Z] dda99020689f: Pull complete [2023-02-03T01:09:50.230Z] db1c61fa0a46: Pull complete [2023-02-03T01:09:52.213Z] 891c053d2c06: Pull complete [2023-02-03T01:09:52.213Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-03T01:09:52.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-03T01:09:52.213Z] ---> f96f9c87975a [2023-02-03T01:09:52.213Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-03T01:09:53.170Z] ---> Running in f244c8def434 [2023-02-03T01:09:53.437Z] Removing intermediate container f244c8def434 [2023-02-03T01:09:53.437Z] ---> b32beca38ee6 [2023-02-03T01:09:53.437Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-03T01:09:53.437Z] ---> Running in 27450cc024dc [2023-02-03T01:09:53.705Z] Removing intermediate container 27450cc024dc [2023-02-03T01:09:53.705Z] ---> 9309547aa622 [2023-02-03T01:09:53.705Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-03T01:09:53.705Z] ---> Running in d506b3b91d0d [2023-02-03T01:09:54.295Z] Removing intermediate container d506b3b91d0d [2023-02-03T01:09:54.295Z] ---> 8da738e1b259 [2023-02-03T01:09:54.295Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-03T01:09:54.295Z] ---> Running in 4fc981178202 [2023-02-03T01:09:54.569Z] Removing intermediate container 4fc981178202 [2023-02-03T01:09:54.569Z] ---> c91f6622b256 [2023-02-03T01:09:54.569Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-03T01:09:54.569Z] ---> Running in 60f0692626e7 [2023-02-03T01:09:55.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-03T01:09:56.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-03T01:09:57.089Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-03T01:09:57.089Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-03T01:09:57.089Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-03T01:09:57.089Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-03T01:09:57.089Z] Executing busybox-1.35.0-r17.trigger [2023-02-03T01:09:57.089Z] OK: 226 MiB in 55 packages [2023-02-03T01:09:58.049Z] Removing intermediate container 60f0692626e7 [2023-02-03T01:09:58.049Z] ---> 1836dd35554d [2023-02-03T01:09:58.049Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-03T01:09:58.049Z] ---> Running in bcee5cd86e5a [2023-02-03T01:09:58.317Z] Removing intermediate container bcee5cd86e5a [2023-02-03T01:09:58.317Z] ---> f2ff866a5030 [2023-02-03T01:09:58.317Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-03T01:09:58.904Z] ---> 96238c0c2afe [2023-02-03T01:09:58.905Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-03T01:09:58.905Z] ---> Running in 2350b45c07da [2023-02-03T01:11:06.801Z] Removing intermediate container 2350b45c07da [2023-02-03T01:11:06.801Z] ---> 0f1fb2a8ed7f [2023-02-03T01:11:06.801Z] Step 11/12 : COPY . . [2023-02-03T01:11:06.801Z] ---> 36261fd11048 [2023-02-03T01:11:06.801Z] Step 12/12 : RUN $MAKE [2023-02-03T01:11:06.801Z] ---> Running in 3973011119b2 [2023-02-03T01:11:06.801Z] noop [2023-02-03T01:11:07.071Z] Removing intermediate container 3973011119b2 [2023-02-03T01:11:07.071Z] ---> 5cd3800b7e45 [2023-02-03T01:11:07.071Z] Successfully built 5cd3800b7e45 [2023-02-03T01:11:07.071Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-03T01:11:07.577Z] + docker inspect -f . ci-base-image-arm64 [2023-02-03T01:11:07.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-03T01:11:07.846Z] prd-ubuntu20.04-docker-arm64-4c-16g-4415 does not seem to be running inside a container [2023-02-03T01:11:07.918Z] $ 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-03T01:11:09.173Z] $ docker top e7fe03c7e2e7af047ea0cffe98f2938ab8c237d890b632f2bb177c148e15282e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-03T01:11:10.048Z] + go version [2023-02-03T01:11:10.048Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-03T01:11:10.115Z] $ docker stop --time=1 e7fe03c7e2e7af047ea0cffe98f2938ab8c237d890b632f2bb177c148e15282e [2023-02-03T01:11:13.333Z] $ docker rm -f --volumes e7fe03c7e2e7af047ea0cffe98f2938ab8c237d890b632f2bb177c148e15282e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-03T01:11:14.209Z] + docker inspect -f . ci-base-image-arm64 [2023-02-03T01:11:14.209Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-03T01:11:14.464Z] prd-ubuntu20.04-docker-arm64-4c-16g-4415 does not seem to be running inside a container [2023-02-03T01:11:14.538Z] $ 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-03T01:11:15.705Z] $ docker top 697cf8c56e42a34e1a476833f8adba3233be6083cbed6e1bc3cb81458dc7d3a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-03T01:11:16.585Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-03T01:11:17.294Z] + make test [2023-02-03T01:11:17.294Z] go test ./... -coverprofile=coverage.out ./... [2023-02-03T01:11:19.249Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-03T01:12:40.874Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-03T01:12:40.874Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 21.8% of statements [2023-02-03T01:12:40.874Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-03T01:12:40.874Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-03T01:12:40.874Z] go vet ./... [2023-02-03T01:13:02.942Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-03T01:13:02.942Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-03T01:13:02.942Z] ./bin/test-attribution-txt.sh [2023-02-03T01:13:02.942Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-03T01:13:02.942Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-03T01:13:02.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-03T01:13:03.022Z] $ docker stop --time=1 697cf8c56e42a34e1a476833f8adba3233be6083cbed6e1bc3cb81458dc7d3a7 [2023-02-03T01:13:04.751Z] $ docker rm -f --volumes 697cf8c56e42a34e1a476833f8adba3233be6083cbed6e1bc3cb81458dc7d3a7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-03T01:13:05.720Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-03T01:13:05.755Z] Warning: overwriting stash ‘coverage-report’ [2023-02-03T01:13:06.192Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-03T01:13:06.831Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-03T01:13:07.165Z] + ls -al . [2023-02-03T01:13:07.165Z] total 180 [2023-02-03T01:13:07.165Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 3 01:11 . [2023-02-03T01:13:07.165Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 3 01:08 .. [2023-02-03T01:13:07.165Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 3 01:09 .dockerignore [2023-02-03T01:13:07.165Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 3 01:09 .git [2023-02-03T01:13:07.165Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 01:09 .github [2023-02-03T01:13:07.165Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 3 01:09 .gitignore [2023-02-03T01:13:07.165Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 3 01:09 .golangci.yml [2023-02-03T01:13:07.165Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 3 01:09 Attribution.txt [2023-02-03T01:13:07.165Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 3 01:09 CHANGELOG.md [2023-02-03T01:13:07.165Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 3 01:09 Dockerfile [2023-02-03T01:13:07.165Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 3 01:09 GOVERNANCE.md [2023-02-03T01:13:07.166Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 3 01:09 Jenkinsfile [2023-02-03T01:13:07.166Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 3 01:09 LICENSE [2023-02-03T01:13:07.166Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 3 01:09 Makefile [2023-02-03T01:13:07.166Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 3 01:09 OWNERS.md [2023-02-03T01:13:07.166Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 3 01:09 README.md [2023-02-03T01:13:07.166Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 3 01:05 VERSION [2023-02-03T01:13:07.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 3 01:09 bin [2023-02-03T01:13:07.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 01:09 cmd [2023-02-03T01:13:07.166Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 3 01:12 coverage.out [2023-02-03T01:13:07.166Z] -rw-rw-r-- 1 jenkins jenkins 3375 Feb 3 01:09 go.mod [2023-02-03T01:13:07.166Z] -rw-rw-r-- 1 jenkins jenkins 34669 Feb 3 01:09 go.sum [2023-02-03T01:13:07.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 01:09 internal [2023-02-03T01:13:07.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 3 01:09 mock [2023-02-03T01:13:07.166Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 3 01:09 snap [2023-02-03T01:13:07.166Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 3 01:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-03T01:13:07.566Z] + 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=b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e --label arch=arm64 --label version=0.0.0 . [2023-02-03T01:13:07.836Z] Sending build context to Docker daemon 3.307MB [2023-02-03T01:13:07.836Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-03T01:13:07.836Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-03T01:13:07.836Z] ---> 5cd3800b7e45 [2023-02-03T01:13:07.836Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-03T01:13:08.105Z] ---> Running in e7dfb3f5d6cc [2023-02-03T01:13:08.372Z] Removing intermediate container e7dfb3f5d6cc [2023-02-03T01:13:08.372Z] ---> 3c5bb6151148 [2023-02-03T01:13:08.372Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-03T01:13:08.372Z] ---> Running in 61404c550a4c [2023-02-03T01:13:08.641Z] Removing intermediate container 61404c550a4c [2023-02-03T01:13:08.641Z] ---> b8aeae5ab08d [2023-02-03T01:13:08.641Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-03T01:13:08.909Z] ---> Running in b9aefafbf10a [2023-02-03T01:13:09.176Z] Removing intermediate container b9aefafbf10a [2023-02-03T01:13:09.176Z] ---> ea534a09c755 [2023-02-03T01:13:09.176Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-03T01:13:09.176Z] ---> Running in 14eef037bc5c [2023-02-03T01:13:09.443Z] Removing intermediate container 14eef037bc5c [2023-02-03T01:13:09.443Z] ---> 450655ec3a55 [2023-02-03T01:13:09.443Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-03T01:13:09.710Z] ---> Running in fc84056ce926 [2023-02-03T01:13:11.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-03T01:13:11.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-03T01:13:12.538Z] OK: 226 MiB in 55 packages [2023-02-03T01:13:13.124Z] Removing intermediate container fc84056ce926 [2023-02-03T01:13:13.124Z] ---> c4da338058d6 [2023-02-03T01:13:13.124Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-03T01:13:13.124Z] ---> Running in c0666a937333 [2023-02-03T01:13:13.391Z] Removing intermediate container c0666a937333 [2023-02-03T01:13:13.391Z] ---> 92c0ce486ded [2023-02-03T01:13:13.391Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-03T01:13:13.978Z] ---> b2404665ba15 [2023-02-03T01:13:13.978Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-03T01:13:14.250Z] ---> Running in 44396abf35fd [2023-02-03T01:13:18.524Z] Removing intermediate container 44396abf35fd [2023-02-03T01:13:18.524Z] ---> c8076ea8ec22 [2023-02-03T01:13:18.524Z] Step 11/24 : COPY . . [2023-02-03T01:13:19.491Z] ---> 0c45433e9145 [2023-02-03T01:13:19.491Z] Step 12/24 : RUN $MAKE [2023-02-03T01:13:19.491Z] ---> Running in 60bbd15c7fa8 [2023-02-03T01:13:20.918Z] 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-03T01:15:42.658Z] Removing intermediate container 60bbd15c7fa8 [2023-02-03T01:15:42.658Z] ---> 667ef8c6dd5e [2023-02-03T01:15:42.658Z] Step 13/24 : FROM alpine:3.16 [2023-02-03T01:15:42.658Z] 3.16: Pulling from library/alpine [2023-02-03T01:15:42.658Z] 6875df1f5354: Pulling fs layer [2023-02-03T01:15:42.658Z] 6875df1f5354: Download complete [2023-02-03T01:15:42.658Z] 6875df1f5354: Pull complete [2023-02-03T01:15:42.658Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-03T01:15:42.658Z] Status: Downloaded newer image for alpine:3.16 [2023-02-03T01:15:42.658Z] ---> 2b4661558fb8 [2023-02-03T01:15:42.658Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-03T01:15:42.658Z] ---> Running in a6e354a4feb6 [2023-02-03T01:15:42.658Z] Removing intermediate container a6e354a4feb6 [2023-02-03T01:15:42.658Z] ---> d847941bf758 [2023-02-03T01:15:42.658Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-03T01:15:42.658Z] ---> Running in d8909c1847b9 [2023-02-03T01:15:43.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-03T01:15:43.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-03T01:15:44.475Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-03T01:15:44.475Z] Executing busybox-1.35.0-r17.trigger [2023-02-03T01:15:44.476Z] OK: 5 MiB in 15 packages [2023-02-03T01:15:45.064Z] Removing intermediate container d8909c1847b9 [2023-02-03T01:15:45.064Z] ---> 89239f58224b [2023-02-03T01:15:45.064Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-03T01:15:46.484Z] ---> afdd3cc97c3e [2023-02-03T01:15:46.484Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-03T01:15:47.066Z] ---> 745d5ffbdfc7 [2023-02-03T01:15:47.066Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-03T01:15:47.650Z] ---> 89491a43f160 [2023-02-03T01:15:47.650Z] Step 19/24 : EXPOSE 59982 [2023-02-03T01:15:47.650Z] ---> Running in 1dbc8291d918 [2023-02-03T01:15:47.916Z] Removing intermediate container 1dbc8291d918 [2023-02-03T01:15:47.916Z] ---> 426512cc2c82 [2023-02-03T01:15:47.916Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-03T01:15:47.916Z] ---> Running in 7b91b0b189d9 [2023-02-03T01:15:48.182Z] Removing intermediate container 7b91b0b189d9 [2023-02-03T01:15:48.182Z] ---> c5b5365f300f [2023-02-03T01:15:48.182Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-03T01:15:48.449Z] ---> Running in 68755b449107 [2023-02-03T01:15:48.718Z] Removing intermediate container 68755b449107 [2023-02-03T01:15:48.718Z] ---> eb1f71917d13 [2023-02-03T01:15:48.718Z] Step 22/24 : LABEL arch=arm64 [2023-02-03T01:15:48.718Z] ---> Running in 3ffbce38324a [2023-02-03T01:15:48.985Z] Removing intermediate container 3ffbce38324a [2023-02-03T01:15:48.985Z] ---> ab2c67359da3 [2023-02-03T01:15:48.985Z] Step 23/24 : LABEL git_sha=b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e [2023-02-03T01:15:48.985Z] ---> Running in cb654c08c514 [2023-02-03T01:15:49.252Z] Removing intermediate container cb654c08c514 [2023-02-03T01:15:49.252Z] ---> 31988f7b4404 [2023-02-03T01:15:49.252Z] Step 24/24 : LABEL version=0.0.0 [2023-02-03T01:15:49.519Z] ---> Running in 627eba7db280 [2023-02-03T01:15:49.787Z] Removing intermediate container 627eba7db280 [2023-02-03T01:15:49.787Z] ---> d753f664a27a [2023-02-03T01:15:49.787Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-03T01:15:49.787Z] Successfully built d753f664a27a [2023-02-03T01:15:49.787Z] 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-03T01:15:50.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-03T01:15:50.618Z] [2023-02-03T01:15:50.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-03T01:15:51.022Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-03T01:15:51.022Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-03T01:15:51.022Z] 8998bd30e6a1: Pulling fs layer [2023-02-03T01:15:51.022Z] 04944245beec: Pulling fs layer [2023-02-03T01:15:51.022Z] 699f458cf7ca: Pulling fs layer [2023-02-03T01:15:51.022Z] 765212b225bb: Pulling fs layer [2023-02-03T01:15:51.022Z] f23df028b6ca: Pulling fs layer [2023-02-03T01:15:51.022Z] d65c8cfc05b1: Pulling fs layer [2023-02-03T01:15:51.022Z] 2437ff75d9bd: Pulling fs layer [2023-02-03T01:15:51.022Z] d65c8cfc05b1: Waiting [2023-02-03T01:15:51.022Z] 765212b225bb: Waiting [2023-02-03T01:15:51.022Z] f23df028b6ca: Waiting [2023-02-03T01:15:51.022Z] 2437ff75d9bd: Waiting [2023-02-03T01:15:51.291Z] 04944245beec: Verifying Checksum [2023-02-03T01:15:51.291Z] 04944245beec: Download complete [2023-02-03T01:15:51.291Z] 765212b225bb: Verifying Checksum [2023-02-03T01:15:51.291Z] 765212b225bb: Download complete [2023-02-03T01:15:51.291Z] f23df028b6ca: Verifying Checksum [2023-02-03T01:15:51.291Z] f23df028b6ca: Download complete [2023-02-03T01:15:51.291Z] d65c8cfc05b1: Verifying Checksum [2023-02-03T01:15:51.291Z] d65c8cfc05b1: Download complete [2023-02-03T01:15:51.563Z] 699f458cf7ca: Verifying Checksum [2023-02-03T01:15:51.563Z] 699f458cf7ca: Download complete [2023-02-03T01:15:51.833Z] 8998bd30e6a1: Verifying Checksum [2023-02-03T01:15:51.833Z] 8998bd30e6a1: Download complete [2023-02-03T01:15:54.425Z] 2437ff75d9bd: Verifying Checksum [2023-02-03T01:15:54.425Z] 2437ff75d9bd: Download complete [2023-02-03T01:15:55.832Z] 8998bd30e6a1: Pull complete [2023-02-03T01:15:56.416Z] 04944245beec: Pull complete [2023-02-03T01:15:57.824Z] 699f458cf7ca: Pull complete [2023-02-03T01:15:57.824Z] 765212b225bb: Pull complete [2023-02-03T01:15:58.784Z] f23df028b6ca: Pull complete [2023-02-03T01:15:59.050Z] d65c8cfc05b1: Pull complete [2023-02-03T01:16:14.052Z] 2437ff75d9bd: Pull complete [2023-02-03T01:16:14.052Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-03T01:16:14.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-03T01:16:14.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-03T01:16:14.419Z] prd-ubuntu20.04-docker-arm64-4c-16g-4415 does not seem to be running inside a container [2023-02-03T01:16:14.549Z] $ 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-03T01:16:17.063Z] $ docker top 8db6dc915984f39fd37054f834d3e4e6a975508cdfb74f3987e3dbcdadb04359 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-03T01:16:18.003Z] ---> job-cost.sh [2023-02-03T01:16:18.003Z] lf-activate-venv: SKIPPING [2023-02-03T01:16:18.003Z] INFO: No Stack... [2023-02-03T01:16:18.594Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-03T01:16:19.569Z] INFO: Archiving Costs [Pipeline] sh [2023-02-03T01:16:19.915Z] + + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-02-03T01:16:19.915Z] cut -d, -f6 [Pipeline] lock [2023-02-03T01:16:19.990Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-471-1-stack-cost] [2023-02-03T01:16:19.998Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-471-1-stack-cost] did not exist. Created. [2023-02-03T01:16:19.998Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-471-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-03T01:16:20.730Z] /w/workspace/device-mqtt-go/1@tmp/durable-7f68c605/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-03T01:16:21.404Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-03T01:16:21.444Z] Warning: overwriting stash ‘stack-cost’ [2023-02-03T01:16:21.491Z] Stashed 1 file(s) [Pipeline] } [2023-02-03T01:16:21.510Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-471-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-03T01:16:21.608Z] $ docker stop --time=1 8db6dc915984f39fd37054f834d3e4e6a975508cdfb74f3987e3dbcdadb04359 [2023-02-03T01:16:23.084Z] $ docker rm -f --volumes 8db6dc915984f39fd37054f834d3e4e6a975508cdfb74f3987e3dbcdadb04359 [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-03T01:16:24.253Z] provisioning config files... [2023-02-03T01:16:24.260Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-471@tmp/config16991330854017310614tmp [Pipeline] { [Pipeline] sh [2023-02-03T01:16:24.602Z] + set +x [2023-02-03T01:16:24.602Z] + curl -s https://codecov.io/bash [2023-02-03T01:16:24.602Z] + bash -s -- [2023-02-03T01:16:24.602Z] [2023-02-03T01:16:24.602Z] _____ _ [2023-02-03T01:16:24.602Z] / ____| | | [2023-02-03T01:16:24.602Z] | | ___ __| | ___ ___ _____ __ [2023-02-03T01:16:24.602Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-03T01:16:24.602Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-03T01:16:24.602Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-03T01:16:24.602Z] Bash-1.0.6 [2023-02-03T01:16:24.602Z] [2023-02-03T01:16:24.602Z] [2023-02-03T01:16:24.602Z] ==> git version 2.25.1 found [2023-02-03T01:16:24.602Z] ==> 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-03T01:16:24.602Z] Release-Date: 2020-01-08 [2023-02-03T01:16:24.602Z] 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-03T01:16:24.602Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-03T01:16:24.602Z] ==> Jenkins CI detected. [2023-02-03T01:16:24.602Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-471 [2023-02-03T01:16:24.602Z] project root: . [2023-02-03T01:16:24.602Z] --> token set from env [2023-02-03T01:16:24.602Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-03T01:16:24.602Z] ==> Running gcov in . (disable via -X gcov) [2023-02-03T01:16:24.602Z] ==> Python coveragepy not found [2023-02-03T01:16:24.602Z] ==> Searching for coverage reports in: [2023-02-03T01:16:24.602Z] + . [2023-02-03T01:16:24.862Z] -> Found 1 reports [2023-02-03T01:16:24.862Z] ==> Detecting git/mercurial file structure [2023-02-03T01:16:24.862Z] ==> Reading reports [2023-02-03T01:16:24.862Z] + ./coverage.out bytes=17887 [2023-02-03T01:16:24.862Z] ==> Appending adjustments [2023-02-03T01:16:24.862Z] https://docs.codecov.io/docs/fixing-reports [2023-02-03T01:16:24.862Z] + Found adjustments [2023-02-03T01:16:24.862Z] ==> Gzipping contents [2023-02-03T01:16:24.862Z] 4.0K /tmp/codecov.GyqlrB.gz [2023-02-03T01:16:24.862Z] ==> Uploading reports [2023-02-03T01:16:24.862Z] url: https://codecov.io [2023-02-03T01:16:24.862Z] query: branch=PR-471&commit=b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-471%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=471&job=&cmd_args= [2023-02-03T01:16:24.862Z] -> Pinging Codecov [2023-02-03T01:16:24.862Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-471&commit=b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-471%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=471&job=&cmd_args= [2023-02-03T01:16:25.432Z] -> Uploading to [2023-02-03T01:16:25.432Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-03/7D719EC7BBE17E464838252E33014C33/b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e/a927351a-84be-4464-8fad-564951e6bfda.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230203%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230203T011625Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2366ec971e32590c64770073d6b712f3c109e91929292f8c78eb94ee10879c11 [2023-02-03T01:16:25.432Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-03T01:16:25.432Z] Dload Upload Total Spent Left Speed [2023-02-03T01:16:25.433Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 11183 --:--:-- --:--:-- --:--:-- 11183 [2023-02-03T01:16:25.692Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/b536acfa9191d2ce5ef8e58a44f6b5b1210ef61e [Pipeline] } [2023-02-03T01:16:25.720Z] 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-03T01:16:27.500Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-471/archives ] [2023-02-03T01:16:27.500Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-471/archives [2023-02-03T01:16:27.500Z] total 16 [2023-02-03T01:16:27.500Z] drwxr-xr-x 3 root root 4096 Feb 3 01:07 . [2023-02-03T01:16:27.500Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 3 01:07 .. [2023-02-03T01:16:27.500Z] drwxr-xr-x 2 root root 4096 Feb 3 01:07 cost [2023-02-03T01:16:27.500Z] -rw-r--r-- 1 root root 86 Feb 3 01:07 cost.csv [2023-02-03T01:16:27.500Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-471/archives [2023-02-03T01:16:27.500Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-471/archives [2023-02-03T01:16:27.500Z] total 16 [2023-02-03T01:16:27.500Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 3 01:07 . [2023-02-03T01:16:27.500Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 3 01:07 .. [2023-02-03T01:16:27.500Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 3 01:07 cost [2023-02-03T01:16:27.500Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 3 01:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-03T01:16:27.824Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-03T01:16:28.736Z] ---> package-listing.sh [2023-02-03T01:16:28.736Z] ++ facter osfamily [2023-02-03T01:16:28.736Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-03T01:16:28.997Z] + OS_FAMILY=debian [2023-02-03T01:16:28.997Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-471 [2023-02-03T01:16:28.997Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-03T01:16:28.997Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-03T01:16:28.997Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-03T01:16:28.997Z] + PACKAGES=/tmp/packages_start.txt [2023-02-03T01:16:28.997Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-471 ']' [2023-02-03T01:16:28.997Z] + PACKAGES=/tmp/packages_end.txt [2023-02-03T01:16:28.997Z] + case "${OS_FAMILY}" in [2023-02-03T01:16:28.997Z] + dpkg -l [2023-02-03T01:16:28.997Z] + grep '^ii' [2023-02-03T01:16:28.997Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-03T01:16:28.997Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-03T01:16:28.997Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-03T01:16:28.997Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-471 ']' [2023-02-03T01:16:28.997Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-471/archives/ [2023-02-03T01:16:28.997Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-471/archives/ [Pipeline] echo [2023-02-03T01:16:29.031Z] 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-471/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-03T01:16:29.325Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-03T01:16:29.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-03T01:16:29.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-03T01:16:30.194Z] prd-ubuntu20.04-docker-8c-8g-4414 does not seem to be running inside a container [2023-02-03T01:16:30.231Z] $ 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-471/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-471 -v /w/workspace/gexfoundry_device-mqtt-go_PR-471:/w/workspace/gexfoundry_device-mqtt-go_PR-471:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-471@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-471@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-03T01:16:30.400Z] $ docker top b0f4630eb3a0fc70c3999e303a048b3d0fc15cbdcacabe83a682e71b90a47855 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-03T01:16:30.789Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-03T01:16:31.102Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-03T01:16:31.420Z] + ls /var/log/sa-host [2023-02-03T01:16:31.420Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-03T01:16:31.678Z] provisioning config files... [2023-02-03T01:16:31.687Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-471@tmp/config18417823878182351677tmp [Pipeline] { [Pipeline] echo [2023-02-03T01:16:31.736Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-03T01:16:32.058Z] ---> create-netrc.sh [Pipeline] } [2023-02-03T01:16:32.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-03T01:16:32.568Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-03T01:16:32.606Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-03T01:16:32.921Z] ---> sudo-logs.sh [2023-02-03T01:16:32.921Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-03T01:16:33.003Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-03T01:16:33.315Z] ---> job-cost.sh [2023-02-03T01:16:33.316Z] lf-activate-venv: SKIPPING [2023-02-03T01:16:33.316Z] DEBUG: total: 0.2199999988079071 [2023-02-03T01:16:33.316Z] INFO: Retrieving Stack Cost... [2023-02-03T01:16:33.883Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-03T01:16:34.142Z] INFO: Archiving Costs [Pipeline] echo [2023-02-03T01:16:34.180Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-03T01:16:34.500Z] ---> logs-deploy.sh [2023-02-03T01:16:34.500Z] lf-activate-venv: SKIPPING [2023-02-03T01:16:34.500Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-471/1 [2023-02-03T01:16:34.500Z] INFO: archiving workspace using pattern(s): [2023-02-03T01:16:35.436Z] Archives upload complete. [2023-02-03T01:16:35.436Z] INFO: archiving logs to Nexus