Pull request #470 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b+bc7652beee9a90296fe0b57947c4589a421f5e02 (4bdd33ab0257fb1405f65cec1da48177755f9bf2) 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-ssh3326326212330445936.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-ssh13766889027933263527.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-470/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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10509197483766026984.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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16970119599662852379.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-ssh14847578549992224435.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-470/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-470/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4932885978280055469.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4316’ Running on prd-ubuntu20.04-docker-8c-8g-4328 in /w/workspace/gexfoundry_device-mqtt-go_PR-470 [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-470 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b Merge succeeded, producing 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b Checking out Revision 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b (PR-470) > 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/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b # 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 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b # timeout=10 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-02T01:04:19.780Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-02T01:04:19.951Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-02T01:04:20.044Z] ========================================================= [2023-02-02T01:04:20.044Z] EdgeX Global Pipelines Version Info [2023-02-02T01:04:20.044Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-02T01:04:20.782Z] ------------------- [2023-02-02T01:04:20.782Z] stable info: [2023-02-02T01:04:20.782Z] ------------------- [2023-02-02T01:04:20.782Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-02T01:04:20.782Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-02T01:04:20.782Z] Message: update stable to v1.0.244 [2023-02-02T01:04:21.351Z] ------------------- [2023-02-02T01:04:21.351Z] experimental info: [2023-02-02T01:04:21.351Z] ------------------- [2023-02-02T01:04:21.351Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-02T01:04:21.351Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-02T01:04:21.351Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-02T01:04:21.639Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-02T01:04:21.680Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-02T01:04:21.722Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-02T01:04:21.762Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-02T01:04:21.803Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-02T01:04:21.843Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-02T01:04:21.885Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-02T01:04:21.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-02T01:04:21.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-02T01:04:22.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-02T01:04:22.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-02T01:04:22.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-02T01:04:22.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-02T01:04:22.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-02T01:04:22.221Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-02T01:04:22.266Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-02T01:04:22.307Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-02T01:04:22.345Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-02T01:04:22.384Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-02T01:04:22.420Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-02T01:04:22.458Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-02T01:04:22.509Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-02T01:04:22.551Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-02T01:04:22.589Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-02T01:04:22.626Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-02T01:04:22.669Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-02T01:04:22.708Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-02T01:04:22.746Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-470 [Pipeline] echo [2023-02-02T01:04:22.785Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-470 [Pipeline] echo [2023-02-02T01:04:22.890Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-470 [Pipeline] echo [2023-02-02T01:04:22.931Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b [Pipeline] echo [2023-02-02T01:04:22.973Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18d41fc [Pipeline] echo [2023-02-02T01:04:23.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-02T01:04:23.122Z] provisioning config files... [2023-02-02T01:04:23.137Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-470@tmp/config7269483451430942027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T01:04:23.491Z] ---> docker-login.sh [2023-02-02T01:04:23.491Z] nexus3.edgexfoundry.org:10001 [2023-02-02T01:04:23.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:04:24.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:04:24.012Z] Configure a credential helper to remove this warning. See [2023-02-02T01:04:24.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:04:24.012Z] [2023-02-02T01:04:24.012Z] Login Succeeded [2023-02-02T01:04:24.012Z] nexus3.edgexfoundry.org:10002 [2023-02-02T01:04:24.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:04:24.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:04:24.012Z] Configure a credential helper to remove this warning. See [2023-02-02T01:04:24.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:04:24.012Z] [2023-02-02T01:04:24.012Z] Login Succeeded [2023-02-02T01:04:24.012Z] nexus3.edgexfoundry.org:10003 [2023-02-02T01:04:24.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:04:24.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:04:24.012Z] Configure a credential helper to remove this warning. See [2023-02-02T01:04:24.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:04:24.012Z] [2023-02-02T01:04:24.012Z] Login Succeeded [2023-02-02T01:04:24.012Z] nexus3.edgexfoundry.org:10004 [2023-02-02T01:04:24.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:04:24.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:04:24.271Z] Configure a credential helper to remove this warning. See [2023-02-02T01:04:24.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:04:24.271Z] [2023-02-02T01:04:24.271Z] Login Succeeded [2023-02-02T01:04:24.271Z] docker.io [2023-02-02T01:04:24.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:04:24.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:04:24.540Z] Configure a credential helper to remove this warning. See [2023-02-02T01:04:24.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:04:24.540Z] [2023-02-02T01:04:24.540Z] Login Succeeded [2023-02-02T01:04:24.540Z] ---> docker-login.sh ends [Pipeline] } [2023-02-02T01:04:24.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-02T01:04:25.204Z] + git rev-list -1 --merges 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b~1..18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b [Pipeline] echo [2023-02-02T01:04:25.262Z] -----------> git rev-list -1 --merges 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b~1..18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b [false] [Pipeline] sh [2023-02-02T01:04:25.574Z] + git log --format=format:%s -1 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b [Pipeline] echo [2023-02-02T01:04:25.610Z] ========================================================= [2023-02-02T01:04:25.610Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-02T01:04:25.610Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-02T01:04:26.029Z] + git log --format=format:%s -1 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b [Pipeline] echo [2023-02-02T01:04:26.061Z] [semverPrep] GIT_COMMIT: 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-02T01:04:26.090Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-02T01:04:26.490Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-02T01:04:26.490Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-02T01:04:26.490Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-02T01:04:26.490Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-02T01:04:26.490Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-02T01:04:26.490Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-02T01:04:26.490Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T01:04:26.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-02T01:04:26.995Z] [2023-02-02T01:04:26.995Z] 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-02T01:04:27.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-02T01:04:27.392Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-02T01:04:27.392Z] b85a868b505f: Pulling fs layer [2023-02-02T01:04:27.392Z] e2be974225ed: Pulling fs layer [2023-02-02T01:04:27.392Z] 339a4e72a1f5: Pulling fs layer [2023-02-02T01:04:27.392Z] 988bab9f4d93: Pulling fs layer [2023-02-02T01:04:27.392Z] 1469e6f7b9e6: Pulling fs layer [2023-02-02T01:04:27.392Z] eaf3925da568: Pulling fs layer [2023-02-02T01:04:27.392Z] bab4dde63d76: Pulling fs layer [2023-02-02T01:04:27.392Z] bde34c3a00c8: Pulling fs layer [2023-02-02T01:04:27.392Z] b352a97aabf1: Pulling fs layer [2023-02-02T01:04:27.392Z] 4872d77fe225: Pulling fs layer [2023-02-02T01:04:27.392Z] 5851b861e8e6: Pulling fs layer [2023-02-02T01:04:27.392Z] bde34c3a00c8: Waiting [2023-02-02T01:04:27.392Z] b352a97aabf1: Waiting [2023-02-02T01:04:27.392Z] 1469e6f7b9e6: Waiting [2023-02-02T01:04:27.392Z] eaf3925da568: Waiting [2023-02-02T01:04:27.392Z] 4872d77fe225: Waiting [2023-02-02T01:04:27.392Z] bab4dde63d76: Waiting [2023-02-02T01:04:27.392Z] 5851b861e8e6: Waiting [2023-02-02T01:04:27.392Z] 988bab9f4d93: Waiting [2023-02-02T01:04:27.392Z] e2be974225ed: Verifying Checksum [2023-02-02T01:04:27.392Z] e2be974225ed: Download complete [2023-02-02T01:04:27.392Z] 988bab9f4d93: Download complete [2023-02-02T01:04:27.661Z] 1469e6f7b9e6: Verifying Checksum [2023-02-02T01:04:27.661Z] 1469e6f7b9e6: Download complete [2023-02-02T01:04:27.661Z] eaf3925da568: Verifying Checksum [2023-02-02T01:04:27.661Z] eaf3925da568: Download complete [2023-02-02T01:04:27.661Z] 339a4e72a1f5: Download complete [2023-02-02T01:04:27.661Z] bde34c3a00c8: Verifying Checksum [2023-02-02T01:04:27.661Z] bde34c3a00c8: Download complete [2023-02-02T01:04:27.921Z] b352a97aabf1: Verifying Checksum [2023-02-02T01:04:27.921Z] b352a97aabf1: Download complete [2023-02-02T01:04:27.921Z] 4872d77fe225: Verifying Checksum [2023-02-02T01:04:27.921Z] 4872d77fe225: Download complete [2023-02-02T01:04:27.922Z] b85a868b505f: Verifying Checksum [2023-02-02T01:04:27.922Z] b85a868b505f: Download complete [2023-02-02T01:04:27.922Z] 5851b861e8e6: Verifying Checksum [2023-02-02T01:04:27.922Z] 5851b861e8e6: Download complete [2023-02-02T01:04:28.180Z] bab4dde63d76: Verifying Checksum [2023-02-02T01:04:28.180Z] bab4dde63d76: Download complete [2023-02-02T01:04:29.116Z] b85a868b505f: Pull complete [2023-02-02T01:04:29.116Z] e2be974225ed: Pull complete [2023-02-02T01:04:29.681Z] 339a4e72a1f5: Pull complete [2023-02-02T01:04:29.681Z] 988bab9f4d93: Pull complete [2023-02-02T01:04:29.939Z] 1469e6f7b9e6: Pull complete [2023-02-02T01:04:29.940Z] eaf3925da568: Pull complete [2023-02-02T01:04:31.842Z] bab4dde63d76: Pull complete [2023-02-02T01:04:31.842Z] bde34c3a00c8: Pull complete [2023-02-02T01:04:31.842Z] b352a97aabf1: Pull complete [2023-02-02T01:04:32.102Z] 4872d77fe225: Pull complete [2023-02-02T01:04:32.102Z] 5851b861e8e6: Pull complete [2023-02-02T01:04:32.102Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-02T01:04:32.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-02T01:04:32.102Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T01:04:32.343Z] prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container [2023-02-02T01:04:32.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-470 -v /w/workspace/gexfoundry_device-mqtt-go_PR-470:/w/workspace/gexfoundry_device-mqtt-go_PR-470:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-470@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-470@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-02T01:04:36.865Z] $ docker top a831e32b411590c24516e8c617d2c60952d620abc85b96cae785cf458fbfb2f4 -eo pid,comm [2023-02-02T01:04:36.916Z] 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-02T01:04:36.916Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-02T01:04:37.072Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-02T01:04:37.072Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-02T01:04:37.169Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-02T01:04:37.175Z] $ docker exec a831e32b411590c24516e8c617d2c60952d620abc85b96cae785cf458fbfb2f4 ssh-agent [2023-02-02T01:04:37.289Z] SSH_AUTH_SOCK=/tmp/ssh-XxxEt8kOvoTr/agent.32 [2023-02-02T01:04:37.289Z] SSH_AGENT_PID=38 [2023-02-02T01:04:37.297Z] Running ssh-add (command line suppressed) [2023-02-02T01:04:37.406Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-470@tmp/private_key_14156046154089647661.key (/w/workspace/gexfoundry_device-mqtt-go_PR-470@tmp/private_key_14156046154089647661.key) [2023-02-02T01:04:37.419Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-02T01:04:37.744Z] + git tag --points-at HEAD [Pipeline] } [2023-02-02T01:04:37.771Z] $ docker exec --env ******** --env ******** a831e32b411590c24516e8c617d2c60952d620abc85b96cae785cf458fbfb2f4 ssh-agent -k [2023-02-02T01:04:37.869Z] unset SSH_AUTH_SOCK; [2023-02-02T01:04:37.870Z] unset SSH_AGENT_PID; [2023-02-02T01:04:37.870Z] echo Agent pid 38 killed; [2023-02-02T01:04:37.876Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-02T01:04:37.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-02T01:04:37.967Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-02T01:04:38.065Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-02T01:04:38.071Z] $ docker exec a831e32b411590c24516e8c617d2c60952d620abc85b96cae785cf458fbfb2f4 ssh-agent [2023-02-02T01:04:38.174Z] SSH_AUTH_SOCK=/tmp/ssh-rPt4XuFWl90Q/agent.70 [2023-02-02T01:04:38.174Z] SSH_AGENT_PID=76 [2023-02-02T01:04:38.179Z] Running ssh-add (command line suppressed) [2023-02-02T01:04:38.276Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-470@tmp/private_key_182942139078835178.key (/w/workspace/gexfoundry_device-mqtt-go_PR-470@tmp/private_key_182942139078835178.key) [2023-02-02T01:04:38.285Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-02T01:04:38.614Z] + git semver init [2023-02-02T01:04:38.873Z] 2023-02-02 01:04:38,806 [run_init] DEBUG init version:0.0.0 force:False [2023-02-02T01:04:38.873Z] 2023-02-02 01:04:38,807 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-470/.semver [2023-02-02T01:04:38.873Z] 2023-02-02 01:04:38,807 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-470/.semver [2023-02-02T01:04:38.873Z] 2023-02-02 01:04:38,808 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-470/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-470, universal_newlines=False, shell=None, istream=None) [2023-02-02T01:04:39.811Z] 2023-02-02 01:04:39,688 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-470/.git/info/exclude [2023-02-02T01:04:39.811Z] 2023-02-02 01:04:39,688 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-470/.semver/PR-470 with force:False [2023-02-02T01:04:39.811Z] 2023-02-02 01:04:39,689 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-470/.semver/PR-470 [2023-02-02T01:04:39.811Z] 2023-02-02 01:04:39,692 [execute] INFO git cat-file --batch-check [2023-02-02T01:04:39.811Z] 2023-02-02 01:04:39,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-470/.semver, universal_newlines=False, shell=None, istream=) [2023-02-02T01:04:39.811Z] 2023-02-02 01:04:39,699 [execute] INFO git cat-file --batch [2023-02-02T01:04:39.811Z] 2023-02-02 01:04:39,699 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-470/.semver, universal_newlines=False, shell=None, istream=) [2023-02-02T01:04:39.811Z] 2023-02-02 01:04:39,706 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-470/.semver/PR-470 [2023-02-02T01:04:39.811Z] 0.0.0 [Pipeline] } [2023-02-02T01:04:39.841Z] $ docker exec --env ******** --env ******** a831e32b411590c24516e8c617d2c60952d620abc85b96cae785cf458fbfb2f4 ssh-agent -k [2023-02-02T01:04:39.959Z] unset SSH_AUTH_SOCK; [2023-02-02T01:04:39.959Z] unset SSH_AGENT_PID; [2023-02-02T01:04:39.959Z] echo Agent pid 76 killed; [2023-02-02T01:04:39.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-02T01:04:40.372Z] + git semver [Pipeline] } [2023-02-02T01:04:40.655Z] $ docker stop --time=1 a831e32b411590c24516e8c617d2c60952d620abc85b96cae785cf458fbfb2f4 [2023-02-02T01:04:41.940Z] $ docker rm -f --volumes a831e32b411590c24516e8c617d2c60952d620abc85b96cae785cf458fbfb2f4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-02T01:04:42.334Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-02T01:04:42.598Z] Stashed 1 file(s) [Pipeline] echo [2023-02-02T01:04:42.613Z] [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-02T01:04:43.216Z] provisioning config files... [2023-02-02T01:04:43.226Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-470@tmp/config5330336261369216117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T01:04:43.567Z] ---> docker-login.sh [2023-02-02T01:04:43.567Z] nexus3.edgexfoundry.org:10001 [2023-02-02T01:04:43.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:04:43.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:04:43.567Z] Configure a credential helper to remove this warning. See [2023-02-02T01:04:43.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:04:43.567Z] [2023-02-02T01:04:43.567Z] Login Succeeded [2023-02-02T01:04:43.567Z] nexus3.edgexfoundry.org:10002 [2023-02-02T01:04:43.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:04:43.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:04:43.567Z] Configure a credential helper to remove this warning. See [2023-02-02T01:04:43.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:04:43.567Z] [2023-02-02T01:04:43.567Z] Login Succeeded [2023-02-02T01:04:43.567Z] nexus3.edgexfoundry.org:10003 [2023-02-02T01:04:43.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:04:43.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:04:43.826Z] Configure a credential helper to remove this warning. See [2023-02-02T01:04:43.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:04:43.826Z] [2023-02-02T01:04:43.826Z] Login Succeeded [2023-02-02T01:04:43.826Z] nexus3.edgexfoundry.org:10004 [2023-02-02T01:04:43.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:04:43.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:04:43.826Z] Configure a credential helper to remove this warning. See [2023-02-02T01:04:43.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:04:43.826Z] [2023-02-02T01:04:43.826Z] Login Succeeded [2023-02-02T01:04:43.826Z] docker.io [2023-02-02T01:04:43.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:04:44.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:04:44.085Z] Configure a credential helper to remove this warning. See [2023-02-02T01:04:44.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:04:44.085Z] [2023-02-02T01:04:44.085Z] Login Succeeded [2023-02-02T01:04:44.085Z] ---> docker-login.sh ends [Pipeline] } [2023-02-02T01:04:44.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-02T01:04:44.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T01:04:44.317Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T01:04:44.348Z] ========================================================= [2023-02-02T01:04:44.348Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-02T01:04:44.348Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T01:04:44.830Z] + 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-02T01:04:44.830Z] Sending build context to Docker daemon 6.342MB [2023-02-02T01:04:44.830Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T01:04:44.830Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-02T01:04:44.830Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-02T01:04:44.830Z] 213ec9aee27d: Pulling fs layer [2023-02-02T01:04:44.830Z] 4583459ba037: Pulling fs layer [2023-02-02T01:04:44.830Z] 93c1e223e6f2: Pulling fs layer [2023-02-02T01:04:44.830Z] 53926ce57604: Pulling fs layer [2023-02-02T01:04:44.830Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-02T01:04:44.830Z] 22ff95d597cd: Pulling fs layer [2023-02-02T01:04:44.830Z] 12d6caf4c0d1: Pulling fs layer [2023-02-02T01:04:44.830Z] 96b7cbca73a9: Pulling fs layer [2023-02-02T01:04:44.830Z] a7acece74701: Pulling fs layer [2023-02-02T01:04:44.830Z] 53926ce57604: Waiting [2023-02-02T01:04:44.830Z] 21b2b0c7a3f4: Waiting [2023-02-02T01:04:44.830Z] 22ff95d597cd: Waiting [2023-02-02T01:04:44.830Z] 12d6caf4c0d1: Waiting [2023-02-02T01:04:44.830Z] 96b7cbca73a9: Waiting [2023-02-02T01:04:44.830Z] a7acece74701: Waiting [2023-02-02T01:04:44.830Z] 93c1e223e6f2: Download complete [2023-02-02T01:04:44.830Z] 4583459ba037: Verifying Checksum [2023-02-02T01:04:44.830Z] 4583459ba037: Download complete [2023-02-02T01:04:44.830Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-02T01:04:44.830Z] 21b2b0c7a3f4: Download complete [2023-02-02T01:04:45.094Z] 22ff95d597cd: Verifying Checksum [2023-02-02T01:04:45.094Z] 22ff95d597cd: Download complete [2023-02-02T01:04:45.094Z] 213ec9aee27d: Verifying Checksum [2023-02-02T01:04:45.094Z] 213ec9aee27d: Download complete [2023-02-02T01:04:45.094Z] 12d6caf4c0d1: Download complete [2023-02-02T01:04:45.094Z] 213ec9aee27d: Pull complete [2023-02-02T01:04:45.364Z] 4583459ba037: Pull complete [2023-02-02T01:04:45.364Z] 93c1e223e6f2: Pull complete [2023-02-02T01:04:45.975Z] a7acece74701: Verifying Checksum [2023-02-02T01:04:45.975Z] a7acece74701: Download complete [2023-02-02T01:04:46.565Z] 53926ce57604: Verifying Checksum [2023-02-02T01:04:46.565Z] 53926ce57604: Download complete [2023-02-02T01:04:46.565Z] 96b7cbca73a9: Verifying Checksum [2023-02-02T01:04:46.565Z] 96b7cbca73a9: Download complete [2023-02-02T01:04:49.849Z] 53926ce57604: Pull complete [2023-02-02T01:04:49.849Z] 21b2b0c7a3f4: Pull complete [2023-02-02T01:04:49.849Z] 22ff95d597cd: Pull complete [2023-02-02T01:04:50.107Z] 12d6caf4c0d1: Pull complete [2023-02-02T01:04:52.013Z] 96b7cbca73a9: Pull complete [2023-02-02T01:04:52.579Z] a7acece74701: Pull complete [2023-02-02T01:04:52.579Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-02T01:04:52.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-02T01:04:52.579Z] ---> db6d94c90886 [2023-02-02T01:04:52.579Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-02T01:04:58.030Z] Still waiting to schedule task [2023-02-02T01:04:58.031Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4324’ [2023-02-02T01:05:00.754Z] ---> Running in bc9f8b8e1fc7 [2023-02-02T01:05:00.754Z] Removing intermediate container bc9f8b8e1fc7 [2023-02-02T01:05:00.754Z] ---> 8fd78d4cf586 [2023-02-02T01:05:00.754Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-02T01:05:00.754Z] ---> Running in 8356d5976ce5 [2023-02-02T01:05:00.754Z] Removing intermediate container 8356d5976ce5 [2023-02-02T01:05:00.754Z] ---> 7bc1c3737a64 [2023-02-02T01:05:00.754Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-02T01:05:00.754Z] ---> Running in 4a10ddc6f7ea [2023-02-02T01:05:00.754Z] Removing intermediate container 4a10ddc6f7ea [2023-02-02T01:05:00.754Z] ---> 7e9179b80f3f [2023-02-02T01:05:00.754Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-02T01:05:00.754Z] ---> Running in 9e55ad3dcb7f [2023-02-02T01:05:00.754Z] Removing intermediate container 9e55ad3dcb7f [2023-02-02T01:05:00.754Z] ---> 1f4097a9e5c6 [2023-02-02T01:05:00.754Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-02T01:05:01.013Z] ---> Running in bfb2366c9b7e [2023-02-02T01:05:01.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-02T01:05:01.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-02T01:05:01.793Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-02T01:05:01.793Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-02T01:05:01.793Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-02T01:05:02.068Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-02T01:05:02.068Z] Executing busybox-1.35.0-r17.trigger [2023-02-02T01:05:02.068Z] OK: 216 MiB in 55 packages [2023-02-02T01:05:02.328Z] Removing intermediate container bfb2366c9b7e [2023-02-02T01:05:02.328Z] ---> ed0aa717d8db [2023-02-02T01:05:02.328Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-02T01:05:02.586Z] ---> Running in e325608151cd [2023-02-02T01:05:02.586Z] Removing intermediate container e325608151cd [2023-02-02T01:05:02.586Z] ---> 511578147481 [2023-02-02T01:05:02.586Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-02T01:05:02.586Z] ---> 21d6553e6694 [2023-02-02T01:05:02.586Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T01:05:02.586Z] ---> Running in 73b637ffda36 [2023-02-02T01:05:58.869Z] Removing intermediate container 73b637ffda36 [2023-02-02T01:05:58.870Z] ---> 3eadbc797442 [2023-02-02T01:05:58.870Z] Step 11/12 : COPY . . [2023-02-02T01:05:58.870Z] ---> deb8f9970a55 [2023-02-02T01:05:58.870Z] Step 12/12 : RUN $MAKE [2023-02-02T01:05:58.870Z] ---> Running in d3b412742240 [2023-02-02T01:05:58.870Z] noop [2023-02-02T01:05:58.870Z] Removing intermediate container d3b412742240 [2023-02-02T01:05:58.870Z] ---> b475341c9375 [2023-02-02T01:05:58.870Z] Successfully built b475341c9375 [2023-02-02T01:05:58.870Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T01:05:59.316Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-02T01:05:59.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T01:05:59.473Z] prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container [2023-02-02T01:05:59.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-470 -v /w/workspace/gexfoundry_device-mqtt-go_PR-470:/w/workspace/gexfoundry_device-mqtt-go_PR-470:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-470@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-470@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-02T01:05:59.838Z] $ docker top dd0ec7fe248f6bd4cc9eb3a403013d9d1a18a6f3954df817f1ec2eb760545983 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T01:06:00.234Z] + go version [2023-02-02T01:06:00.234Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-02T01:06:00.271Z] $ docker stop --time=1 dd0ec7fe248f6bd4cc9eb3a403013d9d1a18a6f3954df817f1ec2eb760545983 [2023-02-02T01:06:02.742Z] $ docker rm -f --volumes dd0ec7fe248f6bd4cc9eb3a403013d9d1a18a6f3954df817f1ec2eb760545983 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T01:06:04.032Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-02T01:06:04.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T01:06:04.186Z] prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container [2023-02-02T01:06:04.216Z] $ 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-470 -v /w/workspace/gexfoundry_device-mqtt-go_PR-470:/w/workspace/gexfoundry_device-mqtt-go_PR-470:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-470@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-470@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-02T01:06:04.533Z] $ docker top 27e1847ae7c7bdf9fc09731f2841c63ae1587460da507fadd340055579f72338 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T01:06:04.949Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-470 [Pipeline] fileExists [Pipeline] sh [2023-02-02T01:06:05.391Z] + make test [2023-02-02T01:06:05.391Z] go test ./... -coverprofile=coverage.out ./... [2023-02-02T01:06:05.649Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-02T01:06:15.636Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-02T01:06:15.636Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2023-02-02T01:06:15.636Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-02T01:06:22.193Z] 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-02T01:06:22.193Z] go vet ./... [2023-02-02T01:06:25.473Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-02T01:06:25.473Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-02T01:06:25.473Z] ./bin/test-attribution-txt.sh [2023-02-02T01:06:25.473Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-02T01:06:25.473Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-02T01:06:25.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-02T01:06:25.552Z] $ docker stop --time=1 27e1847ae7c7bdf9fc09731f2841c63ae1587460da507fadd340055579f72338 [2023-02-02T01:06:29.395Z] $ docker rm -f --volumes 27e1847ae7c7bdf9fc09731f2841c63ae1587460da507fadd340055579f72338 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-02T01:06:29.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-02T01:06:30.003Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-02T01:06:30.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-02T01:06:31.042Z] + ls -al . [2023-02-02T01:06:31.042Z] total 184 [2023-02-02T01:06:31.042Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 01:06 . [2023-02-02T01:06:31.042Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 01:04 .. [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 01:04 .dockerignore [2023-02-02T01:06:31.042Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 01:06 .git [2023-02-02T01:06:31.042Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 01:04 .github [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 2 01:04 .gitignore [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 2 01:04 .golangci.yml [2023-02-02T01:06:31.042Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 01:04 .semver [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 2 01:04 Attribution.txt [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 2 01:04 CHANGELOG.md [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 2 01:04 Dockerfile [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 01:04 GOVERNANCE.md [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 2 01:04 Jenkinsfile [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 2 01:04 LICENSE [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 2 01:04 Makefile [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 2 01:04 OWNERS.md [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 2 01:04 README.md [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 01:04 VERSION [2023-02-02T01:06:31.042Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 01:04 bin [2023-02-02T01:06:31.042Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 01:04 cmd [2023-02-02T01:06:31.042Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 2 01:06 coverage.out [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 3375 Feb 2 01:04 go.mod [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 34669 Feb 2 01:04 go.sum [2023-02-02T01:06:31.042Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 01:04 internal [2023-02-02T01:06:31.042Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 01:04 mock [2023-02-02T01:06:31.042Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 01:04 snap [2023-02-02T01:06:31.042Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 2 01:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T01:06:31.492Z] + 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=18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b --label arch=amd64 --label version=0.0.0 . [2023-02-02T01:06:31.492Z] Sending build context to Docker daemon 6.36MB [2023-02-02T01:06:31.492Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T01:06:31.492Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-02T01:06:31.492Z] ---> b475341c9375 [2023-02-02T01:06:31.492Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-02T01:06:31.758Z] ---> Running in 3b3a4db8d631 [2023-02-02T01:06:31.758Z] Removing intermediate container 3b3a4db8d631 [2023-02-02T01:06:31.758Z] ---> f8464182c2f8 [2023-02-02T01:06:31.758Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-02T01:06:31.758Z] ---> Running in 0d010cd413c8 [2023-02-02T01:06:31.758Z] Removing intermediate container 0d010cd413c8 [2023-02-02T01:06:31.758Z] ---> 858427ecb915 [2023-02-02T01:06:31.758Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-02T01:06:31.758Z] ---> Running in 2ff8ece5e141 [2023-02-02T01:06:32.017Z] Removing intermediate container 2ff8ece5e141 [2023-02-02T01:06:32.017Z] ---> 6eb1e1e3ddc4 [2023-02-02T01:06:32.017Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-02T01:06:32.017Z] ---> Running in ab83633111f0 [2023-02-02T01:06:32.017Z] Removing intermediate container ab83633111f0 [2023-02-02T01:06:32.017Z] ---> df58162d5c38 [2023-02-02T01:06:32.017Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-02T01:06:32.017Z] ---> Running in 35bfa4ef0bfa [2023-02-02T01:06:32.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-02T01:06:32.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-02T01:06:32.795Z] OK: 216 MiB in 55 packages [2023-02-02T01:06:33.054Z] Removing intermediate container 35bfa4ef0bfa [2023-02-02T01:06:33.054Z] ---> b05a309aa133 [2023-02-02T01:06:33.054Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-02T01:06:33.054Z] ---> Running in b4a0411cc948 [2023-02-02T01:06:33.313Z] Removing intermediate container b4a0411cc948 [2023-02-02T01:06:33.313Z] ---> 187e48c620bb [2023-02-02T01:06:33.313Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-02T01:06:33.313Z] ---> 80af9f04ed16 [2023-02-02T01:06:33.313Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T01:06:33.313Z] ---> Running in 0f8d889c5a16 [2023-02-02T01:06:34.267Z] Removing intermediate container 0f8d889c5a16 [2023-02-02T01:06:34.267Z] ---> 6bdbd88e7da9 [2023-02-02T01:06:34.267Z] Step 11/24 : COPY . . [2023-02-02T01:06:34.527Z] ---> bca954ac2ceb [2023-02-02T01:06:34.527Z] Step 12/24 : RUN $MAKE [2023-02-02T01:06:34.527Z] ---> Running in 0734c71c9d97 [2023-02-02T01:06:34.785Z] 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-02T01:07:01.431Z] Removing intermediate container 0734c71c9d97 [2023-02-02T01:07:01.431Z] ---> 1e0614753dae [2023-02-02T01:07:01.431Z] Step 13/24 : FROM alpine:3.16 [2023-02-02T01:07:01.431Z] 3.16: Pulling from library/alpine [2023-02-02T01:07:01.431Z] ca7dd9ec2225: Pulling fs layer [2023-02-02T01:07:01.431Z] ca7dd9ec2225: Verifying Checksum [2023-02-02T01:07:01.431Z] ca7dd9ec2225: Download complete [2023-02-02T01:07:01.431Z] ca7dd9ec2225: Pull complete [2023-02-02T01:07:01.431Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-02T01:07:01.431Z] Status: Downloaded newer image for alpine:3.16 [2023-02-02T01:07:01.431Z] ---> bfe296a52501 [2023-02-02T01:07:01.431Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-02T01:07:01.431Z] ---> Running in ef9df240d21f [2023-02-02T01:07:01.431Z] Removing intermediate container ef9df240d21f [2023-02-02T01:07:01.431Z] ---> da824dcb9180 [2023-02-02T01:07:01.431Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-02T01:07:01.431Z] ---> Running in bc5b14b30ffd [2023-02-02T01:07:01.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-02T01:07:01.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-02T01:07:01.431Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-02T01:07:01.431Z] Executing busybox-1.35.0-r17.trigger [2023-02-02T01:07:01.431Z] OK: 6 MiB in 15 packages [2023-02-02T01:07:01.431Z] Removing intermediate container bc5b14b30ffd [2023-02-02T01:07:01.431Z] ---> ba5c1f72d4ee [2023-02-02T01:07:01.431Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-02T01:07:01.431Z] ---> 8b22524255fd [2023-02-02T01:07:01.431Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-02T01:07:01.431Z] ---> 0eae413570f8 [2023-02-02T01:07:01.431Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-02T01:07:01.431Z] ---> 956134f839f6 [2023-02-02T01:07:01.431Z] Step 19/24 : EXPOSE 59982 [2023-02-02T01:07:01.431Z] ---> Running in d7846fe9476e [2023-02-02T01:07:01.431Z] Removing intermediate container d7846fe9476e [2023-02-02T01:07:01.431Z] ---> a8a7bd8f2ba9 [2023-02-02T01:07:01.431Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-02T01:07:01.431Z] ---> Running in 037a95799512 [2023-02-02T01:07:01.431Z] Removing intermediate container 037a95799512 [2023-02-02T01:07:01.431Z] ---> d11f69b7c60e [2023-02-02T01:07:01.431Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-02T01:07:01.431Z] ---> Running in d9d16f685654 [2023-02-02T01:07:01.431Z] Removing intermediate container d9d16f685654 [2023-02-02T01:07:01.431Z] ---> 0d0cf15f24a3 [2023-02-02T01:07:01.431Z] Step 22/24 : LABEL arch=amd64 [2023-02-02T01:07:01.431Z] ---> Running in a5a64d72bd3a [2023-02-02T01:07:01.431Z] Removing intermediate container a5a64d72bd3a [2023-02-02T01:07:01.431Z] ---> 01dd6b8642ea [2023-02-02T01:07:01.431Z] Step 23/24 : LABEL git_sha=18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b [2023-02-02T01:07:01.431Z] ---> Running in e11e7acfecc1 [2023-02-02T01:07:01.431Z] Removing intermediate container e11e7acfecc1 [2023-02-02T01:07:01.431Z] ---> d6d7b9350c5b [2023-02-02T01:07:01.431Z] Step 24/24 : LABEL version=0.0.0 [2023-02-02T01:07:01.431Z] ---> Running in 43173a0c68a0 [2023-02-02T01:07:01.431Z] Removing intermediate container 43173a0c68a0 [2023-02-02T01:07:01.431Z] ---> f1ccbd03448e [2023-02-02T01:07:01.431Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-02T01:07:01.431Z] Successfully built f1ccbd03448e [2023-02-02T01:07:01.431Z] 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-02T01:07:02.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T01:07:02.302Z] [2023-02-02T01:07:02.302Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T01:07:02.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T01:07:02.689Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-02T01:07:02.689Z] 5eb5b503b376: Pulling fs layer [2023-02-02T01:07:02.689Z] 5c69ac0246d0: Pulling fs layer [2023-02-02T01:07:02.689Z] ec43610c2a17: Pulling fs layer [2023-02-02T01:07:02.689Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-02T01:07:02.689Z] 33b1e0a273af: Pulling fs layer [2023-02-02T01:07:02.689Z] 5d3b04190fa2: Pulling fs layer [2023-02-02T01:07:02.689Z] 2f39f015ded8: Pulling fs layer [2023-02-02T01:07:02.689Z] 33b1e0a273af: Waiting [2023-02-02T01:07:02.689Z] 5d3b04190fa2: Waiting [2023-02-02T01:07:02.689Z] 2f39f015ded8: Waiting [2023-02-02T01:07:02.689Z] 3a2ae6a8a46f: Waiting [2023-02-02T01:07:02.689Z] 5c69ac0246d0: Verifying Checksum [2023-02-02T01:07:02.689Z] 5c69ac0246d0: Download complete [2023-02-02T01:07:02.689Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-02T01:07:02.689Z] 3a2ae6a8a46f: Download complete [2023-02-02T01:07:02.956Z] 33b1e0a273af: Verifying Checksum [2023-02-02T01:07:02.956Z] 33b1e0a273af: Download complete [2023-02-02T01:07:02.956Z] 5d3b04190fa2: Verifying Checksum [2023-02-02T01:07:02.956Z] 5d3b04190fa2: Download complete [2023-02-02T01:07:02.956Z] ec43610c2a17: Verifying Checksum [2023-02-02T01:07:02.956Z] ec43610c2a17: Download complete [2023-02-02T01:07:03.227Z] 5eb5b503b376: Verifying Checksum [2023-02-02T01:07:03.227Z] 5eb5b503b376: Download complete [2023-02-02T01:07:03.796Z] 2f39f015ded8: Verifying Checksum [2023-02-02T01:07:03.796Z] 2f39f015ded8: Download complete [2023-02-02T01:07:04.363Z] 5eb5b503b376: Pull complete [2023-02-02T01:07:04.363Z] 5c69ac0246d0: Pull complete [2023-02-02T01:07:04.929Z] ec43610c2a17: Pull complete [2023-02-02T01:07:04.929Z] 3a2ae6a8a46f: Pull complete [2023-02-02T01:07:05.187Z] 33b1e0a273af: Pull complete [2023-02-02T01:07:05.188Z] 5d3b04190fa2: Pull complete [2023-02-02T01:07:09.369Z] 2f39f015ded8: Pull complete [2023-02-02T01:07:09.369Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-02T01:07:09.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T01:07:09.369Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T01:07:09.660Z] prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container [2023-02-02T01:07:09.691Z] $ 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-470 -v /w/workspace/gexfoundry_device-mqtt-go_PR-470:/w/workspace/gexfoundry_device-mqtt-go_PR-470:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-470@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-470@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-02T01:07:17.868Z] $ docker top 770cf414cada571f9beda48fe81706341c4d37047eb82791b922fbd81b602c41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T01:07:18.326Z] ---> job-cost.sh [2023-02-02T01:07:18.326Z] lf-activate-venv: SKIPPING [2023-02-02T01:07:18.326Z] INFO: No Stack... [2023-02-02T01:07:18.584Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-02T01:07:19.155Z] INFO: Archiving Costs [Pipeline] sh [2023-02-02T01:07:19.485Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-470/archives/cost.csv [2023-02-02T01:07:19.485Z] + cut -d, -f6 [Pipeline] lock [2023-02-02T01:07:19.569Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-470-1-stack-cost] [2023-02-02T01:07:19.577Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-470-1-stack-cost] did not exist. Created. [2023-02-02T01:07:19.577Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-470-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-02T01:07:19.970Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-02T01:07:20.033Z] Stashed 1 file(s) [Pipeline] } [2023-02-02T01:07:20.066Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-470-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-02T01:07:20.149Z] $ docker stop --time=1 770cf414cada571f9beda48fe81706341c4d37047eb82791b922fbd81b602c41 [2023-02-02T01:07:21.291Z] $ docker rm -f --volumes 770cf414cada571f9beda48fe81706341c4d37047eb82791b922fbd81b602c41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-02T01:08:45.865Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4330 in /w/workspace/gexfoundry_device-mqtt-go_PR-470 [Pipeline] { [Pipeline] ws [2023-02-02T01:08:45.940Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-02-02T01:08:46.024Z] Selected Git installation does not exist. Using Default [2023-02-02T01:08:46.024Z] The recommended git tool is: NONE [2023-02-02T01:08:52.150Z] using credential edgex-jenkins-ssh [2023-02-02T01:08:52.184Z] Cloning the remote Git repository [2023-02-02T01:08:52.238Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-02T01:08:52.328Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-02T01:08:52.515Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-02T01:08:52.517Z] > git --version # timeout=10 [2023-02-02T01:08:52.542Z] > git --version # 'git version 2.25.1' [2023-02-02T01:08:52.544Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-02T01:08:52.603Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-02T01:08:53.705Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-02T01:08:53.746Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-02T01:08:54.596Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-02T01:08:54.643Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-02T01:08:54.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-02T01:08:54.667Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-02T01:08:55.203Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b [2023-02-02T01:08:55.462Z] Merge succeeded, producing 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b [2023-02-02T01:08:55.463Z] Checking out Revision 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b (PR-470) [2023-02-02T01:08:56.006Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-02T01:08:56.059Z] > git --version # timeout=10 [2023-02-02T01:08:56.071Z] > git --version # 'git version 2.25.1' [2023-02-02T01:08:56.100Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-02T01:08:55.228Z] > git config core.sparsecheckout # timeout=10 [2023-02-02T01:08:55.254Z] > git checkout -f 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b # timeout=10 [2023-02-02T01:08:55.344Z] > git remote # timeout=10 [2023-02-02T01:08:55.368Z] > git config --get remote.origin.url # timeout=10 [2023-02-02T01:08:55.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-02T01:08:55.411Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-02T01:08:55.442Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-02T01:08:55.475Z] > git config core.sparsecheckout # timeout=10 [2023-02-02T01:08:55.500Z] > git checkout -f 18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-02T01:08:57.385Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-02T01:08:57.385Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-02T01:08:57.385Z] Dload Upload Total Spent Left Speed [2023-02-02T01:08:57.385Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh [2023-02-02T01:08:57.991Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-02T01:08:58.337Z] + sudo+ tee /etc/docker/daemon.new [2023-02-02T01:08:58.337Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-02T01:08:58.337Z] { [2023-02-02T01:08:58.337Z] "registry-mirrors": [ [2023-02-02T01:08:58.337Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-02T01:08:58.337Z] ], [2023-02-02T01:08:58.337Z] "bip": "10.250.0.254/24", [2023-02-02T01:08:58.337Z] "hosts": [ [2023-02-02T01:08:58.337Z] "tcp://0.0.0.0:5555", [2023-02-02T01:08:58.337Z] "unix:///var/run/docker.sock" [2023-02-02T01:08:58.337Z] ], [2023-02-02T01:08:58.337Z] "mtu": 1458, [2023-02-02T01:08:58.337Z] "selinux-enabled": true, [2023-02-02T01:08:58.337Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-02T01:08:58.337Z] } [Pipeline] sh [2023-02-02T01:08:58.685Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-02T01:08:59.038Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-02T01:09:17.375Z] provisioning config files... [2023-02-02T01:09:17.403Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config1902795878021530951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T01:09:17.802Z] ---> docker-login.sh [2023-02-02T01:09:17.802Z] nexus3.edgexfoundry.org:10001 [2023-02-02T01:09:18.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:09:18.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:09:18.394Z] Configure a credential helper to remove this warning. See [2023-02-02T01:09:18.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:09:18.394Z] [2023-02-02T01:09:18.394Z] Login Succeeded [2023-02-02T01:09:18.394Z] nexus3.edgexfoundry.org:10002 [2023-02-02T01:09:18.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:09:18.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:09:18.934Z] Configure a credential helper to remove this warning. See [2023-02-02T01:09:18.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:09:18.934Z] [2023-02-02T01:09:18.934Z] Login Succeeded [2023-02-02T01:09:18.934Z] nexus3.edgexfoundry.org:10003 [2023-02-02T01:09:19.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:09:19.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:09:19.204Z] Configure a credential helper to remove this warning. See [2023-02-02T01:09:19.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:09:19.204Z] [2023-02-02T01:09:19.204Z] Login Succeeded [2023-02-02T01:09:19.204Z] nexus3.edgexfoundry.org:10004 [2023-02-02T01:09:19.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:09:19.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:09:19.742Z] Configure a credential helper to remove this warning. See [2023-02-02T01:09:19.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:09:19.742Z] [2023-02-02T01:09:19.742Z] Login Succeeded [2023-02-02T01:09:19.742Z] docker.io [2023-02-02T01:09:20.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T01:09:20.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T01:09:20.279Z] Configure a credential helper to remove this warning. See [2023-02-02T01:09:20.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T01:09:20.279Z] [2023-02-02T01:09:20.279Z] Login Succeeded [2023-02-02T01:09:20.279Z] ---> docker-login.sh ends [Pipeline] } [2023-02-02T01:09:20.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-02T01:09:20.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T01:09:20.769Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T01:09:20.806Z] ========================================================= [2023-02-02T01:09:20.806Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-02T01:09:20.806Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T01:09:21.298Z] + 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-02T01:09:21.568Z] Sending build context to Docker daemon 3.277MB [2023-02-02T01:09:21.568Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T01:09:21.568Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-02T01:09:21.837Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-02T01:09:21.837Z] 9b18e9b68314: Pulling fs layer [2023-02-02T01:09:21.837Z] 35d82f9e3411: Pulling fs layer [2023-02-02T01:09:21.837Z] e16973657156: Pulling fs layer [2023-02-02T01:09:21.837Z] fc693d55d65f: Pulling fs layer [2023-02-02T01:09:21.837Z] 7e9fc2657dce: Pulling fs layer [2023-02-02T01:09:21.837Z] dda99020689f: Pulling fs layer [2023-02-02T01:09:21.837Z] db1c61fa0a46: Pulling fs layer [2023-02-02T01:09:21.837Z] 891c053d2c06: Pulling fs layer [2023-02-02T01:09:21.837Z] fc693d55d65f: Waiting [2023-02-02T01:09:21.837Z] 7e9fc2657dce: Waiting [2023-02-02T01:09:21.837Z] dda99020689f: Waiting [2023-02-02T01:09:21.837Z] db1c61fa0a46: Waiting [2023-02-02T01:09:21.837Z] 891c053d2c06: Waiting [2023-02-02T01:09:21.837Z] e16973657156: Verifying Checksum [2023-02-02T01:09:21.837Z] e16973657156: Download complete [2023-02-02T01:09:21.837Z] 35d82f9e3411: Verifying Checksum [2023-02-02T01:09:21.837Z] 35d82f9e3411: Download complete [2023-02-02T01:09:21.837Z] 7e9fc2657dce: Verifying Checksum [2023-02-02T01:09:21.837Z] 7e9fc2657dce: Download complete [2023-02-02T01:09:21.837Z] dda99020689f: Verifying Checksum [2023-02-02T01:09:21.837Z] dda99020689f: Download complete [2023-02-02T01:09:21.837Z] 9b18e9b68314: Verifying Checksum [2023-02-02T01:09:22.821Z] 9b18e9b68314: Pull complete [2023-02-02T01:09:23.092Z] 891c053d2c06: Verifying Checksum [2023-02-02T01:09:23.092Z] 891c053d2c06: Download complete [2023-02-02T01:09:23.700Z] 35d82f9e3411: Pull complete [2023-02-02T01:09:23.982Z] e16973657156: Pull complete [2023-02-02T01:09:24.568Z] db1c61fa0a46: Verifying Checksum [2023-02-02T01:09:24.568Z] db1c61fa0a46: Download complete [2023-02-02T01:09:25.151Z] fc693d55d65f: Verifying Checksum [2023-02-02T01:09:25.151Z] fc693d55d65f: Download complete [2023-02-02T01:09:37.476Z] fc693d55d65f: Pull complete [2023-02-02T01:09:37.476Z] 7e9fc2657dce: Pull complete [2023-02-02T01:09:37.476Z] dda99020689f: Pull complete [2023-02-02T01:09:41.751Z] db1c61fa0a46: Pull complete [2023-02-02T01:09:43.841Z] 891c053d2c06: Pull complete [2023-02-02T01:09:43.841Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-02T01:09:43.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-02T01:09:43.841Z] ---> f96f9c87975a [2023-02-02T01:09:43.841Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-02T01:09:46.449Z] ---> Running in ad7dcf6d0be9 [2023-02-02T01:09:46.449Z] Removing intermediate container ad7dcf6d0be9 [2023-02-02T01:09:46.449Z] ---> d110ca02522d [2023-02-02T01:09:46.449Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-02T01:09:46.449Z] ---> Running in ea4e560bd7ac [2023-02-02T01:09:47.042Z] Removing intermediate container ea4e560bd7ac [2023-02-02T01:09:47.042Z] ---> ecd653f21af3 [2023-02-02T01:09:47.042Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-02T01:09:47.042Z] ---> Running in 1bd42abc3c57 [2023-02-02T01:09:47.313Z] Removing intermediate container 1bd42abc3c57 [2023-02-02T01:09:47.313Z] ---> d66224acd701 [2023-02-02T01:09:47.313Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-02T01:09:47.313Z] ---> Running in e1bc0937e7b9 [2023-02-02T01:09:47.902Z] Removing intermediate container e1bc0937e7b9 [2023-02-02T01:09:47.902Z] ---> 5c4b420d63a9 [2023-02-02T01:09:47.902Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-02T01:09:47.902Z] ---> Running in 61d1daa43faf [2023-02-02T01:09:49.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-02T01:09:49.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-02T01:09:50.743Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-02T01:09:50.743Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-02T01:09:50.743Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-02T01:09:50.743Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-02T01:09:50.743Z] Executing busybox-1.35.0-r17.trigger [2023-02-02T01:09:50.743Z] OK: 226 MiB in 55 packages [2023-02-02T01:09:51.712Z] Removing intermediate container 61d1daa43faf [2023-02-02T01:09:51.712Z] ---> 7ee72f6c9e6f [2023-02-02T01:09:51.712Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-02T01:09:51.712Z] ---> Running in 3db913725b09 [2023-02-02T01:09:51.980Z] Removing intermediate container 3db913725b09 [2023-02-02T01:09:51.980Z] ---> ee2c96d7a8c7 [2023-02-02T01:09:51.980Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-02T01:09:52.595Z] ---> 1e3dd3663faf [2023-02-02T01:09:52.595Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T01:09:52.595Z] ---> Running in a64e2595fa89 [2023-02-02T01:11:00.497Z] Removing intermediate container a64e2595fa89 [2023-02-02T01:11:00.497Z] ---> b00bc4b8c4dd [2023-02-02T01:11:00.497Z] Step 11/12 : COPY . . [2023-02-02T01:11:01.470Z] ---> 1625cae2d31f [2023-02-02T01:11:01.470Z] Step 12/12 : RUN $MAKE [2023-02-02T01:11:01.470Z] ---> Running in ad1866dec721 [2023-02-02T01:11:02.439Z] noop [2023-02-02T01:11:03.035Z] Removing intermediate container ad1866dec721 [2023-02-02T01:11:03.035Z] ---> db119ed87e3c [2023-02-02T01:11:03.313Z] Successfully built db119ed87e3c [2023-02-02T01:11:03.313Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T01:11:03.799Z] + docker inspect -f . ci-base-image-arm64 [2023-02-02T01:11:03.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T01:11:04.081Z] prd-ubuntu20.04-docker-arm64-4c-16g-4330 does not seem to be running inside a container [2023-02-02T01:11:04.156Z] $ 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-02T01:11:05.295Z] $ docker top a76cc2cb8e647965045ec56c715b5f85647484f06c115c253ab6657afc4e23aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T01:11:06.187Z] + go version [2023-02-02T01:11:06.187Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-02T01:11:06.220Z] $ docker stop --time=1 a76cc2cb8e647965045ec56c715b5f85647484f06c115c253ab6657afc4e23aa [2023-02-02T01:11:07.831Z] $ docker rm -f --volumes a76cc2cb8e647965045ec56c715b5f85647484f06c115c253ab6657afc4e23aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T01:11:08.640Z] + docker inspect -f . ci-base-image-arm64 [2023-02-02T01:11:08.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T01:11:08.891Z] prd-ubuntu20.04-docker-arm64-4c-16g-4330 does not seem to be running inside a container [2023-02-02T01:11:08.956Z] $ 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-02T01:11:10.097Z] $ docker top c534ea09c2642a49fe955c3d6b54fe6daf28046298e0b1bf0d94b1684fa691e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T01:11:10.637Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-02T01:11:11.286Z] + make test [2023-02-02T01:11:11.287Z] go test ./... -coverprofile=coverage.out ./... [2023-02-02T01:11:13.231Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-02T01:12:49.910Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-02T01:12:49.910Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.064s coverage: 21.8% of statements [2023-02-02T01:12:49.910Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-02T01:12:49.910Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-02T01:12:49.910Z] go vet ./... [2023-02-02T01:13:04.911Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-02T01:13:04.911Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-02T01:13:04.911Z] ./bin/test-attribution-txt.sh [2023-02-02T01:13:04.911Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-02T01:13:04.911Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-02T01:13:04.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-02T01:13:04.984Z] $ docker stop --time=1 c534ea09c2642a49fe955c3d6b54fe6daf28046298e0b1bf0d94b1684fa691e3 [2023-02-02T01:13:08.543Z] $ docker rm -f --volumes c534ea09c2642a49fe955c3d6b54fe6daf28046298e0b1bf0d94b1684fa691e3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-02T01:13:09.561Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-02T01:13:09.595Z] Warning: overwriting stash ‘coverage-report’ [2023-02-02T01:13:10.138Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-02T01:13:10.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-02T01:13:11.133Z] + ls -al . [2023-02-02T01:13:11.133Z] total 180 [2023-02-02T01:13:11.133Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 2 01:11 . [2023-02-02T01:13:11.133Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 01:08 .. [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 01:08 .dockerignore [2023-02-02T01:13:11.133Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 01:08 .git [2023-02-02T01:13:11.133Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 01:08 .github [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 2 01:08 .gitignore [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 2 01:08 .golangci.yml [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 2 01:08 Attribution.txt [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 2 01:08 CHANGELOG.md [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 2 01:08 Dockerfile [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 01:08 GOVERNANCE.md [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 2 01:08 Jenkinsfile [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 2 01:08 LICENSE [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 2 01:08 Makefile [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 2 01:08 OWNERS.md [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 2 01:08 README.md [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 01:04 VERSION [2023-02-02T01:13:11.133Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 01:08 bin [2023-02-02T01:13:11.133Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 01:08 cmd [2023-02-02T01:13:11.133Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 2 01:12 coverage.out [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 3375 Feb 2 01:08 go.mod [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 34669 Feb 2 01:08 go.sum [2023-02-02T01:13:11.133Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 01:08 internal [2023-02-02T01:13:11.133Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 01:08 mock [2023-02-02T01:13:11.133Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 01:08 snap [2023-02-02T01:13:11.133Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 2 01:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T01:13:11.571Z] + 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=18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b --label arch=arm64 --label version=0.0.0 . [2023-02-02T01:13:11.840Z] Sending build context to Docker daemon 3.296MB [2023-02-02T01:13:12.106Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T01:13:12.106Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-02T01:13:12.106Z] ---> db119ed87e3c [2023-02-02T01:13:12.106Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-02T01:13:12.106Z] ---> Running in 6e4bf465e3f8 [2023-02-02T01:13:12.374Z] Removing intermediate container 6e4bf465e3f8 [2023-02-02T01:13:12.374Z] ---> b4844a8ad532 [2023-02-02T01:13:12.374Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-02T01:13:12.641Z] ---> Running in 38df2c1c14d3 [2023-02-02T01:13:12.912Z] Removing intermediate container 38df2c1c14d3 [2023-02-02T01:13:12.912Z] ---> 223d55aa1c1e [2023-02-02T01:13:12.912Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-02T01:13:12.912Z] ---> Running in 8635f09ee8d5 [2023-02-02T01:13:13.189Z] Removing intermediate container 8635f09ee8d5 [2023-02-02T01:13:13.189Z] ---> 0947387e7074 [2023-02-02T01:13:13.189Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-02T01:13:13.458Z] ---> Running in 7a8363bbe1ff [2023-02-02T01:13:13.736Z] Removing intermediate container 7a8363bbe1ff [2023-02-02T01:13:13.736Z] ---> c21efb622fec [2023-02-02T01:13:13.736Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-02T01:13:13.736Z] ---> Running in 7cfabd9bbbda [2023-02-02T01:13:15.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-02T01:13:15.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-02T01:13:16.576Z] OK: 226 MiB in 55 packages [2023-02-02T01:13:17.167Z] Removing intermediate container 7cfabd9bbbda [2023-02-02T01:13:17.167Z] ---> cb53cc64610a [2023-02-02T01:13:17.167Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-02T01:13:17.433Z] ---> Running in ac2ffe62fbd2 [2023-02-02T01:13:17.705Z] Removing intermediate container ac2ffe62fbd2 [2023-02-02T01:13:17.705Z] ---> 09392e7f835d [2023-02-02T01:13:17.705Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-02T01:13:21.043Z] ---> da1e28345e1d [2023-02-02T01:13:21.043Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T01:13:21.043Z] ---> Running in ed2503dd0587 [2023-02-02T01:13:24.388Z] Removing intermediate container ed2503dd0587 [2023-02-02T01:13:24.388Z] ---> 6a5d05baa808 [2023-02-02T01:13:24.388Z] Step 11/24 : COPY . . [2023-02-02T01:13:24.983Z] ---> a8e83f89889b [2023-02-02T01:13:24.983Z] Step 12/24 : RUN $MAKE [2023-02-02T01:13:24.983Z] ---> Running in e876575166ec [2023-02-02T01:13:25.944Z] 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-02T01:15:47.661Z] Removing intermediate container e876575166ec [2023-02-02T01:15:47.661Z] ---> 14a539ba560d [2023-02-02T01:15:47.661Z] Step 13/24 : FROM alpine:3.16 [2023-02-02T01:15:47.661Z] 3.16: Pulling from library/alpine [2023-02-02T01:15:47.661Z] 6875df1f5354: Pulling fs layer [2023-02-02T01:15:47.661Z] 6875df1f5354: Verifying Checksum [2023-02-02T01:15:47.661Z] 6875df1f5354: Download complete [2023-02-02T01:15:48.245Z] 6875df1f5354: Pull complete [2023-02-02T01:15:48.245Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-02T01:15:48.245Z] Status: Downloaded newer image for alpine:3.16 [2023-02-02T01:15:48.245Z] ---> 2b4661558fb8 [2023-02-02T01:15:48.245Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-02T01:15:48.245Z] ---> Running in 197324ce196d [2023-02-02T01:15:48.514Z] Removing intermediate container 197324ce196d [2023-02-02T01:15:48.514Z] ---> 0f546c301c93 [2023-02-02T01:15:48.514Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-02T01:15:48.947Z] ---> Running in a5ec05ddf4a9 [2023-02-02T01:15:49.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-02T01:15:50.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-02T01:15:51.192Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-02T01:15:51.192Z] Executing busybox-1.35.0-r17.trigger [2023-02-02T01:15:51.192Z] OK: 5 MiB in 15 packages [2023-02-02T01:15:52.200Z] Removing intermediate container a5ec05ddf4a9 [2023-02-02T01:15:52.200Z] ---> 776507bf1a65 [2023-02-02T01:15:52.200Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-02T01:15:54.154Z] ---> b46bef04470f [2023-02-02T01:15:54.154Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-02T01:15:54.420Z] ---> 7742afedeb70 [2023-02-02T01:15:54.420Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-02T01:15:55.010Z] ---> 237a10539846 [2023-02-02T01:15:55.010Z] Step 19/24 : EXPOSE 59982 [2023-02-02T01:15:55.010Z] ---> Running in c6ace2337dff [2023-02-02T01:15:55.277Z] Removing intermediate container c6ace2337dff [2023-02-02T01:15:55.277Z] ---> 0ffdd08a6c3d [2023-02-02T01:15:55.277Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-02T01:15:55.277Z] ---> Running in 00ab9c09c4ad [2023-02-02T01:15:55.546Z] Removing intermediate container 00ab9c09c4ad [2023-02-02T01:15:55.546Z] ---> 41cc57953ee0 [2023-02-02T01:15:55.546Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-02T01:15:55.814Z] ---> Running in 38b198a74925 [2023-02-02T01:15:56.084Z] Removing intermediate container 38b198a74925 [2023-02-02T01:15:56.084Z] ---> 0584b9dc5f39 [2023-02-02T01:15:56.084Z] Step 22/24 : LABEL arch=arm64 [2023-02-02T01:15:56.084Z] ---> Running in 89d350b7542a [2023-02-02T01:15:56.354Z] Removing intermediate container 89d350b7542a [2023-02-02T01:15:56.354Z] ---> 1ea2cb5f8388 [2023-02-02T01:15:56.354Z] Step 23/24 : LABEL git_sha=18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b [2023-02-02T01:15:56.354Z] ---> Running in e861b8e633af [2023-02-02T01:15:56.938Z] Removing intermediate container e861b8e633af [2023-02-02T01:15:56.938Z] ---> 689e3d4f7836 [2023-02-02T01:15:56.938Z] Step 24/24 : LABEL version=0.0.0 [2023-02-02T01:15:56.938Z] ---> Running in f23b24cdb1b8 [2023-02-02T01:15:57.205Z] Removing intermediate container f23b24cdb1b8 [2023-02-02T01:15:57.205Z] ---> 099b08f22fd2 [2023-02-02T01:15:57.205Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-02T01:15:57.205Z] Successfully built 099b08f22fd2 [2023-02-02T01:15:57.205Z] 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-02T01:15:58.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-02T01:15:58.011Z] [2023-02-02T01:15:58.011Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T01:15:58.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-02T01:15:58.419Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-02T01:15:58.419Z] 8998bd30e6a1: Pulling fs layer [2023-02-02T01:15:58.419Z] 04944245beec: Pulling fs layer [2023-02-02T01:15:58.419Z] 699f458cf7ca: Pulling fs layer [2023-02-02T01:15:58.419Z] 765212b225bb: Pulling fs layer [2023-02-02T01:15:58.419Z] f23df028b6ca: Pulling fs layer [2023-02-02T01:15:58.419Z] d65c8cfc05b1: Pulling fs layer [2023-02-02T01:15:58.419Z] 2437ff75d9bd: Pulling fs layer [2023-02-02T01:15:58.419Z] d65c8cfc05b1: Waiting [2023-02-02T01:15:58.419Z] 765212b225bb: Waiting [2023-02-02T01:15:58.419Z] 2437ff75d9bd: Waiting [2023-02-02T01:15:58.419Z] f23df028b6ca: Waiting [2023-02-02T01:15:58.695Z] 04944245beec: Verifying Checksum [2023-02-02T01:15:58.695Z] 04944245beec: Download complete [2023-02-02T01:15:58.695Z] 765212b225bb: Verifying Checksum [2023-02-02T01:15:58.695Z] 765212b225bb: Download complete [2023-02-02T01:15:58.695Z] f23df028b6ca: Verifying Checksum [2023-02-02T01:15:58.695Z] f23df028b6ca: Download complete [2023-02-02T01:15:58.695Z] d65c8cfc05b1: Verifying Checksum [2023-02-02T01:15:58.695Z] d65c8cfc05b1: Download complete [2023-02-02T01:15:58.967Z] 699f458cf7ca: Verifying Checksum [2023-02-02T01:15:58.967Z] 699f458cf7ca: Download complete [2023-02-02T01:15:59.236Z] 8998bd30e6a1: Verifying Checksum [2023-02-02T01:15:59.236Z] 8998bd30e6a1: Download complete [2023-02-02T01:16:01.829Z] 2437ff75d9bd: Verifying Checksum [2023-02-02T01:16:01.829Z] 2437ff75d9bd: Download complete [2023-02-02T01:16:03.248Z] 8998bd30e6a1: Pull complete [2023-02-02T01:16:03.831Z] 04944245beec: Pull complete [2023-02-02T01:16:05.238Z] 699f458cf7ca: Pull complete [2023-02-02T01:16:05.238Z] 765212b225bb: Pull complete [2023-02-02T01:16:06.198Z] f23df028b6ca: Pull complete [2023-02-02T01:16:06.466Z] d65c8cfc05b1: Pull complete [2023-02-02T01:16:18.771Z] 2437ff75d9bd: Pull complete [2023-02-02T01:16:18.771Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-02T01:16:18.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-02T01:16:18.771Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T01:16:19.095Z] prd-ubuntu20.04-docker-arm64-4c-16g-4330 does not seem to be running inside a container [2023-02-02T01:16:19.154Z] $ 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-02T01:16:21.761Z] $ docker top aaa1b236bf4ddbc21fc7f119b00159e1bae9c76c8ad06f2b814b1304333d58dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T01:16:22.690Z] ---> job-cost.sh [2023-02-02T01:16:22.690Z] lf-activate-venv: SKIPPING [2023-02-02T01:16:22.690Z] INFO: No Stack... [2023-02-02T01:16:22.960Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-02T01:16:23.925Z] INFO: Archiving Costs [Pipeline] sh [2023-02-02T01:16:24.593Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-02-02T01:16:24.593Z] + cut -d, -f6 [Pipeline] lock [2023-02-02T01:16:24.650Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-470-1-stack-cost] [2023-02-02T01:16:24.656Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-470-1-stack-cost] did not exist. Created. [2023-02-02T01:16:24.656Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-470-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-02T01:16:25.400Z] /w/workspace/device-mqtt-go/1@tmp/durable-7af35706/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-02T01:16:26.105Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-02T01:16:26.143Z] Warning: overwriting stash ‘stack-cost’ [2023-02-02T01:16:26.199Z] Stashed 1 file(s) [Pipeline] } [2023-02-02T01:16:26.214Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-470-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-02T01:16:26.284Z] $ docker stop --time=1 aaa1b236bf4ddbc21fc7f119b00159e1bae9c76c8ad06f2b814b1304333d58dd [2023-02-02T01:16:27.877Z] $ docker rm -f --volumes aaa1b236bf4ddbc21fc7f119b00159e1bae9c76c8ad06f2b814b1304333d58dd [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-02T01:16:29.112Z] provisioning config files... [2023-02-02T01:16:29.119Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-470@tmp/config15276186531871747245tmp [Pipeline] { [Pipeline] sh [2023-02-02T01:16:29.456Z] + set +x [2023-02-02T01:16:29.456Z] + bash -s -- [2023-02-02T01:16:29.456Z] + curl -s https://codecov.io/bash [2023-02-02T01:16:29.456Z] [2023-02-02T01:16:29.456Z] _____ _ [2023-02-02T01:16:29.456Z] / ____| | | [2023-02-02T01:16:29.456Z] | | ___ __| | ___ ___ _____ __ [2023-02-02T01:16:29.456Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-02T01:16:29.456Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-02T01:16:29.456Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-02T01:16:29.456Z] Bash-1.0.6 [2023-02-02T01:16:29.456Z] [2023-02-02T01:16:29.456Z] [2023-02-02T01:16:29.456Z] ==> git version 2.25.1 found [2023-02-02T01:16:29.456Z] ==> 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-02T01:16:29.456Z] Release-Date: 2020-01-08 [2023-02-02T01:16:29.456Z] 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-02T01:16:29.456Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-02T01:16:29.456Z] ==> Jenkins CI detected. [2023-02-02T01:16:29.456Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-470 [2023-02-02T01:16:29.456Z] project root: . [2023-02-02T01:16:29.456Z] --> token set from env [2023-02-02T01:16:29.456Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-02T01:16:29.456Z] ==> Running gcov in . (disable via -X gcov) [2023-02-02T01:16:29.456Z] ==> Python coveragepy not found [2023-02-02T01:16:29.456Z] ==> Searching for coverage reports in: [2023-02-02T01:16:29.456Z] + . [2023-02-02T01:16:29.456Z] -> Found 1 reports [2023-02-02T01:16:29.456Z] ==> Detecting git/mercurial file structure [2023-02-02T01:16:29.715Z] ==> Reading reports [2023-02-02T01:16:29.715Z] + ./coverage.out bytes=17887 [2023-02-02T01:16:29.715Z] ==> Appending adjustments [2023-02-02T01:16:29.715Z] https://docs.codecov.io/docs/fixing-reports [2023-02-02T01:16:29.715Z] + Found adjustments [2023-02-02T01:16:29.715Z] ==> Gzipping contents [2023-02-02T01:16:29.715Z] 4.0K /tmp/codecov.cPNUM4.gz [2023-02-02T01:16:29.715Z] ==> Uploading reports [2023-02-02T01:16:29.715Z] url: https://codecov.io [2023-02-02T01:16:29.715Z] query: branch=PR-470&commit=18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-470%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=470&job=&cmd_args= [2023-02-02T01:16:29.715Z] -> Pinging Codecov [2023-02-02T01:16:29.715Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-470&commit=18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-470%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=470&job=&cmd_args= [2023-02-02T01:16:30.284Z] -> Uploading to [2023-02-02T01:16:30.284Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-02/7D719EC7BBE17E464838252E33014C33/18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b/2f77afb4-3860-448c-9f6d-075144501119.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230202T011630Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d787b5716391bcca7f0da6f2f4a9f6c9591f09f89dbac212d74f385f38aa6efa [2023-02-02T01:16:30.284Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-02T01:16:30.284Z] Dload Upload Total Spent Left Speed [2023-02-02T01:16:30.544Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 12363 --:--:-- --:--:-- --:--:-- 12363 [2023-02-02T01:16:30.544Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/18d41fcf6e0aec0fa13448eca4b5bf74ca0b992b [Pipeline] } [2023-02-02T01:16:30.572Z] 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-02T01:16:32.400Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-470/archives ] [2023-02-02T01:16:32.400Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-470/archives [2023-02-02T01:16:32.400Z] total 16 [2023-02-02T01:16:32.400Z] drwxr-xr-x 3 root root 4096 Feb 2 01:07 . [2023-02-02T01:16:32.400Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 2 01:07 .. [2023-02-02T01:16:32.400Z] drwxr-xr-x 2 root root 4096 Feb 2 01:07 cost [2023-02-02T01:16:32.400Z] -rw-r--r-- 1 root root 86 Feb 2 01:07 cost.csv [2023-02-02T01:16:32.400Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-470/archives [2023-02-02T01:16:32.400Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-470/archives [2023-02-02T01:16:32.400Z] total 16 [2023-02-02T01:16:32.400Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 01:07 . [2023-02-02T01:16:32.400Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 2 01:07 .. [2023-02-02T01:16:32.400Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 2 01:07 cost [2023-02-02T01:16:32.400Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 2 01:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-02T01:16:32.730Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T01:16:33.620Z] ---> package-listing.sh [2023-02-02T01:16:33.620Z] ++ facter osfamily [2023-02-02T01:16:33.620Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-02T01:16:33.880Z] + OS_FAMILY=debian [2023-02-02T01:16:33.880Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-470 [2023-02-02T01:16:33.880Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-02T01:16:33.880Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-02T01:16:33.880Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-02T01:16:33.880Z] + PACKAGES=/tmp/packages_start.txt [2023-02-02T01:16:33.880Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-470 ']' [2023-02-02T01:16:33.880Z] + PACKAGES=/tmp/packages_end.txt [2023-02-02T01:16:33.880Z] + case "${OS_FAMILY}" in [2023-02-02T01:16:33.880Z] + dpkg -l [2023-02-02T01:16:33.880Z] + grep '^ii' [2023-02-02T01:16:33.880Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-02T01:16:33.880Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-02T01:16:33.880Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-02T01:16:33.880Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-470 ']' [2023-02-02T01:16:33.880Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-470/archives/ [2023-02-02T01:16:33.880Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-470/archives/ [Pipeline] echo [2023-02-02T01:16:33.918Z] 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-470/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-02T01:16:34.214Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T01:16:34.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T01:16:34.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T01:16:35.018Z] prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container [2023-02-02T01:16:35.054Z] $ 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-470/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-470 -v /w/workspace/gexfoundry_device-mqtt-go_PR-470:/w/workspace/gexfoundry_device-mqtt-go_PR-470:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-470@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-470@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-02T01:16:35.526Z] $ docker top 7aea6f5ae36b038f1b65fc1ded0e9fd956ed2dbdd8f764252be3196ea1690735 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T01:16:35.924Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-02T01:16:36.236Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-02T01:16:36.544Z] + ls /var/log/sa-host [2023-02-02T01:16:36.545Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-02T01:16:36.750Z] provisioning config files... [2023-02-02T01:16:36.758Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-470@tmp/config6471710113948906840tmp [Pipeline] { [Pipeline] echo [2023-02-02T01:16:36.803Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T01:16:37.110Z] ---> create-netrc.sh [Pipeline] } [2023-02-02T01:16:37.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-02T01:16:37.534Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-02T01:16:37.564Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T01:16:37.874Z] ---> sudo-logs.sh [2023-02-02T01:16:37.874Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-02T01:16:37.956Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T01:16:38.269Z] ---> job-cost.sh [2023-02-02T01:16:38.269Z] lf-activate-venv: SKIPPING [2023-02-02T01:16:38.269Z] DEBUG: total: 0.2199999988079071 [2023-02-02T01:16:38.269Z] INFO: Retrieving Stack Cost... [2023-02-02T01:16:38.528Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-02T01:16:39.096Z] INFO: Archiving Costs [Pipeline] echo [2023-02-02T01:16:39.133Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T01:16:39.446Z] ---> logs-deploy.sh [2023-02-02T01:16:39.446Z] lf-activate-venv: SKIPPING [2023-02-02T01:16:39.446Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-470/1 [2023-02-02T01:16:39.446Z] INFO: archiving workspace using pattern(s): [2023-02-02T01:16:40.381Z] Archives upload complete. [2023-02-02T01:16:40.381Z] INFO: archiving logs to Nexus