Pull request #488 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6b23aea4ce326f5950033030257214041af6cef8+bc7652beee9a90296fe0b57947c4589a421f5e02 (3795f597b48e861c0a7196115b016517d278a716) 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-ssh15754056988503101599.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-ssh12556495298141328487.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-488/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-488/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5261841596404397940.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-488/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15713230307313237283.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-ssh5131193466960348766.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-488/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-488/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1414807847306940154.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6350 in /w/workspace/gexfoundry_device-mqtt-go_PR-488 [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-488 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/488/head:refs/remotes/origin/PR-488 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 6b23aea4ce326f5950033030257214041af6cef8 Merge succeeded, producing 6b23aea4ce326f5950033030257214041af6cef8 Checking out Revision 6b23aea4ce326f5950033030257214041af6cef8 (PR-488) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T01:59:24.650Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T01:59:24.842Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 6b23aea4ce326f5950033030257214041af6cef8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b23aea4ce326f5950033030257214041af6cef8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T01:59:24.937Z] ========================================================= [2023-02-17T01:59:24.937Z] EdgeX Global Pipelines Version Info [2023-02-17T01:59:24.937Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-17T01:59:25.683Z] ------------------- [2023-02-17T01:59:25.684Z] stable info: [2023-02-17T01:59:25.684Z] ------------------- [2023-02-17T01:59:25.684Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T01:59:25.684Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T01:59:25.684Z] Message: update stable to v1.0.244 [2023-02-17T01:59:26.257Z] ------------------- [2023-02-17T01:59:26.257Z] experimental info: [2023-02-17T01:59:26.257Z] ------------------- [2023-02-17T01:59:26.257Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T01:59:26.257Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T01:59:26.257Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T01:59:26.593Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-17T01:59:26.639Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-17T01:59:26.679Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T01:59:26.722Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T01:59:26.768Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T01:59:26.806Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T01:59:26.845Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T01:59:26.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-17T01:59:26.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T01:59:26.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T01:59:26.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T01:59:27.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-17T01:59:27.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T01:59:27.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T01:59:27.152Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T01:59:27.190Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T01:59:27.232Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T01:59:27.271Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T01:59:27.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T01:59:27.353Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T01:59:27.388Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-17T01:59:27.428Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-17T01:59:27.467Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T01:59:27.505Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T01:59:27.545Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T01:59:27.585Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T01:59:27.622Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T01:59:27.659Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-488 [Pipeline] echo [2023-02-17T01:59:27.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-488 [Pipeline] echo [2023-02-17T01:59:27.735Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-488 [Pipeline] echo [2023-02-17T01:59:27.775Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b23aea4ce326f5950033030257214041af6cef8 [Pipeline] echo [2023-02-17T01:59:27.812Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b23aea [Pipeline] echo [2023-02-17T01:59:27.851Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T01:59:27.968Z] provisioning config files... [2023-02-17T01:59:27.984Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp/config8769685058379099031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T01:59:28.331Z] ---> docker-login.sh [2023-02-17T01:59:28.331Z] nexus3.edgexfoundry.org:10001 [2023-02-17T01:59:28.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T01:59:28.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T01:59:28.590Z] Configure a credential helper to remove this warning. See [2023-02-17T01:59:28.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T01:59:28.590Z] [2023-02-17T01:59:28.590Z] Login Succeeded [2023-02-17T01:59:28.590Z] nexus3.edgexfoundry.org:10002 [2023-02-17T01:59:28.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T01:59:28.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T01:59:28.851Z] Configure a credential helper to remove this warning. See [2023-02-17T01:59:28.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T01:59:28.851Z] [2023-02-17T01:59:28.851Z] Login Succeeded [2023-02-17T01:59:28.851Z] nexus3.edgexfoundry.org:10003 [2023-02-17T01:59:28.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T01:59:28.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T01:59:28.851Z] Configure a credential helper to remove this warning. See [2023-02-17T01:59:28.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T01:59:28.851Z] [2023-02-17T01:59:28.851Z] Login Succeeded [2023-02-17T01:59:28.851Z] nexus3.edgexfoundry.org:10004 [2023-02-17T01:59:29.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T01:59:29.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T01:59:29.112Z] Configure a credential helper to remove this warning. See [2023-02-17T01:59:29.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T01:59:29.112Z] [2023-02-17T01:59:29.112Z] Login Succeeded [2023-02-17T01:59:29.112Z] docker.io [2023-02-17T01:59:29.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T01:59:29.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T01:59:29.372Z] Configure a credential helper to remove this warning. See [2023-02-17T01:59:29.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T01:59:29.372Z] [2023-02-17T01:59:29.372Z] Login Succeeded [2023-02-17T01:59:29.372Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T01:59:29.405Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T01:59:30.075Z] + git rev-list -1 --merges 6b23aea4ce326f5950033030257214041af6cef8~1..6b23aea4ce326f5950033030257214041af6cef8 [Pipeline] echo [2023-02-17T01:59:30.144Z] -----------> git rev-list -1 --merges 6b23aea4ce326f5950033030257214041af6cef8~1..6b23aea4ce326f5950033030257214041af6cef8 6b23aea4ce326f5950033030257214041af6cef8 [false] [Pipeline] sh [2023-02-17T01:59:30.453Z] + git log --format=format:%s -1 6b23aea4ce326f5950033030257214041af6cef8 [Pipeline] echo [2023-02-17T01:59:30.495Z] ========================================================= [2023-02-17T01:59:30.495Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T01:59:30.495Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T01:59:30.949Z] + git log --format=format:%s -1 6b23aea4ce326f5950033030257214041af6cef8 [Pipeline] echo [2023-02-17T01:59:30.980Z] [semverPrep] GIT_COMMIT: 6b23aea4ce326f5950033030257214041af6cef8, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-17T01:59:31.015Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T01:59:31.413Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T01:59:31.413Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T01:59:31.413Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T01:59:31.413Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T01:59:31.413Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-17T01:59:31.413Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-17T01:59:31.413Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T01:59:31.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T01:59:31.891Z] [2023-02-17T01:59:31.891Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T01:59:32.296Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T01:59:32.296Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T01:59:32.296Z] b85a868b505f: Pulling fs layer [2023-02-17T01:59:32.296Z] e2be974225ed: Pulling fs layer [2023-02-17T01:59:32.296Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T01:59:32.296Z] 988bab9f4d93: Pulling fs layer [2023-02-17T01:59:32.296Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T01:59:32.296Z] eaf3925da568: Pulling fs layer [2023-02-17T01:59:32.296Z] 988bab9f4d93: Waiting [2023-02-17T01:59:32.296Z] bab4dde63d76: Pulling fs layer [2023-02-17T01:59:32.296Z] bde34c3a00c8: Pulling fs layer [2023-02-17T01:59:32.296Z] b352a97aabf1: Pulling fs layer [2023-02-17T01:59:32.296Z] 4872d77fe225: Pulling fs layer [2023-02-17T01:59:32.296Z] 5851b861e8e6: Pulling fs layer [2023-02-17T01:59:32.296Z] 1469e6f7b9e6: Waiting [2023-02-17T01:59:32.296Z] bab4dde63d76: Waiting [2023-02-17T01:59:32.296Z] bde34c3a00c8: Waiting [2023-02-17T01:59:32.296Z] eaf3925da568: Waiting [2023-02-17T01:59:32.296Z] b352a97aabf1: Waiting [2023-02-17T01:59:32.296Z] 4872d77fe225: Waiting [2023-02-17T01:59:32.296Z] 5851b861e8e6: Waiting [2023-02-17T01:59:32.560Z] e2be974225ed: Verifying Checksum [2023-02-17T01:59:32.560Z] e2be974225ed: Download complete [2023-02-17T01:59:32.560Z] 988bab9f4d93: Verifying Checksum [2023-02-17T01:59:32.560Z] 988bab9f4d93: Download complete [2023-02-17T01:59:32.560Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T01:59:32.560Z] 1469e6f7b9e6: Download complete [2023-02-17T01:59:32.842Z] eaf3925da568: Verifying Checksum [2023-02-17T01:59:32.842Z] eaf3925da568: Download complete [2023-02-17T01:59:32.842Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T01:59:32.842Z] 339a4e72a1f5: Download complete [2023-02-17T01:59:32.842Z] bde34c3a00c8: Download complete [2023-02-17T01:59:32.842Z] b352a97aabf1: Verifying Checksum [2023-02-17T01:59:32.842Z] b352a97aabf1: Download complete [2023-02-17T01:59:32.842Z] 4872d77fe225: Verifying Checksum [2023-02-17T01:59:32.842Z] 4872d77fe225: Download complete [2023-02-17T01:59:32.842Z] 5851b861e8e6: Verifying Checksum [2023-02-17T01:59:32.842Z] 5851b861e8e6: Download complete [2023-02-17T01:59:32.842Z] b85a868b505f: Verifying Checksum [2023-02-17T01:59:32.842Z] b85a868b505f: Download complete [2023-02-17T01:59:33.101Z] bab4dde63d76: Verifying Checksum [2023-02-17T01:59:33.101Z] bab4dde63d76: Download complete [2023-02-17T01:59:34.039Z] b85a868b505f: Pull complete [2023-02-17T01:59:34.298Z] e2be974225ed: Pull complete [2023-02-17T01:59:34.867Z] 339a4e72a1f5: Pull complete [2023-02-17T01:59:34.867Z] 988bab9f4d93: Pull complete [2023-02-17T01:59:35.127Z] 1469e6f7b9e6: Pull complete [2023-02-17T01:59:35.127Z] eaf3925da568: Pull complete [2023-02-17T01:59:37.030Z] bab4dde63d76: Pull complete [2023-02-17T01:59:37.030Z] bde34c3a00c8: Pull complete [2023-02-17T01:59:37.030Z] b352a97aabf1: Pull complete [2023-02-17T01:59:37.290Z] 4872d77fe225: Pull complete [2023-02-17T01:59:37.290Z] 5851b861e8e6: Pull complete [2023-02-17T01:59:37.290Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T01:59:37.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T01:59:37.290Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T01:59:37.519Z] prd-ubuntu20.04-docker-8c-8g-6350 does not seem to be running inside a container [2023-02-17T01:59:37.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-488 -v /w/workspace/gexfoundry_device-mqtt-go_PR-488:/w/workspace/gexfoundry_device-mqtt-go_PR-488:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T01:59:40.271Z] $ docker top 6fb1c3cafc6a5ba3ec1eddb89eb8bd74697cb4d0ca363dccba62d871ff0b0b24 -eo pid,comm [2023-02-17T01:59:40.334Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-17T01:59:40.334Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T01:59:40.446Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T01:59:40.446Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T01:59:40.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T01:59:40.571Z] $ docker exec 6fb1c3cafc6a5ba3ec1eddb89eb8bd74697cb4d0ca363dccba62d871ff0b0b24 ssh-agent [2023-02-17T01:59:40.678Z] SSH_AUTH_SOCK=/tmp/ssh-LMPyp5hJcuEG/agent.33 [2023-02-17T01:59:40.678Z] SSH_AGENT_PID=39 [2023-02-17T01:59:40.684Z] Running ssh-add (command line suppressed) [2023-02-17T01:59:40.811Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp/private_key_8393251421505586990.key (/w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp/private_key_8393251421505586990.key) [2023-02-17T01:59:40.824Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T01:59:41.149Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T01:59:41.174Z] $ docker exec --env ******** --env ******** 6fb1c3cafc6a5ba3ec1eddb89eb8bd74697cb4d0ca363dccba62d871ff0b0b24 ssh-agent -k [2023-02-17T01:59:41.267Z] unset SSH_AUTH_SOCK; [2023-02-17T01:59:41.268Z] unset SSH_AGENT_PID; [2023-02-17T01:59:41.268Z] echo Agent pid 39 killed; [2023-02-17T01:59:41.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T01:59:41.352Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T01:59:41.352Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T01:59:41.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T01:59:41.471Z] $ docker exec 6fb1c3cafc6a5ba3ec1eddb89eb8bd74697cb4d0ca363dccba62d871ff0b0b24 ssh-agent [2023-02-17T01:59:41.581Z] SSH_AUTH_SOCK=/tmp/ssh-Fq1JSdibfxcE/agent.71 [2023-02-17T01:59:41.581Z] SSH_AGENT_PID=77 [2023-02-17T01:59:41.585Z] Running ssh-add (command line suppressed) [2023-02-17T01:59:41.687Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp/private_key_16546045965440207045.key (/w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp/private_key_16546045965440207045.key) [2023-02-17T01:59:41.703Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T01:59:42.028Z] + git semver init [2023-02-17T01:59:42.288Z] 2023-02-17 01:59:42,205 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T01:59:42.288Z] 2023-02-17 01:59:42,206 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-488/.semver [2023-02-17T01:59:42.288Z] 2023-02-17 01:59:42,207 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-488/.semver [2023-02-17T01:59:42.288Z] 2023-02-17 01:59:42,207 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-488/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-488, universal_newlines=False, shell=None, istream=None) [2023-02-17T01:59:43.226Z] 2023-02-17 01:59:43,110 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-488/.git/info/exclude [2023-02-17T01:59:43.226Z] 2023-02-17 01:59:43,110 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-488/.semver/PR-488 with force:False [2023-02-17T01:59:43.226Z] 2023-02-17 01:59:43,110 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-488/.semver/PR-488 [2023-02-17T01:59:43.226Z] 2023-02-17 01:59:43,114 [execute] INFO git cat-file --batch-check [2023-02-17T01:59:43.226Z] 2023-02-17 01:59:43,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-488/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T01:59:43.226Z] 2023-02-17 01:59:43,122 [execute] INFO git cat-file --batch [2023-02-17T01:59:43.226Z] 2023-02-17 01:59:43,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-488/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T01:59:43.226Z] 2023-02-17 01:59:43,127 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-488/.semver/PR-488 [2023-02-17T01:59:43.226Z] 0.0.0 [Pipeline] } [2023-02-17T01:59:43.251Z] $ docker exec --env ******** --env ******** 6fb1c3cafc6a5ba3ec1eddb89eb8bd74697cb4d0ca363dccba62d871ff0b0b24 ssh-agent -k [2023-02-17T01:59:43.351Z] unset SSH_AUTH_SOCK; [2023-02-17T01:59:43.351Z] unset SSH_AGENT_PID; [2023-02-17T01:59:43.351Z] echo Agent pid 77 killed; [2023-02-17T01:59:43.361Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T01:59:43.779Z] + git semver [Pipeline] } [2023-02-17T01:59:44.060Z] $ docker stop --time=1 6fb1c3cafc6a5ba3ec1eddb89eb8bd74697cb4d0ca363dccba62d871ff0b0b24 [2023-02-17T01:59:45.384Z] $ docker rm -f --volumes 6fb1c3cafc6a5ba3ec1eddb89eb8bd74697cb4d0ca363dccba62d871ff0b0b24 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T01:59:45.790Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T01:59:46.046Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T01:59:46.064Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T01:59:46.659Z] provisioning config files... [2023-02-17T01:59:46.669Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp/config17890897829283423829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T01:59:47.016Z] ---> docker-login.sh [2023-02-17T01:59:47.016Z] nexus3.edgexfoundry.org:10001 [2023-02-17T01:59:47.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T01:59:47.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T01:59:47.016Z] Configure a credential helper to remove this warning. See [2023-02-17T01:59:47.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T01:59:47.016Z] [2023-02-17T01:59:47.016Z] Login Succeeded [2023-02-17T01:59:47.016Z] nexus3.edgexfoundry.org:10002 [2023-02-17T01:59:47.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T01:59:47.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T01:59:47.016Z] Configure a credential helper to remove this warning. See [2023-02-17T01:59:47.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T01:59:47.016Z] [2023-02-17T01:59:47.016Z] Login Succeeded [2023-02-17T01:59:47.016Z] nexus3.edgexfoundry.org:10003 [2023-02-17T01:59:47.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T01:59:47.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T01:59:47.276Z] Configure a credential helper to remove this warning. See [2023-02-17T01:59:47.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T01:59:47.276Z] [2023-02-17T01:59:47.276Z] Login Succeeded [2023-02-17T01:59:47.276Z] nexus3.edgexfoundry.org:10004 [2023-02-17T01:59:47.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T01:59:47.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T01:59:47.276Z] Configure a credential helper to remove this warning. See [2023-02-17T01:59:47.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T01:59:47.276Z] [2023-02-17T01:59:47.276Z] Login Succeeded [2023-02-17T01:59:47.276Z] docker.io [2023-02-17T01:59:47.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T01:59:47.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T01:59:47.794Z] Configure a credential helper to remove this warning. See [2023-02-17T01:59:47.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T01:59:47.794Z] [2023-02-17T01:59:47.794Z] Login Succeeded [2023-02-17T01:59:47.794Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T01:59:47.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T01:59:48.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T01:59:48.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T01:59:48.095Z] ========================================================= [2023-02-17T01:59:48.095Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T01:59:48.095Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T01:59:48.551Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T01:59:48.551Z] Sending build context to Docker daemon 6.317MB [2023-02-17T01:59:48.551Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T01:59:48.551Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T01:59:48.551Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T01:59:48.551Z] 213ec9aee27d: Pulling fs layer [2023-02-17T01:59:48.551Z] 4583459ba037: Pulling fs layer [2023-02-17T01:59:48.551Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T01:59:48.551Z] 53926ce57604: Pulling fs layer [2023-02-17T01:59:48.551Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T01:59:48.551Z] 22ff95d597cd: Pulling fs layer [2023-02-17T01:59:48.551Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T01:59:48.551Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T01:59:48.551Z] 21b2b0c7a3f4: Waiting [2023-02-17T01:59:48.551Z] 12d6caf4c0d1: Waiting [2023-02-17T01:59:48.551Z] 53926ce57604: Waiting [2023-02-17T01:59:48.551Z] a7acece74701: Pulling fs layer [2023-02-17T01:59:48.551Z] 96b7cbca73a9: Waiting [2023-02-17T01:59:48.551Z] a7acece74701: Waiting [2023-02-17T01:59:48.551Z] 22ff95d597cd: Waiting [2023-02-17T01:59:48.551Z] 93c1e223e6f2: Download complete [2023-02-17T01:59:48.551Z] 4583459ba037: Verifying Checksum [2023-02-17T01:59:48.551Z] 4583459ba037: Download complete [2023-02-17T01:59:48.817Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T01:59:48.817Z] 21b2b0c7a3f4: Download complete [2023-02-17T01:59:48.817Z] 22ff95d597cd: Verifying Checksum [2023-02-17T01:59:48.817Z] 22ff95d597cd: Download complete [2023-02-17T01:59:48.817Z] 213ec9aee27d: Verifying Checksum [2023-02-17T01:59:48.817Z] 213ec9aee27d: Download complete [2023-02-17T01:59:48.817Z] 12d6caf4c0d1: Verifying Checksum [2023-02-17T01:59:48.817Z] 12d6caf4c0d1: Download complete [2023-02-17T01:59:49.116Z] 213ec9aee27d: Pull complete [2023-02-17T01:59:49.116Z] 4583459ba037: Pull complete [2023-02-17T01:59:49.116Z] 93c1e223e6f2: Pull complete [2023-02-17T01:59:50.120Z] 53926ce57604: Verifying Checksum [2023-02-17T01:59:50.120Z] 53926ce57604: Download complete [2023-02-17T01:59:50.381Z] a7acece74701: Verifying Checksum [2023-02-17T01:59:50.381Z] a7acece74701: Download complete [2023-02-17T01:59:50.381Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T01:59:50.381Z] 96b7cbca73a9: Download complete [2023-02-17T01:59:53.668Z] 53926ce57604: Pull complete [2023-02-17T01:59:53.668Z] 21b2b0c7a3f4: Pull complete [2023-02-17T01:59:53.668Z] 22ff95d597cd: Pull complete [2023-02-17T01:59:53.668Z] 12d6caf4c0d1: Pull complete [2023-02-17T01:59:55.571Z] 96b7cbca73a9: Pull complete [2023-02-17T01:59:56.139Z] a7acece74701: Pull complete [2023-02-17T01:59:56.139Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T01:59:56.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T01:59:56.139Z] ---> db6d94c90886 [2023-02-17T01:59:56.139Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T02:00:00.330Z] ---> Running in 8d195f1ace3d [2023-02-17T02:00:00.330Z] Removing intermediate container 8d195f1ace3d [2023-02-17T02:00:00.330Z] ---> 61454fe82fa6 [2023-02-17T02:00:00.330Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T02:00:00.330Z] ---> Running in 0260c07c583d [2023-02-17T02:00:00.590Z] Removing intermediate container 0260c07c583d [2023-02-17T02:00:00.590Z] ---> 223bcbb0c151 [2023-02-17T02:00:00.590Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T02:00:00.590Z] ---> Running in 46df1b92da18 [2023-02-17T02:00:00.590Z] Removing intermediate container 46df1b92da18 [2023-02-17T02:00:00.590Z] ---> af86743b0833 [2023-02-17T02:00:00.590Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T02:00:00.590Z] ---> Running in 9af847955a5a [2023-02-17T02:00:00.849Z] Removing intermediate container 9af847955a5a [2023-02-17T02:00:00.849Z] ---> 8b9b1d3b7c44 [2023-02-17T02:00:00.849Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T02:00:00.849Z] ---> Running in de17367fcaac [2023-02-17T02:00:01.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T02:00:01.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T02:00:01.375Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T02:00:01.375Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T02:00:01.472Z] Still waiting to schedule task [2023-02-17T02:00:01.473Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6349’ [2023-02-17T02:00:01.641Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T02:00:01.641Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T02:00:01.641Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T02:00:01.641Z] OK: 216 MiB in 55 packages [2023-02-17T02:00:02.210Z] Removing intermediate container de17367fcaac [2023-02-17T02:00:02.210Z] ---> b5c59fa0f354 [2023-02-17T02:00:02.210Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-17T02:00:02.210Z] ---> Running in 72ac015a2278 [2023-02-17T02:00:02.210Z] Removing intermediate container 72ac015a2278 [2023-02-17T02:00:02.210Z] ---> 223178e5f491 [2023-02-17T02:00:02.210Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-17T02:00:02.210Z] ---> 16fb2c1a6bbe [2023-02-17T02:00:02.210Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T02:00:02.210Z] ---> Running in 6e2a6a08978e [2023-02-17T02:00:40.944Z] Removing intermediate container 6e2a6a08978e [2023-02-17T02:00:40.944Z] ---> 4524bc721ba3 [2023-02-17T02:00:40.944Z] Step 11/12 : COPY . . [2023-02-17T02:00:40.944Z] ---> 70bc0a9ab8e6 [2023-02-17T02:00:40.944Z] Step 12/12 : RUN $MAKE [2023-02-17T02:00:40.944Z] ---> Running in fb1253686363 [2023-02-17T02:00:40.944Z] noop [2023-02-17T02:00:40.944Z] Removing intermediate container fb1253686363 [2023-02-17T02:00:40.944Z] ---> 4bd195ed39ef [2023-02-17T02:00:40.944Z] Successfully built 4bd195ed39ef [2023-02-17T02:00:40.944Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:00:41.385Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T02:00:41.385Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:00:41.523Z] prd-ubuntu20.04-docker-8c-8g-6350 does not seem to be running inside a container [2023-02-17T02:00:41.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-488 -v /w/workspace/gexfoundry_device-mqtt-go_PR-488:/w/workspace/gexfoundry_device-mqtt-go_PR-488:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T02:00:41.916Z] $ docker top b29efeed891a93ec66a4e57ab37675dc46bdb2b1367d7f7402bc3f5cf37a8202 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T02:00:42.306Z] + go version [2023-02-17T02:00:42.306Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T02:00:42.338Z] $ docker stop --time=1 b29efeed891a93ec66a4e57ab37675dc46bdb2b1367d7f7402bc3f5cf37a8202 [2023-02-17T02:00:43.618Z] $ docker rm -f --volumes b29efeed891a93ec66a4e57ab37675dc46bdb2b1367d7f7402bc3f5cf37a8202 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:00:44.341Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T02:00:44.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:00:44.509Z] prd-ubuntu20.04-docker-8c-8g-6350 does not seem to be running inside a container [2023-02-17T02:00:44.545Z] $ 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-488 -v /w/workspace/gexfoundry_device-mqtt-go_PR-488:/w/workspace/gexfoundry_device-mqtt-go_PR-488:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T02:00:44.879Z] $ docker top 4b13acea4c89f6585c4db3c280f15dab9ff0eddc80e83df395e1b762efed3dc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T02:00:45.273Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-488 [Pipeline] fileExists [Pipeline] sh [2023-02-17T02:00:45.641Z] + make test [2023-02-17T02:00:45.641Z] go test ./... -coverprofile=coverage.out ./... [2023-02-17T02:00:46.206Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-17T02:00:56.171Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-17T02:00:56.171Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2023-02-17T02:00:56.171Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-17T02:01:02.723Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-17T02:01:02.723Z] go vet ./... [2023-02-17T02:01:06.004Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T02:01:06.004Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T02:01:06.004Z] ./bin/test-attribution-txt.sh [2023-02-17T02:01:06.004Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-17T02:01:06.004Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-17T02:01:06.039Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T02:01:06.069Z] $ docker stop --time=1 4b13acea4c89f6585c4db3c280f15dab9ff0eddc80e83df395e1b762efed3dc9 [2023-02-17T02:01:08.204Z] $ docker rm -f --volumes 4b13acea4c89f6585c4db3c280f15dab9ff0eddc80e83df395e1b762efed3dc9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T02:01:08.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T02:01:08.790Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T02:01:09.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T02:01:09.777Z] + ls -al . [2023-02-17T02:01:09.777Z] total 184 [2023-02-17T02:01:09.777Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 02:00 . [2023-02-17T02:01:09.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 01:59 .. [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 01:59 .dockerignore [2023-02-17T02:01:09.777Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 02:00 .git [2023-02-17T02:01:09.777Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 01:59 .github [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 17 01:59 .gitignore [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 01:59 .golangci.yml [2023-02-17T02:01:09.777Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 01:59 .semver [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 17 01:59 Attribution.txt [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 17 01:59 CHANGELOG.md [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 17 01:59 Dockerfile [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 01:59 GOVERNANCE.md [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 17 01:59 Jenkinsfile [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 01:59 LICENSE [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 17 01:59 Makefile [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 17 01:59 OWNERS.md [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 17 01:59 README.md [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 01:59 VERSION [2023-02-17T02:01:09.777Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 01:59 bin [2023-02-17T02:01:09.777Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 01:59 cmd [2023-02-17T02:01:09.777Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 17 02:00 coverage.out [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 3376 Feb 17 01:59 go.mod [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 17 01:59 go.sum [2023-02-17T02:01:09.777Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 01:59 internal [2023-02-17T02:01:09.777Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 01:59 mock [2023-02-17T02:01:09.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 01:59 snap [2023-02-17T02:01:09.777Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 17 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:01:10.183Z] + 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=6b23aea4ce326f5950033030257214041af6cef8 --label arch=amd64 --label version=0.0.0 . [2023-02-17T02:01:10.183Z] Sending build context to Docker daemon 6.335MB [2023-02-17T02:01:10.183Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T02:01:10.183Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-17T02:01:10.183Z] ---> 4bd195ed39ef [2023-02-17T02:01:10.183Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-17T02:01:10.443Z] ---> Running in 051b74e29f33 [2023-02-17T02:01:10.443Z] Removing intermediate container 051b74e29f33 [2023-02-17T02:01:10.443Z] ---> 994d4a17ce00 [2023-02-17T02:01:10.443Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T02:01:10.443Z] ---> Running in 37095db22268 [2023-02-17T02:01:10.443Z] Removing intermediate container 37095db22268 [2023-02-17T02:01:10.443Z] ---> a213c01869b0 [2023-02-17T02:01:10.443Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T02:01:10.443Z] ---> Running in 2d237bce4fb0 [2023-02-17T02:01:10.701Z] Removing intermediate container 2d237bce4fb0 [2023-02-17T02:01:10.701Z] ---> e20dc1068bf5 [2023-02-17T02:01:10.701Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T02:01:10.701Z] ---> Running in bff75e06c525 [2023-02-17T02:01:10.701Z] Removing intermediate container bff75e06c525 [2023-02-17T02:01:10.701Z] ---> 805ac72c243a [2023-02-17T02:01:10.701Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T02:01:10.701Z] ---> Running in fff29fb5439a [2023-02-17T02:01:10.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T02:01:11.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T02:01:11.480Z] OK: 216 MiB in 55 packages [2023-02-17T02:01:11.739Z] Removing intermediate container fff29fb5439a [2023-02-17T02:01:11.739Z] ---> f5efa82a3edd [2023-02-17T02:01:11.739Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-17T02:01:11.739Z] ---> Running in 93ac9e2c18c7 [2023-02-17T02:01:11.999Z] Removing intermediate container 93ac9e2c18c7 [2023-02-17T02:01:11.999Z] ---> 9906d19f7947 [2023-02-17T02:01:11.999Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-17T02:01:11.999Z] ---> 4e1b3f3b1ff6 [2023-02-17T02:01:11.999Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T02:01:11.999Z] ---> Running in 23227ccf92d1 [2023-02-17T02:01:12.933Z] Removing intermediate container 23227ccf92d1 [2023-02-17T02:01:12.933Z] ---> 4771da7c3e7a [2023-02-17T02:01:12.933Z] Step 11/24 : COPY . . [2023-02-17T02:01:13.190Z] ---> 351e3cff31c9 [2023-02-17T02:01:13.190Z] Step 12/24 : RUN $MAKE [2023-02-17T02:01:13.190Z] ---> Running in ed8d184e42d7 [2023-02-17T02:01:13.448Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-02-17T02:01:35.362Z] Removing intermediate container ed8d184e42d7 [2023-02-17T02:01:35.362Z] ---> 5d6e033404a9 [2023-02-17T02:01:35.362Z] Step 13/24 : FROM alpine:3.16 [2023-02-17T02:01:35.362Z] 3.16: Pulling from library/alpine [2023-02-17T02:01:35.362Z] ef5531b6e74e: Pulling fs layer [2023-02-17T02:01:35.362Z] ef5531b6e74e: Download complete [2023-02-17T02:01:35.362Z] ef5531b6e74e: Pull complete [2023-02-17T02:01:35.362Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T02:01:35.362Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T02:01:35.362Z] ---> dfd21b5a31f5 [2023-02-17T02:01:35.362Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-17T02:01:35.362Z] ---> Running in 56eb337083c6 [2023-02-17T02:01:35.362Z] Removing intermediate container 56eb337083c6 [2023-02-17T02:01:35.362Z] ---> 83d73ddb7782 [2023-02-17T02:01:35.362Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-17T02:01:35.362Z] ---> Running in d2fb7a82afc8 [2023-02-17T02:01:35.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T02:01:35.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T02:01:35.362Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T02:01:35.362Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T02:01:35.362Z] OK: 6 MiB in 15 packages [2023-02-17T02:01:35.362Z] Removing intermediate container d2fb7a82afc8 [2023-02-17T02:01:35.362Z] ---> 7490815489a6 [2023-02-17T02:01:35.362Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-17T02:01:36.294Z] ---> 23adfed26302 [2023-02-17T02:01:36.294Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-17T02:01:36.294Z] ---> cbb22839a971 [2023-02-17T02:01:36.294Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-17T02:01:36.554Z] ---> f4daa48c28b4 [2023-02-17T02:01:36.554Z] Step 19/24 : EXPOSE 59982 [2023-02-17T02:01:36.554Z] ---> Running in 8c7da6910d06 [2023-02-17T02:01:36.554Z] Removing intermediate container 8c7da6910d06 [2023-02-17T02:01:36.554Z] ---> 1bdde4699b22 [2023-02-17T02:01:36.554Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-17T02:01:36.554Z] ---> Running in 8a6feec9d9f2 [2023-02-17T02:01:36.554Z] Removing intermediate container 8a6feec9d9f2 [2023-02-17T02:01:36.554Z] ---> f7c44d29f9a8 [2023-02-17T02:01:36.554Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-17T02:01:36.554Z] ---> Running in be063d094234 [2023-02-17T02:01:36.813Z] Removing intermediate container be063d094234 [2023-02-17T02:01:36.813Z] ---> 3aecd4aaf623 [2023-02-17T02:01:36.813Z] Step 22/24 : LABEL arch=amd64 [2023-02-17T02:01:36.813Z] ---> Running in f9cc4f0ab806 [2023-02-17T02:01:36.813Z] Removing intermediate container f9cc4f0ab806 [2023-02-17T02:01:36.813Z] ---> 0705c0746ae4 [2023-02-17T02:01:36.813Z] Step 23/24 : LABEL git_sha=6b23aea4ce326f5950033030257214041af6cef8 [2023-02-17T02:01:36.813Z] ---> Running in c0ab68a6b44a [2023-02-17T02:01:37.075Z] Removing intermediate container c0ab68a6b44a [2023-02-17T02:01:37.075Z] ---> 194c7f301178 [2023-02-17T02:01:37.075Z] Step 24/24 : LABEL version=0.0.0 [2023-02-17T02:01:37.075Z] ---> Running in b1065707dd1a [2023-02-17T02:01:37.075Z] Removing intermediate container b1065707dd1a [2023-02-17T02:01:37.075Z] ---> 20451debd79a [2023-02-17T02:01:37.075Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T02:01:37.075Z] Successfully built 20451debd79a [2023-02-17T02:01:37.075Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:01:37.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T02:01:37.917Z] [2023-02-17T02:01:37.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:01:38.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T02:01:38.292Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T02:01:38.292Z] 5eb5b503b376: Pulling fs layer [2023-02-17T02:01:38.292Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T02:01:38.292Z] ec43610c2a17: Pulling fs layer [2023-02-17T02:01:38.292Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T02:01:38.292Z] 33b1e0a273af: Pulling fs layer [2023-02-17T02:01:38.292Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T02:01:38.292Z] 2f39f015ded8: Pulling fs layer [2023-02-17T02:01:38.292Z] 5d3b04190fa2: Waiting [2023-02-17T02:01:38.292Z] 33b1e0a273af: Waiting [2023-02-17T02:01:38.292Z] 2f39f015ded8: Waiting [2023-02-17T02:01:38.292Z] 3a2ae6a8a46f: Waiting [2023-02-17T02:01:38.292Z] 5c69ac0246d0: Download complete [2023-02-17T02:01:38.292Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-17T02:01:38.292Z] 3a2ae6a8a46f: Download complete [2023-02-17T02:01:38.561Z] 33b1e0a273af: Verifying Checksum [2023-02-17T02:01:38.561Z] 33b1e0a273af: Download complete [2023-02-17T02:01:38.561Z] 5d3b04190fa2: Verifying Checksum [2023-02-17T02:01:38.561Z] 5d3b04190fa2: Download complete [2023-02-17T02:01:38.561Z] ec43610c2a17: Verifying Checksum [2023-02-17T02:01:38.823Z] 5eb5b503b376: Verifying Checksum [2023-02-17T02:01:38.823Z] 5eb5b503b376: Download complete [2023-02-17T02:01:39.757Z] 2f39f015ded8: Download complete [2023-02-17T02:01:40.327Z] 5eb5b503b376: Pull complete [2023-02-17T02:01:40.327Z] 5c69ac0246d0: Pull complete [2023-02-17T02:01:40.895Z] ec43610c2a17: Pull complete [2023-02-17T02:01:40.895Z] 3a2ae6a8a46f: Pull complete [2023-02-17T02:01:41.153Z] 33b1e0a273af: Pull complete [2023-02-17T02:01:41.153Z] 5d3b04190fa2: Pull complete [2023-02-17T02:01:45.346Z] 2f39f015ded8: Pull complete [2023-02-17T02:01:45.346Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T02:01:45.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T02:01:45.604Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:01:45.808Z] prd-ubuntu20.04-docker-8c-8g-6350 does not seem to be running inside a container [2023-02-17T02:01:45.836Z] $ 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-488 -v /w/workspace/gexfoundry_device-mqtt-go_PR-488:/w/workspace/gexfoundry_device-mqtt-go_PR-488:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T02:01:49.491Z] $ docker top 50b0aab8e4363190ca1df168c7fb8f4a9e4a51bfe0bd3f8ec4d157cdd9b1794b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:01:49.915Z] ---> job-cost.sh [2023-02-17T02:01:49.915Z] lf-activate-venv: SKIPPING [2023-02-17T02:01:49.915Z] INFO: No Stack... [2023-02-17T02:01:50.174Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T02:01:50.433Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T02:01:50.740Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-488/archives/cost.csv [2023-02-17T02:01:50.740Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T02:01:50.781Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-488-1-stack-cost] [2023-02-17T02:01:50.786Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-488-1-stack-cost] did not exist. Created. [2023-02-17T02:01:50.786Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-488-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T02:01:51.163Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T02:01:51.208Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T02:01:51.233Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-488-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T02:01:51.298Z] $ docker stop --time=1 50b0aab8e4363190ca1df168c7fb8f4a9e4a51bfe0bd3f8ec4d157cdd9b1794b [2023-02-17T02:01:52.616Z] $ docker rm -f --volumes 50b0aab8e4363190ca1df168c7fb8f4a9e4a51bfe0bd3f8ec4d157cdd9b1794b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T02:02:28.823Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6352 in /w/workspace/gexfoundry_device-mqtt-go_PR-488 [Pipeline] { [Pipeline] ws [2023-02-17T02:02:28.879Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-02-17T02:02:28.959Z] Selected Git installation does not exist. Using Default [2023-02-17T02:02:28.959Z] The recommended git tool is: NONE [2023-02-17T02:02:34.615Z] using credential edgex-jenkins-ssh [2023-02-17T02:02:34.632Z] Cloning the remote Git repository [2023-02-17T02:02:34.680Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-17T02:02:34.754Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-17T02:02:34.906Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-17T02:02:34.907Z] > git --version # timeout=10 [2023-02-17T02:02:34.927Z] > git --version # 'git version 2.25.1' [2023-02-17T02:02:34.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T02:02:34.988Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T02:02:36.165Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-17T02:02:36.196Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T02:02:37.256Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-17T02:02:37.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-17T02:02:37.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T02:02:37.335Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/488/head:refs/remotes/origin/PR-488 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T02:02:37.908Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 6b23aea4ce326f5950033030257214041af6cef8 [2023-02-17T02:02:38.166Z] Merge succeeded, producing 6b23aea4ce326f5950033030257214041af6cef8 [2023-02-17T02:02:38.167Z] Checking out Revision 6b23aea4ce326f5950033030257214041af6cef8 (PR-488) [2023-02-17T02:02:38.710Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-17T02:02:38.778Z] > git --version # timeout=10 [2023-02-17T02:02:38.793Z] > git --version # 'git version 2.25.1' [2023-02-17T02:02:38.817Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T02:02:37.929Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T02:02:37.952Z] > git checkout -f 6b23aea4ce326f5950033030257214041af6cef8 # timeout=10 [2023-02-17T02:02:38.056Z] > git remote # timeout=10 [2023-02-17T02:02:38.079Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T02:02:38.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T02:02:38.116Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-17T02:02:38.144Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T02:02:38.175Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T02:02:38.195Z] > git checkout -f 6b23aea4ce326f5950033030257214041af6cef8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T02:02:39.982Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T02:02:39.982Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T02:02:39.982Z] Dload Upload Total Spent Left Speed [2023-02-17T02:02:39.982Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-02-17T02:02:40.606Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T02:02:40.960Z] + sudo tee /etc/docker/daemon.new [2023-02-17T02:02:40.960Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T02:02:40.960Z] { [2023-02-17T02:02:40.960Z] "registry-mirrors": [ [2023-02-17T02:02:40.960Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T02:02:40.960Z] ], [2023-02-17T02:02:40.960Z] "bip": "10.250.0.254/24", [2023-02-17T02:02:40.960Z] "hosts": [ [2023-02-17T02:02:40.960Z] "tcp://0.0.0.0:5555", [2023-02-17T02:02:40.960Z] "unix:///var/run/docker.sock" [2023-02-17T02:02:40.960Z] ], [2023-02-17T02:02:40.960Z] "mtu": 1458, [2023-02-17T02:02:40.960Z] "selinux-enabled": true, [2023-02-17T02:02:40.960Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T02:02:40.960Z] } [Pipeline] sh [2023-02-17T02:02:41.307Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T02:02:41.651Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T02:02:59.985Z] provisioning config files... [2023-02-17T02:03:00.013Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7738832839424938846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:03:00.399Z] ---> docker-login.sh [2023-02-17T02:03:00.399Z] nexus3.edgexfoundry.org:10001 [2023-02-17T02:03:00.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:03:00.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:03:00.989Z] Configure a credential helper to remove this warning. See [2023-02-17T02:03:00.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:03:00.989Z] [2023-02-17T02:03:00.989Z] Login Succeeded [2023-02-17T02:03:00.989Z] nexus3.edgexfoundry.org:10002 [2023-02-17T02:03:01.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:03:01.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:03:01.529Z] Configure a credential helper to remove this warning. See [2023-02-17T02:03:01.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:03:01.529Z] [2023-02-17T02:03:01.529Z] Login Succeeded [2023-02-17T02:03:01.529Z] nexus3.edgexfoundry.org:10003 [2023-02-17T02:03:01.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:03:01.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:03:01.806Z] Configure a credential helper to remove this warning. See [2023-02-17T02:03:01.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:03:01.806Z] [2023-02-17T02:03:01.806Z] Login Succeeded [2023-02-17T02:03:01.806Z] nexus3.edgexfoundry.org:10004 [2023-02-17T02:03:02.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:03:02.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:03:02.079Z] Configure a credential helper to remove this warning. See [2023-02-17T02:03:02.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:03:02.079Z] [2023-02-17T02:03:02.079Z] Login Succeeded [2023-02-17T02:03:02.079Z] docker.io [2023-02-17T02:03:02.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T02:03:02.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T02:03:02.936Z] Configure a credential helper to remove this warning. See [2023-02-17T02:03:02.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T02:03:02.936Z] [2023-02-17T02:03:02.936Z] Login Succeeded [2023-02-17T02:03:02.936Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T02:03:02.968Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T02:03:03.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T02:03:03.397Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T02:03:03.429Z] ========================================================= [2023-02-17T02:03:03.429Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T02:03:03.429Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:03:03.922Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T02:03:04.191Z] Sending build context to Docker daemon 3.275MB [2023-02-17T02:03:04.191Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T02:03:04.191Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T02:03:04.466Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T02:03:04.466Z] 9b18e9b68314: Pulling fs layer [2023-02-17T02:03:04.466Z] 35d82f9e3411: Pulling fs layer [2023-02-17T02:03:04.466Z] e16973657156: Pulling fs layer [2023-02-17T02:03:04.466Z] fc693d55d65f: Pulling fs layer [2023-02-17T02:03:04.466Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T02:03:04.466Z] dda99020689f: Pulling fs layer [2023-02-17T02:03:04.466Z] db1c61fa0a46: Pulling fs layer [2023-02-17T02:03:04.466Z] 891c053d2c06: Pulling fs layer [2023-02-17T02:03:04.466Z] fc693d55d65f: Waiting [2023-02-17T02:03:04.466Z] 7e9fc2657dce: Waiting [2023-02-17T02:03:04.466Z] dda99020689f: Waiting [2023-02-17T02:03:04.466Z] db1c61fa0a46: Waiting [2023-02-17T02:03:04.466Z] 891c053d2c06: Waiting [2023-02-17T02:03:04.466Z] e16973657156: Download complete [2023-02-17T02:03:04.466Z] 35d82f9e3411: Verifying Checksum [2023-02-17T02:03:04.466Z] 35d82f9e3411: Download complete [2023-02-17T02:03:04.466Z] 7e9fc2657dce: Download complete [2023-02-17T02:03:04.466Z] dda99020689f: Verifying Checksum [2023-02-17T02:03:04.466Z] dda99020689f: Download complete [2023-02-17T02:03:04.466Z] 9b18e9b68314: Verifying Checksum [2023-02-17T02:03:04.466Z] 9b18e9b68314: Download complete [2023-02-17T02:03:05.455Z] 9b18e9b68314: Pull complete [2023-02-17T02:03:05.727Z] 891c053d2c06: Verifying Checksum [2023-02-17T02:03:05.727Z] 891c053d2c06: Download complete [2023-02-17T02:03:06.332Z] 35d82f9e3411: Pull complete [2023-02-17T02:03:06.605Z] e16973657156: Pull complete [2023-02-17T02:03:06.874Z] db1c61fa0a46: Verifying Checksum [2023-02-17T02:03:06.874Z] db1c61fa0a46: Download complete [2023-02-17T02:03:07.839Z] fc693d55d65f: Verifying Checksum [2023-02-17T02:03:07.839Z] fc693d55d65f: Download complete [2023-02-17T02:03:20.195Z] fc693d55d65f: Pull complete [2023-02-17T02:03:20.195Z] 7e9fc2657dce: Pull complete [2023-02-17T02:03:20.195Z] dda99020689f: Pull complete [2023-02-17T02:03:26.856Z] db1c61fa0a46: Pull complete [2023-02-17T02:03:27.818Z] 891c053d2c06: Pull complete [2023-02-17T02:03:27.818Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T02:03:27.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T02:03:27.818Z] ---> f96f9c87975a [2023-02-17T02:03:27.818Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T02:03:29.859Z] ---> Running in 42d792307fb2 [2023-02-17T02:03:30.132Z] Removing intermediate container 42d792307fb2 [2023-02-17T02:03:30.133Z] ---> 1c130a258d42 [2023-02-17T02:03:30.133Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T02:03:30.406Z] ---> Running in 764056470a46 [2023-02-17T02:03:30.684Z] Removing intermediate container 764056470a46 [2023-02-17T02:03:30.684Z] ---> 823386da7831 [2023-02-17T02:03:30.684Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T02:03:30.684Z] ---> Running in 32d30c85bb6f [2023-02-17T02:03:30.955Z] Removing intermediate container 32d30c85bb6f [2023-02-17T02:03:30.955Z] ---> 346ad16d317a [2023-02-17T02:03:30.955Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T02:03:31.228Z] ---> Running in 14f2fda918b3 [2023-02-17T02:03:31.496Z] Removing intermediate container 14f2fda918b3 [2023-02-17T02:03:31.496Z] ---> 85a816664981 [2023-02-17T02:03:31.496Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T02:03:31.496Z] ---> Running in 02d8e646c9f3 [2023-02-17T02:03:32.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T02:03:32.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T02:03:33.875Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T02:03:33.875Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T02:03:33.875Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T02:03:34.141Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T02:03:34.141Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T02:03:34.141Z] OK: 226 MiB in 55 packages [2023-02-17T02:03:35.110Z] Removing intermediate container 02d8e646c9f3 [2023-02-17T02:03:35.110Z] ---> 6fcd1bc74b59 [2023-02-17T02:03:35.110Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-17T02:03:35.110Z] ---> Running in 0ab18a993904 [2023-02-17T02:03:35.379Z] Removing intermediate container 0ab18a993904 [2023-02-17T02:03:35.379Z] ---> aa43df910e24 [2023-02-17T02:03:35.379Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-17T02:03:35.967Z] ---> 4dd78c06b8cd [2023-02-17T02:03:35.967Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T02:03:36.237Z] ---> Running in 10a84cb29ed7 [2023-02-17T02:04:57.906Z] Removing intermediate container 10a84cb29ed7 [2023-02-17T02:04:57.906Z] ---> 6564898e6d1c [2023-02-17T02:04:57.906Z] Step 11/12 : COPY . . [2023-02-17T02:04:57.906Z] ---> 7ea340383eb6 [2023-02-17T02:04:57.906Z] Step 12/12 : RUN $MAKE [2023-02-17T02:04:57.906Z] ---> Running in 3ee03cdebf89 [2023-02-17T02:04:57.906Z] noop [2023-02-17T02:04:57.906Z] Removing intermediate container 3ee03cdebf89 [2023-02-17T02:04:57.906Z] ---> f7679fd266b5 [2023-02-17T02:04:57.906Z] Successfully built f7679fd266b5 [2023-02-17T02:04:57.906Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:04:58.377Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T02:04:58.377Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:04:58.639Z] prd-ubuntu20.04-docker-arm64-4c-16g-6352 does not seem to be running inside a container [2023-02-17T02:04:58.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T02:04:59.926Z] $ docker top 0a85e28f30328cd0e544694010025322215e798cfd6af43895d76959e265a6f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T02:05:00.823Z] + go version [2023-02-17T02:05:00.823Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T02:05:00.857Z] $ docker stop --time=1 0a85e28f30328cd0e544694010025322215e798cfd6af43895d76959e265a6f6 [2023-02-17T02:05:02.509Z] $ docker rm -f --volumes 0a85e28f30328cd0e544694010025322215e798cfd6af43895d76959e265a6f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:05:03.332Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T02:05:03.332Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:05:03.578Z] prd-ubuntu20.04-docker-arm64-4c-16g-6352 does not seem to be running inside a container [2023-02-17T02:05:03.652Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T02:05:04.869Z] $ docker top 8a1a00c74a642df0681ff049a19bb6aee1fd33992cd9b5e4e5c4cfedfaba3aa2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T02:05:05.754Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-17T02:05:06.161Z] + make test [2023-02-17T02:05:06.432Z] go test ./... -coverprofile=coverage.out ./... [2023-02-17T02:05:08.383Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-17T02:06:45.065Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-17T02:06:45.065Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.066s coverage: 21.8% of statements [2023-02-17T02:06:45.065Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-17T02:06:45.065Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T02:06:45.065Z] go vet ./... [2023-02-17T02:07:00.135Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T02:07:00.135Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T02:07:00.135Z] ./bin/test-attribution-txt.sh [2023-02-17T02:07:00.136Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-17T02:07:00.136Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-17T02:07:00.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T02:07:00.204Z] $ docker stop --time=1 8a1a00c74a642df0681ff049a19bb6aee1fd33992cd9b5e4e5c4cfedfaba3aa2 [2023-02-17T02:07:04.798Z] $ docker rm -f --volumes 8a1a00c74a642df0681ff049a19bb6aee1fd33992cd9b5e4e5c4cfedfaba3aa2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T02:07:05.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T02:07:05.916Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T02:07:06.500Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T02:07:07.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T02:07:07.449Z] + ls -al . [2023-02-17T02:07:07.449Z] total 180 [2023-02-17T02:07:07.449Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 17 02:05 . [2023-02-17T02:07:07.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 02:02 .. [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 02:02 .dockerignore [2023-02-17T02:07:07.449Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 02:02 .git [2023-02-17T02:07:07.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 02:02 .github [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 17 02:02 .gitignore [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 02:02 .golangci.yml [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 17 02:02 Attribution.txt [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 17 02:02 CHANGELOG.md [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 17 02:02 Dockerfile [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 02:02 GOVERNANCE.md [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 17 02:02 Jenkinsfile [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 02:02 LICENSE [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 17 02:02 Makefile [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 17 02:02 OWNERS.md [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 17 02:02 README.md [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 01:59 VERSION [2023-02-17T02:07:07.449Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 02:02 bin [2023-02-17T02:07:07.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 02:02 cmd [2023-02-17T02:07:07.449Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 17 02:06 coverage.out [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 3376 Feb 17 02:02 go.mod [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 17 02:02 go.sum [2023-02-17T02:07:07.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 02:02 internal [2023-02-17T02:07:07.449Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 02:02 mock [2023-02-17T02:07:07.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 02:02 snap [2023-02-17T02:07:07.449Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 17 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:07:07.868Z] + 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=6b23aea4ce326f5950033030257214041af6cef8 --label arch=arm64 --label version=0.0.0 . [2023-02-17T02:07:08.455Z] Sending build context to Docker daemon 3.294MB [2023-02-17T02:07:08.726Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T02:07:08.726Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-17T02:07:08.726Z] ---> f7679fd266b5 [2023-02-17T02:07:08.726Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-17T02:07:08.726Z] ---> Running in 77f2e8f5e8fb [2023-02-17T02:07:09.320Z] Removing intermediate container 77f2e8f5e8fb [2023-02-17T02:07:09.320Z] ---> 13958b8b6532 [2023-02-17T02:07:09.320Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T02:07:09.320Z] ---> Running in 097b40e43a62 [2023-02-17T02:07:11.302Z] Removing intermediate container 097b40e43a62 [2023-02-17T02:07:11.302Z] ---> 6eeaa26bacf2 [2023-02-17T02:07:11.302Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T02:07:11.302Z] ---> Running in 6948687d982c [2023-02-17T02:07:11.574Z] Removing intermediate container 6948687d982c [2023-02-17T02:07:11.574Z] ---> 2ce37a7a2fd7 [2023-02-17T02:07:11.574Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T02:07:11.574Z] ---> Running in 4a2e42f30815 [2023-02-17T02:07:12.166Z] Removing intermediate container 4a2e42f30815 [2023-02-17T02:07:12.166Z] ---> 2c3b72ba179a [2023-02-17T02:07:12.166Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T02:07:12.166Z] ---> Running in a493b77a701b [2023-02-17T02:07:13.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T02:07:13.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T02:07:15.007Z] OK: 226 MiB in 55 packages [2023-02-17T02:07:15.979Z] Removing intermediate container a493b77a701b [2023-02-17T02:07:15.979Z] ---> c1d5227cebef [2023-02-17T02:07:15.979Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-17T02:07:16.251Z] ---> Running in c6780d5cb6e8 [2023-02-17T02:07:16.521Z] Removing intermediate container c6780d5cb6e8 [2023-02-17T02:07:16.521Z] ---> f5b42d0999d9 [2023-02-17T02:07:16.521Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-17T02:07:17.120Z] ---> 127eb82d5525 [2023-02-17T02:07:17.120Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T02:07:17.120Z] ---> Running in f4a6418ed2f8 [2023-02-17T02:07:19.715Z] Removing intermediate container f4a6418ed2f8 [2023-02-17T02:07:19.715Z] ---> ddb859733d62 [2023-02-17T02:07:19.715Z] Step 11/24 : COPY . . [2023-02-17T02:07:20.674Z] ---> 4e9366f4e9e1 [2023-02-17T02:07:20.674Z] Step 12/24 : RUN $MAKE [2023-02-17T02:07:20.949Z] ---> Running in 00fcaad086c2 [2023-02-17T02:07:21.911Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-02-17T02:09:43.665Z] Removing intermediate container 00fcaad086c2 [2023-02-17T02:09:43.665Z] ---> 96d0df8cd3d3 [2023-02-17T02:09:43.665Z] Step 13/24 : FROM alpine:3.16 [2023-02-17T02:09:43.665Z] 3.16: Pulling from library/alpine [2023-02-17T02:09:43.665Z] 3760b48202b3: Pulling fs layer [2023-02-17T02:09:43.665Z] 3760b48202b3: Verifying Checksum [2023-02-17T02:09:43.665Z] 3760b48202b3: Download complete [2023-02-17T02:09:43.665Z] 3760b48202b3: Pull complete [2023-02-17T02:09:43.665Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T02:09:43.665Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T02:09:43.665Z] ---> 4c81e5bf8899 [2023-02-17T02:09:43.665Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-17T02:09:43.665Z] ---> Running in 899ea73e1b19 [2023-02-17T02:09:43.665Z] Removing intermediate container 899ea73e1b19 [2023-02-17T02:09:43.665Z] ---> 3f3e8ff62f29 [2023-02-17T02:09:43.665Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-17T02:09:43.665Z] ---> Running in 66294e7575a7 [2023-02-17T02:09:43.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T02:09:43.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T02:09:43.665Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T02:09:43.665Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T02:09:43.665Z] OK: 5 MiB in 15 packages [2023-02-17T02:09:43.665Z] Removing intermediate container 66294e7575a7 [2023-02-17T02:09:43.665Z] ---> 6cbde769e657 [2023-02-17T02:09:43.665Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-17T02:09:43.665Z] ---> b2fc54f539e8 [2023-02-17T02:09:43.665Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-17T02:09:43.665Z] ---> 0a7ac0c062c8 [2023-02-17T02:09:43.665Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-17T02:09:43.665Z] ---> c4dd34402e5b [2023-02-17T02:09:43.665Z] Step 19/24 : EXPOSE 59982 [2023-02-17T02:09:43.665Z] ---> Running in ec498ba5fe11 [2023-02-17T02:09:43.665Z] Removing intermediate container ec498ba5fe11 [2023-02-17T02:09:43.665Z] ---> 10d9f6c4cf5e [2023-02-17T02:09:43.665Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-17T02:09:43.665Z] ---> Running in 792170f84344 [2023-02-17T02:09:43.665Z] Removing intermediate container 792170f84344 [2023-02-17T02:09:43.665Z] ---> 7e41dce74782 [2023-02-17T02:09:43.665Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-17T02:09:43.665Z] ---> Running in 4d60547a431e [2023-02-17T02:09:43.665Z] Removing intermediate container 4d60547a431e [2023-02-17T02:09:43.665Z] ---> dcca68a60d92 [2023-02-17T02:09:43.665Z] Step 22/24 : LABEL arch=arm64 [2023-02-17T02:09:43.665Z] ---> Running in e79697b8d573 [2023-02-17T02:09:43.665Z] Removing intermediate container e79697b8d573 [2023-02-17T02:09:43.665Z] ---> f3408f7ce924 [2023-02-17T02:09:43.665Z] Step 23/24 : LABEL git_sha=6b23aea4ce326f5950033030257214041af6cef8 [2023-02-17T02:09:43.665Z] ---> Running in 266817aa8342 [2023-02-17T02:09:43.665Z] Removing intermediate container 266817aa8342 [2023-02-17T02:09:43.665Z] ---> 2ff7c251492a [2023-02-17T02:09:43.665Z] Step 24/24 : LABEL version=0.0.0 [2023-02-17T02:09:43.665Z] ---> Running in d37f3606ecf0 [2023-02-17T02:09:43.665Z] Removing intermediate container d37f3606ecf0 [2023-02-17T02:09:43.665Z] ---> 4cfa39643c01 [2023-02-17T02:09:43.665Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T02:09:43.666Z] Successfully built 4cfa39643c01 [2023-02-17T02:09:43.666Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:09:44.416Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T02:09:44.416Z] [2023-02-17T02:09:44.416Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:09:44.809Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T02:09:44.809Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T02:09:44.809Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T02:09:44.809Z] 04944245beec: Pulling fs layer [2023-02-17T02:09:44.809Z] 699f458cf7ca: Pulling fs layer [2023-02-17T02:09:44.809Z] 765212b225bb: Pulling fs layer [2023-02-17T02:09:44.809Z] f23df028b6ca: Pulling fs layer [2023-02-17T02:09:44.809Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T02:09:44.809Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T02:09:44.809Z] f23df028b6ca: Waiting [2023-02-17T02:09:44.809Z] 2437ff75d9bd: Waiting [2023-02-17T02:09:44.809Z] 765212b225bb: Waiting [2023-02-17T02:09:44.809Z] d65c8cfc05b1: Waiting [2023-02-17T02:09:45.080Z] 04944245beec: Verifying Checksum [2023-02-17T02:09:45.080Z] 04944245beec: Download complete [2023-02-17T02:09:45.080Z] 765212b225bb: Verifying Checksum [2023-02-17T02:09:45.080Z] 765212b225bb: Download complete [2023-02-17T02:09:45.356Z] f23df028b6ca: Verifying Checksum [2023-02-17T02:09:45.356Z] f23df028b6ca: Download complete [2023-02-17T02:09:45.356Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T02:09:45.356Z] d65c8cfc05b1: Download complete [2023-02-17T02:09:45.356Z] 699f458cf7ca: Verifying Checksum [2023-02-17T02:09:45.356Z] 699f458cf7ca: Download complete [2023-02-17T02:09:45.948Z] 8998bd30e6a1: Verifying Checksum [2023-02-17T02:09:45.948Z] 8998bd30e6a1: Download complete [2023-02-17T02:09:48.537Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T02:09:48.537Z] 2437ff75d9bd: Download complete [2023-02-17T02:09:49.944Z] 8998bd30e6a1: Pull complete [2023-02-17T02:09:50.531Z] 04944245beec: Pull complete [2023-02-17T02:09:51.944Z] 699f458cf7ca: Pull complete [2023-02-17T02:09:51.944Z] 765212b225bb: Pull complete [2023-02-17T02:09:52.906Z] f23df028b6ca: Pull complete [2023-02-17T02:09:53.173Z] d65c8cfc05b1: Pull complete [2023-02-17T02:10:08.282Z] 2437ff75d9bd: Pull complete [2023-02-17T02:10:08.282Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T02:10:08.282Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T02:10:08.282Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:10:08.619Z] prd-ubuntu20.04-docker-arm64-4c-16g-6352 does not seem to be running inside a container [2023-02-17T02:10:08.715Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-17T02:10:11.290Z] $ docker top 75ecd574599c6217b9c20f20b5457fbbd5d11a9cb74c670d1150d736ff24bbdf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:10:12.248Z] ---> job-cost.sh [2023-02-17T02:10:12.248Z] lf-activate-venv: SKIPPING [2023-02-17T02:10:12.248Z] INFO: No Stack... [2023-02-17T02:10:12.520Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T02:10:13.479Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T02:10:13.829Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-02-17T02:10:13.829Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T02:10:14.187Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-488-1-stack-cost] [2023-02-17T02:10:14.192Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-488-1-stack-cost] did not exist. Created. [2023-02-17T02:10:14.192Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-488-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T02:10:14.917Z] /w/workspace/device-mqtt-go/1@tmp/durable-a612d68e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T02:10:15.594Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T02:10:15.631Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T02:10:15.678Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T02:10:15.700Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-488-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T02:10:15.786Z] $ docker stop --time=1 75ecd574599c6217b9c20f20b5457fbbd5d11a9cb74c670d1150d736ff24bbdf [2023-02-17T02:10:17.344Z] $ docker rm -f --volumes 75ecd574599c6217b9c20f20b5457fbbd5d11a9cb74c670d1150d736ff24bbdf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-17T02:10:18.427Z] provisioning config files... [2023-02-17T02:10:18.436Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp/config408122899713245034tmp [Pipeline] { [Pipeline] sh [2023-02-17T02:10:18.780Z] + set +x [2023-02-17T02:10:18.780Z] + curl -s https://codecov.io/bash [2023-02-17T02:10:18.780Z] + bash -s -- [2023-02-17T02:10:18.780Z] [2023-02-17T02:10:18.780Z] _____ _ [2023-02-17T02:10:18.780Z] / ____| | | [2023-02-17T02:10:18.780Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T02:10:18.780Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T02:10:18.780Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T02:10:18.780Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T02:10:18.780Z] Bash-1.0.6 [2023-02-17T02:10:18.780Z] [2023-02-17T02:10:18.780Z] [2023-02-17T02:10:18.780Z] ==> git version 2.25.1 found [2023-02-17T02:10:18.780Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-17T02:10:18.780Z] Release-Date: 2020-01-08 [2023-02-17T02:10:18.780Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-17T02:10:18.780Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T02:10:18.780Z] ==> Jenkins CI detected. [2023-02-17T02:10:18.780Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-488 [2023-02-17T02:10:18.780Z] project root: . [2023-02-17T02:10:18.780Z] --> token set from env [2023-02-17T02:10:18.780Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T02:10:18.780Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T02:10:18.780Z] ==> Python coveragepy not found [2023-02-17T02:10:18.780Z] ==> Searching for coverage reports in: [2023-02-17T02:10:18.780Z] + . [2023-02-17T02:10:18.780Z] -> Found 1 reports [2023-02-17T02:10:19.039Z] ==> Detecting git/mercurial file structure [2023-02-17T02:10:19.039Z] ==> Reading reports [2023-02-17T02:10:19.039Z] + ./coverage.out bytes=17887 [2023-02-17T02:10:19.039Z] ==> Appending adjustments [2023-02-17T02:10:19.039Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T02:10:19.039Z] + Found adjustments [2023-02-17T02:10:19.039Z] ==> Gzipping contents [2023-02-17T02:10:19.039Z] 4.0K /tmp/codecov.aUmsUm.gz [2023-02-17T02:10:19.039Z] ==> Uploading reports [2023-02-17T02:10:19.039Z] url: https://codecov.io [2023-02-17T02:10:19.039Z] query: branch=PR-488&commit=6b23aea4ce326f5950033030257214041af6cef8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-488%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=488&job=&cmd_args= [2023-02-17T02:10:19.039Z] -> Pinging Codecov [2023-02-17T02:10:19.039Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-488&commit=6b23aea4ce326f5950033030257214041af6cef8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-488%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=488&job=&cmd_args= [2023-02-17T02:10:19.039Z] -> Uploading to [2023-02-17T02:10:19.039Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/7D719EC7BBE17E464838252E33014C33/6b23aea4ce326f5950033030257214041af6cef8/21924d0f-a3cc-4e1e-9880-eebe21a2737b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T021018Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d8e021bfa07c6de2c4b41f7509155d98a591b981ee55683b38e7ca7b293b4837 [2023-02-17T02:10:19.298Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T02:10:19.298Z] Dload Upload Total Spent Left Speed [2023-02-17T02:10:19.557Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3144 0 0 100 3144 0 11687 --:--:-- --:--:-- --:--:-- 11687 [2023-02-17T02:10:19.557Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/6b23aea4ce326f5950033030257214041af6cef8 [Pipeline] } [2023-02-17T02:10:19.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-17T02:10:21.251Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-488/archives ] [2023-02-17T02:10:21.251Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-488/archives [2023-02-17T02:10:21.251Z] total 16 [2023-02-17T02:10:21.251Z] drwxr-xr-x 3 root root 4096 Feb 17 02:01 . [2023-02-17T02:10:21.251Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 02:01 .. [2023-02-17T02:10:21.251Z] drwxr-xr-x 2 root root 4096 Feb 17 02:01 cost [2023-02-17T02:10:21.251Z] -rw-r--r-- 1 root root 86 Feb 17 02:01 cost.csv [2023-02-17T02:10:21.251Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-488/archives [2023-02-17T02:10:21.252Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-488/archives [2023-02-17T02:10:21.252Z] total 16 [2023-02-17T02:10:21.252Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 02:01 . [2023-02-17T02:10:21.252Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 02:01 .. [2023-02-17T02:10:21.252Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 02:01 cost [2023-02-17T02:10:21.252Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 17 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:10:21.583Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:10:22.476Z] ---> package-listing.sh [2023-02-17T02:10:22.476Z] ++ facter osfamily [2023-02-17T02:10:22.476Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T02:10:22.736Z] + OS_FAMILY=debian [2023-02-17T02:10:22.736Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-488 [2023-02-17T02:10:22.736Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T02:10:22.736Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T02:10:22.736Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T02:10:22.736Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T02:10:22.736Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-488 ']' [2023-02-17T02:10:22.736Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T02:10:22.736Z] + case "${OS_FAMILY}" in [2023-02-17T02:10:22.736Z] + dpkg -l [2023-02-17T02:10:22.736Z] + grep '^ii' [2023-02-17T02:10:22.736Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T02:10:22.736Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T02:10:22.736Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T02:10:22.736Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-488 ']' [2023-02-17T02:10:22.736Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-488/archives/ [2023-02-17T02:10:22.736Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-488/archives/ [Pipeline] echo [2023-02-17T02:10:22.768Z] 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-488/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T02:10:23.060Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T02:10:23.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T02:10:23.675Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T02:10:23.804Z] prd-ubuntu20.04-docker-8c-8g-6350 does not seem to be running inside a container [2023-02-17T02:10:23.835Z] $ 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-488/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-488 -v /w/workspace/gexfoundry_device-mqtt-go_PR-488:/w/workspace/gexfoundry_device-mqtt-go_PR-488:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T02:10:24.097Z] $ docker top b43eb02e247638bec1a1ed0dcfc71929e490ca4a252bb2149fce0bd8293e57bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T02:10:24.484Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T02:10:24.793Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T02:10:25.122Z] + ls /var/log/sa-host [2023-02-17T02:10:25.122Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T02:10:25.256Z] provisioning config files... [2023-02-17T02:10:25.265Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-488@tmp/config13896566064534674382tmp [Pipeline] { [Pipeline] echo [2023-02-17T02:10:25.307Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:10:25.620Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T02:10:25.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:10:26.041Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T02:10:26.075Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:10:26.385Z] ---> sudo-logs.sh [2023-02-17T02:10:26.385Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T02:10:26.470Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:10:26.779Z] ---> job-cost.sh [2023-02-17T02:10:26.779Z] lf-activate-venv: SKIPPING [2023-02-17T02:10:26.779Z] DEBUG: total: 0.2199999988079071 [2023-02-17T02:10:26.779Z] INFO: Retrieving Stack Cost... [2023-02-17T02:10:27.346Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T02:10:27.605Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T02:10:27.639Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T02:10:27.947Z] ---> logs-deploy.sh [2023-02-17T02:10:27.947Z] lf-activate-venv: SKIPPING [2023-02-17T02:10:27.947Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-488/1 [2023-02-17T02:10:27.947Z] INFO: archiving workspace using pattern(s): [2023-02-17T02:10:28.883Z] Archives upload complete. [2023-02-17T02:10:29.146Z] INFO: archiving logs to Nexus