Pull request #495 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f+bc7652beee9a90296fe0b57947c4589a421f5e02 (c703cc031bbe3440437b63511c20b61619487260) 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-ssh16034858762309371391.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-ssh13998480578655781108.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-495/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-495/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13654949923090998713.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-495/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5382947323836890993.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-ssh9254324721472701906.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-495/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-495/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9411221975347578738.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7171 in /w/workspace/gexfoundry_device-mqtt-go_PR-495 [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-495 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/495/head:refs/remotes/origin/PR-495 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f Merge succeeded, producing 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f Checking out Revision 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f (PR-495) 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-23T01:18:28.961Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-23T01:18:29.150Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-23T01:18:29.254Z] ========================================================= [2023-02-23T01:18:29.254Z] EdgeX Global Pipelines Version Info [2023-02-23T01:18:29.254Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:18:30.116Z] ------------------- [2023-02-23T01:18:30.116Z] stable info: [2023-02-23T01:18:30.116Z] ------------------- [2023-02-23T01:18:30.116Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-23T01:18:30.116Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-23T01:18:30.116Z] Message: update stable to v1.0.244 [2023-02-23T01:18:30.688Z] ------------------- [2023-02-23T01:18:30.688Z] experimental info: [2023-02-23T01:18:30.688Z] ------------------- [2023-02-23T01:18:30.688Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-23T01:18:30.688Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-23T01:18:30.688Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-23T01:18:30.980Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-23T01:18:31.022Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-23T01:18:31.063Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-23T01:18:31.101Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-23T01:18:31.142Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-23T01:18:31.179Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-23T01:18:31.219Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-23T01:18:31.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-23T01:18:31.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-23T01:18:31.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-23T01:18:31.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-23T01:18:31.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-23T01:18:31.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-23T01:18:31.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-23T01:18:31.534Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-23T01:18:31.571Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-23T01:18:31.611Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-23T01:18:31.649Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-23T01:18:31.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-23T01:18:31.729Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-23T01:18:31.765Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-23T01:18:31.805Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-23T01:18:31.841Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-23T01:18:31.879Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-23T01:18:31.919Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-23T01:18:31.962Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-23T01:18:32.003Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-23T01:18:32.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-495 [Pipeline] echo [2023-02-23T01:18:32.083Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-495 [Pipeline] echo [2023-02-23T01:18:32.126Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-495 [Pipeline] echo [2023-02-23T01:18:32.169Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f [Pipeline] echo [2023-02-23T01:18:32.216Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 846fdfe [Pipeline] echo [2023-02-23T01:18:32.260Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-23T01:18:32.376Z] provisioning config files... [2023-02-23T01:18:32.395Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-495@tmp/config2960719664389429044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:18:32.733Z] ---> docker-login.sh [2023-02-23T01:18:32.733Z] nexus3.edgexfoundry.org:10001 [2023-02-23T01:18:32.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:33.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:33.260Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:33.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:33.260Z] [2023-02-23T01:18:33.260Z] Login Succeeded [2023-02-23T01:18:33.260Z] nexus3.edgexfoundry.org:10002 [2023-02-23T01:18:33.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:33.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:33.260Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:33.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:33.260Z] [2023-02-23T01:18:33.260Z] Login Succeeded [2023-02-23T01:18:33.260Z] nexus3.edgexfoundry.org:10003 [2023-02-23T01:18:33.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:33.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:33.522Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:33.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:33.522Z] [2023-02-23T01:18:33.522Z] Login Succeeded [2023-02-23T01:18:33.522Z] nexus3.edgexfoundry.org:10004 [2023-02-23T01:18:33.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:33.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:33.522Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:33.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:33.522Z] [2023-02-23T01:18:33.522Z] Login Succeeded [2023-02-23T01:18:33.522Z] docker.io [2023-02-23T01:18:33.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:34.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:34.090Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:34.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:34.090Z] [2023-02-23T01:18:34.090Z] Login Succeeded [2023-02-23T01:18:34.090Z] ---> docker-login.sh ends [Pipeline] } [2023-02-23T01:18:34.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-23T01:18:34.724Z] + git rev-list -1 --merges 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f~1..846fdfec1e8839e6613c7823ab16a2dab2dfbd6f [Pipeline] echo [2023-02-23T01:18:34.784Z] -----------> git rev-list -1 --merges 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f~1..846fdfec1e8839e6613c7823ab16a2dab2dfbd6f 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f [false] [Pipeline] sh [2023-02-23T01:18:35.090Z] + git log --format=format:%s -1 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f [Pipeline] echo [2023-02-23T01:18:35.123Z] ========================================================= [2023-02-23T01:18:35.123Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-23T01:18:35.123Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-23T01:18:35.533Z] + git log --format=format:%s -1 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f [Pipeline] echo [2023-02-23T01:18:35.566Z] [semverPrep] GIT_COMMIT: 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-23T01:18:35.598Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-23T01:18:35.964Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-23T01:18:35.964Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-23T01:18:35.964Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-23T01:18:35.964Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-23T01:18:35.964Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-23T01:18:35.964Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-23T01:18:35.964Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:18:36.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-23T01:18:36.379Z] [2023-02-23T01:18:36.379Z] 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-23T01:18:36.749Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-23T01:18:36.749Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-23T01:18:36.749Z] b85a868b505f: Pulling fs layer [2023-02-23T01:18:36.749Z] e2be974225ed: Pulling fs layer [2023-02-23T01:18:36.749Z] 339a4e72a1f5: Pulling fs layer [2023-02-23T01:18:36.749Z] 988bab9f4d93: Pulling fs layer [2023-02-23T01:18:36.749Z] 1469e6f7b9e6: Pulling fs layer [2023-02-23T01:18:36.749Z] eaf3925da568: Pulling fs layer [2023-02-23T01:18:36.749Z] bab4dde63d76: Pulling fs layer [2023-02-23T01:18:36.749Z] bde34c3a00c8: Pulling fs layer [2023-02-23T01:18:36.749Z] b352a97aabf1: Pulling fs layer [2023-02-23T01:18:36.749Z] 4872d77fe225: Pulling fs layer [2023-02-23T01:18:36.749Z] 5851b861e8e6: Pulling fs layer [2023-02-23T01:18:36.749Z] eaf3925da568: Waiting [2023-02-23T01:18:36.749Z] b352a97aabf1: Waiting [2023-02-23T01:18:36.749Z] 1469e6f7b9e6: Waiting [2023-02-23T01:18:36.749Z] 5851b861e8e6: Waiting [2023-02-23T01:18:36.749Z] 988bab9f4d93: Waiting [2023-02-23T01:18:36.749Z] bde34c3a00c8: Waiting [2023-02-23T01:18:36.749Z] bab4dde63d76: Waiting [2023-02-23T01:18:36.749Z] e2be974225ed: Download complete [2023-02-23T01:18:36.749Z] 988bab9f4d93: Verifying Checksum [2023-02-23T01:18:36.749Z] 988bab9f4d93: Download complete [2023-02-23T01:18:37.009Z] 1469e6f7b9e6: Verifying Checksum [2023-02-23T01:18:37.010Z] 1469e6f7b9e6: Download complete [2023-02-23T01:18:37.010Z] eaf3925da568: Verifying Checksum [2023-02-23T01:18:37.010Z] eaf3925da568: Download complete [2023-02-23T01:18:37.010Z] 339a4e72a1f5: Verifying Checksum [2023-02-23T01:18:37.010Z] 339a4e72a1f5: Download complete [2023-02-23T01:18:37.010Z] bde34c3a00c8: Verifying Checksum [2023-02-23T01:18:37.010Z] bde34c3a00c8: Download complete [2023-02-23T01:18:37.010Z] b352a97aabf1: Verifying Checksum [2023-02-23T01:18:37.010Z] b352a97aabf1: Download complete [2023-02-23T01:18:37.010Z] 4872d77fe225: Download complete [2023-02-23T01:18:37.010Z] 5851b861e8e6: Verifying Checksum [2023-02-23T01:18:37.010Z] 5851b861e8e6: Download complete [2023-02-23T01:18:37.268Z] b85a868b505f: Verifying Checksum [2023-02-23T01:18:37.268Z] b85a868b505f: Download complete [2023-02-23T01:18:37.835Z] bab4dde63d76: Verifying Checksum [2023-02-23T01:18:37.835Z] bab4dde63d76: Download complete [2023-02-23T01:18:38.769Z] b85a868b505f: Pull complete [2023-02-23T01:18:38.769Z] e2be974225ed: Pull complete [2023-02-23T01:18:39.335Z] 339a4e72a1f5: Pull complete [2023-02-23T01:18:39.335Z] 988bab9f4d93: Pull complete [2023-02-23T01:18:39.595Z] 1469e6f7b9e6: Pull complete [2023-02-23T01:18:39.854Z] eaf3925da568: Pull complete [2023-02-23T01:18:41.772Z] bab4dde63d76: Pull complete [2023-02-23T01:18:41.772Z] bde34c3a00c8: Pull complete [2023-02-23T01:18:41.772Z] b352a97aabf1: Pull complete [2023-02-23T01:18:41.772Z] 4872d77fe225: Pull complete [2023-02-23T01:18:42.032Z] 5851b861e8e6: Pull complete [2023-02-23T01:18:42.032Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-23T01:18:42.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-23T01:18:42.032Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:18:42.255Z] prd-ubuntu20.04-docker-8c-8g-7171 does not seem to be running inside a container [2023-02-23T01:18:42.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-495 -v /w/workspace/gexfoundry_device-mqtt-go_PR-495:/w/workspace/gexfoundry_device-mqtt-go_PR-495:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-495@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-495@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-23T01:18:45.025Z] $ docker top 50430db81f5f92642dd32db92ca91f1554eed57a5ae15ebcc1929601366ff70b -eo pid,comm [2023-02-23T01:18:45.080Z] 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-23T01:18:45.080Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-23T01:18:45.210Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-23T01:18:45.210Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-23T01:18:45.315Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-23T01:18:45.317Z] $ docker exec 50430db81f5f92642dd32db92ca91f1554eed57a5ae15ebcc1929601366ff70b ssh-agent [2023-02-23T01:18:45.435Z] SSH_AUTH_SOCK=/tmp/ssh-e05B1yGuAvd1/agent.32 [2023-02-23T01:18:45.435Z] SSH_AGENT_PID=38 [2023-02-23T01:18:45.443Z] Running ssh-add (command line suppressed) [2023-02-23T01:18:45.547Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-495@tmp/private_key_16776510776490844432.key (/w/workspace/gexfoundry_device-mqtt-go_PR-495@tmp/private_key_16776510776490844432.key) [2023-02-23T01:18:45.563Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-23T01:18:45.890Z] + git tag --points-at HEAD [Pipeline] } [2023-02-23T01:18:45.918Z] $ docker exec --env ******** --env ******** 50430db81f5f92642dd32db92ca91f1554eed57a5ae15ebcc1929601366ff70b ssh-agent -k [2023-02-23T01:18:46.026Z] unset SSH_AUTH_SOCK; [2023-02-23T01:18:46.027Z] unset SSH_AGENT_PID; [2023-02-23T01:18:46.027Z] echo Agent pid 38 killed; [2023-02-23T01:18:46.037Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-23T01:18:46.120Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-23T01:18:46.120Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-23T01:18:46.228Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-23T01:18:46.230Z] $ docker exec 50430db81f5f92642dd32db92ca91f1554eed57a5ae15ebcc1929601366ff70b ssh-agent [2023-02-23T01:18:46.342Z] SSH_AUTH_SOCK=/tmp/ssh-cyGfGWNttHCo/agent.70 [2023-02-23T01:18:46.342Z] SSH_AGENT_PID=77 [2023-02-23T01:18:46.347Z] Running ssh-add (command line suppressed) [2023-02-23T01:18:46.444Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-495@tmp/private_key_12291068969716194706.key (/w/workspace/gexfoundry_device-mqtt-go_PR-495@tmp/private_key_12291068969716194706.key) [2023-02-23T01:18:46.460Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-23T01:18:46.787Z] + git semver init [2023-02-23T01:18:47.049Z] 2023-02-23 01:18:46,976 [run_init] DEBUG init version:0.0.0 force:False [2023-02-23T01:18:47.049Z] 2023-02-23 01:18:46,976 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-495/.semver [2023-02-23T01:18:47.049Z] 2023-02-23 01:18:46,977 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-495/.semver [2023-02-23T01:18:47.049Z] 2023-02-23 01:18:46,977 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-495/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-495, universal_newlines=False, shell=None, istream=None) [2023-02-23T01:18:47.987Z] 2023-02-23 01:18:47,912 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-495/.git/info/exclude [2023-02-23T01:18:47.987Z] 2023-02-23 01:18:47,912 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-495/.semver/PR-495 with force:False [2023-02-23T01:18:47.987Z] 2023-02-23 01:18:47,912 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-495/.semver/PR-495 [2023-02-23T01:18:47.987Z] 2023-02-23 01:18:47,917 [execute] INFO git cat-file --batch-check [2023-02-23T01:18:47.987Z] 2023-02-23 01:18:47,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-495/.semver, universal_newlines=False, shell=None, istream=) [2023-02-23T01:18:47.987Z] 2023-02-23 01:18:47,923 [execute] INFO git cat-file --batch [2023-02-23T01:18:47.987Z] 2023-02-23 01:18:47,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-495/.semver, universal_newlines=False, shell=None, istream=) [2023-02-23T01:18:47.987Z] 2023-02-23 01:18:47,929 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-495/.semver/PR-495 [2023-02-23T01:18:47.987Z] 0.0.0 [Pipeline] } [2023-02-23T01:18:48.012Z] $ docker exec --env ******** --env ******** 50430db81f5f92642dd32db92ca91f1554eed57a5ae15ebcc1929601366ff70b ssh-agent -k [2023-02-23T01:18:48.121Z] unset SSH_AUTH_SOCK; [2023-02-23T01:18:48.122Z] unset SSH_AGENT_PID; [2023-02-23T01:18:48.123Z] echo Agent pid 77 killed; [2023-02-23T01:18:48.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-23T01:18:48.544Z] + git semver [Pipeline] } [2023-02-23T01:18:48.828Z] $ docker stop --time=1 50430db81f5f92642dd32db92ca91f1554eed57a5ae15ebcc1929601366ff70b [2023-02-23T01:18:50.113Z] $ docker rm -f --volumes 50430db81f5f92642dd32db92ca91f1554eed57a5ae15ebcc1929601366ff70b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-23T01:18:50.511Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-23T01:18:50.773Z] Stashed 1 file(s) [Pipeline] echo [2023-02-23T01:18:50.790Z] [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-23T01:18:51.361Z] provisioning config files... [2023-02-23T01:18:51.371Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-495@tmp/config13923622727571820757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:18:51.722Z] ---> docker-login.sh [2023-02-23T01:18:51.722Z] nexus3.edgexfoundry.org:10001 [2023-02-23T01:18:51.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:51.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:51.722Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:51.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:51.722Z] [2023-02-23T01:18:51.722Z] Login Succeeded [2023-02-23T01:18:51.722Z] nexus3.edgexfoundry.org:10002 [2023-02-23T01:18:51.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:51.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:51.722Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:51.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:51.722Z] [2023-02-23T01:18:51.722Z] Login Succeeded [2023-02-23T01:18:51.722Z] nexus3.edgexfoundry.org:10003 [2023-02-23T01:18:51.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:51.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:51.981Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:51.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:51.981Z] [2023-02-23T01:18:51.981Z] Login Succeeded [2023-02-23T01:18:51.981Z] nexus3.edgexfoundry.org:10004 [2023-02-23T01:18:51.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:51.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:51.981Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:51.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:51.981Z] [2023-02-23T01:18:51.981Z] Login Succeeded [2023-02-23T01:18:51.981Z] docker.io [2023-02-23T01:18:51.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:18:52.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:18:52.240Z] Configure a credential helper to remove this warning. See [2023-02-23T01:18:52.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:18:52.240Z] [2023-02-23T01:18:52.240Z] Login Succeeded [2023-02-23T01:18:52.240Z] ---> docker-login.sh ends [Pipeline] } [2023-02-23T01:18:52.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-23T01:18:52.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T01:18:52.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T01:18:52.540Z] ========================================================= [2023-02-23T01:18:52.540Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-23T01:18:52.540Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:18:53.009Z] + 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-23T01:18:53.009Z] Sending build context to Docker daemon 6.341MB [2023-02-23T01:18:53.009Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T01:18:53.009Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-23T01:18:53.009Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-23T01:18:53.009Z] 213ec9aee27d: Pulling fs layer [2023-02-23T01:18:53.009Z] 4583459ba037: Pulling fs layer [2023-02-23T01:18:53.009Z] 93c1e223e6f2: Pulling fs layer [2023-02-23T01:18:53.009Z] 53926ce57604: Pulling fs layer [2023-02-23T01:18:53.009Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-23T01:18:53.009Z] 22ff95d597cd: Pulling fs layer [2023-02-23T01:18:53.009Z] 12d6caf4c0d1: Pulling fs layer [2023-02-23T01:18:53.009Z] 96b7cbca73a9: Pulling fs layer [2023-02-23T01:18:53.009Z] a7acece74701: Pulling fs layer [2023-02-23T01:18:53.009Z] 21b2b0c7a3f4: Waiting [2023-02-23T01:18:53.009Z] 22ff95d597cd: Waiting [2023-02-23T01:18:53.009Z] 12d6caf4c0d1: Waiting [2023-02-23T01:18:53.009Z] 96b7cbca73a9: Waiting [2023-02-23T01:18:53.009Z] a7acece74701: Waiting [2023-02-23T01:18:53.009Z] 53926ce57604: Waiting [2023-02-23T01:18:53.009Z] 93c1e223e6f2: Verifying Checksum [2023-02-23T01:18:53.009Z] 93c1e223e6f2: Download complete [2023-02-23T01:18:53.009Z] 4583459ba037: Verifying Checksum [2023-02-23T01:18:53.009Z] 4583459ba037: Download complete [2023-02-23T01:18:53.010Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-23T01:18:53.010Z] 21b2b0c7a3f4: Download complete [2023-02-23T01:18:53.010Z] 22ff95d597cd: Verifying Checksum [2023-02-23T01:18:53.010Z] 22ff95d597cd: Download complete [2023-02-23T01:18:53.273Z] 213ec9aee27d: Verifying Checksum [2023-02-23T01:18:53.273Z] 213ec9aee27d: Download complete [2023-02-23T01:18:53.273Z] 12d6caf4c0d1: Verifying Checksum [2023-02-23T01:18:53.273Z] 12d6caf4c0d1: Download complete [2023-02-23T01:18:53.273Z] 213ec9aee27d: Pull complete [2023-02-23T01:18:53.531Z] 4583459ba037: Pull complete [2023-02-23T01:18:53.531Z] 93c1e223e6f2: Pull complete [2023-02-23T01:18:54.098Z] a7acece74701: Verifying Checksum [2023-02-23T01:18:54.098Z] a7acece74701: Download complete [2023-02-23T01:18:54.359Z] 96b7cbca73a9: Verifying Checksum [2023-02-23T01:18:54.359Z] 96b7cbca73a9: Download complete [2023-02-23T01:18:54.619Z] 53926ce57604: Verifying Checksum [2023-02-23T01:18:54.619Z] 53926ce57604: Download complete [2023-02-23T01:18:58.818Z] 53926ce57604: Pull complete [2023-02-23T01:18:58.818Z] 21b2b0c7a3f4: Pull complete [2023-02-23T01:18:58.818Z] 22ff95d597cd: Pull complete [2023-02-23T01:18:58.818Z] 12d6caf4c0d1: Pull complete [2023-02-23T01:19:00.733Z] 96b7cbca73a9: Pull complete [2023-02-23T01:19:01.299Z] a7acece74701: Pull complete [2023-02-23T01:19:01.299Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-23T01:19:01.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-23T01:19:01.299Z] ---> db6d94c90886 [2023-02-23T01:19:01.299Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-23T01:19:05.492Z] ---> Running in e4befb391f57 [2023-02-23T01:19:05.492Z] Removing intermediate container e4befb391f57 [2023-02-23T01:19:05.492Z] ---> 06935f5903e8 [2023-02-23T01:19:05.492Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-23T01:19:05.492Z] ---> Running in f5ac9d566a51 [2023-02-23T01:19:05.492Z] Removing intermediate container f5ac9d566a51 [2023-02-23T01:19:05.492Z] ---> df189eaa8fb1 [2023-02-23T01:19:05.492Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-23T01:19:05.492Z] ---> Running in a0514d2c4956 [2023-02-23T01:19:05.492Z] Removing intermediate container a0514d2c4956 [2023-02-23T01:19:05.492Z] ---> 689a4c78d4c9 [2023-02-23T01:19:05.492Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-23T01:19:05.492Z] ---> Running in f75baee289b4 [2023-02-23T01:19:05.753Z] Removing intermediate container f75baee289b4 [2023-02-23T01:19:05.753Z] ---> ccbf05da55fd [2023-02-23T01:19:05.753Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-23T01:19:05.753Z] ---> Running in ec4f8698e50f [2023-02-23T01:19:06.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-23T01:19:06.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-23T01:19:06.181Z] Still waiting to schedule task [2023-02-23T01:19:06.181Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-23T01:19:06.270Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-23T01:19:06.270Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-23T01:19:06.270Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-23T01:19:06.532Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-23T01:19:06.532Z] Executing busybox-1.35.0-r17.trigger [2023-02-23T01:19:06.532Z] OK: 216 MiB in 55 packages [2023-02-23T01:19:06.790Z] Removing intermediate container ec4f8698e50f [2023-02-23T01:19:06.790Z] ---> 3f0e9331a86a [2023-02-23T01:19:06.790Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-23T01:19:06.790Z] ---> Running in e45595d300fc [2023-02-23T01:19:07.048Z] Removing intermediate container e45595d300fc [2023-02-23T01:19:07.049Z] ---> 0a17422d0374 [2023-02-23T01:19:07.049Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-23T01:19:07.049Z] ---> 68700616fd16 [2023-02-23T01:19:07.049Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T01:19:07.049Z] ---> Running in 93ce598ff9f4 [2023-02-23T01:19:47.941Z] Removing intermediate container 93ce598ff9f4 [2023-02-23T01:19:47.941Z] ---> ddd00bc1431b [2023-02-23T01:19:47.941Z] Step 11/12 : COPY . . [2023-02-23T01:19:47.941Z] ---> fd510444a979 [2023-02-23T01:19:47.941Z] Step 12/12 : RUN $MAKE [2023-02-23T01:19:47.941Z] ---> Running in ac613c90d203 [2023-02-23T01:19:47.941Z] noop [2023-02-23T01:19:47.941Z] Removing intermediate container ac613c90d203 [2023-02-23T01:19:47.941Z] ---> 9ed8e43de3d9 [2023-02-23T01:19:47.941Z] Successfully built 9ed8e43de3d9 [2023-02-23T01:19:47.941Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:19:48.404Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-23T01:19:48.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:19:48.555Z] prd-ubuntu20.04-docker-8c-8g-7171 does not seem to be running inside a container [2023-02-23T01:19:48.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-495 -v /w/workspace/gexfoundry_device-mqtt-go_PR-495:/w/workspace/gexfoundry_device-mqtt-go_PR-495:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-495@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-495@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-23T01:19:48.934Z] $ docker top a4db88e785f206adbef52a9bb13c991bfa8ad3b438481f9f7dba084dc485ff9e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T01:19:49.327Z] + go version [2023-02-23T01:19:49.327Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-23T01:19:49.359Z] $ docker stop --time=1 a4db88e785f206adbef52a9bb13c991bfa8ad3b438481f9f7dba084dc485ff9e [2023-02-23T01:19:50.631Z] $ docker rm -f --volumes a4db88e785f206adbef52a9bb13c991bfa8ad3b438481f9f7dba084dc485ff9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:19:51.290Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-23T01:19:51.290Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:19:51.433Z] prd-ubuntu20.04-docker-8c-8g-7171 does not seem to be running inside a container [2023-02-23T01:19:51.467Z] $ 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-495 -v /w/workspace/gexfoundry_device-mqtt-go_PR-495:/w/workspace/gexfoundry_device-mqtt-go_PR-495:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-495@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-495@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-23T01:19:51.808Z] $ docker top 842dd8f9a6d1f6e9ee333f32eedf57b7dad504fe5c1489de010232bacd6a6ee5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T01:19:52.205Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-495 [Pipeline] fileExists [Pipeline] sh [2023-02-23T01:19:52.563Z] + make test [2023-02-23T01:19:52.563Z] go test ./... -coverprofile=coverage.out ./... [2023-02-23T01:19:52.821Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-23T01:20:02.784Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-23T01:20:02.784Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2023-02-23T01:20:02.784Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-23T01:20:11.080Z] 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-23T01:20:11.080Z] go vet ./... [2023-02-23T01:20:12.981Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-23T01:20:12.982Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-23T01:20:12.982Z] ./bin/test-attribution-txt.sh [2023-02-23T01:20:12.982Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-23T01:20:12.982Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-23T01:20:13.023Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-23T01:20:13.065Z] $ docker stop --time=1 842dd8f9a6d1f6e9ee333f32eedf57b7dad504fe5c1489de010232bacd6a6ee5 [2023-02-23T01:20:15.450Z] $ docker rm -f --volumes 842dd8f9a6d1f6e9ee333f32eedf57b7dad504fe5c1489de010232bacd6a6ee5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-23T01:20:15.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-23T01:20:16.030Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-23T01:20:16.771Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-23T01:20:17.081Z] + ls -al . [2023-02-23T01:20:17.081Z] total 184 [2023-02-23T01:20:17.081Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 01:19 . [2023-02-23T01:20:17.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 01:18 .. [2023-02-23T01:20:17.081Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 01:18 .dockerignore [2023-02-23T01:20:17.081Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 01:20 .git [2023-02-23T01:20:17.081Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 01:18 .github [2023-02-23T01:20:17.081Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 23 01:18 .gitignore [2023-02-23T01:20:17.081Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 23 01:18 .golangci.yml [2023-02-23T01:20:17.081Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 01:18 .semver [2023-02-23T01:20:17.081Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 23 01:18 Attribution.txt [2023-02-23T01:20:17.081Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 23 01:18 CHANGELOG.md [2023-02-23T01:20:17.081Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 23 01:18 Dockerfile [2023-02-23T01:20:17.081Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 01:18 GOVERNANCE.md [2023-02-23T01:20:17.081Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 23 01:18 Jenkinsfile [2023-02-23T01:20:17.081Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 23 01:18 LICENSE [2023-02-23T01:20:17.081Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 23 01:18 Makefile [2023-02-23T01:20:17.081Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 23 01:18 OWNERS.md [2023-02-23T01:20:17.081Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 23 01:18 README.md [2023-02-23T01:20:17.082Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 01:18 VERSION [2023-02-23T01:20:17.082Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 01:18 bin [2023-02-23T01:20:17.082Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 01:18 cmd [2023-02-23T01:20:17.082Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 23 01:20 coverage.out [2023-02-23T01:20:17.082Z] -rw-rw-r-- 1 jenkins jenkins 3377 Feb 23 01:18 go.mod [2023-02-23T01:20:17.082Z] -rw-rw-r-- 1 jenkins jenkins 33254 Feb 23 01:18 go.sum [2023-02-23T01:20:17.082Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 01:18 internal [2023-02-23T01:20:17.082Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 01:18 mock [2023-02-23T01:20:17.082Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 01:18 snap [2023-02-23T01:20:17.082Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 23 01:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:20:17.482Z] + 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=846fdfec1e8839e6613c7823ab16a2dab2dfbd6f --label arch=amd64 --label version=0.0.0 . [2023-02-23T01:20:17.482Z] Sending build context to Docker daemon 6.359MB [2023-02-23T01:20:17.482Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T01:20:17.482Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-23T01:20:17.482Z] ---> 9ed8e43de3d9 [2023-02-23T01:20:17.482Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-23T01:20:17.743Z] ---> Running in 485c9f3e9583 [2023-02-23T01:20:17.743Z] Removing intermediate container 485c9f3e9583 [2023-02-23T01:20:17.743Z] ---> 70d9655fec17 [2023-02-23T01:20:17.743Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-23T01:20:17.743Z] ---> Running in 5ab7ebc4aa13 [2023-02-23T01:20:17.743Z] Removing intermediate container 5ab7ebc4aa13 [2023-02-23T01:20:17.743Z] ---> d3fea3c879cc [2023-02-23T01:20:17.743Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-23T01:20:17.743Z] ---> Running in 6d8eea1d68f3 [2023-02-23T01:20:17.743Z] Removing intermediate container 6d8eea1d68f3 [2023-02-23T01:20:17.743Z] ---> 7282171d7385 [2023-02-23T01:20:17.743Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-23T01:20:18.003Z] ---> Running in c638e21d7ec6 [2023-02-23T01:20:18.003Z] Removing intermediate container c638e21d7ec6 [2023-02-23T01:20:18.003Z] ---> 158316a82997 [2023-02-23T01:20:18.003Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-23T01:20:18.003Z] ---> Running in dd7cd30d8010 [2023-02-23T01:20:18.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-23T01:20:18.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-23T01:20:18.785Z] OK: 216 MiB in 55 packages [2023-02-23T01:20:19.047Z] Removing intermediate container dd7cd30d8010 [2023-02-23T01:20:19.047Z] ---> 8a7191182566 [2023-02-23T01:20:19.047Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-23T01:20:19.047Z] ---> Running in 753cfaf3ef90 [2023-02-23T01:20:19.047Z] Removing intermediate container 753cfaf3ef90 [2023-02-23T01:20:19.047Z] ---> 418a32b8967e [2023-02-23T01:20:19.047Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-23T01:20:19.307Z] ---> 0f4a9822344c [2023-02-23T01:20:19.307Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T01:20:19.307Z] ---> Running in 82bea6ec22cd [2023-02-23T01:20:20.251Z] Removing intermediate container 82bea6ec22cd [2023-02-23T01:20:20.251Z] ---> eb2601b17212 [2023-02-23T01:20:20.251Z] Step 11/24 : COPY . . [2023-02-23T01:20:20.251Z] ---> acf4afdcab67 [2023-02-23T01:20:20.251Z] Step 12/24 : RUN $MAKE [2023-02-23T01:20:20.512Z] ---> Running in cf169eb3b3c0 [2023-02-23T01:20:20.512Z] 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-23T01:20:42.548Z] Removing intermediate container cf169eb3b3c0 [2023-02-23T01:20:42.549Z] ---> e0c9e2783e38 [2023-02-23T01:20:42.549Z] Step 13/24 : FROM alpine:3.16 [2023-02-23T01:20:42.549Z] 3.16: Pulling from library/alpine [2023-02-23T01:20:42.549Z] ef5531b6e74e: Pulling fs layer [2023-02-23T01:20:42.549Z] ef5531b6e74e: Verifying Checksum [2023-02-23T01:20:42.549Z] ef5531b6e74e: Download complete [2023-02-23T01:20:42.549Z] ef5531b6e74e: Pull complete [2023-02-23T01:20:42.549Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-23T01:20:42.549Z] Status: Downloaded newer image for alpine:3.16 [2023-02-23T01:20:42.549Z] ---> dfd21b5a31f5 [2023-02-23T01:20:42.549Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-23T01:20:42.549Z] ---> Running in bf910c021df9 [2023-02-23T01:20:42.549Z] Removing intermediate container bf910c021df9 [2023-02-23T01:20:42.549Z] ---> 5dd429c4e989 [2023-02-23T01:20:42.549Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-23T01:20:42.549Z] ---> Running in 559c6fb405ab [2023-02-23T01:20:42.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-23T01:20:42.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-23T01:20:42.549Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-23T01:20:42.549Z] Executing busybox-1.35.0-r17.trigger [2023-02-23T01:20:42.549Z] OK: 6 MiB in 15 packages [2023-02-23T01:20:42.549Z] Removing intermediate container 559c6fb405ab [2023-02-23T01:20:42.549Z] ---> 17a45e208eab [2023-02-23T01:20:42.549Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-23T01:20:43.148Z] ---> 7ccad9adcf99 [2023-02-23T01:20:43.148Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-23T01:20:43.148Z] ---> 08b0ce863569 [2023-02-23T01:20:43.148Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-23T01:20:43.148Z] ---> d81b2dafc80b [2023-02-23T01:20:43.148Z] Step 19/24 : EXPOSE 59982 [2023-02-23T01:20:43.148Z] ---> Running in 890e0a448527 [2023-02-23T01:20:43.408Z] Removing intermediate container 890e0a448527 [2023-02-23T01:20:43.408Z] ---> e3b07b167ebd [2023-02-23T01:20:43.408Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-23T01:20:43.408Z] ---> Running in 71bd4a159b09 [2023-02-23T01:20:43.408Z] Removing intermediate container 71bd4a159b09 [2023-02-23T01:20:43.408Z] ---> f84bd2cb49a2 [2023-02-23T01:20:43.408Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-23T01:20:43.408Z] ---> Running in e65106ee324f [2023-02-23T01:20:43.408Z] Removing intermediate container e65106ee324f [2023-02-23T01:20:43.408Z] ---> 9b74ff0a86e7 [2023-02-23T01:20:43.408Z] Step 22/24 : LABEL arch=amd64 [2023-02-23T01:20:43.408Z] ---> Running in 70d595dd5e85 [2023-02-23T01:20:43.667Z] Removing intermediate container 70d595dd5e85 [2023-02-23T01:20:43.667Z] ---> b018e7f1bd3c [2023-02-23T01:20:43.667Z] Step 23/24 : LABEL git_sha=846fdfec1e8839e6613c7823ab16a2dab2dfbd6f [2023-02-23T01:20:43.667Z] ---> Running in ef30280bc3ec [2023-02-23T01:20:43.667Z] Removing intermediate container ef30280bc3ec [2023-02-23T01:20:43.667Z] ---> 682a310d1e6c [2023-02-23T01:20:43.667Z] Step 24/24 : LABEL version=0.0.0 [2023-02-23T01:20:43.667Z] ---> Running in 7362127db424 [2023-02-23T01:20:43.667Z] Removing intermediate container 7362127db424 [2023-02-23T01:20:43.667Z] ---> ea734b59be58 [2023-02-23T01:20:43.667Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-23T01:20:43.667Z] Successfully built ea734b59be58 [2023-02-23T01:20:43.667Z] 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-23T01:20:44.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T01:20:44.524Z] [2023-02-23T01:20:44.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:20:44.899Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T01:20:44.899Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-23T01:20:44.899Z] 5eb5b503b376: Pulling fs layer [2023-02-23T01:20:44.899Z] 5c69ac0246d0: Pulling fs layer [2023-02-23T01:20:44.899Z] ec43610c2a17: Pulling fs layer [2023-02-23T01:20:44.899Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-23T01:20:44.899Z] 33b1e0a273af: Pulling fs layer [2023-02-23T01:20:44.899Z] 5d3b04190fa2: Pulling fs layer [2023-02-23T01:20:44.899Z] 2f39f015ded8: Pulling fs layer [2023-02-23T01:20:44.899Z] 33b1e0a273af: Waiting [2023-02-23T01:20:44.899Z] 2f39f015ded8: Waiting [2023-02-23T01:20:44.899Z] 5d3b04190fa2: Waiting [2023-02-23T01:20:44.899Z] 3a2ae6a8a46f: Waiting [2023-02-23T01:20:44.899Z] 5c69ac0246d0: Verifying Checksum [2023-02-23T01:20:44.899Z] 5c69ac0246d0: Download complete [2023-02-23T01:20:44.900Z] 3a2ae6a8a46f: Download complete [2023-02-23T01:20:45.163Z] 33b1e0a273af: Verifying Checksum [2023-02-23T01:20:45.163Z] 33b1e0a273af: Download complete [2023-02-23T01:20:45.163Z] 5d3b04190fa2: Verifying Checksum [2023-02-23T01:20:45.163Z] 5d3b04190fa2: Download complete [2023-02-23T01:20:45.163Z] ec43610c2a17: Verifying Checksum [2023-02-23T01:20:45.163Z] ec43610c2a17: Download complete [2023-02-23T01:20:45.421Z] 5eb5b503b376: Verifying Checksum [2023-02-23T01:20:45.421Z] 5eb5b503b376: Download complete [2023-02-23T01:20:46.354Z] 2f39f015ded8: Download complete [2023-02-23T01:20:46.354Z] 5eb5b503b376: Pull complete [2023-02-23T01:20:46.623Z] 5c69ac0246d0: Pull complete [2023-02-23T01:20:47.193Z] ec43610c2a17: Pull complete [2023-02-23T01:20:47.193Z] 3a2ae6a8a46f: Pull complete [2023-02-23T01:20:47.451Z] 33b1e0a273af: Pull complete [2023-02-23T01:20:47.451Z] 5d3b04190fa2: Pull complete [2023-02-23T01:20:51.640Z] 2f39f015ded8: Pull complete [2023-02-23T01:20:51.640Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-23T01:20:51.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T01:20:51.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:20:51.889Z] prd-ubuntu20.04-docker-8c-8g-7171 does not seem to be running inside a container [2023-02-23T01:20:51.924Z] $ 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-495 -v /w/workspace/gexfoundry_device-mqtt-go_PR-495:/w/workspace/gexfoundry_device-mqtt-go_PR-495:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-495@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-495@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-23T01:20:54.885Z] $ docker top bb9d8649fc453a9db41a4b88529453372effedd25a70435d396b0dda801d4ffa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:20:55.359Z] ---> job-cost.sh [2023-02-23T01:20:55.359Z] lf-activate-venv: SKIPPING [2023-02-23T01:20:55.359Z] INFO: No Stack... [2023-02-23T01:20:55.616Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-23T01:20:55.874Z] INFO: Archiving Costs [Pipeline] sh [2023-02-23T01:20:56.200Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-495/archives/cost.csv [2023-02-23T01:20:56.200Z] + cut -d, -f6 [Pipeline] lock [2023-02-23T01:20:56.240Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-495-1-stack-cost] [2023-02-23T01:20:56.246Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-495-1-stack-cost] did not exist. Created. [2023-02-23T01:20:56.246Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-495-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-23T01:20:56.638Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-23T01:20:56.687Z] Stashed 1 file(s) [Pipeline] } [2023-02-23T01:20:56.713Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-495-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-23T01:20:56.790Z] $ docker stop --time=1 bb9d8649fc453a9db41a4b88529453372effedd25a70435d396b0dda801d4ffa [2023-02-23T01:20:57.955Z] $ docker rm -f --volumes bb9d8649fc453a9db41a4b88529453372effedd25a70435d396b0dda801d4ffa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-23T01:21:44.559Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7173 in /w/workspace/gexfoundry_device-mqtt-go_PR-495 [Pipeline] { [Pipeline] ws [2023-02-23T01:21:44.616Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-02-23T01:21:44.700Z] Selected Git installation does not exist. Using Default [2023-02-23T01:21:44.700Z] The recommended git tool is: NONE [2023-02-23T01:21:51.004Z] using credential edgex-jenkins-ssh [2023-02-23T01:21:51.024Z] Cloning the remote Git repository [2023-02-23T01:21:51.074Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-23T01:21:51.157Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-23T01:21:51.334Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-23T01:21:51.336Z] > git --version # timeout=10 [2023-02-23T01:21:51.357Z] > git --version # 'git version 2.25.1' [2023-02-23T01:21:51.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-23T01:21:51.425Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-23T01:21:52.581Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-23T01:21:52.609Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-23T01:21:53.550Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-23T01:21:54.223Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f [2023-02-23T01:21:54.480Z] Merge succeeded, producing 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f [2023-02-23T01:21:54.481Z] Checking out Revision 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f (PR-495) [2023-02-23T01:21:53.595Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-23T01:21:53.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-23T01:21:53.615Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/495/head:refs/remotes/origin/PR-495 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-23T01:21:54.248Z] > git config core.sparsecheckout # timeout=10 [2023-02-23T01:21:54.266Z] > git checkout -f 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f # timeout=10 [2023-02-23T01:21:54.355Z] > git remote # timeout=10 [2023-02-23T01:21:54.374Z] > git config --get remote.origin.url # timeout=10 [2023-02-23T01:21:54.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-23T01:21:54.427Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-23T01:21:54.460Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-23T01:21:54.492Z] > git config core.sparsecheckout # timeout=10 [2023-02-23T01:21:54.513Z] > git checkout -f 846fdfec1e8839e6613c7823ab16a2dab2dfbd6f # timeout=10 [2023-02-23T01:21:55.016Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-23T01:21:55.063Z] > git --version # timeout=10 [2023-02-23T01:21:55.074Z] > git --version # 'git version 2.25.1' [2023-02-23T01:21:55.093Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-23T01:21:56.216Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-23T01:21:56.216Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-23T01:21:56.216Z] Dload Upload Total Spent Left Speed [2023-02-23T01:21:56.216Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh [2023-02-23T01:21:56.914Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-23T01:21:57.265Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2023-02-23T01:21:57.265Z] [2023-02-23T01:21:57.265Z] { [2023-02-23T01:21:57.265Z] "registry-mirrors": [ [2023-02-23T01:21:57.265Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-23T01:21:57.265Z] ], [2023-02-23T01:21:57.265Z] "bip": "10.250.0.254/24", [2023-02-23T01:21:57.265Z] "hosts": [ [2023-02-23T01:21:57.265Z] "tcp://0.0.0.0:5555", [2023-02-23T01:21:57.265Z] "unix:///var/run/docker.sock" [2023-02-23T01:21:57.265Z] ], [2023-02-23T01:21:57.265Z] "mtu": 1458, [2023-02-23T01:21:57.265Z] "selinux-enabled": true, [2023-02-23T01:21:57.265Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-23T01:21:57.265Z] } [Pipeline] sh [2023-02-23T01:21:57.620Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-23T01:21:57.974Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-23T01:22:16.323Z] provisioning config files... [2023-02-23T01:22:16.355Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6150849065820868263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:22:16.760Z] ---> docker-login.sh [2023-02-23T01:22:16.760Z] nexus3.edgexfoundry.org:10001 [2023-02-23T01:22:17.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:22:17.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:22:17.302Z] Configure a credential helper to remove this warning. See [2023-02-23T01:22:17.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:22:17.302Z] [2023-02-23T01:22:17.302Z] Login Succeeded [2023-02-23T01:22:17.302Z] nexus3.edgexfoundry.org:10002 [2023-02-23T01:22:17.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:22:17.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:22:17.839Z] Configure a credential helper to remove this warning. See [2023-02-23T01:22:17.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:22:17.839Z] [2023-02-23T01:22:17.839Z] Login Succeeded [2023-02-23T01:22:17.839Z] nexus3.edgexfoundry.org:10003 [2023-02-23T01:22:18.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:22:18.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:22:18.109Z] Configure a credential helper to remove this warning. See [2023-02-23T01:22:18.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:22:18.109Z] [2023-02-23T01:22:18.109Z] Login Succeeded [2023-02-23T01:22:18.109Z] nexus3.edgexfoundry.org:10004 [2023-02-23T01:22:18.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:22:18.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:22:18.385Z] Configure a credential helper to remove this warning. See [2023-02-23T01:22:18.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:22:18.385Z] [2023-02-23T01:22:18.385Z] Login Succeeded [2023-02-23T01:22:18.385Z] docker.io [2023-02-23T01:22:18.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-23T01:22:18.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-23T01:22:18.927Z] Configure a credential helper to remove this warning. See [2023-02-23T01:22:18.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-23T01:22:18.927Z] [2023-02-23T01:22:18.927Z] Login Succeeded [2023-02-23T01:22:18.927Z] ---> docker-login.sh ends [Pipeline] } [2023-02-23T01:22:18.962Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-23T01:22:19.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T01:22:19.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-23T01:22:19.432Z] ========================================================= [2023-02-23T01:22:19.432Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-23T01:22:19.432Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:22:19.942Z] + 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-23T01:22:20.213Z] Sending build context to Docker daemon 3.288MB [2023-02-23T01:22:20.213Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T01:22:20.213Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-23T01:22:20.487Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-23T01:22:20.487Z] 9b18e9b68314: Pulling fs layer [2023-02-23T01:22:20.487Z] 35d82f9e3411: Pulling fs layer [2023-02-23T01:22:20.487Z] e16973657156: Pulling fs layer [2023-02-23T01:22:20.487Z] fc693d55d65f: Pulling fs layer [2023-02-23T01:22:20.487Z] 7e9fc2657dce: Pulling fs layer [2023-02-23T01:22:20.487Z] dda99020689f: Pulling fs layer [2023-02-23T01:22:20.487Z] db1c61fa0a46: Pulling fs layer [2023-02-23T01:22:20.487Z] 891c053d2c06: Pulling fs layer [2023-02-23T01:22:20.487Z] fc693d55d65f: Waiting [2023-02-23T01:22:20.487Z] 7e9fc2657dce: Waiting [2023-02-23T01:22:20.487Z] dda99020689f: Waiting [2023-02-23T01:22:20.487Z] db1c61fa0a46: Waiting [2023-02-23T01:22:20.487Z] 891c053d2c06: Waiting [2023-02-23T01:22:20.487Z] e16973657156: Verifying Checksum [2023-02-23T01:22:20.487Z] e16973657156: Download complete [2023-02-23T01:22:20.487Z] 35d82f9e3411: Verifying Checksum [2023-02-23T01:22:20.487Z] 35d82f9e3411: Download complete [2023-02-23T01:22:20.487Z] 7e9fc2657dce: Download complete [2023-02-23T01:22:20.487Z] dda99020689f: Verifying Checksum [2023-02-23T01:22:20.487Z] dda99020689f: Download complete [2023-02-23T01:22:20.487Z] 9b18e9b68314: Verifying Checksum [2023-02-23T01:22:20.487Z] 9b18e9b68314: Download complete [2023-02-23T01:22:21.471Z] 9b18e9b68314: Pull complete [2023-02-23T01:22:21.743Z] 891c053d2c06: Verifying Checksum [2023-02-23T01:22:21.743Z] 891c053d2c06: Download complete [2023-02-23T01:22:22.346Z] 35d82f9e3411: Pull complete [2023-02-23T01:22:22.622Z] e16973657156: Pull complete [2023-02-23T01:22:23.216Z] db1c61fa0a46: Verifying Checksum [2023-02-23T01:22:23.216Z] db1c61fa0a46: Download complete [2023-02-23T01:22:23.808Z] fc693d55d65f: Verifying Checksum [2023-02-23T01:22:23.808Z] fc693d55d65f: Download complete [2023-02-23T01:22:36.147Z] fc693d55d65f: Pull complete [2023-02-23T01:22:36.147Z] 7e9fc2657dce: Pull complete [2023-02-23T01:22:36.147Z] dda99020689f: Pull complete [2023-02-23T01:22:42.953Z] db1c61fa0a46: Pull complete [2023-02-23T01:22:45.572Z] 891c053d2c06: Pull complete [2023-02-23T01:22:45.572Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-23T01:22:45.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-23T01:22:45.572Z] ---> f96f9c87975a [2023-02-23T01:22:45.572Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-23T01:22:46.160Z] ---> Running in e40f4d67d1cf [2023-02-23T01:22:46.430Z] Removing intermediate container e40f4d67d1cf [2023-02-23T01:22:46.430Z] ---> 8da4206af027 [2023-02-23T01:22:46.430Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-23T01:22:46.430Z] ---> Running in 94ad60f2995b [2023-02-23T01:22:46.702Z] Removing intermediate container 94ad60f2995b [2023-02-23T01:22:46.702Z] ---> 53e4b72f4f0c [2023-02-23T01:22:46.702Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-23T01:22:46.972Z] ---> Running in d6aa6d6112df [2023-02-23T01:22:47.241Z] Removing intermediate container d6aa6d6112df [2023-02-23T01:22:47.241Z] ---> 6b6189ae0e0f [2023-02-23T01:22:47.241Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-23T01:22:47.241Z] ---> Running in b48a0512c6fe [2023-02-23T01:22:47.512Z] Removing intermediate container b48a0512c6fe [2023-02-23T01:22:47.512Z] ---> 203bc762bce3 [2023-02-23T01:22:47.512Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-23T01:22:47.781Z] ---> Running in e701f480578e [2023-02-23T01:22:48.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-23T01:22:49.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-23T01:22:50.308Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-23T01:22:50.308Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-23T01:22:50.308Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-23T01:22:50.308Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-23T01:22:50.308Z] Executing busybox-1.35.0-r17.trigger [2023-02-23T01:22:50.308Z] OK: 226 MiB in 55 packages [2023-02-23T01:22:51.288Z] Removing intermediate container e701f480578e [2023-02-23T01:22:51.288Z] ---> ace0f8fb6b8f [2023-02-23T01:22:51.288Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-23T01:22:51.556Z] ---> Running in ab4dccf30afd [2023-02-23T01:22:51.824Z] Removing intermediate container ab4dccf30afd [2023-02-23T01:22:51.824Z] ---> 96634b3a6fc0 [2023-02-23T01:22:51.824Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-23T01:22:52.411Z] ---> 69f2eaa39d6b [2023-02-23T01:22:52.411Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T01:22:52.411Z] ---> Running in fd2185c2be59 [2023-02-23T01:24:00.323Z] Removing intermediate container fd2185c2be59 [2023-02-23T01:24:00.323Z] ---> b055167afb08 [2023-02-23T01:24:00.323Z] Step 11/12 : COPY . . [2023-02-23T01:24:00.323Z] ---> af9b996a1ea5 [2023-02-23T01:24:00.323Z] Step 12/12 : RUN $MAKE [2023-02-23T01:24:00.323Z] ---> Running in 4be5ae5802f7 [2023-02-23T01:24:00.323Z] noop [2023-02-23T01:24:00.323Z] Removing intermediate container 4be5ae5802f7 [2023-02-23T01:24:00.323Z] ---> 2fd3a9c3f289 [2023-02-23T01:24:00.323Z] Successfully built 2fd3a9c3f289 [2023-02-23T01:24:00.323Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:24:00.811Z] + docker inspect -f . ci-base-image-arm64 [2023-02-23T01:24:00.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:24:01.084Z] prd-ubuntu20.04-docker-arm64-4c-16g-7173 does not seem to be running inside a container [2023-02-23T01:24:01.168Z] $ 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-23T01:24:02.515Z] $ docker top 0340694529dc2d2a75ce0c4ac2fe285b76e2e1f9eacf328b74402ba6d2e3d794 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T01:24:03.429Z] + go version [2023-02-23T01:24:03.429Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-23T01:24:03.470Z] $ docker stop --time=1 0340694529dc2d2a75ce0c4ac2fe285b76e2e1f9eacf328b74402ba6d2e3d794 [2023-02-23T01:24:05.137Z] $ docker rm -f --volumes 0340694529dc2d2a75ce0c4ac2fe285b76e2e1f9eacf328b74402ba6d2e3d794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:24:06.170Z] + docker inspect -f . ci-base-image-arm64 [2023-02-23T01:24:06.170Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:24:06.448Z] prd-ubuntu20.04-docker-arm64-4c-16g-7173 does not seem to be running inside a container [2023-02-23T01:24:06.526Z] $ 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-23T01:24:07.815Z] $ docker top feb5917a921695a6288b1e31e4cce8116bd1994b42c601c2a440e123056300bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T01:24:08.728Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-23T01:24:09.457Z] + make test [2023-02-23T01:24:09.457Z] go test ./... -coverprofile=coverage.out ./... [2023-02-23T01:24:11.421Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-23T01:25:48.183Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-23T01:25:48.183Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.068s coverage: 21.8% of statements [2023-02-23T01:25:48.183Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-23T01:25:48.183Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-23T01:25:48.183Z] go vet ./... [2023-02-23T01:26:00.525Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-23T01:26:00.525Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-23T01:26:00.525Z] ./bin/test-attribution-txt.sh [2023-02-23T01:26:00.525Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-23T01:26:00.525Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-23T01:26:00.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-23T01:26:00.598Z] $ docker stop --time=1 feb5917a921695a6288b1e31e4cce8116bd1994b42c601c2a440e123056300bf [2023-02-23T01:26:02.413Z] $ docker rm -f --volumes feb5917a921695a6288b1e31e4cce8116bd1994b42c601c2a440e123056300bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-23T01:26:03.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-23T01:26:03.424Z] Warning: overwriting stash ‘coverage-report’ [2023-02-23T01:26:03.933Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-23T01:26:04.537Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-23T01:26:04.881Z] + ls -al . [2023-02-23T01:26:04.881Z] total 180 [2023-02-23T01:26:04.881Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 23 01:24 . [2023-02-23T01:26:04.881Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 01:21 .. [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 01:21 .dockerignore [2023-02-23T01:26:04.881Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 01:21 .git [2023-02-23T01:26:04.881Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 01:21 .github [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 23 01:21 .gitignore [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 23 01:21 .golangci.yml [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 23 01:21 Attribution.txt [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 23 01:21 CHANGELOG.md [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 23 01:21 Dockerfile [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 01:21 GOVERNANCE.md [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 23 01:21 Jenkinsfile [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 23 01:21 LICENSE [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 23 01:21 Makefile [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 23 01:21 OWNERS.md [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 23 01:21 README.md [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 01:18 VERSION [2023-02-23T01:26:04.881Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 01:21 bin [2023-02-23T01:26:04.881Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 01:21 cmd [2023-02-23T01:26:04.881Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 23 01:25 coverage.out [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 3377 Feb 23 01:21 go.mod [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 33254 Feb 23 01:21 go.sum [2023-02-23T01:26:04.881Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 01:21 internal [2023-02-23T01:26:04.881Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 01:21 mock [2023-02-23T01:26:04.881Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 01:21 snap [2023-02-23T01:26:04.881Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 23 01:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:26:05.295Z] + 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=846fdfec1e8839e6613c7823ab16a2dab2dfbd6f --label arch=arm64 --label version=0.0.0 . [2023-02-23T01:26:05.564Z] Sending build context to Docker daemon 3.306MB [2023-02-23T01:26:05.564Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-23T01:26:05.564Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-23T01:26:05.564Z] ---> 2fd3a9c3f289 [2023-02-23T01:26:05.564Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-23T01:26:05.831Z] ---> Running in fa4aad5dad7b [2023-02-23T01:26:06.102Z] Removing intermediate container fa4aad5dad7b [2023-02-23T01:26:06.102Z] ---> dea23a4cd13d [2023-02-23T01:26:06.102Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-23T01:26:06.102Z] ---> Running in dde19796aadd [2023-02-23T01:26:06.373Z] Removing intermediate container dde19796aadd [2023-02-23T01:26:06.373Z] ---> 883aed7dfcd6 [2023-02-23T01:26:06.373Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-23T01:26:06.641Z] ---> Running in bcc49e298ca5 [2023-02-23T01:26:06.908Z] Removing intermediate container bcc49e298ca5 [2023-02-23T01:26:06.908Z] ---> c609adf924f9 [2023-02-23T01:26:06.908Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-23T01:26:06.908Z] ---> Running in 94b6d6f67836 [2023-02-23T01:26:07.188Z] Removing intermediate container 94b6d6f67836 [2023-02-23T01:26:07.188Z] ---> 728428b3fab0 [2023-02-23T01:26:07.188Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-23T01:26:07.188Z] ---> Running in 03f95acbf426 [2023-02-23T01:26:08.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-23T01:26:08.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-23T01:26:09.576Z] OK: 226 MiB in 55 packages [2023-02-23T01:26:10.541Z] Removing intermediate container 03f95acbf426 [2023-02-23T01:26:10.541Z] ---> 2d4d123b2449 [2023-02-23T01:26:10.541Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-23T01:26:10.541Z] ---> Running in e1df1d6bbc47 [2023-02-23T01:26:10.810Z] Removing intermediate container e1df1d6bbc47 [2023-02-23T01:26:10.810Z] ---> f23979cca83a [2023-02-23T01:26:10.810Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-23T01:26:11.400Z] ---> 51aebb4ee1c1 [2023-02-23T01:26:11.400Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-23T01:26:11.400Z] ---> Running in 2c4e2130bb4b [2023-02-23T01:26:14.754Z] Removing intermediate container 2c4e2130bb4b [2023-02-23T01:26:14.754Z] ---> b0f2c5d05203 [2023-02-23T01:26:14.754Z] Step 11/24 : COPY . . [2023-02-23T01:26:15.021Z] ---> c75b3a1b9c1a [2023-02-23T01:26:15.021Z] Step 12/24 : RUN $MAKE [2023-02-23T01:26:15.302Z] ---> Running in 3b6eb0ce555f [2023-02-23T01:26:16.269Z] 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-23T01:28:22.969Z] Removing intermediate container 3b6eb0ce555f [2023-02-23T01:28:22.969Z] ---> 83036a1f33fa [2023-02-23T01:28:22.969Z] Step 13/24 : FROM alpine:3.16 [2023-02-23T01:28:22.969Z] 3.16: Pulling from library/alpine [2023-02-23T01:28:22.969Z] 3760b48202b3: Pulling fs layer [2023-02-23T01:28:22.969Z] 3760b48202b3: Verifying Checksum [2023-02-23T01:28:22.969Z] 3760b48202b3: Download complete [2023-02-23T01:28:22.969Z] 3760b48202b3: Pull complete [2023-02-23T01:28:22.969Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-23T01:28:22.969Z] Status: Downloaded newer image for alpine:3.16 [2023-02-23T01:28:22.969Z] ---> 4c81e5bf8899 [2023-02-23T01:28:22.969Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-23T01:28:22.969Z] ---> Running in 2bf5b3906241 [2023-02-23T01:28:22.969Z] Removing intermediate container 2bf5b3906241 [2023-02-23T01:28:22.969Z] ---> 40c1ee59aaa8 [2023-02-23T01:28:22.969Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-23T01:28:22.969Z] ---> Running in ee8bde648454 [2023-02-23T01:28:22.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-23T01:28:22.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-23T01:28:22.969Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-23T01:28:22.969Z] Executing busybox-1.35.0-r17.trigger [2023-02-23T01:28:22.969Z] OK: 5 MiB in 15 packages [2023-02-23T01:28:22.969Z] Removing intermediate container ee8bde648454 [2023-02-23T01:28:22.969Z] ---> 70aefdd4ef16 [2023-02-23T01:28:22.969Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-23T01:28:22.969Z] ---> b36661d89b5e [2023-02-23T01:28:22.969Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-23T01:28:22.969Z] ---> 412a8ec86c49 [2023-02-23T01:28:22.969Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-23T01:28:22.969Z] ---> a384dec17ba4 [2023-02-23T01:28:22.969Z] Step 19/24 : EXPOSE 59982 [2023-02-23T01:28:22.969Z] ---> Running in 64952bad713b [2023-02-23T01:28:22.969Z] Removing intermediate container 64952bad713b [2023-02-23T01:28:22.969Z] ---> 9505bf41ecb7 [2023-02-23T01:28:22.969Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-23T01:28:22.969Z] ---> Running in 478184ecabca [2023-02-23T01:28:23.239Z] Removing intermediate container 478184ecabca [2023-02-23T01:28:23.239Z] ---> a2b8018df1b2 [2023-02-23T01:28:23.239Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-23T01:28:23.239Z] ---> Running in c35f914f4fdb [2023-02-23T01:28:23.509Z] Removing intermediate container c35f914f4fdb [2023-02-23T01:28:23.509Z] ---> 56b18152ce3e [2023-02-23T01:28:23.509Z] Step 22/24 : LABEL arch=arm64 [2023-02-23T01:28:23.777Z] ---> Running in 51668b2fa9fa [2023-02-23T01:28:24.043Z] Removing intermediate container 51668b2fa9fa [2023-02-23T01:28:24.043Z] ---> 8768cfa7d0a1 [2023-02-23T01:28:24.043Z] Step 23/24 : LABEL git_sha=846fdfec1e8839e6613c7823ab16a2dab2dfbd6f [2023-02-23T01:28:24.043Z] ---> Running in 9992477ae56b [2023-02-23T01:28:24.310Z] Removing intermediate container 9992477ae56b [2023-02-23T01:28:24.310Z] ---> 392d52a1a4fa [2023-02-23T01:28:24.310Z] Step 24/24 : LABEL version=0.0.0 [2023-02-23T01:28:24.310Z] ---> Running in 4be94f6cd786 [2023-02-23T01:28:24.577Z] Removing intermediate container 4be94f6cd786 [2023-02-23T01:28:24.577Z] ---> 5054194122a8 [2023-02-23T01:28:24.577Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-23T01:28:24.577Z] Successfully built 5054194122a8 [2023-02-23T01:28:24.577Z] 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-23T01:28:25.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-23T01:28:25.702Z] [2023-02-23T01:28:25.702Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:28:26.093Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-23T01:28:26.093Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-23T01:28:26.093Z] 8998bd30e6a1: Pulling fs layer [2023-02-23T01:28:26.093Z] 04944245beec: Pulling fs layer [2023-02-23T01:28:26.093Z] 699f458cf7ca: Pulling fs layer [2023-02-23T01:28:26.093Z] 765212b225bb: Pulling fs layer [2023-02-23T01:28:26.093Z] f23df028b6ca: Pulling fs layer [2023-02-23T01:28:26.093Z] d65c8cfc05b1: Pulling fs layer [2023-02-23T01:28:26.093Z] 2437ff75d9bd: Pulling fs layer [2023-02-23T01:28:26.093Z] f23df028b6ca: Waiting [2023-02-23T01:28:26.093Z] d65c8cfc05b1: Waiting [2023-02-23T01:28:26.093Z] 2437ff75d9bd: Waiting [2023-02-23T01:28:26.093Z] 765212b225bb: Waiting [2023-02-23T01:28:26.362Z] 04944245beec: Verifying Checksum [2023-02-23T01:28:26.362Z] 04944245beec: Download complete [2023-02-23T01:28:26.362Z] 765212b225bb: Verifying Checksum [2023-02-23T01:28:26.362Z] 765212b225bb: Download complete [2023-02-23T01:28:26.362Z] f23df028b6ca: Verifying Checksum [2023-02-23T01:28:26.362Z] f23df028b6ca: Download complete [2023-02-23T01:28:26.362Z] d65c8cfc05b1: Verifying Checksum [2023-02-23T01:28:26.362Z] d65c8cfc05b1: Download complete [2023-02-23T01:28:26.362Z] 699f458cf7ca: Verifying Checksum [2023-02-23T01:28:26.362Z] 699f458cf7ca: Download complete [2023-02-23T01:28:26.947Z] 8998bd30e6a1: Verifying Checksum [2023-02-23T01:28:26.947Z] 8998bd30e6a1: Download complete [2023-02-23T01:28:28.885Z] 2437ff75d9bd: Verifying Checksum [2023-02-23T01:28:28.885Z] 2437ff75d9bd: Download complete [2023-02-23T01:28:30.823Z] 8998bd30e6a1: Pull complete [2023-02-23T01:28:30.823Z] 04944245beec: Pull complete [2023-02-23T01:28:32.231Z] 699f458cf7ca: Pull complete [2023-02-23T01:28:32.231Z] 765212b225bb: Pull complete [2023-02-23T01:28:32.811Z] f23df028b6ca: Pull complete [2023-02-23T01:28:33.077Z] d65c8cfc05b1: Pull complete [2023-02-23T01:28:45.426Z] 2437ff75d9bd: Pull complete [2023-02-23T01:28:45.426Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-23T01:28:45.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-23T01:28:45.426Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:28:45.775Z] prd-ubuntu20.04-docker-arm64-4c-16g-7173 does not seem to be running inside a container [2023-02-23T01:28:45.869Z] $ 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-23T01:28:48.207Z] $ docker top c57b981380a7e931458854d3ee536dac84bec52906e646ab0ea56723eeab149d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:28:48.782Z] ---> job-cost.sh [2023-02-23T01:28:49.051Z] lf-activate-venv: SKIPPING [2023-02-23T01:28:49.051Z] INFO: No Stack... [2023-02-23T01:28:49.319Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-23T01:28:50.304Z] INFO: Archiving Costs [Pipeline] sh [2023-02-23T01:28:50.649Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-02-23T01:28:50.649Z] + cut -d, -f6 [Pipeline] lock [2023-02-23T01:28:50.732Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-495-1-stack-cost] [2023-02-23T01:28:50.737Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-495-1-stack-cost] did not exist. Created. [2023-02-23T01:28:50.737Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-495-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-23T01:28:51.144Z] /w/workspace/device-mqtt-go/1@tmp/durable-1c8c4360/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-23T01:28:51.496Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-23T01:28:51.535Z] Warning: overwriting stash ‘stack-cost’ [2023-02-23T01:28:51.580Z] Stashed 1 file(s) [Pipeline] } [2023-02-23T01:28:51.597Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-495-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-23T01:28:51.685Z] $ docker stop --time=1 c57b981380a7e931458854d3ee536dac84bec52906e646ab0ea56723eeab149d [2023-02-23T01:28:55.067Z] $ docker rm -f --volumes c57b981380a7e931458854d3ee536dac84bec52906e646ab0ea56723eeab149d [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-23T01:28:56.188Z] provisioning config files... [2023-02-23T01:28:56.556Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-495@tmp/config8773964323578258786tmp [Pipeline] { [Pipeline] sh [2023-02-23T01:28:57.663Z] + set +x [2023-02-23T01:28:57.663Z] + curl -s https://codecov.io/bash [2023-02-23T01:28:57.663Z] + bash -s -- [2023-02-23T01:28:58.895Z] [2023-02-23T01:28:58.895Z] _____ _ [2023-02-23T01:28:58.895Z] / ____| | | [2023-02-23T01:28:58.895Z] | | ___ __| | ___ ___ _____ __ [2023-02-23T01:28:58.895Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-23T01:28:58.895Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-23T01:28:58.895Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-23T01:28:58.895Z] Bash-1.0.6 [2023-02-23T01:28:58.895Z] [2023-02-23T01:28:58.895Z] [2023-02-23T01:28:58.895Z] ==> git version 2.25.1 found [2023-02-23T01:28:58.895Z] ==> 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-23T01:28:58.895Z] Release-Date: 2020-01-08 [2023-02-23T01:28:58.895Z] 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-23T01:28:58.895Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-23T01:28:58.895Z] ==> Jenkins CI detected. [2023-02-23T01:28:58.895Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-495 [2023-02-23T01:28:58.895Z] project root: . [2023-02-23T01:28:58.895Z] --> token set from env [2023-02-23T01:28:58.895Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-23T01:28:58.895Z] ==> Running gcov in . (disable via -X gcov) [2023-02-23T01:28:58.895Z] ==> Python coveragepy not found [2023-02-23T01:28:58.895Z] ==> Searching for coverage reports in: [2023-02-23T01:28:58.895Z] + . [2023-02-23T01:28:58.895Z] -> Found 1 reports [2023-02-23T01:28:58.895Z] ==> Detecting git/mercurial file structure [2023-02-23T01:28:58.895Z] ==> Reading reports [2023-02-23T01:28:58.895Z] + ./coverage.out bytes=17887 [2023-02-23T01:28:58.895Z] ==> Appending adjustments [2023-02-23T01:28:58.895Z] https://docs.codecov.io/docs/fixing-reports [2023-02-23T01:28:58.895Z] + Found adjustments [2023-02-23T01:28:58.895Z] ==> Gzipping contents [2023-02-23T01:28:58.895Z] 4.0K /tmp/codecov.Ci4cDa.gz [2023-02-23T01:28:58.895Z] ==> Uploading reports [2023-02-23T01:28:58.895Z] url: https://codecov.io [2023-02-23T01:28:58.895Z] query: branch=PR-495&commit=846fdfec1e8839e6613c7823ab16a2dab2dfbd6f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-495%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=495&job=&cmd_args= [2023-02-23T01:28:58.895Z] -> Pinging Codecov [2023-02-23T01:28:58.895Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-495&commit=846fdfec1e8839e6613c7823ab16a2dab2dfbd6f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-495%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=495&job=&cmd_args= [2023-02-23T01:28:59.285Z] -> Uploading to [2023-02-23T01:28:59.285Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-23/7D719EC7BBE17E464838252E33014C33/846fdfec1e8839e6613c7823ab16a2dab2dfbd6f/80d01f77-094d-431a-8f6e-1b847b3099a9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230223T012859Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cb4a991c45d2fb9421bbf5ea0a165da3e000c72c1998f598d4f913fab75da028 [2023-02-23T01:28:59.285Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-23T01:28:59.285Z] Dload Upload Total Spent Left Speed [2023-02-23T01:28:59.543Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 11384 --:--:-- --:--:-- --:--:-- 11384 [2023-02-23T01:28:59.543Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/846fdfec1e8839e6613c7823ab16a2dab2dfbd6f [Pipeline] } [2023-02-23T01:28:59.567Z] 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-23T01:29:01.310Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-495/archives ] [2023-02-23T01:29:01.310Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-495/archives [2023-02-23T01:29:01.310Z] total 16 [2023-02-23T01:29:01.310Z] drwxr-xr-x 3 root root 4096 Feb 23 01:20 . [2023-02-23T01:29:01.310Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 23 01:20 .. [2023-02-23T01:29:01.310Z] drwxr-xr-x 2 root root 4096 Feb 23 01:20 cost [2023-02-23T01:29:01.310Z] -rw-r--r-- 1 root root 86 Feb 23 01:20 cost.csv [2023-02-23T01:29:01.310Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-495/archives [2023-02-23T01:29:01.310Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-495/archives [2023-02-23T01:29:01.310Z] total 16 [2023-02-23T01:29:01.310Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 01:20 . [2023-02-23T01:29:01.310Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 23 01:20 .. [2023-02-23T01:29:01.310Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 23 01:20 cost [2023-02-23T01:29:01.310Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 23 01:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:29:01.639Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:29:02.534Z] ---> package-listing.sh [2023-02-23T01:29:02.534Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-23T01:29:02.534Z] ++ facter osfamily [2023-02-23T01:29:02.793Z] + OS_FAMILY=debian [2023-02-23T01:29:02.793Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-495 [2023-02-23T01:29:02.793Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-23T01:29:02.793Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-23T01:29:02.793Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-23T01:29:02.793Z] + PACKAGES=/tmp/packages_start.txt [2023-02-23T01:29:02.793Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-495 ']' [2023-02-23T01:29:02.793Z] + PACKAGES=/tmp/packages_end.txt [2023-02-23T01:29:02.793Z] + case "${OS_FAMILY}" in [2023-02-23T01:29:02.793Z] + dpkg -l [2023-02-23T01:29:02.793Z] + grep '^ii' [2023-02-23T01:29:02.793Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-23T01:29:02.793Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-23T01:29:02.793Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-23T01:29:02.793Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-495 ']' [2023-02-23T01:29:02.793Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-495/archives/ [2023-02-23T01:29:02.793Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-495/archives/ [Pipeline] echo [2023-02-23T01:29:02.837Z] 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-495/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-23T01:29:03.130Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-23T01:29:03.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-23T01:29:03.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-23T01:29:03.926Z] prd-ubuntu20.04-docker-8c-8g-7171 does not seem to be running inside a container [2023-02-23T01:29:03.962Z] $ 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-495/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-495 -v /w/workspace/gexfoundry_device-mqtt-go_PR-495:/w/workspace/gexfoundry_device-mqtt-go_PR-495:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-495@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-495@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-23T01:29:04.159Z] $ docker top efeee51737b4b53d4a69f8df9700d3e66142e6a253ee3d5bde9e80583c4b4766 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-23T01:29:04.544Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-23T01:29:04.852Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-23T01:29:05.163Z] + ls /var/log/sa-host [2023-02-23T01:29:05.163Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-23T01:29:05.298Z] provisioning config files... [2023-02-23T01:29:05.307Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-495@tmp/config1424399398121054822tmp [Pipeline] { [Pipeline] echo [2023-02-23T01:29:05.361Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:29:05.666Z] ---> create-netrc.sh [Pipeline] } [2023-02-23T01:29:05.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:29:06.096Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-23T01:29:06.127Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:29:06.432Z] ---> sudo-logs.sh [2023-02-23T01:29:06.432Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-23T01:29:06.521Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:29:06.827Z] ---> job-cost.sh [2023-02-23T01:29:06.827Z] lf-activate-venv: SKIPPING [2023-02-23T01:29:06.827Z] DEBUG: total: 0.2199999988079071 [2023-02-23T01:29:06.827Z] INFO: Retrieving Stack Cost... [2023-02-23T01:29:07.396Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-23T01:29:07.653Z] INFO: Archiving Costs [Pipeline] echo [2023-02-23T01:29:07.691Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-23T01:29:07.999Z] ---> logs-deploy.sh [2023-02-23T01:29:07.999Z] lf-activate-venv: SKIPPING [2023-02-23T01:29:07.999Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-495/1 [2023-02-23T01:29:07.999Z] INFO: archiving workspace using pattern(s): [2023-02-23T01:29:08.937Z] Archives upload complete. [2023-02-23T01:29:08.937Z] INFO: archiving logs to Nexus