Pull request #463 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc+bc7652beee9a90296fe0b57947c4589a421f5e02 (d9ed95192ecfdf4338d0c41264b88dbcbe25ed8f) 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-ssh9641041158355954063.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-ssh2389618483109769648.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-463/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-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17961735936317316106.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-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6792987765583972206.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-ssh10580112717350403718.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-463/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-463/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18199659851939222800.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-3054’ Running on prd-ubuntu20.04-docker-8c-8g-3056 in /w/workspace/gexfoundry_device-mqtt-go_PR-463 [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-463 # 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 f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc > 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/463/head:refs/remotes/origin/PR-463 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc # timeout=10 Merge succeeded, producing f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc Checking out Revision f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc (PR-463) > 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 f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc # timeout=10 Commit message: "build(deps): bump device-sdk-go and go-mod dependencies" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-19T02:44:58.462Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-19T02:44:58.628Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-19T02:44:58.723Z] ========================================================= [2023-01-19T02:44:58.723Z] EdgeX Global Pipelines Version Info [2023-01-19T02:44:58.723Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:44:59.501Z] ------------------- [2023-01-19T02:44:59.501Z] stable info: [2023-01-19T02:44:59.501Z] ------------------- [2023-01-19T02:44:59.501Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-19T02:44:59.501Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T02:44:59.501Z] Message: update stable to v1.0.244 [2023-01-19T02:45:00.074Z] ------------------- [2023-01-19T02:45:00.074Z] experimental info: [2023-01-19T02:45:00.074Z] ------------------- [2023-01-19T02:45:00.074Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-19T02:45:00.074Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T02:45:00.074Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-19T02:45:00.425Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-19T02:45:00.472Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-19T02:45:00.517Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-19T02:45:00.558Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-19T02:45:00.602Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-19T02:45:00.648Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-19T02:45:00.692Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-19T02:45:00.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-19T02:45:00.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-19T02:45:00.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-19T02:45:00.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-19T02:45:00.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-19T02:45:00.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-19T02:45:01.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-19T02:45:01.049Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-19T02:45:01.090Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-19T02:45:01.127Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T02:45:01.163Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T02:45:01.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-19T02:45:01.239Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-19T02:45:01.283Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-19T02:45:01.320Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-19T02:45:01.358Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-19T02:45:01.393Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-19T02:45:01.431Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-19T02:45:01.478Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-19T02:45:01.530Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-19T02:45:01.572Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-463 [Pipeline] echo [2023-01-19T02:45:01.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-463 [Pipeline] echo [2023-01-19T02:45:01.656Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-463 [Pipeline] echo [2023-01-19T02:45:01.700Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc [Pipeline] echo [2023-01-19T02:45:01.738Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f70f07b [Pipeline] echo [2023-01-19T02:45:01.785Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T02:45:01.895Z] provisioning config files... [2023-01-19T02:45:01.919Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-463@tmp/config1102574284374119894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:45:02.262Z] ---> docker-login.sh [2023-01-19T02:45:02.262Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:45:02.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:45:02.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:45:02.521Z] Configure a credential helper to remove this warning. See [2023-01-19T02:45:02.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:45:02.521Z] [2023-01-19T02:45:02.521Z] Login Succeeded [2023-01-19T02:45:02.521Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:45:02.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:45:02.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:45:02.790Z] Configure a credential helper to remove this warning. See [2023-01-19T02:45:02.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:45:02.790Z] [2023-01-19T02:45:02.790Z] Login Succeeded [2023-01-19T02:45:02.790Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:45:02.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:45:02.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:45:02.790Z] Configure a credential helper to remove this warning. See [2023-01-19T02:45:02.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:45:02.790Z] [2023-01-19T02:45:02.790Z] Login Succeeded [2023-01-19T02:45:02.790Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:45:02.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:45:03.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:45:03.049Z] Configure a credential helper to remove this warning. See [2023-01-19T02:45:03.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:45:03.049Z] [2023-01-19T02:45:03.049Z] Login Succeeded [2023-01-19T02:45:03.049Z] docker.io [2023-01-19T02:45:03.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:45:03.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:45:03.621Z] Configure a credential helper to remove this warning. See [2023-01-19T02:45:03.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:45:03.621Z] [2023-01-19T02:45:03.621Z] Login Succeeded [2023-01-19T02:45:03.621Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:45:03.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-19T02:45:04.284Z] + git rev-list -1 --merges f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc~1..f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc [Pipeline] echo [2023-01-19T02:45:04.348Z] -----------> git rev-list -1 --merges f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc~1..f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc [false] [Pipeline] sh [2023-01-19T02:45:04.667Z] + git log --format=format:%s -1 f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc [Pipeline] echo [2023-01-19T02:45:04.699Z] ========================================================= [2023-01-19T02:45:04.699Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-19T02:45:04.699Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T02:45:05.130Z] + git log --format=format:%s -1 f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc [Pipeline] echo [2023-01-19T02:45:05.164Z] [semverPrep] GIT_COMMIT: f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc, Commit Message: build(deps): bump device-sdk-go and go-mod dependencies [Pipeline] echo [2023-01-19T02:45:05.194Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-19T02:45:05.557Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-19T02:45:05.557Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-19T02:45:05.557Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-19T02:45:05.557Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-19T02:45:05.557Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-19T02:45:05.557Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-19T02:45:05.557Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:45:05.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:45:05.967Z] [2023-01-19T02:45:05.967Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:45:06.543Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:45:06.543Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-19T02:45:06.543Z] b85a868b505f: Pulling fs layer [2023-01-19T02:45:06.543Z] e2be974225ed: Pulling fs layer [2023-01-19T02:45:06.543Z] 339a4e72a1f5: Pulling fs layer [2023-01-19T02:45:06.543Z] 988bab9f4d93: Pulling fs layer [2023-01-19T02:45:06.543Z] 1469e6f7b9e6: Pulling fs layer [2023-01-19T02:45:06.543Z] eaf3925da568: Pulling fs layer [2023-01-19T02:45:06.543Z] bab4dde63d76: Pulling fs layer [2023-01-19T02:45:06.543Z] bde34c3a00c8: Pulling fs layer [2023-01-19T02:45:06.543Z] b352a97aabf1: Pulling fs layer [2023-01-19T02:45:06.543Z] 988bab9f4d93: Waiting [2023-01-19T02:45:06.543Z] 4872d77fe225: Pulling fs layer [2023-01-19T02:45:06.543Z] 5851b861e8e6: Pulling fs layer [2023-01-19T02:45:06.543Z] 1469e6f7b9e6: Waiting [2023-01-19T02:45:06.543Z] 5851b861e8e6: Waiting [2023-01-19T02:45:06.543Z] bde34c3a00c8: Waiting [2023-01-19T02:45:06.543Z] b352a97aabf1: Waiting [2023-01-19T02:45:06.543Z] 4872d77fe225: Waiting [2023-01-19T02:45:06.543Z] eaf3925da568: Waiting [2023-01-19T02:45:06.543Z] bab4dde63d76: Waiting [2023-01-19T02:45:06.543Z] 988bab9f4d93: Verifying Checksum [2023-01-19T02:45:06.543Z] 988bab9f4d93: Download complete [2023-01-19T02:45:06.813Z] 1469e6f7b9e6: Verifying Checksum [2023-01-19T02:45:06.813Z] 1469e6f7b9e6: Download complete [2023-01-19T02:45:06.813Z] eaf3925da568: Download complete [2023-01-19T02:45:06.813Z] 339a4e72a1f5: Verifying Checksum [2023-01-19T02:45:06.813Z] 339a4e72a1f5: Download complete [2023-01-19T02:45:06.813Z] bde34c3a00c8: Verifying Checksum [2023-01-19T02:45:06.813Z] bde34c3a00c8: Download complete [2023-01-19T02:45:07.077Z] b352a97aabf1: Verifying Checksum [2023-01-19T02:45:07.077Z] b352a97aabf1: Download complete [2023-01-19T02:45:07.077Z] 4872d77fe225: Verifying Checksum [2023-01-19T02:45:07.077Z] 4872d77fe225: Download complete [2023-01-19T02:45:07.077Z] 5851b861e8e6: Verifying Checksum [2023-01-19T02:45:07.077Z] 5851b861e8e6: Download complete [2023-01-19T02:45:07.077Z] b85a868b505f: Verifying Checksum [2023-01-19T02:45:07.077Z] b85a868b505f: Download complete [2023-01-19T02:45:07.336Z] bab4dde63d76: Verifying Checksum [2023-01-19T02:45:07.336Z] bab4dde63d76: Download complete [2023-01-19T02:45:08.273Z] b85a868b505f: Pull complete [2023-01-19T02:45:08.273Z] e2be974225ed: Pull complete [2023-01-19T02:45:08.841Z] 339a4e72a1f5: Pull complete [2023-01-19T02:45:08.841Z] 988bab9f4d93: Pull complete [2023-01-19T02:45:09.100Z] 1469e6f7b9e6: Pull complete [2023-01-19T02:45:09.359Z] eaf3925da568: Pull complete [2023-01-19T02:45:10.797Z] bab4dde63d76: Pull complete [2023-01-19T02:45:11.058Z] bde34c3a00c8: Pull complete [2023-01-19T02:45:11.058Z] b352a97aabf1: Pull complete [2023-01-19T02:45:11.318Z] 4872d77fe225: Pull complete [2023-01-19T02:45:11.318Z] 5851b861e8e6: Pull complete [2023-01-19T02:45:11.318Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-19T02:45:11.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:45:11.319Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:45:11.547Z] prd-ubuntu20.04-docker-8c-8g-3056 does not seem to be running inside a container [2023-01-19T02:45:11.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-463 -v /w/workspace/gexfoundry_device-mqtt-go_PR-463:/w/workspace/gexfoundry_device-mqtt-go_PR-463:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-463@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-463@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-devops/py-git-semver:0.1.4 cat [2023-01-19T02:45:13.807Z] $ docker top 47182dad305aee1450350c879b9d614bdb26b477a37cf476e6ccde8986fd2d68 -eo pid,comm [2023-01-19T02:45:13.863Z] 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-01-19T02:45:13.863Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-19T02:45:13.981Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T02:45:13.981Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T02:45:14.107Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T02:45:14.113Z] $ docker exec 47182dad305aee1450350c879b9d614bdb26b477a37cf476e6ccde8986fd2d68 ssh-agent [2023-01-19T02:45:14.215Z] SSH_AUTH_SOCK=/tmp/ssh-j5TiXKVCJ5j3/agent.32 [2023-01-19T02:45:14.215Z] SSH_AGENT_PID=38 [2023-01-19T02:45:14.228Z] Running ssh-add (command line suppressed) [2023-01-19T02:45:14.331Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-463@tmp/private_key_16515615249294887789.key (/w/workspace/gexfoundry_device-mqtt-go_PR-463@tmp/private_key_16515615249294887789.key) [2023-01-19T02:45:14.341Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T02:45:14.672Z] + git tag --points-at HEAD [Pipeline] } [2023-01-19T02:45:14.701Z] $ docker exec --env ******** --env ******** 47182dad305aee1450350c879b9d614bdb26b477a37cf476e6ccde8986fd2d68 ssh-agent -k [2023-01-19T02:45:14.806Z] unset SSH_AUTH_SOCK; [2023-01-19T02:45:14.807Z] unset SSH_AGENT_PID; [2023-01-19T02:45:14.807Z] echo Agent pid 38 killed; [2023-01-19T02:45:14.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-19T02:45:14.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T02:45:14.897Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T02:45:15.007Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T02:45:15.013Z] $ docker exec 47182dad305aee1450350c879b9d614bdb26b477a37cf476e6ccde8986fd2d68 ssh-agent [2023-01-19T02:45:15.122Z] SSH_AUTH_SOCK=/tmp/ssh-dpGBpfxOgwIy/agent.70 [2023-01-19T02:45:15.122Z] SSH_AGENT_PID=76 [2023-01-19T02:45:15.127Z] Running ssh-add (command line suppressed) [2023-01-19T02:45:15.237Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-463@tmp/private_key_6882693718528808636.key (/w/workspace/gexfoundry_device-mqtt-go_PR-463@tmp/private_key_6882693718528808636.key) [2023-01-19T02:45:15.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T02:45:15.581Z] + git semver init [2023-01-19T02:45:15.841Z] 2023-01-19 02:45:15,759 [run_init] DEBUG init version:0.0.0 force:False [2023-01-19T02:45:15.841Z] 2023-01-19 02:45:15,760 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-463/.semver [2023-01-19T02:45:15.841Z] 2023-01-19 02:45:15,760 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-463/.semver [2023-01-19T02:45:15.841Z] 2023-01-19 02:45:15,760 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-463/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-463, universal_newlines=False, shell=None, istream=None) [2023-01-19T02:45:16.778Z] 2023-01-19 02:45:16,623 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-463/.git/info/exclude [2023-01-19T02:45:16.778Z] 2023-01-19 02:45:16,623 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-463/.semver/PR-463 with force:False [2023-01-19T02:45:16.778Z] 2023-01-19 02:45:16,623 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-463/.semver/PR-463 [2023-01-19T02:45:16.778Z] 2023-01-19 02:45:16,628 [execute] INFO git cat-file --batch-check [2023-01-19T02:45:16.778Z] 2023-01-19 02:45:16,629 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-463/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T02:45:16.778Z] 2023-01-19 02:45:16,635 [execute] INFO git cat-file --batch [2023-01-19T02:45:16.778Z] 2023-01-19 02:45:16,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-463/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T02:45:16.778Z] 2023-01-19 02:45:16,640 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-463/.semver/PR-463 [2023-01-19T02:45:16.778Z] 0.0.0 [Pipeline] } [2023-01-19T02:45:16.806Z] $ docker exec --env ******** --env ******** 47182dad305aee1450350c879b9d614bdb26b477a37cf476e6ccde8986fd2d68 ssh-agent -k [2023-01-19T02:45:16.921Z] unset SSH_AUTH_SOCK; [2023-01-19T02:45:16.922Z] unset SSH_AGENT_PID; [2023-01-19T02:45:16.922Z] echo Agent pid 76 killed; [2023-01-19T02:45:16.928Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-19T02:45:17.402Z] + git semver [Pipeline] } [2023-01-19T02:45:17.689Z] $ docker stop --time=1 47182dad305aee1450350c879b9d614bdb26b477a37cf476e6ccde8986fd2d68 [2023-01-19T02:45:19.038Z] $ docker rm -f --volumes 47182dad305aee1450350c879b9d614bdb26b477a37cf476e6ccde8986fd2d68 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T02:45:19.424Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-19T02:45:19.687Z] Stashed 1 file(s) [Pipeline] echo [2023-01-19T02:45:19.704Z] [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-01-19T02:45:20.267Z] provisioning config files... [2023-01-19T02:45:20.276Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-463@tmp/config7518230853933551414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:45:20.610Z] ---> docker-login.sh [2023-01-19T02:45:20.610Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:45:20.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:45:20.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:45:20.610Z] Configure a credential helper to remove this warning. See [2023-01-19T02:45:20.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:45:20.610Z] [2023-01-19T02:45:20.610Z] Login Succeeded [2023-01-19T02:45:20.610Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:45:20.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:45:20.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:45:20.610Z] Configure a credential helper to remove this warning. See [2023-01-19T02:45:20.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:45:20.610Z] [2023-01-19T02:45:20.610Z] Login Succeeded [2023-01-19T02:45:20.610Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:45:20.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:45:20.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:45:20.869Z] Configure a credential helper to remove this warning. See [2023-01-19T02:45:20.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:45:20.869Z] [2023-01-19T02:45:20.869Z] Login Succeeded [2023-01-19T02:45:20.869Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:45:20.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:45:20.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:45:20.869Z] Configure a credential helper to remove this warning. See [2023-01-19T02:45:20.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:45:20.869Z] [2023-01-19T02:45:20.869Z] Login Succeeded [2023-01-19T02:45:20.869Z] docker.io [2023-01-19T02:45:21.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:45:21.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:45:21.127Z] Configure a credential helper to remove this warning. See [2023-01-19T02:45:21.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:45:21.127Z] [2023-01-19T02:45:21.127Z] Login Succeeded [2023-01-19T02:45:21.127Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:45:21.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T02:45:21.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:45:21.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:45:21.413Z] ========================================================= [2023-01-19T02:45:21.413Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-19T02:45:21.413Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:45:21.923Z] + 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-01-19T02:45:21.923Z] Sending build context to Docker daemon 6.368MB [2023-01-19T02:45:21.923Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:45:21.923Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-19T02:45:21.923Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-19T02:45:21.923Z] 213ec9aee27d: Pulling fs layer [2023-01-19T02:45:21.923Z] 4583459ba037: Pulling fs layer [2023-01-19T02:45:21.923Z] 93c1e223e6f2: Pulling fs layer [2023-01-19T02:45:21.923Z] 53926ce57604: Pulling fs layer [2023-01-19T02:45:21.923Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-19T02:45:21.923Z] 22ff95d597cd: Pulling fs layer [2023-01-19T02:45:21.923Z] 12d6caf4c0d1: Pulling fs layer [2023-01-19T02:45:21.923Z] 96b7cbca73a9: Pulling fs layer [2023-01-19T02:45:21.923Z] a7acece74701: Pulling fs layer [2023-01-19T02:45:21.923Z] 21b2b0c7a3f4: Waiting [2023-01-19T02:45:21.923Z] 22ff95d597cd: Waiting [2023-01-19T02:45:21.923Z] 12d6caf4c0d1: Waiting [2023-01-19T02:45:21.923Z] 96b7cbca73a9: Waiting [2023-01-19T02:45:21.923Z] a7acece74701: Waiting [2023-01-19T02:45:21.923Z] 53926ce57604: Waiting [2023-01-19T02:45:22.181Z] 93c1e223e6f2: Download complete [2023-01-19T02:45:22.181Z] 4583459ba037: Download complete [2023-01-19T02:45:22.181Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-19T02:45:22.181Z] 21b2b0c7a3f4: Download complete [2023-01-19T02:45:22.181Z] 22ff95d597cd: Verifying Checksum [2023-01-19T02:45:22.181Z] 22ff95d597cd: Download complete [2023-01-19T02:45:22.181Z] 213ec9aee27d: Verifying Checksum [2023-01-19T02:45:22.181Z] 213ec9aee27d: Download complete [2023-01-19T02:45:22.440Z] 213ec9aee27d: Pull complete [2023-01-19T02:45:22.440Z] 12d6caf4c0d1: Verifying Checksum [2023-01-19T02:45:22.440Z] 12d6caf4c0d1: Download complete [2023-01-19T02:45:22.440Z] 4583459ba037: Pull complete [2023-01-19T02:45:22.714Z] 93c1e223e6f2: Pull complete [2023-01-19T02:45:24.857Z] a7acece74701: Verifying Checksum [2023-01-19T02:45:24.857Z] a7acece74701: Download complete [2023-01-19T02:45:24.857Z] 96b7cbca73a9: Verifying Checksum [2023-01-19T02:45:24.857Z] 96b7cbca73a9: Download complete [2023-01-19T02:45:24.857Z] 53926ce57604: Verifying Checksum [2023-01-19T02:45:24.857Z] 53926ce57604: Download complete [2023-01-19T02:45:29.038Z] 53926ce57604: Pull complete [2023-01-19T02:45:29.038Z] 21b2b0c7a3f4: Pull complete [2023-01-19T02:45:29.038Z] 22ff95d597cd: Pull complete [2023-01-19T02:45:29.038Z] 12d6caf4c0d1: Pull complete [2023-01-19T02:45:30.939Z] 96b7cbca73a9: Pull complete [2023-01-19T02:45:31.504Z] a7acece74701: Pull complete [2023-01-19T02:45:31.504Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-19T02:45:31.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-19T02:45:31.504Z] ---> db6d94c90886 [2023-01-19T02:45:31.504Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:45:34.792Z] ---> Running in f639fc96990e [2023-01-19T02:45:34.792Z] Removing intermediate container f639fc96990e [2023-01-19T02:45:34.792Z] ---> d0d04b0aab0b [2023-01-19T02:45:34.792Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:45:35.050Z] ---> Running in d709a32cecaf [2023-01-19T02:45:35.050Z] Removing intermediate container d709a32cecaf [2023-01-19T02:45:35.050Z] ---> dea0d0415f01 [2023-01-19T02:45:35.050Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-19T02:45:35.050Z] ---> Running in a8518bb0c42b [2023-01-19T02:45:35.050Z] Removing intermediate container a8518bb0c42b [2023-01-19T02:45:35.050Z] ---> df4c816d1db7 [2023-01-19T02:45:35.050Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:45:35.050Z] ---> Running in 0fe9db9f52ff [2023-01-19T02:45:35.112Z] Still waiting to schedule task [2023-01-19T02:45:35.112Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3055’ [2023-01-19T02:45:35.308Z] Removing intermediate container 0fe9db9f52ff [2023-01-19T02:45:35.308Z] ---> d00e20b6fff9 [2023-01-19T02:45:35.308Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:45:35.308Z] ---> Running in c2801cace471 [2023-01-19T02:45:35.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:45:35.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:45:36.091Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-19T02:45:36.091Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-19T02:45:36.091Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-19T02:45:36.091Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-19T02:45:36.091Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T02:45:36.091Z] OK: 216 MiB in 55 packages [2023-01-19T02:45:36.675Z] Removing intermediate container c2801cace471 [2023-01-19T02:45:36.675Z] ---> 77678f4039ea [2023-01-19T02:45:36.675Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-19T02:45:36.675Z] ---> Running in 7c048e54c645 [2023-01-19T02:45:36.675Z] Removing intermediate container 7c048e54c645 [2023-01-19T02:45:36.675Z] ---> 71977069f15f [2023-01-19T02:45:36.675Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-19T02:45:36.675Z] ---> 7d47e08cd47b [2023-01-19T02:45:36.675Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:45:36.934Z] ---> Running in a570ccae9d22 [2023-01-19T02:46:09.023Z] Removing intermediate container a570ccae9d22 [2023-01-19T02:46:09.023Z] ---> 219272b482d7 [2023-01-19T02:46:09.023Z] Step 11/12 : COPY . . [2023-01-19T02:46:09.023Z] ---> 1da2712d277f [2023-01-19T02:46:09.023Z] Step 12/12 : RUN $MAKE [2023-01-19T02:46:09.023Z] ---> Running in 432bf78c3a80 [2023-01-19T02:46:09.023Z] noop [2023-01-19T02:46:09.023Z] Removing intermediate container 432bf78c3a80 [2023-01-19T02:46:09.023Z] ---> d90e2c42304d [2023-01-19T02:46:09.023Z] Successfully built d90e2c42304d [2023-01-19T02:46:09.023Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:46:09.490Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T02:46:09.490Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:46:09.648Z] prd-ubuntu20.04-docker-8c-8g-3056 does not seem to be running inside a container [2023-01-19T02:46:09.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-463 -v /w/workspace/gexfoundry_device-mqtt-go_PR-463:/w/workspace/gexfoundry_device-mqtt-go_PR-463:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-463@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-463@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-19T02:46:10.068Z] $ docker top 1d67edfa0ab86c98cc3cc33938ac7fe859f4c42bd0c02bea527c0b441a1ed54c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:46:10.459Z] + go version [2023-01-19T02:46:10.459Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-19T02:46:10.491Z] $ docker stop --time=1 1d67edfa0ab86c98cc3cc33938ac7fe859f4c42bd0c02bea527c0b441a1ed54c [2023-01-19T02:46:11.804Z] $ docker rm -f --volumes 1d67edfa0ab86c98cc3cc33938ac7fe859f4c42bd0c02bea527c0b441a1ed54c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:46:12.487Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T02:46:12.487Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:46:12.639Z] prd-ubuntu20.04-docker-8c-8g-3056 does not seem to be running inside a container [2023-01-19T02:46:12.672Z] $ 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-463 -v /w/workspace/gexfoundry_device-mqtt-go_PR-463:/w/workspace/gexfoundry_device-mqtt-go_PR-463:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-463@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-463@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-19T02:46:13.010Z] $ docker top 0c4ba8efde9af6632a380da92de70ff3fa8110f1040533f82b5125adcb98cfe6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:46:13.395Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-463 [Pipeline] fileExists [Pipeline] sh [2023-01-19T02:46:13.744Z] + make test [2023-01-19T02:46:13.744Z] go test ./... -coverprofile=coverage.out ./... [2023-01-19T02:46:14.001Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-19T02:46:23.962Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-19T02:46:23.962Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2023-01-19T02:46:23.962Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-19T02:46:32.066Z] 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-01-19T02:46:32.066Z] go vet ./... [2023-01-19T02:46:34.589Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T02:46:34.589Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T02:46:34.589Z] ./bin/test-attribution-txt.sh [2023-01-19T02:46:34.589Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-19T02:46:34.589Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-19T02:46:34.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T02:46:34.672Z] $ docker stop --time=1 0c4ba8efde9af6632a380da92de70ff3fa8110f1040533f82b5125adcb98cfe6 [2023-01-19T02:46:36.817Z] $ docker rm -f --volumes 0c4ba8efde9af6632a380da92de70ff3fa8110f1040533f82b5125adcb98cfe6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T02:46:37.326Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T02:46:37.407Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-19T02:46:37.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T02:46:38.288Z] + ls -al . [2023-01-19T02:46:38.288Z] total 184 [2023-01-19T02:46:38.288Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:46 . [2023-01-19T02:46:38.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:44 .. [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 02:44 .dockerignore [2023-01-19T02:46:38.288Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:46 .git [2023-01-19T02:46:38.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:44 .github [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 19 02:44 .gitignore [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:44 .golangci.yml [2023-01-19T02:46:38.288Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:45 .semver [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 19 02:44 Attribution.txt [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 19 02:44 CHANGELOG.md [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 19 02:44 Dockerfile [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:44 GOVERNANCE.md [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 19 02:44 Jenkinsfile [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:44 LICENSE [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 19 02:44 Makefile [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 02:44 OWNERS.md [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 19 02:44 README.md [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:45 VERSION [2023-01-19T02:46:38.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:44 bin [2023-01-19T02:46:38.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:44 cmd [2023-01-19T02:46:38.288Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 19 02:46 coverage.out [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 3430 Jan 19 02:44 go.mod [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 34856 Jan 19 02:44 go.sum [2023-01-19T02:46:38.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:44 internal [2023-01-19T02:46:38.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:44 mock [2023-01-19T02:46:38.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:44 snap [2023-01-19T02:46:38.288Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 19 02:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:46:38.711Z] + 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=f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc --label arch=amd64 --label version=0.0.0 . [2023-01-19T02:46:38.711Z] Sending build context to Docker daemon 6.386MB [2023-01-19T02:46:38.711Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:46:38.711Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-19T02:46:38.711Z] ---> d90e2c42304d [2023-01-19T02:46:38.711Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:46:38.971Z] ---> Running in 0b80eab7658e [2023-01-19T02:46:38.971Z] Removing intermediate container 0b80eab7658e [2023-01-19T02:46:38.971Z] ---> 7edf996ffd8c [2023-01-19T02:46:38.971Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:46:38.971Z] ---> Running in 6545c0991d04 [2023-01-19T02:46:38.971Z] Removing intermediate container 6545c0991d04 [2023-01-19T02:46:38.971Z] ---> 46237cc10b8d [2023-01-19T02:46:38.971Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-19T02:46:38.971Z] ---> Running in 5595ee574fdf [2023-01-19T02:46:39.229Z] Removing intermediate container 5595ee574fdf [2023-01-19T02:46:39.229Z] ---> bf6c44f903f6 [2023-01-19T02:46:39.229Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:46:39.229Z] ---> Running in 48bbed8da2c1 [2023-01-19T02:46:39.229Z] Removing intermediate container 48bbed8da2c1 [2023-01-19T02:46:39.229Z] ---> 9c8ff8ba8e3a [2023-01-19T02:46:39.229Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:46:39.229Z] ---> Running in 236cffc93c28 [2023-01-19T02:46:39.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:46:39.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:46:39.746Z] OK: 216 MiB in 55 packages [2023-01-19T02:46:40.322Z] Removing intermediate container 236cffc93c28 [2023-01-19T02:46:40.322Z] ---> dee8589ca3ed [2023-01-19T02:46:40.322Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-19T02:46:40.322Z] ---> Running in fb39f195fb45 [2023-01-19T02:46:40.322Z] Removing intermediate container fb39f195fb45 [2023-01-19T02:46:40.322Z] ---> 37f332912293 [2023-01-19T02:46:40.322Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-19T02:46:40.322Z] ---> 2f71692993cd [2023-01-19T02:46:40.322Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:46:40.581Z] ---> Running in d2bed2d643cc [2023-01-19T02:46:41.623Z] Removing intermediate container d2bed2d643cc [2023-01-19T02:46:41.623Z] ---> ec9bb6c45b0c [2023-01-19T02:46:41.623Z] Step 11/24 : COPY . . [2023-01-19T02:46:41.883Z] ---> 2f8a23cada68 [2023-01-19T02:46:41.883Z] Step 12/24 : RUN $MAKE [2023-01-19T02:46:41.883Z] ---> Running in 894721802e06 [2023-01-19T02:46:42.142Z] 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-01-19T02:47:04.093Z] Removing intermediate container 894721802e06 [2023-01-19T02:47:04.093Z] ---> dcd7fca4e71a [2023-01-19T02:47:04.093Z] Step 13/24 : FROM alpine:3.16 [2023-01-19T02:47:04.093Z] 3.16: Pulling from library/alpine [2023-01-19T02:47:04.093Z] ca7dd9ec2225: Pulling fs layer [2023-01-19T02:47:04.093Z] ca7dd9ec2225: Verifying Checksum [2023-01-19T02:47:04.093Z] ca7dd9ec2225: Download complete [2023-01-19T02:47:04.093Z] ca7dd9ec2225: Pull complete [2023-01-19T02:47:04.093Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T02:47:04.093Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T02:47:04.093Z] ---> bfe296a52501 [2023-01-19T02:47:04.093Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-19T02:47:04.093Z] ---> Running in 8a3e3e27a170 [2023-01-19T02:47:04.093Z] Removing intermediate container 8a3e3e27a170 [2023-01-19T02:47:04.093Z] ---> 506de3af9aa0 [2023-01-19T02:47:04.093Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-19T02:47:04.093Z] ---> Running in 93a38060f5ae [2023-01-19T02:47:04.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:47:04.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:47:04.093Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-19T02:47:04.093Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T02:47:04.093Z] OK: 6 MiB in 15 packages [2023-01-19T02:47:04.355Z] Removing intermediate container 93a38060f5ae [2023-01-19T02:47:04.355Z] ---> ca3ec05a189b [2023-01-19T02:47:04.355Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-19T02:47:04.926Z] ---> 05b8d1dc220b [2023-01-19T02:47:04.926Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-19T02:47:05.184Z] ---> a1de27aeb249 [2023-01-19T02:47:05.184Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-19T02:47:05.184Z] ---> 7ad8f27d4ac5 [2023-01-19T02:47:05.184Z] Step 19/24 : EXPOSE 59982 [2023-01-19T02:47:05.184Z] ---> Running in d2bcbcad8701 [2023-01-19T02:47:05.443Z] Removing intermediate container d2bcbcad8701 [2023-01-19T02:47:05.443Z] ---> 85806a7c1629 [2023-01-19T02:47:05.443Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-19T02:47:05.443Z] ---> Running in 01e3119ad88f [2023-01-19T02:47:05.443Z] Removing intermediate container 01e3119ad88f [2023-01-19T02:47:05.443Z] ---> dda67ee2f61c [2023-01-19T02:47:05.443Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-19T02:47:05.443Z] ---> Running in dec10f4553af [2023-01-19T02:47:05.702Z] Removing intermediate container dec10f4553af [2023-01-19T02:47:05.703Z] ---> 9cd3a95d5dff [2023-01-19T02:47:05.703Z] Step 22/24 : LABEL arch=amd64 [2023-01-19T02:47:05.703Z] ---> Running in dfe9642bda7e [2023-01-19T02:47:05.703Z] Removing intermediate container dfe9642bda7e [2023-01-19T02:47:05.703Z] ---> 7ade94d81332 [2023-01-19T02:47:05.703Z] Step 23/24 : LABEL git_sha=f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc [2023-01-19T02:47:05.703Z] ---> Running in 1ae1fd0fe9aa [2023-01-19T02:47:05.703Z] Removing intermediate container 1ae1fd0fe9aa [2023-01-19T02:47:05.703Z] ---> 9fe9d48712eb [2023-01-19T02:47:05.703Z] Step 24/24 : LABEL version=0.0.0 [2023-01-19T02:47:05.960Z] ---> Running in f471d995d19e [2023-01-19T02:47:05.960Z] Removing intermediate container f471d995d19e [2023-01-19T02:47:05.960Z] ---> 16371b9eecbe [2023-01-19T02:47:05.960Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T02:47:05.960Z] Successfully built 16371b9eecbe [2023-01-19T02:47:05.960Z] 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-01-19T02:47:06.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:47:06.991Z] [2023-01-19T02:47:06.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:47:07.404Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:47:07.404Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-19T02:47:07.404Z] 5eb5b503b376: Pulling fs layer [2023-01-19T02:47:07.404Z] 5c69ac0246d0: Pulling fs layer [2023-01-19T02:47:07.404Z] ec43610c2a17: Pulling fs layer [2023-01-19T02:47:07.404Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-19T02:47:07.404Z] 33b1e0a273af: Pulling fs layer [2023-01-19T02:47:07.404Z] 5d3b04190fa2: Pulling fs layer [2023-01-19T02:47:07.404Z] 2f39f015ded8: Pulling fs layer [2023-01-19T02:47:07.404Z] 33b1e0a273af: Waiting [2023-01-19T02:47:07.404Z] 5d3b04190fa2: Waiting [2023-01-19T02:47:07.404Z] 2f39f015ded8: Waiting [2023-01-19T02:47:07.404Z] 3a2ae6a8a46f: Waiting [2023-01-19T02:47:07.404Z] 5c69ac0246d0: Verifying Checksum [2023-01-19T02:47:07.404Z] 5c69ac0246d0: Download complete [2023-01-19T02:47:07.404Z] 3a2ae6a8a46f: Download complete [2023-01-19T02:47:07.674Z] 33b1e0a273af: Verifying Checksum [2023-01-19T02:47:07.674Z] 33b1e0a273af: Download complete [2023-01-19T02:47:07.674Z] 5d3b04190fa2: Verifying Checksum [2023-01-19T02:47:07.674Z] 5d3b04190fa2: Download complete [2023-01-19T02:47:07.674Z] ec43610c2a17: Download complete [2023-01-19T02:47:07.933Z] 5eb5b503b376: Verifying Checksum [2023-01-19T02:47:07.933Z] 5eb5b503b376: Download complete [2023-01-19T02:47:08.499Z] 2f39f015ded8: Download complete [2023-01-19T02:47:09.065Z] 5eb5b503b376: Pull complete [2023-01-19T02:47:09.323Z] 5c69ac0246d0: Pull complete [2023-01-19T02:47:09.587Z] ec43610c2a17: Pull complete [2023-01-19T02:47:09.587Z] 3a2ae6a8a46f: Pull complete [2023-01-19T02:47:09.845Z] 33b1e0a273af: Pull complete [2023-01-19T02:47:10.105Z] 5d3b04190fa2: Pull complete [2023-01-19T02:47:14.290Z] 2f39f015ded8: Pull complete [2023-01-19T02:47:14.290Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-19T02:47:14.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:47:14.290Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:47:14.517Z] prd-ubuntu20.04-docker-8c-8g-3056 does not seem to be running inside a container [2023-01-19T02:47:14.549Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-463 -v /w/workspace/gexfoundry_device-mqtt-go_PR-463:/w/workspace/gexfoundry_device-mqtt-go_PR-463:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-463@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-463@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-19T02:47:16.902Z] $ docker top a717bf91c3916f5eb36f992a173b83f95c6fd8c3962043d26861551c95550ae4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:47:17.338Z] ---> job-cost.sh [2023-01-19T02:47:17.338Z] lf-activate-venv: SKIPPING [2023-01-19T02:47:17.338Z] INFO: No Stack... [2023-01-19T02:47:17.596Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T02:47:18.976Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T02:47:19.290Z] + cut -d, -f6 [2023-01-19T02:47:19.291Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-463/archives/cost.csv [Pipeline] lock [2023-01-19T02:47:19.334Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-463-1-stack-cost] [2023-01-19T02:47:19.338Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-463-1-stack-cost] did not exist. Created. [2023-01-19T02:47:19.338Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-19T02:47:19.731Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-19T02:47:19.774Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T02:47:19.807Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-463-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T02:47:19.880Z] $ docker stop --time=1 a717bf91c3916f5eb36f992a173b83f95c6fd8c3962043d26861551c95550ae4 [2023-01-19T02:47:21.047Z] $ docker rm -f --volumes a717bf91c3916f5eb36f992a173b83f95c6fd8c3962043d26861551c95550ae4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-19T02:48:07.608Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3058 in /w/workspace/gexfoundry_device-mqtt-go_PR-463 [Pipeline] { [Pipeline] ws [2023-01-19T02:48:07.665Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-01-19T02:48:07.752Z] Selected Git installation does not exist. Using Default [2023-01-19T02:48:07.752Z] The recommended git tool is: NONE [2023-01-19T02:48:13.783Z] using credential edgex-jenkins-ssh [2023-01-19T02:48:13.808Z] Cloning the remote Git repository [2023-01-19T02:48:13.857Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-19T02:48:13.943Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-01-19T02:48:14.170Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-19T02:48:14.171Z] > git --version # timeout=10 [2023-01-19T02:48:14.201Z] > git --version # 'git version 2.25.1' [2023-01-19T02:48:14.204Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T02:48:14.282Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T02:48:15.430Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-19T02:48:15.461Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T02:48:17.239Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc [2023-01-19T02:48:17.499Z] Merge succeeded, producing f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc [2023-01-19T02:48:17.499Z] Checking out Revision f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc (PR-463) [2023-01-19T02:48:16.553Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-19T02:48:16.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-19T02:48:16.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T02:48:16.628Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/463/head:refs/remotes/origin/PR-463 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-19T02:48:17.255Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T02:48:17.282Z] > git checkout -f f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc # timeout=10 [2023-01-19T02:48:17.383Z] > git remote # timeout=10 [2023-01-19T02:48:17.407Z] > git config --get remote.origin.url # timeout=10 [2023-01-19T02:48:17.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T02:48:17.443Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-01-19T02:48:17.471Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-19T02:48:17.501Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T02:48:17.518Z] > git checkout -f f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc # timeout=10 [2023-01-19T02:48:21.015Z] Commit message: "build(deps): bump device-sdk-go and go-mod dependencies" [2023-01-19T02:48:21.061Z] > git --version # timeout=10 [2023-01-19T02:48:21.072Z] > git --version # 'git version 2.25.1' [2023-01-19T02:48:21.089Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T02:48:22.149Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-19T02:48:22.149Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T02:48:22.149Z] Dload Upload Total Spent Left Speed [2023-01-19T02:48:22.149Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78709 0 --:--:-- --:--:-- --:--:-- 78709 [Pipeline] sh [2023-01-19T02:48:22.932Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-19T02:48:23.285Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-19T02:48:23.285Z] + sudo tee /etc/docker/daemon.new [2023-01-19T02:48:23.285Z] { [2023-01-19T02:48:23.285Z] "registry-mirrors": [ [2023-01-19T02:48:23.285Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-19T02:48:23.285Z] ], [2023-01-19T02:48:23.285Z] "bip": "10.250.0.254/24", [2023-01-19T02:48:23.285Z] "hosts": [ [2023-01-19T02:48:23.285Z] "tcp://0.0.0.0:5555", [2023-01-19T02:48:23.285Z] "unix:///var/run/docker.sock" [2023-01-19T02:48:23.285Z] ], [2023-01-19T02:48:23.285Z] "mtu": 1458, [2023-01-19T02:48:23.285Z] "selinux-enabled": true, [2023-01-19T02:48:23.285Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-19T02:48:23.285Z] } [Pipeline] sh [2023-01-19T02:48:23.635Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-19T02:48:23.993Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T02:48:42.305Z] provisioning config files... [2023-01-19T02:48:42.332Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2532400796232180057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:48:42.722Z] ---> docker-login.sh [2023-01-19T02:48:42.722Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:48:43.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:48:43.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:48:43.312Z] Configure a credential helper to remove this warning. See [2023-01-19T02:48:43.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:48:43.312Z] [2023-01-19T02:48:43.312Z] Login Succeeded [2023-01-19T02:48:43.312Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:48:43.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:48:43.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:48:43.582Z] Configure a credential helper to remove this warning. See [2023-01-19T02:48:43.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:48:43.582Z] [2023-01-19T02:48:43.582Z] Login Succeeded [2023-01-19T02:48:43.850Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:48:43.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:48:44.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:48:44.119Z] Configure a credential helper to remove this warning. See [2023-01-19T02:48:44.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:48:44.119Z] [2023-01-19T02:48:44.119Z] Login Succeeded [2023-01-19T02:48:44.119Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:48:44.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:48:44.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:48:44.390Z] Configure a credential helper to remove this warning. See [2023-01-19T02:48:44.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:48:44.390Z] [2023-01-19T02:48:44.390Z] Login Succeeded [2023-01-19T02:48:44.390Z] docker.io [2023-01-19T02:48:44.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:48:44.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:48:44.921Z] Configure a credential helper to remove this warning. See [2023-01-19T02:48:44.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:48:44.921Z] [2023-01-19T02:48:44.921Z] Login Succeeded [2023-01-19T02:48:44.921Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:48:44.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T02:48:45.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:48:45.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:48:45.389Z] ========================================================= [2023-01-19T02:48:45.389Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-19T02:48:45.389Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:48:45.878Z] + 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-01-19T02:48:49.182Z] Sending build context to Docker daemon 3.304MB [2023-01-19T02:48:49.182Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:48:49.182Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-19T02:48:49.182Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-19T02:48:49.182Z] 9b18e9b68314: Pulling fs layer [2023-01-19T02:48:49.182Z] 35d82f9e3411: Pulling fs layer [2023-01-19T02:48:49.182Z] e16973657156: Pulling fs layer [2023-01-19T02:48:49.182Z] fc693d55d65f: Pulling fs layer [2023-01-19T02:48:49.182Z] 7e9fc2657dce: Pulling fs layer [2023-01-19T02:48:49.182Z] dda99020689f: Pulling fs layer [2023-01-19T02:48:49.182Z] db1c61fa0a46: Pulling fs layer [2023-01-19T02:48:49.182Z] 891c053d2c06: Pulling fs layer [2023-01-19T02:48:49.182Z] fc693d55d65f: Waiting [2023-01-19T02:48:49.182Z] db1c61fa0a46: Waiting [2023-01-19T02:48:49.182Z] 7e9fc2657dce: Waiting [2023-01-19T02:48:49.182Z] dda99020689f: Waiting [2023-01-19T02:48:49.182Z] 891c053d2c06: Waiting [2023-01-19T02:48:49.182Z] e16973657156: Download complete [2023-01-19T02:48:49.182Z] 35d82f9e3411: Verifying Checksum [2023-01-19T02:48:49.182Z] 35d82f9e3411: Download complete [2023-01-19T02:48:49.182Z] 7e9fc2657dce: Download complete [2023-01-19T02:48:49.182Z] dda99020689f: Download complete [2023-01-19T02:48:49.182Z] 9b18e9b68314: Verifying Checksum [2023-01-19T02:48:49.182Z] 9b18e9b68314: Download complete [2023-01-19T02:48:50.166Z] 9b18e9b68314: Pull complete [2023-01-19T02:48:50.166Z] 891c053d2c06: Verifying Checksum [2023-01-19T02:48:50.166Z] 891c053d2c06: Download complete [2023-01-19T02:48:50.760Z] 35d82f9e3411: Pull complete [2023-01-19T02:48:51.032Z] e16973657156: Pull complete [2023-01-19T02:48:51.621Z] db1c61fa0a46: Verifying Checksum [2023-01-19T02:48:51.621Z] db1c61fa0a46: Download complete [2023-01-19T02:48:52.212Z] fc693d55d65f: Verifying Checksum [2023-01-19T02:48:52.212Z] fc693d55d65f: Download complete [2023-01-19T02:49:04.561Z] fc693d55d65f: Pull complete [2023-01-19T02:49:04.561Z] 7e9fc2657dce: Pull complete [2023-01-19T02:49:04.561Z] dda99020689f: Pull complete [2023-01-19T02:49:11.215Z] db1c61fa0a46: Pull complete [2023-01-19T02:49:12.191Z] 891c053d2c06: Pull complete [2023-01-19T02:49:12.191Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-19T02:49:12.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-19T02:49:12.191Z] ---> f96f9c87975a [2023-01-19T02:49:12.191Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:49:14.146Z] ---> Running in b6de35be6876 [2023-01-19T02:49:14.413Z] Removing intermediate container b6de35be6876 [2023-01-19T02:49:14.413Z] ---> b8ebbcc2e5e1 [2023-01-19T02:49:14.413Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:49:14.413Z] ---> Running in 452956a5b5b7 [2023-01-19T02:49:14.686Z] Removing intermediate container 452956a5b5b7 [2023-01-19T02:49:14.686Z] ---> d44c6753fd4c [2023-01-19T02:49:14.686Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-19T02:49:14.958Z] ---> Running in d6ef29c216cc [2023-01-19T02:49:15.228Z] Removing intermediate container d6ef29c216cc [2023-01-19T02:49:15.228Z] ---> 8c084ca76513 [2023-01-19T02:49:15.228Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:49:15.228Z] ---> Running in 1827239b67e5 [2023-01-19T02:49:15.496Z] Removing intermediate container 1827239b67e5 [2023-01-19T02:49:15.496Z] ---> 90b7ab3fef04 [2023-01-19T02:49:15.496Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:49:15.763Z] ---> Running in 53e4f0e7e525 [2023-01-19T02:49:16.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T02:49:16.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T02:49:17.961Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-19T02:49:17.961Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-19T02:49:17.961Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-19T02:49:18.230Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-19T02:49:18.230Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T02:49:18.230Z] OK: 226 MiB in 55 packages [2023-01-19T02:49:19.193Z] Removing intermediate container 53e4f0e7e525 [2023-01-19T02:49:19.193Z] ---> 1660888cef7b [2023-01-19T02:49:19.193Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-19T02:49:19.193Z] ---> Running in 41e7208cf642 [2023-01-19T02:49:19.778Z] Removing intermediate container 41e7208cf642 [2023-01-19T02:49:19.778Z] ---> bc94707aca50 [2023-01-19T02:49:19.778Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-19T02:49:20.052Z] ---> 2a82d8b52468 [2023-01-19T02:49:20.052Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:49:20.319Z] ---> Running in 73f2e5084ff4 [2023-01-19T02:50:28.258Z] Removing intermediate container 73f2e5084ff4 [2023-01-19T02:50:28.258Z] ---> 47115e2372b7 [2023-01-19T02:50:28.258Z] Step 11/12 : COPY . . [2023-01-19T02:50:28.258Z] ---> 4294851f0e3d [2023-01-19T02:50:28.258Z] Step 12/12 : RUN $MAKE [2023-01-19T02:50:28.258Z] ---> Running in 5d863347ffad [2023-01-19T02:50:28.258Z] noop [2023-01-19T02:50:28.528Z] Removing intermediate container 5d863347ffad [2023-01-19T02:50:28.528Z] ---> e59639a548d7 [2023-01-19T02:50:28.528Z] Successfully built e59639a548d7 [2023-01-19T02:50:28.528Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:50:29.042Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T02:50:29.042Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:50:29.321Z] prd-ubuntu20.04-docker-arm64-4c-16g-3058 does not seem to be running inside a container [2023-01-19T02:50:29.396Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-19T02:50:30.673Z] $ docker top 805ab3ae523c500451425100c521fccc772f9cb113639f082675b2c5ef8fad5f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:50:31.583Z] + go version [2023-01-19T02:50:31.583Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-19T02:50:31.627Z] $ docker stop --time=1 805ab3ae523c500451425100c521fccc772f9cb113639f082675b2c5ef8fad5f [2023-01-19T02:50:33.286Z] $ docker rm -f --volumes 805ab3ae523c500451425100c521fccc772f9cb113639f082675b2c5ef8fad5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:50:34.147Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T02:50:34.147Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:50:34.405Z] prd-ubuntu20.04-docker-arm64-4c-16g-3058 does not seem to be running inside a container [2023-01-19T02:50:34.479Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-19T02:50:35.736Z] $ docker top 5c2bf452084f7dfc575dee58b8a490f7ebb1854d57f4e4ee507d6672d7133e50 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:50:36.633Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-19T02:50:37.356Z] + make test [2023-01-19T02:50:37.356Z] go test ./... -coverprofile=coverage.out ./... [2023-01-19T02:50:38.784Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-19T02:52:00.431Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-19T02:52:04.689Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 21.8% of statements [2023-01-19T02:52:04.689Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-19T02:52:04.957Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-19T02:52:04.957Z] go vet ./... [2023-01-19T02:52:31.759Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T02:52:31.759Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T02:52:31.759Z] ./bin/test-attribution-txt.sh [2023-01-19T02:52:31.759Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-19T02:52:31.759Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-19T02:52:31.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T02:52:31.841Z] $ docker stop --time=1 5c2bf452084f7dfc575dee58b8a490f7ebb1854d57f4e4ee507d6672d7133e50 [2023-01-19T02:52:34.927Z] $ docker rm -f --volumes 5c2bf452084f7dfc575dee58b8a490f7ebb1854d57f4e4ee507d6672d7133e50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T02:52:36.019Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T02:52:36.057Z] Warning: overwriting stash ‘coverage-report’ [2023-01-19T02:52:36.649Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T02:52:37.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T02:52:37.657Z] + ls -al . [2023-01-19T02:52:37.657Z] total 180 [2023-01-19T02:52:37.657Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 02:50 . [2023-01-19T02:52:37.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:48 .. [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 02:48 .dockerignore [2023-01-19T02:52:37.657Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:48 .git [2023-01-19T02:52:37.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:48 .github [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 19 02:48 .gitignore [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:48 .golangci.yml [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 19 02:48 Attribution.txt [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 19 02:48 CHANGELOG.md [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 19 02:48 Dockerfile [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:48 GOVERNANCE.md [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 19 02:48 Jenkinsfile [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:48 LICENSE [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 19 02:48 Makefile [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 02:48 OWNERS.md [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 19 02:48 README.md [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:45 VERSION [2023-01-19T02:52:37.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:48 bin [2023-01-19T02:52:37.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:48 cmd [2023-01-19T02:52:37.657Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 19 02:52 coverage.out [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 3430 Jan 19 02:48 go.mod [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 34856 Jan 19 02:48 go.sum [2023-01-19T02:52:37.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:48 internal [2023-01-19T02:52:37.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:48 mock [2023-01-19T02:52:37.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:48 snap [2023-01-19T02:52:37.657Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 19 02:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:52:38.098Z] + 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=f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc --label arch=arm64 --label version=0.0.0 . [2023-01-19T02:52:38.368Z] Sending build context to Docker daemon 3.323MB [2023-01-19T02:52:38.640Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:52:38.640Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-19T02:52:38.640Z] ---> e59639a548d7 [2023-01-19T02:52:38.640Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:52:38.640Z] ---> Running in 91d2c38af938 [2023-01-19T02:52:38.916Z] Removing intermediate container 91d2c38af938 [2023-01-19T02:52:38.916Z] ---> 49730a58ba20 [2023-01-19T02:52:38.916Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:52:39.196Z] ---> Running in 9fcf1be49156 [2023-01-19T02:52:39.464Z] Removing intermediate container 9fcf1be49156 [2023-01-19T02:52:39.465Z] ---> b33a097a961b [2023-01-19T02:52:39.465Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-19T02:52:39.465Z] ---> Running in 1eda131b1417 [2023-01-19T02:52:39.771Z] Removing intermediate container 1eda131b1417 [2023-01-19T02:52:39.771Z] ---> 46d6f2727842 [2023-01-19T02:52:39.771Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:52:40.040Z] ---> Running in c4f9bde097e2 [2023-01-19T02:52:40.311Z] Removing intermediate container c4f9bde097e2 [2023-01-19T02:52:40.311Z] ---> ceb1a7d23bd7 [2023-01-19T02:52:40.311Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:52:40.579Z] ---> Running in 2dfe201a9e48 [2023-01-19T02:52:41.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T02:52:42.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T02:52:43.686Z] OK: 226 MiB in 55 packages [2023-01-19T02:52:44.659Z] Removing intermediate container 2dfe201a9e48 [2023-01-19T02:52:44.659Z] ---> 3a3994502718 [2023-01-19T02:52:44.659Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-19T02:52:44.929Z] ---> Running in 084cb80ac5af [2023-01-19T02:52:45.516Z] Removing intermediate container 084cb80ac5af [2023-01-19T02:52:45.516Z] ---> fab0598b0cc3 [2023-01-19T02:52:45.516Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-19T02:52:46.492Z] ---> 6da39e133390 [2023-01-19T02:52:46.492Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:52:46.492Z] ---> Running in 9e2fa52f8841 [2023-01-19T02:52:49.863Z] Removing intermediate container 9e2fa52f8841 [2023-01-19T02:52:49.863Z] ---> 9fd46aac67a6 [2023-01-19T02:52:49.863Z] Step 11/24 : COPY . . [2023-01-19T02:52:50.830Z] ---> d6bc791f997b [2023-01-19T02:52:50.830Z] Step 12/24 : RUN $MAKE [2023-01-19T02:52:51.105Z] ---> Running in 3a569361f5f8 [2023-01-19T02:52:52.519Z] 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-01-19T02:55:29.319Z] Removing intermediate container 3a569361f5f8 [2023-01-19T02:55:29.319Z] ---> 2959e95f537c [2023-01-19T02:55:29.319Z] Step 13/24 : FROM alpine:3.16 [2023-01-19T02:55:29.319Z] 3.16: Pulling from library/alpine [2023-01-19T02:55:29.319Z] 6875df1f5354: Pulling fs layer [2023-01-19T02:55:29.319Z] 6875df1f5354: Verifying Checksum [2023-01-19T02:55:29.319Z] 6875df1f5354: Download complete [2023-01-19T02:55:29.319Z] 6875df1f5354: Pull complete [2023-01-19T02:55:29.319Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T02:55:29.319Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T02:55:29.319Z] ---> 2b4661558fb8 [2023-01-19T02:55:29.319Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-19T02:55:29.319Z] ---> Running in 082b49bb5618 [2023-01-19T02:55:29.319Z] Removing intermediate container 082b49bb5618 [2023-01-19T02:55:29.319Z] ---> 0b5a69175621 [2023-01-19T02:55:29.319Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-19T02:55:29.319Z] ---> Running in 30a86b7ca9aa [2023-01-19T02:55:29.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T02:55:29.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T02:55:29.319Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-19T02:55:29.319Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T02:55:29.319Z] OK: 5 MiB in 15 packages [2023-01-19T02:55:29.589Z] Removing intermediate container 30a86b7ca9aa [2023-01-19T02:55:29.589Z] ---> 6de201c4e479 [2023-01-19T02:55:29.589Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-19T02:55:31.014Z] ---> 776d45f9b941 [2023-01-19T02:55:31.014Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-19T02:55:31.600Z] ---> e7ae8b89d8b5 [2023-01-19T02:55:31.600Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-19T02:55:32.190Z] ---> fce69ae43230 [2023-01-19T02:55:32.190Z] Step 19/24 : EXPOSE 59982 [2023-01-19T02:55:32.190Z] ---> Running in c02f0697cac9 [2023-01-19T02:55:32.459Z] Removing intermediate container c02f0697cac9 [2023-01-19T02:55:32.459Z] ---> 0e40ba96c99f [2023-01-19T02:55:32.459Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-19T02:55:32.727Z] ---> Running in aa80ed4746d6 [2023-01-19T02:55:32.994Z] Removing intermediate container aa80ed4746d6 [2023-01-19T02:55:32.994Z] ---> 18ee769aba33 [2023-01-19T02:55:32.995Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-19T02:55:32.995Z] ---> Running in 7dbacdc5ccea [2023-01-19T02:55:33.263Z] Removing intermediate container 7dbacdc5ccea [2023-01-19T02:55:33.263Z] ---> 10ceb3b9edd8 [2023-01-19T02:55:33.263Z] Step 22/24 : LABEL arch=arm64 [2023-01-19T02:55:33.263Z] ---> Running in b74f89114d6f [2023-01-19T02:55:33.854Z] Removing intermediate container b74f89114d6f [2023-01-19T02:55:33.854Z] ---> 0c78f82a25d5 [2023-01-19T02:55:33.854Z] Step 23/24 : LABEL git_sha=f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc [2023-01-19T02:55:33.854Z] ---> Running in d16d16f9934c [2023-01-19T02:55:34.124Z] Removing intermediate container d16d16f9934c [2023-01-19T02:55:34.124Z] ---> 66c9eef48db2 [2023-01-19T02:55:34.124Z] Step 24/24 : LABEL version=0.0.0 [2023-01-19T02:55:34.124Z] ---> Running in eb15285af469 [2023-01-19T02:55:34.394Z] Removing intermediate container eb15285af469 [2023-01-19T02:55:34.394Z] ---> cb973db6ed33 [2023-01-19T02:55:34.394Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T02:55:34.664Z] Successfully built cb973db6ed33 [2023-01-19T02:55:34.664Z] 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-01-19T02:55:35.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T02:55:35.471Z] [2023-01-19T02:55:35.471Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:55:35.897Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T02:55:36.169Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-19T02:55:36.169Z] 8998bd30e6a1: Pulling fs layer [2023-01-19T02:55:36.169Z] 04944245beec: Pulling fs layer [2023-01-19T02:55:36.169Z] 699f458cf7ca: Pulling fs layer [2023-01-19T02:55:36.169Z] 765212b225bb: Pulling fs layer [2023-01-19T02:55:36.169Z] f23df028b6ca: Pulling fs layer [2023-01-19T02:55:36.169Z] d65c8cfc05b1: Pulling fs layer [2023-01-19T02:55:36.169Z] 765212b225bb: Waiting [2023-01-19T02:55:36.169Z] 2437ff75d9bd: Pulling fs layer [2023-01-19T02:55:36.169Z] f23df028b6ca: Waiting [2023-01-19T02:55:36.169Z] d65c8cfc05b1: Waiting [2023-01-19T02:55:36.169Z] 2437ff75d9bd: Waiting [2023-01-19T02:55:36.169Z] 04944245beec: Verifying Checksum [2023-01-19T02:55:36.169Z] 04944245beec: Download complete [2023-01-19T02:55:36.169Z] 765212b225bb: Verifying Checksum [2023-01-19T02:55:36.169Z] 765212b225bb: Download complete [2023-01-19T02:55:36.449Z] f23df028b6ca: Verifying Checksum [2023-01-19T02:55:36.449Z] f23df028b6ca: Download complete [2023-01-19T02:55:36.449Z] d65c8cfc05b1: Verifying Checksum [2023-01-19T02:55:36.449Z] d65c8cfc05b1: Download complete [2023-01-19T02:55:36.449Z] 699f458cf7ca: Verifying Checksum [2023-01-19T02:55:36.449Z] 699f458cf7ca: Download complete [2023-01-19T02:55:37.043Z] 8998bd30e6a1: Verifying Checksum [2023-01-19T02:55:37.043Z] 8998bd30e6a1: Download complete [2023-01-19T02:55:39.636Z] 2437ff75d9bd: Verifying Checksum [2023-01-19T02:55:39.636Z] 2437ff75d9bd: Download complete [2023-01-19T02:55:42.986Z] 8998bd30e6a1: Pull complete [2023-01-19T02:55:42.986Z] 04944245beec: Pull complete [2023-01-19T02:55:44.400Z] 699f458cf7ca: Pull complete [2023-01-19T02:55:44.400Z] 765212b225bb: Pull complete [2023-01-19T02:55:45.364Z] f23df028b6ca: Pull complete [2023-01-19T02:55:45.632Z] d65c8cfc05b1: Pull complete [2023-01-19T02:56:00.636Z] 2437ff75d9bd: Pull complete [2023-01-19T02:56:00.636Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-19T02:56:00.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T02:56:00.636Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:56:00.973Z] prd-ubuntu20.04-docker-arm64-4c-16g-3058 does not seem to be running inside a container [2023-01-19T02:56:01.059Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-19T02:56:04.056Z] $ docker top 45cbbef6de3dde5f4ceb2742961eae73c34bd9c30e8088afbf2f292ba3c65f65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:56:04.987Z] ---> job-cost.sh [2023-01-19T02:56:04.987Z] lf-activate-venv: SKIPPING [2023-01-19T02:56:04.987Z] INFO: No Stack... [2023-01-19T02:56:05.254Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-19T02:56:06.218Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T02:56:06.894Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-01-19T02:56:06.895Z] + cut -d, -f6 [Pipeline] lock [2023-01-19T02:56:06.958Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-463-1-stack-cost] [2023-01-19T02:56:06.963Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-463-1-stack-cost] did not exist. Created. [2023-01-19T02:56:06.963Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-19T02:56:07.713Z] /w/workspace/device-mqtt-go/1@tmp/durable-04a94c20/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-19T02:56:08.403Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-19T02:56:08.438Z] Warning: overwriting stash ‘stack-cost’ [2023-01-19T02:56:08.492Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T02:56:08.509Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-463-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T02:56:08.596Z] $ docker stop --time=1 45cbbef6de3dde5f4ceb2742961eae73c34bd9c30e8088afbf2f292ba3c65f65 [2023-01-19T02:56:10.163Z] $ docker rm -f --volumes 45cbbef6de3dde5f4ceb2742961eae73c34bd9c30e8088afbf2f292ba3c65f65 [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-01-19T02:56:11.162Z] provisioning config files... [2023-01-19T02:56:11.169Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-463@tmp/config2150512308959059252tmp [Pipeline] { [Pipeline] sh [2023-01-19T02:56:11.507Z] + set +x [2023-01-19T02:56:11.507Z] + curl -s https://codecov.io/bash [2023-01-19T02:56:11.507Z] + bash -s -- [2023-01-19T02:56:11.507Z] [2023-01-19T02:56:11.507Z] _____ _ [2023-01-19T02:56:11.507Z] / ____| | | [2023-01-19T02:56:11.507Z] | | ___ __| | ___ ___ _____ __ [2023-01-19T02:56:11.507Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-19T02:56:11.507Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-19T02:56:11.507Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-19T02:56:11.507Z] Bash-1.0.6 [2023-01-19T02:56:11.507Z] [2023-01-19T02:56:11.507Z] [2023-01-19T02:56:11.507Z] ==> git version 2.25.1 found [2023-01-19T02:56:11.507Z] ==> 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-01-19T02:56:11.507Z] Release-Date: 2020-01-08 [2023-01-19T02:56:11.507Z] 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-01-19T02:56:11.507Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-19T02:56:11.507Z] ==> Jenkins CI detected. [2023-01-19T02:56:11.507Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-463 [2023-01-19T02:56:11.507Z] project root: . [2023-01-19T02:56:11.507Z] --> token set from env [2023-01-19T02:56:11.507Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-19T02:56:11.507Z] ==> Running gcov in . (disable via -X gcov) [2023-01-19T02:56:11.507Z] ==> Python coveragepy not found [2023-01-19T02:56:11.507Z] ==> Searching for coverage reports in: [2023-01-19T02:56:11.507Z] + . [2023-01-19T02:56:11.507Z] -> Found 1 reports [2023-01-19T02:56:11.507Z] ==> Detecting git/mercurial file structure [2023-01-19T02:56:11.507Z] ==> Reading reports [2023-01-19T02:56:11.766Z] + ./coverage.out bytes=17887 [2023-01-19T02:56:11.766Z] ==> Appending adjustments [2023-01-19T02:56:11.766Z] https://docs.codecov.io/docs/fixing-reports [2023-01-19T02:56:11.766Z] + Found adjustments [2023-01-19T02:56:11.766Z] ==> Gzipping contents [2023-01-19T02:56:11.766Z] 4.0K /tmp/codecov.lkiMx6.gz [2023-01-19T02:56:11.766Z] ==> Uploading reports [2023-01-19T02:56:11.766Z] url: https://codecov.io [2023-01-19T02:56:11.766Z] query: branch=PR-463&commit=f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-463%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=463&job=&cmd_args= [2023-01-19T02:56:11.766Z] -> Pinging Codecov [2023-01-19T02:56:11.766Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-463&commit=f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-463%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=463&job=&cmd_args= [2023-01-19T02:56:12.334Z] -> Uploading to [2023-01-19T02:56:12.334Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-19/7D719EC7BBE17E464838252E33014C33/f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc/6d7aac78-0f6c-4858-ae3e-049ed2f3a381.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230119T025611Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b5905c1cbc3b12f6ba9024c25e6a24507173d07fbb4025ec9daa3a68537f6867 [2023-01-19T02:56:12.334Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T02:56:12.334Z] Dload Upload Total Spent Left Speed [2023-01-19T02:56:12.595Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 10176 --:--:-- --:--:-- --:--:-- 10176 [2023-01-19T02:56:12.595Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/f70f07bca4c3ae7bb716c1ec0afa9520f15fa4bc [Pipeline] } [2023-01-19T02:56:12.621Z] 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-01-19T02:56:14.445Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-463/archives ] [2023-01-19T02:56:14.445Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-463/archives [2023-01-19T02:56:14.445Z] total 16 [2023-01-19T02:56:14.445Z] drwxr-xr-x 3 root root 4096 Jan 19 02:47 . [2023-01-19T02:56:14.445Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 19 02:47 .. [2023-01-19T02:56:14.445Z] drwxr-xr-x 2 root root 4096 Jan 19 02:47 cost [2023-01-19T02:56:14.445Z] -rw-r--r-- 1 root root 86 Jan 19 02:47 cost.csv [2023-01-19T02:56:14.445Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-463/archives [2023-01-19T02:56:14.445Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-463/archives [2023-01-19T02:56:14.446Z] total 16 [2023-01-19T02:56:14.446Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:47 . [2023-01-19T02:56:14.446Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 19 02:47 .. [2023-01-19T02:56:14.446Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 19 02:47 cost [2023-01-19T02:56:14.446Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 19 02:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:56:14.769Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:56:15.656Z] ---> package-listing.sh [2023-01-19T02:56:15.656Z] ++ facter osfamily [2023-01-19T02:56:15.656Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-19T02:56:15.916Z] + OS_FAMILY=debian [2023-01-19T02:56:15.916Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-463 [2023-01-19T02:56:15.916Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-19T02:56:15.916Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-19T02:56:15.916Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-19T02:56:15.916Z] + PACKAGES=/tmp/packages_start.txt [2023-01-19T02:56:15.916Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-463 ']' [2023-01-19T02:56:15.916Z] + PACKAGES=/tmp/packages_end.txt [2023-01-19T02:56:15.916Z] + case "${OS_FAMILY}" in [2023-01-19T02:56:15.916Z] + dpkg -l [2023-01-19T02:56:15.916Z] + grep '^ii' [2023-01-19T02:56:15.916Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-19T02:56:15.916Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-19T02:56:15.916Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-19T02:56:15.916Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-463 ']' [2023-01-19T02:56:15.916Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-463/archives/ [2023-01-19T02:56:15.916Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-463/archives/ [Pipeline] echo [2023-01-19T02:56:15.950Z] 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-463/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-19T02:56:16.242Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:56:16.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:56:16.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:56:17.012Z] prd-ubuntu20.04-docker-8c-8g-3056 does not seem to be running inside a container [2023-01-19T02:56:17.047Z] $ 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-463/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-463 -v /w/workspace/gexfoundry_device-mqtt-go_PR-463:/w/workspace/gexfoundry_device-mqtt-go_PR-463:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-463@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-463@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-19T02:56:17.236Z] $ docker top dbe919139673cf9340ef015a2bf28cbd3c0d456f19dfad3b029fa1491a20dcf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:56:17.633Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-19T02:56:17.944Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-19T02:56:18.248Z] + ls /var/log/sa-host [2023-01-19T02:56:18.249Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T02:56:18.379Z] provisioning config files... [2023-01-19T02:56:18.387Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-463@tmp/config2067724189282268788tmp [Pipeline] { [Pipeline] echo [2023-01-19T02:56:18.434Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:56:18.742Z] ---> create-netrc.sh [Pipeline] } [2023-01-19T02:56:18.774Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:56:19.180Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-19T02:56:19.216Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:56:19.527Z] ---> sudo-logs.sh [2023-01-19T02:56:19.527Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-19T02:56:19.606Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:56:19.912Z] ---> job-cost.sh [2023-01-19T02:56:19.912Z] lf-activate-venv: SKIPPING [2023-01-19T02:56:19.912Z] DEBUG: total: 0.2199999988079071 [2023-01-19T02:56:19.912Z] INFO: Retrieving Stack Cost... [2023-01-19T02:56:20.479Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T02:56:21.045Z] INFO: Archiving Costs [Pipeline] echo [2023-01-19T02:56:21.084Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:56:21.397Z] ---> logs-deploy.sh [2023-01-19T02:56:21.398Z] lf-activate-venv: SKIPPING [2023-01-19T02:56:21.398Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-463/1 [2023-01-19T02:56:21.398Z] INFO: archiving workspace using pattern(s): [2023-01-19T02:56:22.330Z] Archives upload complete. [2023-01-19T02:56:22.590Z] INFO: archiving logs to Nexus