Pull request #487 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 177799cf2688b55c26a37083868219c9d9c6ceb8+bc7652beee9a90296fe0b57947c4589a421f5e02 (ca8f5b85c7194e92a6ee7f18be07ca4e35f27240) 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-ssh4466689126400113495.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-ssh15777483025542243459.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-487/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-487/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13893703876236864317.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-487/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7729192212423971826.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-ssh631908677087632871.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-487/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-487/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7591413513645275216.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6235 in /w/workspace/gexfoundry_device-mqtt-go_PR-487 [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-487 # 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 177799cf2688b55c26a37083868219c9d9c6ceb8 Merge succeeded, producing 177799cf2688b55c26a37083868219c9d9c6ceb8 Checking out Revision 177799cf2688b55c26a37083868219c9d9c6ceb8 (PR-487) 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 > 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/487/head:refs/remotes/origin/PR-487 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 177799cf2688b55c26a37083868219c9d9c6ceb8 # 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 177799cf2688b55c26a37083868219c9d9c6ceb8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-16T02:01:23.272Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-16T02:01:23.443Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-16T02:01:23.531Z] ========================================================= [2023-02-16T02:01:23.531Z] EdgeX Global Pipelines Version Info [2023-02-16T02:01:23.531Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-16T02:01:24.301Z] ------------------- [2023-02-16T02:01:24.301Z] stable info: [2023-02-16T02:01:24.301Z] ------------------- [2023-02-16T02:01:24.301Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-16T02:01:24.301Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T02:01:24.301Z] Message: update stable to v1.0.244 [2023-02-16T02:01:24.872Z] ------------------- [2023-02-16T02:01:24.872Z] experimental info: [2023-02-16T02:01:24.872Z] ------------------- [2023-02-16T02:01:24.872Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-16T02:01:24.872Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T02:01:24.872Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-16T02:01:25.143Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-16T02:01:25.186Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-16T02:01:25.225Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-16T02:01:25.267Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-16T02:01:25.305Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-16T02:01:25.345Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-16T02:01:25.383Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-16T02:01:25.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-16T02:01:25.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-16T02:01:25.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-16T02:01:25.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-16T02:01:25.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-16T02:01:25.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-16T02:01:25.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-16T02:01:25.693Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-16T02:01:25.729Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-16T02:01:25.766Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T02:01:25.804Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T02:01:25.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-16T02:01:25.887Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-16T02:01:25.928Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-16T02:01:25.965Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-16T02:01:26.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-16T02:01:26.042Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-16T02:01:26.086Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-16T02:01:26.127Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-16T02:01:26.166Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-16T02:01:26.203Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-487 [Pipeline] echo [2023-02-16T02:01:26.244Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-487 [Pipeline] echo [2023-02-16T02:01:26.285Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-487 [Pipeline] echo [2023-02-16T02:01:26.324Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 177799cf2688b55c26a37083868219c9d9c6ceb8 [Pipeline] echo [2023-02-16T02:01:26.364Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 177799c [Pipeline] echo [2023-02-16T02:01:26.403Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T02:01:26.518Z] provisioning config files... [2023-02-16T02:01:26.533Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-487@tmp/config10029097554753266601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T02:01:26.883Z] ---> docker-login.sh [2023-02-16T02:01:26.883Z] nexus3.edgexfoundry.org:10001 [2023-02-16T02:01:27.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:01:27.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:01:27.142Z] Configure a credential helper to remove this warning. See [2023-02-16T02:01:27.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:01:27.142Z] [2023-02-16T02:01:27.142Z] Login Succeeded [2023-02-16T02:01:27.143Z] nexus3.edgexfoundry.org:10002 [2023-02-16T02:01:27.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:01:27.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:01:27.402Z] Configure a credential helper to remove this warning. See [2023-02-16T02:01:27.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:01:27.402Z] [2023-02-16T02:01:27.402Z] Login Succeeded [2023-02-16T02:01:27.402Z] nexus3.edgexfoundry.org:10003 [2023-02-16T02:01:27.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:01:27.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:01:27.402Z] Configure a credential helper to remove this warning. See [2023-02-16T02:01:27.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:01:27.402Z] [2023-02-16T02:01:27.402Z] Login Succeeded [2023-02-16T02:01:27.402Z] nexus3.edgexfoundry.org:10004 [2023-02-16T02:01:27.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:01:27.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:01:27.662Z] Configure a credential helper to remove this warning. See [2023-02-16T02:01:27.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:01:27.663Z] [2023-02-16T02:01:27.663Z] Login Succeeded [2023-02-16T02:01:27.663Z] docker.io [2023-02-16T02:01:27.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:01:27.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:01:27.923Z] Configure a credential helper to remove this warning. See [2023-02-16T02:01:27.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:01:27.923Z] [2023-02-16T02:01:27.923Z] Login Succeeded [2023-02-16T02:01:27.923Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T02:01:27.948Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-16T02:01:28.586Z] + git rev-list -1 --merges 177799cf2688b55c26a37083868219c9d9c6ceb8~1..177799cf2688b55c26a37083868219c9d9c6ceb8 [Pipeline] echo [2023-02-16T02:01:28.649Z] -----------> git rev-list -1 --merges 177799cf2688b55c26a37083868219c9d9c6ceb8~1..177799cf2688b55c26a37083868219c9d9c6ceb8 177799cf2688b55c26a37083868219c9d9c6ceb8 [false] [Pipeline] sh [2023-02-16T02:01:28.960Z] + git log --format=format:%s -1 177799cf2688b55c26a37083868219c9d9c6ceb8 [Pipeline] echo [2023-02-16T02:01:29.000Z] ========================================================= [2023-02-16T02:01:29.000Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-16T02:01:29.000Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T02:01:29.439Z] + git log --format=format:%s -1 177799cf2688b55c26a37083868219c9d9c6ceb8 [Pipeline] echo [2023-02-16T02:01:29.473Z] [semverPrep] GIT_COMMIT: 177799cf2688b55c26a37083868219c9d9c6ceb8, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-16T02:01:29.508Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-16T02:01:29.906Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-16T02:01:29.906Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-16T02:01:29.906Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-16T02:01:29.906Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-16T02:01:29.906Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-16T02:01:29.906Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-16T02:01:29.906Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T02:01:30.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T02:01:30.398Z] [2023-02-16T02:01:30.398Z] 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-16T02:01:30.778Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T02:01:30.778Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-16T02:01:30.778Z] b85a868b505f: Pulling fs layer [2023-02-16T02:01:30.778Z] e2be974225ed: Pulling fs layer [2023-02-16T02:01:30.778Z] 339a4e72a1f5: Pulling fs layer [2023-02-16T02:01:30.778Z] 988bab9f4d93: Pulling fs layer [2023-02-16T02:01:30.778Z] 1469e6f7b9e6: Pulling fs layer [2023-02-16T02:01:30.778Z] eaf3925da568: Pulling fs layer [2023-02-16T02:01:30.778Z] bab4dde63d76: Pulling fs layer [2023-02-16T02:01:30.778Z] bde34c3a00c8: Pulling fs layer [2023-02-16T02:01:30.778Z] b352a97aabf1: Pulling fs layer [2023-02-16T02:01:30.778Z] 4872d77fe225: Pulling fs layer [2023-02-16T02:01:30.778Z] 5851b861e8e6: Pulling fs layer [2023-02-16T02:01:30.778Z] bab4dde63d76: Waiting [2023-02-16T02:01:30.778Z] 988bab9f4d93: Waiting [2023-02-16T02:01:30.778Z] 5851b861e8e6: Waiting [2023-02-16T02:01:30.778Z] bde34c3a00c8: Waiting [2023-02-16T02:01:30.778Z] 1469e6f7b9e6: Waiting [2023-02-16T02:01:30.778Z] b352a97aabf1: Waiting [2023-02-16T02:01:30.778Z] eaf3925da568: Waiting [2023-02-16T02:01:30.778Z] 4872d77fe225: Waiting [2023-02-16T02:01:30.778Z] e2be974225ed: Verifying Checksum [2023-02-16T02:01:30.778Z] e2be974225ed: Download complete [2023-02-16T02:01:30.778Z] 988bab9f4d93: Verifying Checksum [2023-02-16T02:01:30.778Z] 988bab9f4d93: Download complete [2023-02-16T02:01:31.041Z] 1469e6f7b9e6: Verifying Checksum [2023-02-16T02:01:31.041Z] 1469e6f7b9e6: Download complete [2023-02-16T02:01:31.041Z] eaf3925da568: Verifying Checksum [2023-02-16T02:01:31.041Z] eaf3925da568: Download complete [2023-02-16T02:01:31.041Z] 339a4e72a1f5: Verifying Checksum [2023-02-16T02:01:31.041Z] 339a4e72a1f5: Download complete [2023-02-16T02:01:31.041Z] bde34c3a00c8: Verifying Checksum [2023-02-16T02:01:31.041Z] bde34c3a00c8: Download complete [2023-02-16T02:01:31.304Z] b352a97aabf1: Download complete [2023-02-16T02:01:31.304Z] 4872d77fe225: Download complete [2023-02-16T02:01:31.304Z] b85a868b505f: Verifying Checksum [2023-02-16T02:01:31.304Z] b85a868b505f: Download complete [2023-02-16T02:01:31.304Z] 5851b861e8e6: Download complete [2023-02-16T02:01:31.566Z] bab4dde63d76: Download complete [2023-02-16T02:01:32.949Z] b85a868b505f: Pull complete [2023-02-16T02:01:32.949Z] e2be974225ed: Pull complete [2023-02-16T02:01:33.519Z] 339a4e72a1f5: Pull complete [2023-02-16T02:01:33.519Z] 988bab9f4d93: Pull complete [2023-02-16T02:01:33.779Z] 1469e6f7b9e6: Pull complete [2023-02-16T02:01:33.779Z] eaf3925da568: Pull complete [2023-02-16T02:01:35.683Z] bab4dde63d76: Pull complete [2023-02-16T02:01:35.683Z] bde34c3a00c8: Pull complete [2023-02-16T02:01:35.943Z] b352a97aabf1: Pull complete [2023-02-16T02:01:35.943Z] 4872d77fe225: Pull complete [2023-02-16T02:01:35.943Z] 5851b861e8e6: Pull complete [2023-02-16T02:01:36.204Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-16T02:01:36.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T02:01:36.204Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T02:01:36.411Z] prd-ubuntu20.04-docker-8c-8g-6235 does not seem to be running inside a container [2023-02-16T02:01:36.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-487 -v /w/workspace/gexfoundry_device-mqtt-go_PR-487:/w/workspace/gexfoundry_device-mqtt-go_PR-487:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-487@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-487@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-16T02:01:37.770Z] $ docker top 323d9d9455cbdcba23461bca401df464dc4f31851ddb02f9cee1155327dc76ff -eo pid,comm [2023-02-16T02:01:37.833Z] 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-16T02:01:37.833Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-16T02:01:37.947Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T02:01:37.947Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T02:01:38.069Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T02:01:38.070Z] $ docker exec 323d9d9455cbdcba23461bca401df464dc4f31851ddb02f9cee1155327dc76ff ssh-agent [2023-02-16T02:01:38.180Z] SSH_AUTH_SOCK=/tmp/ssh-bKiFRbinJh0B/agent.32 [2023-02-16T02:01:38.181Z] SSH_AGENT_PID=38 [2023-02-16T02:01:38.187Z] Running ssh-add (command line suppressed) [2023-02-16T02:01:38.298Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-487@tmp/private_key_810794109753531511.key (/w/workspace/gexfoundry_device-mqtt-go_PR-487@tmp/private_key_810794109753531511.key) [2023-02-16T02:01:38.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T02:01:38.641Z] + git tag --points-at HEAD [Pipeline] } [2023-02-16T02:01:38.668Z] $ docker exec --env ******** --env ******** 323d9d9455cbdcba23461bca401df464dc4f31851ddb02f9cee1155327dc76ff ssh-agent -k [2023-02-16T02:01:38.766Z] unset SSH_AUTH_SOCK; [2023-02-16T02:01:38.767Z] unset SSH_AGENT_PID; [2023-02-16T02:01:38.767Z] echo Agent pid 38 killed; [2023-02-16T02:01:38.777Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-16T02:01:38.860Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T02:01:38.860Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T02:01:38.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T02:01:38.994Z] $ docker exec 323d9d9455cbdcba23461bca401df464dc4f31851ddb02f9cee1155327dc76ff ssh-agent [2023-02-16T02:01:39.118Z] SSH_AUTH_SOCK=/tmp/ssh-d7ImjnUznGaL/agent.70 [2023-02-16T02:01:39.118Z] SSH_AGENT_PID=76 [2023-02-16T02:01:39.124Z] Running ssh-add (command line suppressed) [2023-02-16T02:01:39.241Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-487@tmp/private_key_17635925345700524552.key (/w/workspace/gexfoundry_device-mqtt-go_PR-487@tmp/private_key_17635925345700524552.key) [2023-02-16T02:01:39.257Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T02:01:39.587Z] + git semver init [2023-02-16T02:01:39.855Z] 2023-02-16 02:01:39,801 [run_init] DEBUG init version:0.0.0 force:False [2023-02-16T02:01:39.855Z] 2023-02-16 02:01:39,802 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-487/.semver [2023-02-16T02:01:39.855Z] 2023-02-16 02:01:39,802 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-487/.semver [2023-02-16T02:01:39.855Z] 2023-02-16 02:01:39,802 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-487/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-487, universal_newlines=False, shell=None, istream=None) [2023-02-16T02:01:40.796Z] 2023-02-16 02:01:40,792 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-487/.git/info/exclude [2023-02-16T02:01:40.796Z] 2023-02-16 02:01:40,793 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-487/.semver/PR-487 with force:False [2023-02-16T02:01:40.796Z] 2023-02-16 02:01:40,793 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-487/.semver/PR-487 [2023-02-16T02:01:41.056Z] 2023-02-16 02:01:40,796 [execute] INFO git cat-file --batch-check [2023-02-16T02:01:41.056Z] 2023-02-16 02:01:40,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-487/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T02:01:41.056Z] 2023-02-16 02:01:40,802 [execute] INFO git cat-file --batch [2023-02-16T02:01:41.056Z] 2023-02-16 02:01:40,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-487/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T02:01:41.056Z] 2023-02-16 02:01:40,808 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-487/.semver/PR-487 [2023-02-16T02:01:41.056Z] 0.0.0 [Pipeline] } [2023-02-16T02:01:41.083Z] $ docker exec --env ******** --env ******** 323d9d9455cbdcba23461bca401df464dc4f31851ddb02f9cee1155327dc76ff ssh-agent -k [2023-02-16T02:01:41.211Z] unset SSH_AUTH_SOCK; [2023-02-16T02:01:41.212Z] unset SSH_AGENT_PID; [2023-02-16T02:01:41.212Z] echo Agent pid 76 killed; [2023-02-16T02:01:41.224Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-16T02:01:41.636Z] + git semver [Pipeline] } [2023-02-16T02:01:41.925Z] $ docker stop --time=1 323d9d9455cbdcba23461bca401df464dc4f31851ddb02f9cee1155327dc76ff [2023-02-16T02:01:43.284Z] $ docker rm -f --volumes 323d9d9455cbdcba23461bca401df464dc4f31851ddb02f9cee1155327dc76ff [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T02:01:43.693Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-16T02:01:43.975Z] Stashed 1 file(s) [Pipeline] echo [2023-02-16T02:01:43.993Z] [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-16T02:01:44.545Z] provisioning config files... [2023-02-16T02:01:44.554Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-487@tmp/config18174606537810273963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T02:01:44.893Z] ---> docker-login.sh [2023-02-16T02:01:44.893Z] nexus3.edgexfoundry.org:10001 [2023-02-16T02:01:44.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:01:44.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:01:44.893Z] Configure a credential helper to remove this warning. See [2023-02-16T02:01:44.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:01:44.893Z] [2023-02-16T02:01:44.893Z] Login Succeeded [2023-02-16T02:01:44.893Z] nexus3.edgexfoundry.org:10002 [2023-02-16T02:01:44.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:01:44.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:01:44.893Z] Configure a credential helper to remove this warning. See [2023-02-16T02:01:44.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:01:44.893Z] [2023-02-16T02:01:44.893Z] Login Succeeded [2023-02-16T02:01:44.893Z] nexus3.edgexfoundry.org:10003 [2023-02-16T02:01:45.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:01:45.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:01:45.153Z] Configure a credential helper to remove this warning. See [2023-02-16T02:01:45.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:01:45.153Z] [2023-02-16T02:01:45.153Z] Login Succeeded [2023-02-16T02:01:45.153Z] nexus3.edgexfoundry.org:10004 [2023-02-16T02:01:45.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:01:45.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:01:45.153Z] Configure a credential helper to remove this warning. See [2023-02-16T02:01:45.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:01:45.153Z] [2023-02-16T02:01:45.153Z] Login Succeeded [2023-02-16T02:01:45.153Z] docker.io [2023-02-16T02:01:45.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:01:45.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:01:45.676Z] Configure a credential helper to remove this warning. See [2023-02-16T02:01:45.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:01:45.676Z] [2023-02-16T02:01:45.676Z] Login Succeeded [2023-02-16T02:01:45.676Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T02:01:45.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T02:01:45.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T02:01:45.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T02:01:45.950Z] ========================================================= [2023-02-16T02:01:45.950Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-16T02:01:45.950Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T02:01:46.408Z] + 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-16T02:01:46.408Z] Sending build context to Docker daemon 6.317MB [2023-02-16T02:01:46.408Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T02:01:46.408Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-16T02:01:46.408Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-16T02:01:46.408Z] 213ec9aee27d: Pulling fs layer [2023-02-16T02:01:46.408Z] 4583459ba037: Pulling fs layer [2023-02-16T02:01:46.408Z] 93c1e223e6f2: Pulling fs layer [2023-02-16T02:01:46.408Z] 53926ce57604: Pulling fs layer [2023-02-16T02:01:46.408Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-16T02:01:46.408Z] 22ff95d597cd: Pulling fs layer [2023-02-16T02:01:46.408Z] 12d6caf4c0d1: Pulling fs layer [2023-02-16T02:01:46.408Z] 96b7cbca73a9: Pulling fs layer [2023-02-16T02:01:46.408Z] a7acece74701: Pulling fs layer [2023-02-16T02:01:46.408Z] 21b2b0c7a3f4: Waiting [2023-02-16T02:01:46.408Z] 22ff95d597cd: Waiting [2023-02-16T02:01:46.408Z] 96b7cbca73a9: Waiting [2023-02-16T02:01:46.408Z] 53926ce57604: Waiting [2023-02-16T02:01:46.408Z] 93c1e223e6f2: Verifying Checksum [2023-02-16T02:01:46.408Z] 93c1e223e6f2: Download complete [2023-02-16T02:01:46.408Z] 4583459ba037: Verifying Checksum [2023-02-16T02:01:46.408Z] 4583459ba037: Download complete [2023-02-16T02:01:46.677Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-16T02:01:46.677Z] 21b2b0c7a3f4: Download complete [2023-02-16T02:01:46.677Z] 22ff95d597cd: Verifying Checksum [2023-02-16T02:01:46.677Z] 22ff95d597cd: Download complete [2023-02-16T02:01:46.677Z] 213ec9aee27d: Verifying Checksum [2023-02-16T02:01:46.677Z] 213ec9aee27d: Download complete [2023-02-16T02:01:46.677Z] 12d6caf4c0d1: Verifying Checksum [2023-02-16T02:01:46.677Z] 12d6caf4c0d1: Download complete [2023-02-16T02:01:46.677Z] 213ec9aee27d: Pull complete [2023-02-16T02:01:46.949Z] 4583459ba037: Pull complete [2023-02-16T02:01:46.949Z] 93c1e223e6f2: Pull complete [2023-02-16T02:01:47.938Z] 53926ce57604: Verifying Checksum [2023-02-16T02:01:47.938Z] 53926ce57604: Download complete [2023-02-16T02:01:47.938Z] a7acece74701: Verifying Checksum [2023-02-16T02:01:47.938Z] a7acece74701: Download complete [2023-02-16T02:01:47.938Z] 96b7cbca73a9: Verifying Checksum [2023-02-16T02:01:47.938Z] 96b7cbca73a9: Download complete [2023-02-16T02:01:52.130Z] 53926ce57604: Pull complete [2023-02-16T02:01:52.130Z] 21b2b0c7a3f4: Pull complete [2023-02-16T02:01:52.130Z] 22ff95d597cd: Pull complete [2023-02-16T02:01:52.130Z] 12d6caf4c0d1: Pull complete [2023-02-16T02:01:54.036Z] 96b7cbca73a9: Pull complete [2023-02-16T02:01:54.604Z] a7acece74701: Pull complete [2023-02-16T02:01:54.604Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-16T02:01:54.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-16T02:01:54.604Z] ---> db6d94c90886 [2023-02-16T02:01:54.604Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-16T02:01:56.512Z] ---> Running in 0672df4e92a4 [2023-02-16T02:01:56.771Z] Removing intermediate container 0672df4e92a4 [2023-02-16T02:01:56.771Z] ---> 1ab9b5cd420c [2023-02-16T02:01:56.771Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T02:01:56.772Z] ---> Running in c875406d8059 [2023-02-16T02:01:56.772Z] Removing intermediate container c875406d8059 [2023-02-16T02:01:56.772Z] ---> 37c35392c66b [2023-02-16T02:01:56.772Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-16T02:01:57.030Z] ---> Running in 0d950e7b43ad [2023-02-16T02:01:57.030Z] Removing intermediate container 0d950e7b43ad [2023-02-16T02:01:57.030Z] ---> 669c67849ed3 [2023-02-16T02:01:57.030Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T02:01:57.030Z] ---> Running in 3d2e1a09ac9e [2023-02-16T02:01:57.289Z] Removing intermediate container 3d2e1a09ac9e [2023-02-16T02:01:57.289Z] ---> a7ea38bef535 [2023-02-16T02:01:57.289Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T02:01:57.289Z] ---> Running in 5e82edcad35d [2023-02-16T02:01:57.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T02:01:57.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T02:01:58.067Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-16T02:01:58.067Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-16T02:01:58.067Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-16T02:01:58.067Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-16T02:01:58.067Z] Executing busybox-1.35.0-r17.trigger [2023-02-16T02:01:58.067Z] OK: 216 MiB in 55 packages [2023-02-16T02:01:58.652Z] Removing intermediate container 5e82edcad35d [2023-02-16T02:01:58.652Z] ---> 3cb5ddc98f28 [2023-02-16T02:01:58.652Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-16T02:01:58.652Z] ---> Running in 982fdbd655f6 [2023-02-16T02:01:58.652Z] Removing intermediate container 982fdbd655f6 [2023-02-16T02:01:58.652Z] ---> 7a292512a474 [2023-02-16T02:01:58.652Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-16T02:01:58.911Z] ---> 65c1233dded7 [2023-02-16T02:01:58.911Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T02:01:58.911Z] ---> Running in 0a49dc3fa229 [2023-02-16T02:01:59.381Z] Still waiting to schedule task [2023-02-16T02:01:59.381Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6234’ [2023-02-16T02:02:37.649Z] Removing intermediate container 0a49dc3fa229 [2023-02-16T02:02:37.649Z] ---> 6cd2f5ffc1a5 [2023-02-16T02:02:37.649Z] Step 11/12 : COPY . . [2023-02-16T02:02:37.649Z] ---> 8396281b294f [2023-02-16T02:02:37.649Z] Step 12/12 : RUN $MAKE [2023-02-16T02:02:37.649Z] ---> Running in 3803ebba82b7 [2023-02-16T02:02:37.649Z] noop [2023-02-16T02:02:37.649Z] Removing intermediate container 3803ebba82b7 [2023-02-16T02:02:37.649Z] ---> 4d781e91a058 [2023-02-16T02:02:37.649Z] Successfully built 4d781e91a058 [2023-02-16T02:02:37.649Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T02:02:38.099Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T02:02:38.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T02:02:38.251Z] prd-ubuntu20.04-docker-8c-8g-6235 does not seem to be running inside a container [2023-02-16T02:02:38.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-487 -v /w/workspace/gexfoundry_device-mqtt-go_PR-487:/w/workspace/gexfoundry_device-mqtt-go_PR-487:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-487@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-487@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 ******** ci-base-image-x86_64 cat [2023-02-16T02:02:38.641Z] $ docker top 44d4a456357a2561769c862c395abd47a8442569e01a8bf643e66bd94fadb48b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T02:02:39.029Z] + go version [2023-02-16T02:02:39.029Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-16T02:02:39.076Z] $ docker stop --time=1 44d4a456357a2561769c862c395abd47a8442569e01a8bf643e66bd94fadb48b [2023-02-16T02:02:40.352Z] $ docker rm -f --volumes 44d4a456357a2561769c862c395abd47a8442569e01a8bf643e66bd94fadb48b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T02:02:41.060Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T02:02:41.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T02:02:41.216Z] prd-ubuntu20.04-docker-8c-8g-6235 does not seem to be running inside a container [2023-02-16T02:02:41.255Z] $ 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-487 -v /w/workspace/gexfoundry_device-mqtt-go_PR-487:/w/workspace/gexfoundry_device-mqtt-go_PR-487:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-487@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-487@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 ******** ci-base-image-x86_64 cat [2023-02-16T02:02:41.604Z] $ docker top bac29c319ee2ecc8c304c206f2ad3938973300a686bf6d483f221b7e335072fe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T02:02:41.979Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-487 [Pipeline] fileExists [Pipeline] sh [2023-02-16T02:02:42.333Z] + make test [2023-02-16T02:02:42.333Z] go test ./... -coverprofile=coverage.out ./... [2023-02-16T02:02:42.591Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-16T02:02:52.562Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-16T02:02:52.562Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2023-02-16T02:02:52.562Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-16T02:02:59.125Z] 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-16T02:02:59.125Z] go vet ./... [2023-02-16T02:03:01.657Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-16T02:03:01.657Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-16T02:03:01.657Z] ./bin/test-attribution-txt.sh [2023-02-16T02:03:01.657Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-16T02:03:01.657Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-16T02:03:01.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-16T02:03:01.714Z] $ docker stop --time=1 bac29c319ee2ecc8c304c206f2ad3938973300a686bf6d483f221b7e335072fe [2023-02-16T02:03:03.519Z] $ docker rm -f --volumes bac29c319ee2ecc8c304c206f2ad3938973300a686bf6d483f221b7e335072fe [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T02:03:04.021Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-16T02:03:04.083Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-16T02:03:04.758Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-16T02:03:05.065Z] + ls -al . [2023-02-16T02:03:05.065Z] total 184 [2023-02-16T02:03:05.065Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 02:02 . [2023-02-16T02:03:05.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 02:01 .. [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 16 02:01 .dockerignore [2023-02-16T02:03:05.065Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 02:02 .git [2023-02-16T02:03:05.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 02:01 .github [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 16 02:01 .gitignore [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 16 02:01 .golangci.yml [2023-02-16T02:03:05.065Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 02:01 .semver [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 16 02:01 Attribution.txt [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 16 02:01 CHANGELOG.md [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 16 02:01 Dockerfile [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 02:01 GOVERNANCE.md [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 16 02:01 Jenkinsfile [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 16 02:01 LICENSE [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 16 02:01 Makefile [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 16 02:01 OWNERS.md [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 16 02:01 README.md [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 02:01 VERSION [2023-02-16T02:03:05.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 02:01 bin [2023-02-16T02:03:05.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 02:01 cmd [2023-02-16T02:03:05.065Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 16 02:02 coverage.out [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 3376 Feb 16 02:01 go.mod [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 16 02:01 go.sum [2023-02-16T02:03:05.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 02:01 internal [2023-02-16T02:03:05.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 02:01 mock [2023-02-16T02:03:05.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 02:01 snap [2023-02-16T02:03:05.065Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 16 02:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T02:03:05.462Z] + 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=177799cf2688b55c26a37083868219c9d9c6ceb8 --label arch=amd64 --label version=0.0.0 . [2023-02-16T02:03:05.462Z] Sending build context to Docker daemon 6.335MB [2023-02-16T02:03:05.462Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T02:03:05.462Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-16T02:03:05.462Z] ---> 4d781e91a058 [2023-02-16T02:03:05.462Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-16T02:03:05.462Z] ---> Running in 95b8a0048483 [2023-02-16T02:03:05.722Z] Removing intermediate container 95b8a0048483 [2023-02-16T02:03:05.722Z] ---> 8862a1f219b3 [2023-02-16T02:03:05.722Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T02:03:05.722Z] ---> Running in 0f4f8281d1ec [2023-02-16T02:03:05.722Z] Removing intermediate container 0f4f8281d1ec [2023-02-16T02:03:05.722Z] ---> 99348fffe0b2 [2023-02-16T02:03:05.722Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-16T02:03:05.722Z] ---> Running in 3b3d7a238f48 [2023-02-16T02:03:05.722Z] Removing intermediate container 3b3d7a238f48 [2023-02-16T02:03:05.722Z] ---> 50613b1ead50 [2023-02-16T02:03:05.722Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T02:03:05.983Z] ---> Running in d691ba2950b5 [2023-02-16T02:03:05.983Z] Removing intermediate container d691ba2950b5 [2023-02-16T02:03:05.983Z] ---> b9e77b06000f [2023-02-16T02:03:05.983Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T02:03:05.983Z] ---> Running in ba663f4f7f59 [2023-02-16T02:03:06.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T02:03:06.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T02:03:06.761Z] OK: 216 MiB in 55 packages [2023-02-16T02:03:07.022Z] Removing intermediate container ba663f4f7f59 [2023-02-16T02:03:07.022Z] ---> f4192f462ac6 [2023-02-16T02:03:07.022Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-16T02:03:07.022Z] ---> Running in 88df9ccec51b [2023-02-16T02:03:07.282Z] Removing intermediate container 88df9ccec51b [2023-02-16T02:03:07.282Z] ---> 309f82fc8cec [2023-02-16T02:03:07.282Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-16T02:03:07.282Z] ---> 3d298db6e9e2 [2023-02-16T02:03:07.282Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T02:03:07.541Z] ---> Running in 0b253006728b [2023-02-16T02:03:08.570Z] Removing intermediate container 0b253006728b [2023-02-16T02:03:08.570Z] ---> 216faddf8c78 [2023-02-16T02:03:08.570Z] Step 11/24 : COPY . . [2023-02-16T02:03:08.848Z] ---> ee18c606566e [2023-02-16T02:03:08.848Z] Step 12/24 : RUN $MAKE [2023-02-16T02:03:08.848Z] ---> Running in 296b72954386 [2023-02-16T02:03:09.128Z] 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-16T02:03:27.219Z] Removing intermediate container 296b72954386 [2023-02-16T02:03:27.219Z] ---> 2dd0bd2b1dcb [2023-02-16T02:03:27.219Z] Step 13/24 : FROM alpine:3.16 [2023-02-16T02:03:27.219Z] 3.16: Pulling from library/alpine [2023-02-16T02:03:27.219Z] ef5531b6e74e: Pulling fs layer [2023-02-16T02:03:27.479Z] ef5531b6e74e: Verifying Checksum [2023-02-16T02:03:27.479Z] ef5531b6e74e: Download complete [2023-02-16T02:03:27.737Z] ef5531b6e74e: Pull complete [2023-02-16T02:03:27.737Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-16T02:03:27.737Z] Status: Downloaded newer image for alpine:3.16 [2023-02-16T02:03:27.737Z] ---> dfd21b5a31f5 [2023-02-16T02:03:27.737Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-16T02:03:27.737Z] ---> Running in 4bfd955fb663 [2023-02-16T02:03:27.737Z] Removing intermediate container 4bfd955fb663 [2023-02-16T02:03:27.737Z] ---> 5ad67c77b116 [2023-02-16T02:03:27.737Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-16T02:03:27.996Z] ---> Running in 6efd9cfff8b2 [2023-02-16T02:03:28.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T02:03:28.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T02:03:28.772Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-16T02:03:28.772Z] Executing busybox-1.35.0-r17.trigger [2023-02-16T02:03:28.772Z] OK: 6 MiB in 15 packages [2023-02-16T02:03:29.340Z] Removing intermediate container 6efd9cfff8b2 [2023-02-16T02:03:29.340Z] ---> 021f2c99830b [2023-02-16T02:03:29.340Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-16T02:03:29.599Z] ---> 6b3a9446373f [2023-02-16T02:03:29.599Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-16T02:03:29.857Z] ---> 35a11dfce2ea [2023-02-16T02:03:29.857Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-16T02:03:30.115Z] ---> 73a3b58ddf65 [2023-02-16T02:03:30.115Z] Step 19/24 : EXPOSE 59982 [2023-02-16T02:03:30.115Z] ---> Running in cd68b3a28568 [2023-02-16T02:03:30.115Z] Removing intermediate container cd68b3a28568 [2023-02-16T02:03:30.115Z] ---> 115935f776e8 [2023-02-16T02:03:30.115Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-16T02:03:30.115Z] ---> Running in 3c1e95f54531 [2023-02-16T02:03:30.115Z] Removing intermediate container 3c1e95f54531 [2023-02-16T02:03:30.115Z] ---> 5563b2e4ca2a [2023-02-16T02:03:30.115Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-16T02:03:30.374Z] ---> Running in 64efd0202e6a [2023-02-16T02:03:30.374Z] Removing intermediate container 64efd0202e6a [2023-02-16T02:03:30.374Z] ---> f4fde0cea272 [2023-02-16T02:03:30.374Z] Step 22/24 : LABEL arch=amd64 [2023-02-16T02:03:30.374Z] ---> Running in 44d367a286b9 [2023-02-16T02:03:30.374Z] Removing intermediate container 44d367a286b9 [2023-02-16T02:03:30.374Z] ---> b39125c087e6 [2023-02-16T02:03:30.374Z] Step 23/24 : LABEL git_sha=177799cf2688b55c26a37083868219c9d9c6ceb8 [2023-02-16T02:03:30.632Z] ---> Running in 1d6fc107ff73 [2023-02-16T02:03:30.632Z] Removing intermediate container 1d6fc107ff73 [2023-02-16T02:03:30.632Z] ---> 7e65f3556409 [2023-02-16T02:03:30.632Z] Step 24/24 : LABEL version=0.0.0 [2023-02-16T02:03:30.632Z] ---> Running in 4d3ba8b211aa [2023-02-16T02:03:30.632Z] Removing intermediate container 4d3ba8b211aa [2023-02-16T02:03:30.632Z] ---> ece92bb43386 [2023-02-16T02:03:30.632Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-16T02:03:30.632Z] Successfully built ece92bb43386 [2023-02-16T02:03:30.632Z] 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-16T02:03:31.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T02:03:31.626Z] [2023-02-16T02:03:31.626Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T02:03:31.999Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T02:03:31.999Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-16T02:03:31.999Z] 5eb5b503b376: Pulling fs layer [2023-02-16T02:03:31.999Z] 5c69ac0246d0: Pulling fs layer [2023-02-16T02:03:31.999Z] ec43610c2a17: Pulling fs layer [2023-02-16T02:03:31.999Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-16T02:03:31.999Z] 33b1e0a273af: Pulling fs layer [2023-02-16T02:03:31.999Z] 5d3b04190fa2: Pulling fs layer [2023-02-16T02:03:31.999Z] 2f39f015ded8: Pulling fs layer [2023-02-16T02:03:31.999Z] 2f39f015ded8: Waiting [2023-02-16T02:03:31.999Z] 5d3b04190fa2: Waiting [2023-02-16T02:03:31.999Z] 3a2ae6a8a46f: Waiting [2023-02-16T02:03:31.999Z] 33b1e0a273af: Waiting [2023-02-16T02:03:31.999Z] 5c69ac0246d0: Verifying Checksum [2023-02-16T02:03:31.999Z] 5c69ac0246d0: Download complete [2023-02-16T02:03:31.999Z] 3a2ae6a8a46f: Download complete [2023-02-16T02:03:32.263Z] 33b1e0a273af: Verifying Checksum [2023-02-16T02:03:32.263Z] 33b1e0a273af: Download complete [2023-02-16T02:03:32.263Z] 5d3b04190fa2: Verifying Checksum [2023-02-16T02:03:32.263Z] 5d3b04190fa2: Download complete [2023-02-16T02:03:32.263Z] ec43610c2a17: Verifying Checksum [2023-02-16T02:03:32.263Z] ec43610c2a17: Download complete [2023-02-16T02:03:32.526Z] 5eb5b503b376: Verifying Checksum [2023-02-16T02:03:32.526Z] 5eb5b503b376: Download complete [2023-02-16T02:03:33.488Z] 2f39f015ded8: Download complete [2023-02-16T02:03:33.747Z] 5eb5b503b376: Pull complete [2023-02-16T02:03:33.747Z] 5c69ac0246d0: Pull complete [2023-02-16T02:03:34.318Z] ec43610c2a17: Pull complete [2023-02-16T02:03:34.318Z] 3a2ae6a8a46f: Pull complete [2023-02-16T02:03:34.579Z] 33b1e0a273af: Pull complete [2023-02-16T02:03:34.579Z] 5d3b04190fa2: Pull complete [2023-02-16T02:03:39.843Z] 2f39f015ded8: Pull complete [2023-02-16T02:03:39.843Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-16T02:03:39.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T02:03:39.843Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T02:03:40.063Z] prd-ubuntu20.04-docker-8c-8g-6235 does not seem to be running inside a container [2023-02-16T02:03:40.073Z] $ 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-487 -v /w/workspace/gexfoundry_device-mqtt-go_PR-487:/w/workspace/gexfoundry_device-mqtt-go_PR-487:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-487@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-487@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-16T02:03:41.993Z] $ docker top 75b9dafad5e70e3abae87ba8e2fc372c6b4a5be5a4d0e23c1879f061357a67b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T02:03:42.471Z] ---> job-cost.sh [2023-02-16T02:03:42.471Z] lf-activate-venv: SKIPPING [2023-02-16T02:03:42.471Z] INFO: No Stack... [2023-02-16T02:03:42.731Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T02:03:42.990Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T02:03:43.304Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-487/archives/cost.csv [2023-02-16T02:03:43.304Z] + cut -d, -f6 [Pipeline] lock [2023-02-16T02:03:43.353Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-487-1-stack-cost] [2023-02-16T02:03:43.358Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-487-1-stack-cost] did not exist. Created. [2023-02-16T02:03:43.358Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-487-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T02:03:43.748Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-16T02:03:43.800Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T02:03:43.833Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-487-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T02:03:43.890Z] $ docker stop --time=1 75b9dafad5e70e3abae87ba8e2fc372c6b4a5be5a4d0e23c1879f061357a67b9 [2023-02-16T02:03:45.272Z] $ docker rm -f --volumes 75b9dafad5e70e3abae87ba8e2fc372c6b4a5be5a4d0e23c1879f061357a67b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-16T02:05:26.644Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6237 in /w/workspace/gexfoundry_device-mqtt-go_PR-487 [Pipeline] { [Pipeline] ws [2023-02-16T02:05:26.706Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-02-16T02:05:26.797Z] Selected Git installation does not exist. Using Default [2023-02-16T02:05:26.797Z] The recommended git tool is: NONE [2023-02-16T02:05:33.023Z] using credential edgex-jenkins-ssh [2023-02-16T02:05:33.044Z] Cloning the remote Git repository [2023-02-16T02:05:33.099Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-16T02:05:33.183Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-16T02:05:33.337Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-16T02:05:33.338Z] > git --version # timeout=10 [2023-02-16T02:05:33.360Z] > git --version # 'git version 2.25.1' [2023-02-16T02:05:33.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T02:05:33.424Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T02:05:34.581Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-16T02:05:34.607Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T02:05:35.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-16T02:05:35.422Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-16T02:05:35.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T02:05:35.437Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/487/head:refs/remotes/origin/PR-487 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-16T02:05:35.976Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 177799cf2688b55c26a37083868219c9d9c6ceb8 [2023-02-16T02:05:36.192Z] Merge succeeded, producing 177799cf2688b55c26a37083868219c9d9c6ceb8 [2023-02-16T02:05:36.193Z] Checking out Revision 177799cf2688b55c26a37083868219c9d9c6ceb8 (PR-487) [2023-02-16T02:05:36.679Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-16T02:05:36.732Z] > git --version # timeout=10 [2023-02-16T02:05:36.748Z] > git --version # 'git version 2.25.1' [2023-02-16T02:05:36.773Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T02:05:35.996Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T02:05:36.018Z] > git checkout -f 177799cf2688b55c26a37083868219c9d9c6ceb8 # timeout=10 [2023-02-16T02:05:36.102Z] > git remote # timeout=10 [2023-02-16T02:05:36.118Z] > git config --get remote.origin.url # timeout=10 [2023-02-16T02:05:36.137Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T02:05:36.150Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-16T02:05:36.177Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-16T02:05:36.201Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T02:05:36.217Z] > git checkout -f 177799cf2688b55c26a37083868219c9d9c6ceb8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T02:05:37.771Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-16T02:05:37.771Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T02:05:37.771Z] Dload Upload Total Spent Left Speed [2023-02-16T02:05:37.771Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-02-16T02:05:38.456Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-16T02:05:38.805Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-16T02:05:38.805Z] + sudo tee /etc/docker/daemon.new [2023-02-16T02:05:38.805Z] { [2023-02-16T02:05:38.805Z] "registry-mirrors": [ [2023-02-16T02:05:38.805Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-16T02:05:38.805Z] ], [2023-02-16T02:05:38.805Z] "bip": "10.250.0.254/24", [2023-02-16T02:05:38.805Z] "hosts": [ [2023-02-16T02:05:38.805Z] "tcp://0.0.0.0:5555", [2023-02-16T02:05:38.805Z] "unix:///var/run/docker.sock" [2023-02-16T02:05:38.805Z] ], [2023-02-16T02:05:38.805Z] "mtu": 1458, [2023-02-16T02:05:38.805Z] "selinux-enabled": true, [2023-02-16T02:05:38.805Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-16T02:05:38.805Z] } [Pipeline] sh [2023-02-16T02:05:39.151Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-16T02:05:39.507Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T02:05:57.835Z] provisioning config files... [2023-02-16T02:05:57.866Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3588915942133214850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T02:05:58.272Z] ---> docker-login.sh [2023-02-16T02:05:58.272Z] nexus3.edgexfoundry.org:10001 [2023-02-16T02:05:58.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:05:58.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:05:58.869Z] Configure a credential helper to remove this warning. See [2023-02-16T02:05:58.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:05:58.869Z] [2023-02-16T02:05:58.869Z] Login Succeeded [2023-02-16T02:05:58.869Z] nexus3.edgexfoundry.org:10002 [2023-02-16T02:05:59.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:05:59.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:05:59.412Z] Configure a credential helper to remove this warning. See [2023-02-16T02:05:59.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:05:59.412Z] [2023-02-16T02:05:59.412Z] Login Succeeded [2023-02-16T02:05:59.412Z] nexus3.edgexfoundry.org:10003 [2023-02-16T02:05:59.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:05:59.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:05:59.683Z] Configure a credential helper to remove this warning. See [2023-02-16T02:05:59.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:05:59.683Z] [2023-02-16T02:05:59.683Z] Login Succeeded [2023-02-16T02:05:59.683Z] nexus3.edgexfoundry.org:10004 [2023-02-16T02:05:59.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:06:00.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:06:00.232Z] Configure a credential helper to remove this warning. See [2023-02-16T02:06:00.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:06:00.232Z] [2023-02-16T02:06:00.232Z] Login Succeeded [2023-02-16T02:06:00.232Z] docker.io [2023-02-16T02:06:00.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T02:06:00.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T02:06:00.777Z] Configure a credential helper to remove this warning. See [2023-02-16T02:06:00.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T02:06:00.777Z] [2023-02-16T02:06:00.777Z] Login Succeeded [2023-02-16T02:06:00.777Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T02:06:00.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T02:06:01.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T02:06:01.203Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T02:06:01.234Z] ========================================================= [2023-02-16T02:06:01.234Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-16T02:06:01.234Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T02:06:01.717Z] + 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-16T02:06:01.985Z] Sending build context to Docker daemon 3.275MB [2023-02-16T02:06:01.985Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T02:06:01.985Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-16T02:06:02.257Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-16T02:06:02.257Z] 9b18e9b68314: Pulling fs layer [2023-02-16T02:06:02.257Z] 35d82f9e3411: Pulling fs layer [2023-02-16T02:06:02.257Z] e16973657156: Pulling fs layer [2023-02-16T02:06:02.257Z] fc693d55d65f: Pulling fs layer [2023-02-16T02:06:02.257Z] 7e9fc2657dce: Pulling fs layer [2023-02-16T02:06:02.257Z] dda99020689f: Pulling fs layer [2023-02-16T02:06:02.257Z] db1c61fa0a46: Pulling fs layer [2023-02-16T02:06:02.257Z] 891c053d2c06: Pulling fs layer [2023-02-16T02:06:02.257Z] fc693d55d65f: Waiting [2023-02-16T02:06:02.257Z] 7e9fc2657dce: Waiting [2023-02-16T02:06:02.257Z] dda99020689f: Waiting [2023-02-16T02:06:02.257Z] db1c61fa0a46: Waiting [2023-02-16T02:06:02.257Z] 891c053d2c06: Waiting [2023-02-16T02:06:02.257Z] e16973657156: Verifying Checksum [2023-02-16T02:06:02.257Z] e16973657156: Download complete [2023-02-16T02:06:02.257Z] 35d82f9e3411: Verifying Checksum [2023-02-16T02:06:02.257Z] 35d82f9e3411: Download complete [2023-02-16T02:06:02.257Z] 7e9fc2657dce: Verifying Checksum [2023-02-16T02:06:02.257Z] 7e9fc2657dce: Download complete [2023-02-16T02:06:02.257Z] dda99020689f: Verifying Checksum [2023-02-16T02:06:02.257Z] dda99020689f: Download complete [2023-02-16T02:06:02.257Z] 9b18e9b68314: Verifying Checksum [2023-02-16T02:06:02.257Z] 9b18e9b68314: Download complete [2023-02-16T02:06:03.241Z] 9b18e9b68314: Pull complete [2023-02-16T02:06:03.513Z] 891c053d2c06: Verifying Checksum [2023-02-16T02:06:03.513Z] 891c053d2c06: Download complete [2023-02-16T02:06:03.784Z] 35d82f9e3411: Pull complete [2023-02-16T02:06:04.057Z] e16973657156: Pull complete [2023-02-16T02:06:04.651Z] db1c61fa0a46: Verifying Checksum [2023-02-16T02:06:04.651Z] db1c61fa0a46: Download complete [2023-02-16T02:06:05.238Z] fc693d55d65f: Verifying Checksum [2023-02-16T02:06:05.238Z] fc693d55d65f: Download complete [2023-02-16T02:06:17.574Z] fc693d55d65f: Pull complete [2023-02-16T02:06:17.574Z] 7e9fc2657dce: Pull complete [2023-02-16T02:06:17.574Z] dda99020689f: Pull complete [2023-02-16T02:06:24.385Z] db1c61fa0a46: Pull complete [2023-02-16T02:06:25.800Z] 891c053d2c06: Pull complete [2023-02-16T02:06:25.800Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-16T02:06:25.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-16T02:06:25.800Z] ---> f96f9c87975a [2023-02-16T02:06:25.800Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-16T02:06:27.748Z] ---> Running in f17d652bc250 [2023-02-16T02:06:28.016Z] Removing intermediate container f17d652bc250 [2023-02-16T02:06:28.017Z] ---> f54120e8e35d [2023-02-16T02:06:28.017Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T02:06:28.284Z] ---> Running in 06270297f646 [2023-02-16T02:06:28.551Z] Removing intermediate container 06270297f646 [2023-02-16T02:06:28.551Z] ---> 0a500a6215f4 [2023-02-16T02:06:28.551Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-16T02:06:28.551Z] ---> Running in 64f274b940a4 [2023-02-16T02:06:28.817Z] Removing intermediate container 64f274b940a4 [2023-02-16T02:06:28.817Z] ---> 7fcdff8bb296 [2023-02-16T02:06:28.817Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T02:06:28.817Z] ---> Running in a12abad554af [2023-02-16T02:06:29.092Z] Removing intermediate container a12abad554af [2023-02-16T02:06:29.092Z] ---> 412c16700bb6 [2023-02-16T02:06:29.092Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T02:06:29.358Z] ---> Running in ddd48b82feab [2023-02-16T02:06:30.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T02:06:30.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T02:06:31.983Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-16T02:06:31.983Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-16T02:06:31.983Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-16T02:06:31.983Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-16T02:06:31.983Z] Executing busybox-1.35.0-r17.trigger [2023-02-16T02:06:31.983Z] OK: 226 MiB in 55 packages [2023-02-16T02:06:32.938Z] Removing intermediate container ddd48b82feab [2023-02-16T02:06:32.938Z] ---> 2b910f7198b4 [2023-02-16T02:06:32.938Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-16T02:06:32.938Z] ---> Running in 2e59dab7877e [2023-02-16T02:06:33.205Z] Removing intermediate container 2e59dab7877e [2023-02-16T02:06:33.205Z] ---> 26854a07d352 [2023-02-16T02:06:33.205Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-16T02:06:33.473Z] ---> 164a53339968 [2023-02-16T02:06:33.473Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T02:06:33.739Z] ---> Running in 7b5b16896ebe [2023-02-16T02:07:41.616Z] Removing intermediate container 7b5b16896ebe [2023-02-16T02:07:41.616Z] ---> 823e02a34442 [2023-02-16T02:07:41.616Z] Step 11/12 : COPY . . [2023-02-16T02:07:42.586Z] ---> 9876a18bf9a8 [2023-02-16T02:07:42.586Z] Step 12/12 : RUN $MAKE [2023-02-16T02:07:42.586Z] ---> Running in 7e8215dac16a [2023-02-16T02:07:43.562Z] noop [2023-02-16T02:07:45.515Z] Removing intermediate container 7e8215dac16a [2023-02-16T02:07:45.515Z] ---> 960ae6736b19 [2023-02-16T02:07:45.515Z] Successfully built 960ae6736b19 [2023-02-16T02:07:45.515Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T02:07:45.997Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T02:07:45.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T02:07:46.274Z] prd-ubuntu20.04-docker-arm64-4c-16g-6237 does not seem to be running inside a container [2023-02-16T02:07:46.350Z] $ 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-16T02:07:47.660Z] $ docker top cb2b3196a79577032837becba06bdaf09b1cea1d130e349a63f8db49609d34ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T02:07:48.589Z] + go version [2023-02-16T02:07:48.589Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-16T02:07:48.623Z] $ docker stop --time=1 cb2b3196a79577032837becba06bdaf09b1cea1d130e349a63f8db49609d34ea [2023-02-16T02:07:50.284Z] $ docker rm -f --volumes cb2b3196a79577032837becba06bdaf09b1cea1d130e349a63f8db49609d34ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T02:07:51.308Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T02:07:51.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T02:07:51.581Z] prd-ubuntu20.04-docker-arm64-4c-16g-6237 does not seem to be running inside a container [2023-02-16T02:07:51.657Z] $ 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-16T02:07:52.903Z] $ docker top cee1fe048c6a3cdd3473e1d83451bbe33d2f0adc787c3b50eca3156e6411dd7f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T02:07:53.806Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-16T02:07:54.514Z] + make test [2023-02-16T02:07:54.514Z] go test ./... -coverprofile=coverage.out ./... [2023-02-16T02:07:55.927Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-16T02:09:17.548Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-16T02:09:17.548Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 21.8% of statements [2023-02-16T02:09:17.548Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-16T02:09:17.548Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-16T02:09:17.548Z] go vet ./... [2023-02-16T02:09:39.586Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-16T02:09:39.586Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-16T02:09:39.586Z] ./bin/test-attribution-txt.sh [2023-02-16T02:09:39.586Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-16T02:09:39.586Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-16T02:09:39.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-16T02:09:39.658Z] $ docker stop --time=1 cee1fe048c6a3cdd3473e1d83451bbe33d2f0adc787c3b50eca3156e6411dd7f [2023-02-16T02:09:41.371Z] $ docker rm -f --volumes cee1fe048c6a3cdd3473e1d83451bbe33d2f0adc787c3b50eca3156e6411dd7f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T02:09:42.391Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-16T02:09:42.424Z] Warning: overwriting stash ‘coverage-report’ [2023-02-16T02:09:42.910Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T02:09:43.501Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-16T02:09:43.843Z] + ls -al . [2023-02-16T02:09:43.843Z] total 180 [2023-02-16T02:09:43.843Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 16 02:07 . [2023-02-16T02:09:43.843Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 02:05 .. [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 16 02:05 .dockerignore [2023-02-16T02:09:43.843Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 02:05 .git [2023-02-16T02:09:43.843Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 02:05 .github [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 16 02:05 .gitignore [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 16 02:05 .golangci.yml [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 16 02:05 Attribution.txt [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 16 02:05 CHANGELOG.md [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 16 02:05 Dockerfile [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 02:05 GOVERNANCE.md [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 16 02:05 Jenkinsfile [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 16 02:05 LICENSE [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 16 02:05 Makefile [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 16 02:05 OWNERS.md [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 16 02:05 README.md [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 02:01 VERSION [2023-02-16T02:09:43.843Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 02:05 bin [2023-02-16T02:09:43.843Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 02:05 cmd [2023-02-16T02:09:43.843Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 16 02:09 coverage.out [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 3376 Feb 16 02:05 go.mod [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 16 02:05 go.sum [2023-02-16T02:09:43.843Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 02:05 internal [2023-02-16T02:09:43.843Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 02:05 mock [2023-02-16T02:09:43.843Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 02:05 snap [2023-02-16T02:09:43.843Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 16 02:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T02:09:44.259Z] + 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=177799cf2688b55c26a37083868219c9d9c6ceb8 --label arch=arm64 --label version=0.0.0 . [2023-02-16T02:09:44.527Z] Sending build context to Docker daemon 3.294MB [2023-02-16T02:09:44.527Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T02:09:44.527Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-16T02:09:44.527Z] ---> 960ae6736b19 [2023-02-16T02:09:44.527Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-16T02:09:44.800Z] ---> Running in 7ac6e95887c6 [2023-02-16T02:09:45.068Z] Removing intermediate container 7ac6e95887c6 [2023-02-16T02:09:45.069Z] ---> 054b38ac461c [2023-02-16T02:09:45.069Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T02:09:45.069Z] ---> Running in 8bcfffbee46f [2023-02-16T02:09:45.651Z] Removing intermediate container 8bcfffbee46f [2023-02-16T02:09:45.651Z] ---> bf3a9b05e199 [2023-02-16T02:09:45.651Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-16T02:09:45.651Z] ---> Running in fea0edbb339f [2023-02-16T02:09:45.919Z] Removing intermediate container fea0edbb339f [2023-02-16T02:09:45.919Z] ---> a3e42c4c961b [2023-02-16T02:09:45.919Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T02:09:45.919Z] ---> Running in 01b538d9a29c [2023-02-16T02:09:46.187Z] Removing intermediate container 01b538d9a29c [2023-02-16T02:09:46.187Z] ---> e48f609fb612 [2023-02-16T02:09:46.187Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T02:09:46.187Z] ---> Running in e6096eae0bf7 [2023-02-16T02:09:47.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T02:09:47.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T02:09:48.572Z] OK: 226 MiB in 55 packages [2023-02-16T02:09:49.536Z] Removing intermediate container e6096eae0bf7 [2023-02-16T02:09:49.536Z] ---> f068e3f23985 [2023-02-16T02:09:49.536Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-16T02:09:49.536Z] ---> Running in 344669bbf671 [2023-02-16T02:09:49.805Z] Removing intermediate container 344669bbf671 [2023-02-16T02:09:49.805Z] ---> b9c245f7607a [2023-02-16T02:09:49.805Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-16T02:09:50.393Z] ---> fd6c0acf5330 [2023-02-16T02:09:50.393Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T02:09:50.659Z] ---> Running in 0c7c5dcfe430 [2023-02-16T02:09:53.257Z] Removing intermediate container 0c7c5dcfe430 [2023-02-16T02:09:53.257Z] ---> 86e302dc6084 [2023-02-16T02:09:53.257Z] Step 11/24 : COPY . . [2023-02-16T02:09:54.215Z] ---> f8c07119908e [2023-02-16T02:09:54.215Z] Step 12/24 : RUN $MAKE [2023-02-16T02:09:54.215Z] ---> Running in e1455ef96dc0 [2023-02-16T02:09:55.177Z] 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-16T02:12:01.887Z] Removing intermediate container e1455ef96dc0 [2023-02-16T02:12:01.887Z] ---> 5a82b6634d83 [2023-02-16T02:12:01.887Z] Step 13/24 : FROM alpine:3.16 [2023-02-16T02:12:01.887Z] 3.16: Pulling from library/alpine [2023-02-16T02:12:01.887Z] 3760b48202b3: Pulling fs layer [2023-02-16T02:12:01.887Z] 3760b48202b3: Download complete [2023-02-16T02:12:01.887Z] 3760b48202b3: Pull complete [2023-02-16T02:12:01.887Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-16T02:12:01.887Z] Status: Downloaded newer image for alpine:3.16 [2023-02-16T02:12:01.887Z] ---> 4c81e5bf8899 [2023-02-16T02:12:01.887Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-16T02:12:01.887Z] ---> Running in 7d6d3ada6d7a [2023-02-16T02:12:01.887Z] Removing intermediate container 7d6d3ada6d7a [2023-02-16T02:12:01.887Z] ---> 1991f057a4ec [2023-02-16T02:12:01.887Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-16T02:12:01.887Z] ---> Running in 56f6768c3da7 [2023-02-16T02:12:01.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T02:12:02.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T02:12:03.115Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-16T02:12:03.115Z] Executing busybox-1.35.0-r17.trigger [2023-02-16T02:12:03.115Z] OK: 5 MiB in 15 packages [2023-02-16T02:12:04.081Z] Removing intermediate container 56f6768c3da7 [2023-02-16T02:12:04.081Z] ---> 35a4bb7ed017 [2023-02-16T02:12:04.081Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-16T02:12:05.490Z] ---> f0044f0832e7 [2023-02-16T02:12:05.490Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-16T02:12:05.758Z] ---> 2654a978f1de [2023-02-16T02:12:05.758Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-16T02:12:06.341Z] ---> d5f01794c540 [2023-02-16T02:12:06.341Z] Step 19/24 : EXPOSE 59982 [2023-02-16T02:12:06.341Z] ---> Running in c5079d733397 [2023-02-16T02:12:06.618Z] Removing intermediate container c5079d733397 [2023-02-16T02:12:06.618Z] ---> 022d20376440 [2023-02-16T02:12:06.618Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-16T02:12:06.618Z] ---> Running in 1db985c7fc53 [2023-02-16T02:12:06.888Z] Removing intermediate container 1db985c7fc53 [2023-02-16T02:12:06.888Z] ---> bcec6e931aa8 [2023-02-16T02:12:06.888Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-16T02:12:07.154Z] ---> Running in e2a7677cdfc8 [2023-02-16T02:12:07.422Z] Removing intermediate container e2a7677cdfc8 [2023-02-16T02:12:07.422Z] ---> 67287b3a65be [2023-02-16T02:12:07.422Z] Step 22/24 : LABEL arch=arm64 [2023-02-16T02:12:07.422Z] ---> Running in 19942dcdaff0 [2023-02-16T02:12:07.689Z] Removing intermediate container 19942dcdaff0 [2023-02-16T02:12:07.689Z] ---> c1d3a53fa574 [2023-02-16T02:12:07.689Z] Step 23/24 : LABEL git_sha=177799cf2688b55c26a37083868219c9d9c6ceb8 [2023-02-16T02:12:07.689Z] ---> Running in 6766d164058a [2023-02-16T02:12:07.956Z] Removing intermediate container 6766d164058a [2023-02-16T02:12:07.956Z] ---> e5a6a66f7ca0 [2023-02-16T02:12:07.956Z] Step 24/24 : LABEL version=0.0.0 [2023-02-16T02:12:08.223Z] ---> Running in 83f48b1c3999 [2023-02-16T02:12:08.488Z] Removing intermediate container 83f48b1c3999 [2023-02-16T02:12:08.488Z] ---> c14d3546033e [2023-02-16T02:12:08.488Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-16T02:12:08.488Z] Successfully built c14d3546033e [2023-02-16T02:12:08.488Z] 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-16T02:12:09.291Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T02:12:09.291Z] [2023-02-16T02:12:09.291Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T02:12:09.690Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T02:12:09.690Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-16T02:12:09.690Z] 8998bd30e6a1: Pulling fs layer [2023-02-16T02:12:09.690Z] 04944245beec: Pulling fs layer [2023-02-16T02:12:09.690Z] 699f458cf7ca: Pulling fs layer [2023-02-16T02:12:09.690Z] 765212b225bb: Pulling fs layer [2023-02-16T02:12:09.690Z] f23df028b6ca: Pulling fs layer [2023-02-16T02:12:09.690Z] d65c8cfc05b1: Pulling fs layer [2023-02-16T02:12:09.690Z] 2437ff75d9bd: Pulling fs layer [2023-02-16T02:12:09.690Z] 765212b225bb: Waiting [2023-02-16T02:12:09.690Z] f23df028b6ca: Waiting [2023-02-16T02:12:09.690Z] 2437ff75d9bd: Waiting [2023-02-16T02:12:09.690Z] d65c8cfc05b1: Waiting [2023-02-16T02:12:09.960Z] 04944245beec: Verifying Checksum [2023-02-16T02:12:09.960Z] 04944245beec: Download complete [2023-02-16T02:12:09.960Z] 765212b225bb: Verifying Checksum [2023-02-16T02:12:09.960Z] 765212b225bb: Download complete [2023-02-16T02:12:09.960Z] f23df028b6ca: Verifying Checksum [2023-02-16T02:12:09.960Z] f23df028b6ca: Download complete [2023-02-16T02:12:10.231Z] d65c8cfc05b1: Verifying Checksum [2023-02-16T02:12:10.231Z] d65c8cfc05b1: Download complete [2023-02-16T02:12:10.231Z] 699f458cf7ca: Verifying Checksum [2023-02-16T02:12:10.231Z] 699f458cf7ca: Download complete [2023-02-16T02:12:10.499Z] 8998bd30e6a1: Verifying Checksum [2023-02-16T02:12:10.499Z] 8998bd30e6a1: Download complete [2023-02-16T02:12:13.085Z] 2437ff75d9bd: Verifying Checksum [2023-02-16T02:12:13.085Z] 2437ff75d9bd: Download complete [2023-02-16T02:12:14.045Z] 8998bd30e6a1: Pull complete [2023-02-16T02:12:14.629Z] 04944245beec: Pull complete [2023-02-16T02:12:16.039Z] 699f458cf7ca: Pull complete [2023-02-16T02:12:16.039Z] 765212b225bb: Pull complete [2023-02-16T02:12:18.626Z] f23df028b6ca: Pull complete [2023-02-16T02:12:18.626Z] d65c8cfc05b1: Pull complete [2023-02-16T02:12:33.629Z] 2437ff75d9bd: Pull complete [2023-02-16T02:12:33.629Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-16T02:12:33.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T02:12:33.629Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T02:12:33.953Z] prd-ubuntu20.04-docker-arm64-4c-16g-6237 does not seem to be running inside a container [2023-02-16T02:12:34.081Z] $ 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-16T02:12:36.754Z] $ docker top c0d5490f65ee53f9a7f2c877be488a405b372414ae469bba1a0847053d25149f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T02:12:37.364Z] ---> job-cost.sh [2023-02-16T02:12:37.640Z] lf-activate-venv: SKIPPING [2023-02-16T02:12:37.640Z] INFO: No Stack... [2023-02-16T02:12:38.236Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-16T02:12:39.209Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T02:12:39.882Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-02-16T02:12:39.882Z] + cut -d, -f6 [Pipeline] lock [2023-02-16T02:12:39.971Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-487-1-stack-cost] [2023-02-16T02:12:39.975Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-487-1-stack-cost] did not exist. Created. [2023-02-16T02:12:39.975Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-487-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T02:12:40.701Z] /w/workspace/device-mqtt-go/1@tmp/durable-5ba11054/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-16T02:12:41.371Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-16T02:12:41.408Z] Warning: overwriting stash ‘stack-cost’ [2023-02-16T02:12:41.450Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T02:12:41.465Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-487-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T02:12:41.549Z] $ docker stop --time=1 c0d5490f65ee53f9a7f2c877be488a405b372414ae469bba1a0847053d25149f [2023-02-16T02:12:44.364Z] $ docker rm -f --volumes c0d5490f65ee53f9a7f2c877be488a405b372414ae469bba1a0847053d25149f [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-16T02:12:45.395Z] provisioning config files... [2023-02-16T02:12:45.403Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-487@tmp/config13162910630386482864tmp [Pipeline] { [Pipeline] sh [2023-02-16T02:12:45.738Z] + set +x [2023-02-16T02:12:45.738Z] + curl -s https://codecov.io/bash [2023-02-16T02:12:45.738Z] + bash -s -- [2023-02-16T02:12:45.738Z] [2023-02-16T02:12:45.738Z] _____ _ [2023-02-16T02:12:45.738Z] / ____| | | [2023-02-16T02:12:45.738Z] | | ___ __| | ___ ___ _____ __ [2023-02-16T02:12:45.738Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-16T02:12:45.738Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-16T02:12:45.738Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-16T02:12:45.738Z] Bash-1.0.6 [2023-02-16T02:12:45.738Z] [2023-02-16T02:12:45.738Z] [2023-02-16T02:12:45.738Z] ==> git version 2.25.1 found [2023-02-16T02:12:45.738Z] ==> 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-16T02:12:45.738Z] Release-Date: 2020-01-08 [2023-02-16T02:12:45.738Z] 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-16T02:12:45.738Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-16T02:12:45.738Z] ==> Jenkins CI detected. [2023-02-16T02:12:45.738Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-487 [2023-02-16T02:12:45.738Z] project root: . [2023-02-16T02:12:45.738Z] --> token set from env [2023-02-16T02:12:45.738Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-16T02:12:45.997Z] ==> Running gcov in . (disable via -X gcov) [2023-02-16T02:12:45.997Z] ==> Python coveragepy not found [2023-02-16T02:12:45.997Z] ==> Searching for coverage reports in: [2023-02-16T02:12:45.997Z] + . [2023-02-16T02:12:45.997Z] -> Found 1 reports [2023-02-16T02:12:45.997Z] ==> Detecting git/mercurial file structure [2023-02-16T02:12:45.997Z] ==> Reading reports [2023-02-16T02:12:45.997Z] + ./coverage.out bytes=17887 [2023-02-16T02:12:45.997Z] ==> Appending adjustments [2023-02-16T02:12:45.997Z] https://docs.codecov.io/docs/fixing-reports [2023-02-16T02:12:45.997Z] + Found adjustments [2023-02-16T02:12:45.997Z] ==> Gzipping contents [2023-02-16T02:12:45.997Z] 4.0K /tmp/codecov.pl2qm3.gz [2023-02-16T02:12:45.997Z] ==> Uploading reports [2023-02-16T02:12:45.997Z] url: https://codecov.io [2023-02-16T02:12:45.997Z] query: branch=PR-487&commit=177799cf2688b55c26a37083868219c9d9c6ceb8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-487%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=487&job=&cmd_args= [2023-02-16T02:12:45.997Z] -> Pinging Codecov [2023-02-16T02:12:45.997Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-487&commit=177799cf2688b55c26a37083868219c9d9c6ceb8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-487%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=487&job=&cmd_args= [2023-02-16T02:12:46.258Z] -> Uploading to [2023-02-16T02:12:46.258Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-16/7D719EC7BBE17E464838252E33014C33/177799cf2688b55c26a37083868219c9d9c6ceb8/39e0a25e-5370-4566-8811-e56f14073d46.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230216T021245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f54a90cb587af0bd7b3bbf88eaaf7c48150d49da3b49617afe58b36672c3c3f5 [2023-02-16T02:12:46.258Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T02:12:46.258Z] Dload Upload Total Spent Left Speed [2023-02-16T02:12:46.516Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3171 0 0 100 3171 0 11788 --:--:-- --:--:-- --:--:-- 11788 [2023-02-16T02:12:46.516Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/177799cf2688b55c26a37083868219c9d9c6ceb8 [Pipeline] } [2023-02-16T02:12:46.544Z] 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-16T02:12:48.264Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-487/archives ] [2023-02-16T02:12:48.264Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-487/archives [2023-02-16T02:12:48.264Z] total 16 [2023-02-16T02:12:48.264Z] drwxr-xr-x 3 root root 4096 Feb 16 02:03 . [2023-02-16T02:12:48.264Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 16 02:03 .. [2023-02-16T02:12:48.264Z] drwxr-xr-x 2 root root 4096 Feb 16 02:03 cost [2023-02-16T02:12:48.264Z] -rw-r--r-- 1 root root 86 Feb 16 02:03 cost.csv [2023-02-16T02:12:48.264Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-487/archives [2023-02-16T02:12:48.264Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-487/archives [2023-02-16T02:12:48.264Z] total 16 [2023-02-16T02:12:48.264Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 02:03 . [2023-02-16T02:12:48.264Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 16 02:03 .. [2023-02-16T02:12:48.264Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 02:03 cost [2023-02-16T02:12:48.264Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 16 02:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-16T02:12:48.590Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T02:12:49.474Z] ---> package-listing.sh [2023-02-16T02:12:49.474Z] ++ facter osfamily [2023-02-16T02:12:49.474Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-16T02:12:49.734Z] + OS_FAMILY=debian [2023-02-16T02:12:49.734Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-487 [2023-02-16T02:12:49.734Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-16T02:12:49.734Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-16T02:12:49.734Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-16T02:12:49.734Z] + PACKAGES=/tmp/packages_start.txt [2023-02-16T02:12:49.734Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-487 ']' [2023-02-16T02:12:49.734Z] + PACKAGES=/tmp/packages_end.txt [2023-02-16T02:12:49.734Z] + case "${OS_FAMILY}" in [2023-02-16T02:12:49.734Z] + dpkg -l [2023-02-16T02:12:49.734Z] + grep '^ii' [2023-02-16T02:12:49.734Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-16T02:12:49.734Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-16T02:12:49.734Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-16T02:12:49.734Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-487 ']' [2023-02-16T02:12:49.734Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-487/archives/ [2023-02-16T02:12:49.734Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-487/archives/ [Pipeline] echo [2023-02-16T02:12:49.764Z] 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-487/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-16T02:12:50.054Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T02:12:50.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T02:12:50.673Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T02:12:50.815Z] prd-ubuntu20.04-docker-8c-8g-6235 does not seem to be running inside a container [2023-02-16T02:12:50.842Z] $ 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-487/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-487 -v /w/workspace/gexfoundry_device-mqtt-go_PR-487:/w/workspace/gexfoundry_device-mqtt-go_PR-487:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-487@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-487@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-16T02:12:51.700Z] $ docker top 66145a87bea06fc02ad5b7305835f735cd68234c8421fb13cefcc287ff939a38 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T02:12:52.189Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-16T02:12:52.493Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-16T02:12:52.795Z] + ls /var/log/sa-host [2023-02-16T02:12:52.796Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T02:12:53.011Z] provisioning config files... [2023-02-16T02:12:53.019Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-487@tmp/config13915209530882843628tmp [Pipeline] { [Pipeline] echo [2023-02-16T02:12:53.071Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T02:12:53.383Z] ---> create-netrc.sh [Pipeline] } [2023-02-16T02:12:53.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-16T02:12:53.802Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-16T02:12:53.836Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T02:12:54.149Z] ---> sudo-logs.sh [2023-02-16T02:12:54.149Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-16T02:12:54.246Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T02:12:54.560Z] ---> job-cost.sh [2023-02-16T02:12:54.560Z] lf-activate-venv: SKIPPING [2023-02-16T02:12:54.560Z] DEBUG: total: 0.2199999988079071 [2023-02-16T02:12:54.560Z] INFO: Retrieving Stack Cost... [2023-02-16T02:12:54.819Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T02:12:55.389Z] INFO: Archiving Costs [Pipeline] echo [2023-02-16T02:12:55.425Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T02:12:55.740Z] ---> logs-deploy.sh [2023-02-16T02:12:55.740Z] lf-activate-venv: SKIPPING [2023-02-16T02:12:55.740Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-487/1 [2023-02-16T02:12:55.740Z] INFO: archiving workspace using pattern(s): [2023-02-16T02:12:56.681Z] Archives upload complete. [2023-02-16T02:12:56.681Z] INFO: archiving logs to Nexus