Pull request #481 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d27a132a4c82dce27c35c5c589db7232da106559+bc7652beee9a90296fe0b57947c4589a421f5e02 (a0d54ff2d1393ced5e26e51d82cb088bfc6091fa) 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-ssh16630818206283127646.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-ssh9450929376418340774.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-481/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-481/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3556820749091643113.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-481/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1710145003616385752.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-ssh17591409787145712138.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-481/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-481/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1779718312165831787.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-5670 in /w/workspace/gexfoundry_device-mqtt-go_PR-481 [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-481 # 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/481/head:refs/remotes/origin/PR-481 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit d27a132a4c82dce27c35c5c589db7232da106559 Merge succeeded, producing d27a132a4c82dce27c35c5c589db7232da106559 Checking out Revision d27a132a4c82dce27c35c5c589db7232da106559 (PR-481) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > git config core.sparsecheckout # timeout=10 > git checkout -f d27a132a4c82dce27c35c5c589db7232da106559 # 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 d27a132a4c82dce27c35c5c589db7232da106559 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-14T02:03:23.648Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-14T02:03:23.827Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-14T02:03:23.935Z] ========================================================= [2023-02-14T02:03:23.935Z] EdgeX Global Pipelines Version Info [2023-02-14T02:03:23.935Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-14T02:03:27.413Z] ------------------- [2023-02-14T02:03:27.413Z] stable info: [2023-02-14T02:03:27.413Z] ------------------- [2023-02-14T02:03:27.413Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-14T02:03:27.414Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T02:03:27.414Z] Message: update stable to v1.0.244 [2023-02-14T02:03:29.323Z] ------------------- [2023-02-14T02:03:29.323Z] experimental info: [2023-02-14T02:03:29.323Z] ------------------- [2023-02-14T02:03:29.323Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-14T02:03:29.323Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T02:03:29.323Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-14T02:03:29.744Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-14T02:03:29.788Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-14T02:03:29.831Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-14T02:03:29.981Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-14T02:03:30.116Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-14T02:03:30.173Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-14T02:03:30.224Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-14T02:03:30.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-14T02:03:30.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-14T02:03:30.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-14T02:03:30.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-14T02:03:30.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-14T02:03:30.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-14T02:03:30.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-14T02:03:30.565Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T02:03:30.606Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T02:03:30.647Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T02:03:30.690Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T02:03:30.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-14T02:03:30.772Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-14T02:03:30.814Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-14T02:03:30.857Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-14T02:03:30.904Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-14T02:03:30.952Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-14T02:03:30.994Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-14T02:03:31.037Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-14T02:03:31.079Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-14T02:03:31.118Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-481 [Pipeline] echo [2023-02-14T02:03:31.160Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-481 [Pipeline] echo [2023-02-14T02:03:31.203Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-481 [Pipeline] echo [2023-02-14T02:03:31.242Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d27a132a4c82dce27c35c5c589db7232da106559 [Pipeline] echo [2023-02-14T02:03:31.280Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d27a132 [Pipeline] echo [2023-02-14T02:03:31.318Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T02:03:31.421Z] provisioning config files... [2023-02-14T02:03:31.434Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-481@tmp/config15930768801863808457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T02:03:31.778Z] ---> docker-login.sh [2023-02-14T02:03:31.778Z] nexus3.edgexfoundry.org:10001 [2023-02-14T02:03:32.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:03:32.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:03:32.038Z] Configure a credential helper to remove this warning. See [2023-02-14T02:03:32.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:03:32.038Z] [2023-02-14T02:03:32.038Z] Login Succeeded [2023-02-14T02:03:32.038Z] nexus3.edgexfoundry.org:10002 [2023-02-14T02:03:32.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:03:32.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:03:32.559Z] Configure a credential helper to remove this warning. See [2023-02-14T02:03:32.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:03:32.559Z] [2023-02-14T02:03:32.559Z] Login Succeeded [2023-02-14T02:03:32.559Z] nexus3.edgexfoundry.org:10003 [2023-02-14T02:03:32.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:03:32.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:03:32.559Z] Configure a credential helper to remove this warning. See [2023-02-14T02:03:32.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:03:32.559Z] [2023-02-14T02:03:32.559Z] Login Succeeded [2023-02-14T02:03:32.559Z] nexus3.edgexfoundry.org:10004 [2023-02-14T02:03:32.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:03:32.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:03:32.819Z] Configure a credential helper to remove this warning. See [2023-02-14T02:03:32.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:03:32.819Z] [2023-02-14T02:03:32.819Z] Login Succeeded [2023-02-14T02:03:32.819Z] docker.io [2023-02-14T02:03:32.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:03:33.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:03:33.761Z] Configure a credential helper to remove this warning. See [2023-02-14T02:03:33.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:03:33.761Z] [2023-02-14T02:03:33.761Z] Login Succeeded [2023-02-14T02:03:33.761Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T02:03:33.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-14T02:03:34.404Z] + git rev-list -1 --merges d27a132a4c82dce27c35c5c589db7232da106559~1..d27a132a4c82dce27c35c5c589db7232da106559 [Pipeline] echo [2023-02-14T02:03:34.470Z] -----------> git rev-list -1 --merges d27a132a4c82dce27c35c5c589db7232da106559~1..d27a132a4c82dce27c35c5c589db7232da106559 d27a132a4c82dce27c35c5c589db7232da106559 [false] [Pipeline] sh [2023-02-14T02:03:34.778Z] + git log --format=format:%s -1 d27a132a4c82dce27c35c5c589db7232da106559 [Pipeline] echo [2023-02-14T02:03:34.815Z] ========================================================= [2023-02-14T02:03:34.815Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-14T02:03:34.815Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T02:03:35.257Z] + git log --format=format:%s -1 d27a132a4c82dce27c35c5c589db7232da106559 [Pipeline] echo [2023-02-14T02:03:35.287Z] [semverPrep] GIT_COMMIT: d27a132a4c82dce27c35c5c589db7232da106559, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-14T02:03:35.334Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-14T02:03:35.709Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-14T02:03:35.709Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-14T02:03:35.709Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-14T02:03:35.709Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-14T02:03:35.709Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-14T02:03:35.709Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-14T02:03:35.709Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T02:03:36.131Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T02:03:36.131Z] [2023-02-14T02:03:36.131Z] 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-14T02:03:36.504Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T02:03:36.505Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-14T02:03:36.505Z] b85a868b505f: Pulling fs layer [2023-02-14T02:03:36.505Z] e2be974225ed: Pulling fs layer [2023-02-14T02:03:36.505Z] 339a4e72a1f5: Pulling fs layer [2023-02-14T02:03:36.505Z] 988bab9f4d93: Pulling fs layer [2023-02-14T02:03:36.505Z] 1469e6f7b9e6: Pulling fs layer [2023-02-14T02:03:36.505Z] eaf3925da568: Pulling fs layer [2023-02-14T02:03:36.505Z] bab4dde63d76: Pulling fs layer [2023-02-14T02:03:36.505Z] bde34c3a00c8: Pulling fs layer [2023-02-14T02:03:36.505Z] b352a97aabf1: Pulling fs layer [2023-02-14T02:03:36.505Z] 4872d77fe225: Pulling fs layer [2023-02-14T02:03:36.505Z] 5851b861e8e6: Pulling fs layer [2023-02-14T02:03:36.505Z] bab4dde63d76: Waiting [2023-02-14T02:03:36.505Z] 5851b861e8e6: Waiting [2023-02-14T02:03:36.505Z] 4872d77fe225: Waiting [2023-02-14T02:03:36.505Z] 988bab9f4d93: Waiting [2023-02-14T02:03:36.505Z] eaf3925da568: Waiting [2023-02-14T02:03:36.505Z] 1469e6f7b9e6: Waiting [2023-02-14T02:03:36.505Z] b352a97aabf1: Waiting [2023-02-14T02:03:36.505Z] bde34c3a00c8: Waiting [2023-02-14T02:03:36.505Z] e2be974225ed: Download complete [2023-02-14T02:03:36.505Z] 988bab9f4d93: Download complete [2023-02-14T02:03:36.770Z] 1469e6f7b9e6: Verifying Checksum [2023-02-14T02:03:36.770Z] 1469e6f7b9e6: Download complete [2023-02-14T02:03:36.770Z] eaf3925da568: Verifying Checksum [2023-02-14T02:03:36.770Z] eaf3925da568: Download complete [2023-02-14T02:03:36.770Z] 339a4e72a1f5: Download complete [2023-02-14T02:03:36.770Z] bde34c3a00c8: Verifying Checksum [2023-02-14T02:03:36.770Z] bde34c3a00c8: Download complete [2023-02-14T02:03:36.770Z] b352a97aabf1: Verifying Checksum [2023-02-14T02:03:36.770Z] b352a97aabf1: Download complete [2023-02-14T02:03:37.033Z] 4872d77fe225: Verifying Checksum [2023-02-14T02:03:37.033Z] 4872d77fe225: Download complete [2023-02-14T02:03:37.033Z] 5851b861e8e6: Download complete [2023-02-14T02:03:37.033Z] b85a868b505f: Verifying Checksum [2023-02-14T02:03:37.033Z] b85a868b505f: Download complete [2023-02-14T02:03:37.606Z] bab4dde63d76: Verifying Checksum [2023-02-14T02:03:37.606Z] bab4dde63d76: Download complete [2023-02-14T02:03:38.175Z] b85a868b505f: Pull complete [2023-02-14T02:03:38.175Z] e2be974225ed: Pull complete [2023-02-14T02:03:38.747Z] 339a4e72a1f5: Pull complete [2023-02-14T02:03:38.747Z] 988bab9f4d93: Pull complete [2023-02-14T02:03:39.005Z] 1469e6f7b9e6: Pull complete [2023-02-14T02:03:39.005Z] eaf3925da568: Pull complete [2023-02-14T02:03:40.377Z] bab4dde63d76: Pull complete [2023-02-14T02:03:40.636Z] bde34c3a00c8: Pull complete [2023-02-14T02:03:40.636Z] b352a97aabf1: Pull complete [2023-02-14T02:03:40.896Z] 4872d77fe225: Pull complete [2023-02-14T02:03:40.896Z] 5851b861e8e6: Pull complete [2023-02-14T02:03:40.896Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-14T02:03:40.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T02:03:40.896Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T02:03:41.118Z] prd-ubuntu20.04-docker-8c-8g-5670 does not seem to be running inside a container [2023-02-14T02:03:41.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-481 -v /w/workspace/gexfoundry_device-mqtt-go_PR-481:/w/workspace/gexfoundry_device-mqtt-go_PR-481:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-481@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-481@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-14T02:03:42.581Z] $ docker top a30a952b5081f4da635c0eed6de8f09c1ca3e131bd6b36bd35a07f6a6a832f6d -eo pid,comm [2023-02-14T02:03:42.650Z] 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-14T02:03:42.650Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-14T02:03:42.778Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T02:03:42.778Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T02:03:42.905Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T02:03:42.892Z] $ docker exec a30a952b5081f4da635c0eed6de8f09c1ca3e131bd6b36bd35a07f6a6a832f6d ssh-agent [2023-02-14T02:03:43.013Z] SSH_AUTH_SOCK=/tmp/ssh-KF1KX4gRIGIq/agent.32 [2023-02-14T02:03:43.013Z] SSH_AGENT_PID=38 [2023-02-14T02:03:43.019Z] Running ssh-add (command line suppressed) [2023-02-14T02:03:43.100Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-481@tmp/private_key_6587279981638389146.key (/w/workspace/gexfoundry_device-mqtt-go_PR-481@tmp/private_key_6587279981638389146.key) [2023-02-14T02:03:43.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T02:03:43.447Z] + git tag --points-at HEAD [Pipeline] } [2023-02-14T02:03:43.455Z] $ docker exec --env ******** --env ******** a30a952b5081f4da635c0eed6de8f09c1ca3e131bd6b36bd35a07f6a6a832f6d ssh-agent -k [2023-02-14T02:03:43.545Z] unset SSH_AUTH_SOCK; [2023-02-14T02:03:43.545Z] unset SSH_AGENT_PID; [2023-02-14T02:03:43.546Z] echo Agent pid 38 killed; [2023-02-14T02:03:43.571Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-14T02:03:43.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T02:03:43.662Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T02:03:43.769Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T02:03:43.756Z] $ docker exec a30a952b5081f4da635c0eed6de8f09c1ca3e131bd6b36bd35a07f6a6a832f6d ssh-agent [2023-02-14T02:03:43.875Z] SSH_AUTH_SOCK=/tmp/ssh-vI5kaYin1QIj/agent.70 [2023-02-14T02:03:43.875Z] SSH_AGENT_PID=76 [2023-02-14T02:03:43.879Z] Running ssh-add (command line suppressed) [2023-02-14T02:03:43.977Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-481@tmp/private_key_10027537265552961690.key (/w/workspace/gexfoundry_device-mqtt-go_PR-481@tmp/private_key_10027537265552961690.key) [2023-02-14T02:03:44.008Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T02:03:44.333Z] + git semver init [2023-02-14T02:03:44.591Z] 2023-02-14 02:03:44,496 [run_init] DEBUG init version:0.0.0 force:False [2023-02-14T02:03:44.591Z] 2023-02-14 02:03:44,497 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-481/.semver [2023-02-14T02:03:44.591Z] 2023-02-14 02:03:44,498 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-481/.semver [2023-02-14T02:03:44.591Z] 2023-02-14 02:03:44,498 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-481/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-481, universal_newlines=False, shell=None, istream=None) [2023-02-14T02:04:31.280Z] 2023-02-14 02:04:25,142 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-481/.git/info/exclude [2023-02-14T02:04:31.280Z] 2023-02-14 02:04:25,143 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-481/.semver/PR-481 with force:False [2023-02-14T02:04:31.280Z] 2023-02-14 02:04:25,143 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-481/.semver/PR-481 [2023-02-14T02:04:31.280Z] 2023-02-14 02:04:25,147 [execute] INFO git cat-file --batch-check [2023-02-14T02:04:31.280Z] 2023-02-14 02:04:25,147 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-481/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T02:04:31.280Z] 2023-02-14 02:04:25,152 [execute] INFO git cat-file --batch [2023-02-14T02:04:31.280Z] 2023-02-14 02:04:25,152 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-481/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T02:04:31.280Z] 2023-02-14 02:04:25,156 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-481/.semver/PR-481 [2023-02-14T02:04:31.280Z] 0.0.0 [Pipeline] } [2023-02-14T02:04:31.293Z] $ docker exec --env ******** --env ******** a30a952b5081f4da635c0eed6de8f09c1ca3e131bd6b36bd35a07f6a6a832f6d ssh-agent -k [2023-02-14T02:04:31.398Z] unset SSH_AUTH_SOCK; [2023-02-14T02:04:31.400Z] unset SSH_AGENT_PID; [2023-02-14T02:04:31.400Z] echo Agent pid 76 killed; [2023-02-14T02:04:31.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-14T02:04:31.844Z] + git semver [Pipeline] } [2023-02-14T02:04:32.112Z] $ docker stop --time=1 a30a952b5081f4da635c0eed6de8f09c1ca3e131bd6b36bd35a07f6a6a832f6d [2023-02-14T02:04:33.397Z] $ docker rm -f --volumes a30a952b5081f4da635c0eed6de8f09c1ca3e131bd6b36bd35a07f6a6a832f6d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T02:04:33.817Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-14T02:04:34.085Z] Stashed 1 file(s) [Pipeline] echo [2023-02-14T02:04:34.104Z] [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-14T02:04:34.656Z] provisioning config files... [2023-02-14T02:04:34.666Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-481@tmp/config6282138109614425301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T02:04:35.006Z] ---> docker-login.sh [2023-02-14T02:04:35.006Z] nexus3.edgexfoundry.org:10001 [2023-02-14T02:04:35.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:04:35.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:04:35.006Z] Configure a credential helper to remove this warning. See [2023-02-14T02:04:35.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:04:35.006Z] [2023-02-14T02:04:35.006Z] Login Succeeded [2023-02-14T02:04:35.006Z] nexus3.edgexfoundry.org:10002 [2023-02-14T02:04:35.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:04:35.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:04:35.006Z] Configure a credential helper to remove this warning. See [2023-02-14T02:04:35.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:04:35.006Z] [2023-02-14T02:04:35.006Z] Login Succeeded [2023-02-14T02:04:35.006Z] nexus3.edgexfoundry.org:10003 [2023-02-14T02:04:35.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:04:35.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:04:35.266Z] Configure a credential helper to remove this warning. See [2023-02-14T02:04:35.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:04:35.266Z] [2023-02-14T02:04:35.266Z] Login Succeeded [2023-02-14T02:04:35.266Z] nexus3.edgexfoundry.org:10004 [2023-02-14T02:04:35.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:04:35.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:04:35.266Z] Configure a credential helper to remove this warning. See [2023-02-14T02:04:35.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:04:35.266Z] [2023-02-14T02:04:35.266Z] Login Succeeded [2023-02-14T02:04:35.266Z] docker.io [2023-02-14T02:04:35.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:04:40.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:04:40.805Z] Configure a credential helper to remove this warning. See [2023-02-14T02:04:40.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:04:40.805Z] [2023-02-14T02:04:40.805Z] Login Succeeded [2023-02-14T02:04:40.805Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T02:04:40.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T02:04:41.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T02:04:41.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T02:04:41.085Z] ========================================================= [2023-02-14T02:04:41.085Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-14T02:04:41.085Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T02:04:41.652Z] + 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-14T02:04:41.652Z] Sending build context to Docker daemon 6.34MB [2023-02-14T02:04:41.652Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T02:04:41.652Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-14T02:04:41.652Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-14T02:04:41.652Z] 213ec9aee27d: Pulling fs layer [2023-02-14T02:04:41.652Z] 4583459ba037: Pulling fs layer [2023-02-14T02:04:41.652Z] 93c1e223e6f2: Pulling fs layer [2023-02-14T02:04:41.652Z] 53926ce57604: Pulling fs layer [2023-02-14T02:04:41.652Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-14T02:04:41.652Z] 22ff95d597cd: Pulling fs layer [2023-02-14T02:04:41.652Z] 12d6caf4c0d1: Pulling fs layer [2023-02-14T02:04:41.652Z] 96b7cbca73a9: Pulling fs layer [2023-02-14T02:04:41.652Z] a7acece74701: Pulling fs layer [2023-02-14T02:04:41.652Z] 53926ce57604: Waiting [2023-02-14T02:04:41.652Z] 21b2b0c7a3f4: Waiting [2023-02-14T02:04:41.652Z] 22ff95d597cd: Waiting [2023-02-14T02:04:41.652Z] 12d6caf4c0d1: Waiting [2023-02-14T02:04:41.652Z] 96b7cbca73a9: Waiting [2023-02-14T02:04:41.652Z] a7acece74701: Waiting [2023-02-14T02:04:41.652Z] 93c1e223e6f2: Download complete [2023-02-14T02:04:41.912Z] 213ec9aee27d: Verifying Checksum [2023-02-14T02:04:41.912Z] 213ec9aee27d: Download complete [2023-02-14T02:04:41.912Z] 21b2b0c7a3f4: Download complete [2023-02-14T02:04:41.912Z] 22ff95d597cd: Download complete [2023-02-14T02:04:41.912Z] 213ec9aee27d: Pull complete [2023-02-14T02:04:41.912Z] 12d6caf4c0d1: Download complete [2023-02-14T02:04:41.912Z] 4583459ba037: Download complete [2023-02-14T02:04:42.179Z] 4583459ba037: Pull complete [2023-02-14T02:04:42.179Z] 93c1e223e6f2: Pull complete [2023-02-14T02:04:42.757Z] 53926ce57604: Verifying Checksum [2023-02-14T02:04:42.757Z] 53926ce57604: Download complete [2023-02-14T02:04:42.757Z] a7acece74701: Verifying Checksum [2023-02-14T02:04:42.757Z] a7acece74701: Download complete [2023-02-14T02:04:43.324Z] 96b7cbca73a9: Verifying Checksum [2023-02-14T02:04:43.324Z] 96b7cbca73a9: Download complete [2023-02-14T02:04:45.852Z] 53926ce57604: Pull complete [2023-02-14T02:04:46.111Z] 21b2b0c7a3f4: Pull complete [2023-02-14T02:04:46.111Z] 22ff95d597cd: Pull complete [2023-02-14T02:04:46.111Z] 12d6caf4c0d1: Pull complete [2023-02-14T02:04:48.009Z] 96b7cbca73a9: Pull complete [2023-02-14T02:04:48.943Z] a7acece74701: Pull complete [2023-02-14T02:04:48.943Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-14T02:04:48.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-14T02:04:48.943Z] ---> db6d94c90886 [2023-02-14T02:04:48.943Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-14T02:04:49.489Z] Still waiting to schedule task [2023-02-14T02:04:49.489Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-14T02:04:50.854Z] ---> Running in 7f14cbf92c86 [2023-02-14T02:04:50.854Z] Removing intermediate container 7f14cbf92c86 [2023-02-14T02:04:50.854Z] ---> 9cee231146e0 [2023-02-14T02:04:50.854Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T02:04:51.115Z] ---> Running in 5d10fa114ce4 [2023-02-14T02:04:51.115Z] Removing intermediate container 5d10fa114ce4 [2023-02-14T02:04:51.115Z] ---> 949fdc9fdafc [2023-02-14T02:04:51.115Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T02:04:51.115Z] ---> Running in 08df405ff455 [2023-02-14T02:04:51.374Z] Removing intermediate container 08df405ff455 [2023-02-14T02:04:51.374Z] ---> 65256251eefb [2023-02-14T02:04:51.374Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T02:04:51.374Z] ---> Running in 04a5eaf7a4d2 [2023-02-14T02:04:51.374Z] Removing intermediate container 04a5eaf7a4d2 [2023-02-14T02:04:51.374Z] ---> 3667b2b1ccfc [2023-02-14T02:04:51.374Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T02:04:51.374Z] ---> Running in c3eedc412128 [2023-02-14T02:04:51.632Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T02:05:01.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T02:05:48.310Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-14T02:05:48.310Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-14T02:05:48.310Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-14T02:05:58.290Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-14T02:06:00.826Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T02:06:00.826Z] OK: 216 MiB in 55 packages [2023-02-14T02:06:01.085Z] Removing intermediate container c3eedc412128 [2023-02-14T02:06:01.085Z] ---> bd92ce5224ad [2023-02-14T02:06:01.085Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-14T02:06:01.085Z] ---> Running in 0cfcc9d99e20 [2023-02-14T02:06:01.085Z] Removing intermediate container 0cfcc9d99e20 [2023-02-14T02:06:01.085Z] ---> e835bc0a7891 [2023-02-14T02:06:01.085Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-14T02:06:01.343Z] ---> 6e560a5b7876 [2023-02-14T02:06:01.343Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T02:06:01.343Z] ---> Running in 35681d0e4643 [2023-02-14T02:07:39.206Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5676 in /w/workspace/gexfoundry_device-mqtt-go_PR-481 [Pipeline] { [Pipeline] ws [2023-02-14T02:07:39.262Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-02-14T02:07:39.342Z] Selected Git installation does not exist. Using Default [2023-02-14T02:07:39.342Z] The recommended git tool is: NONE [2023-02-14T02:07:45.364Z] using credential edgex-jenkins-ssh [2023-02-14T02:07:45.383Z] Cloning the remote Git repository [2023-02-14T02:07:44.921Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-14T02:07:45.013Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-14T02:07:45.193Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-14T02:07:45.194Z] > git --version # timeout=10 [2023-02-14T02:07:45.218Z] > git --version # 'git version 2.25.1' [2023-02-14T02:07:45.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T02:07:45.296Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T02:08:20.061Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-14T02:08:20.102Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T02:08:21.089Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-14T02:08:21.137Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-14T02:08:21.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T02:08:21.157Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/481/head:refs/remotes/origin/PR-481 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-14T02:08:28.952Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit d27a132a4c82dce27c35c5c589db7232da106559 [2023-02-14T02:08:29.203Z] Merge succeeded, producing d27a132a4c82dce27c35c5c589db7232da106559 [2023-02-14T02:08:29.203Z] Checking out Revision d27a132a4c82dce27c35c5c589db7232da106559 (PR-481) [2023-02-14T02:08:29.760Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-14T02:08:29.551Z] > git --version # timeout=10 [2023-02-14T02:08:29.563Z] > git --version # 'git version 2.25.1' [2023-02-14T02:08:29.584Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T02:08:28.704Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T02:08:28.731Z] > git checkout -f d27a132a4c82dce27c35c5c589db7232da106559 # timeout=10 [2023-02-14T02:08:28.827Z] > git remote # timeout=10 [2023-02-14T02:08:28.847Z] > git config --get remote.origin.url # timeout=10 [2023-02-14T02:08:28.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T02:08:28.883Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-14T02:08:28.912Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-14T02:08:28.940Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T02:08:28.960Z] > git checkout -f d27a132a4c82dce27c35c5c589db7232da106559 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T02:08:32.080Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-14T02:08:32.080Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T02:08:32.080Z] Dload Upload Total Spent Left Speed [2023-02-14T02:08:33.640Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 12751 100 12751 0 0 7434 0 0:00:01 0:00:01 --:--:-- 7439 [Pipeline] sh [2023-02-14T02:08:34.231Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-14T02:08:34.702Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-14T02:08:34.703Z] + sudo tee /etc/docker/daemon.new [2023-02-14T02:08:34.703Z] { [2023-02-14T02:08:34.703Z] "registry-mirrors": [ [2023-02-14T02:08:34.703Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-14T02:08:34.703Z] ], [2023-02-14T02:08:34.703Z] "bip": "10.250.0.254/24", [2023-02-14T02:08:34.703Z] "hosts": [ [2023-02-14T02:08:34.703Z] "tcp://0.0.0.0:5555", [2023-02-14T02:08:34.703Z] "unix:///var/run/docker.sock" [2023-02-14T02:08:34.703Z] ], [2023-02-14T02:08:34.703Z] "mtu": 1458, [2023-02-14T02:08:34.703Z] "selinux-enabled": true, [2023-02-14T02:08:34.703Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-14T02:08:34.703Z] } [Pipeline] sh [2023-02-14T02:08:35.058Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-14T02:08:35.428Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T02:08:53.934Z] provisioning config files... [2023-02-14T02:08:53.967Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2487233620355766531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T02:08:54.380Z] ---> docker-login.sh [2023-02-14T02:08:54.380Z] nexus3.edgexfoundry.org:10001 [2023-02-14T02:08:54.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:08:54.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:08:54.977Z] Configure a credential helper to remove this warning. See [2023-02-14T02:08:54.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:08:54.977Z] [2023-02-14T02:08:54.977Z] Login Succeeded [2023-02-14T02:08:54.977Z] nexus3.edgexfoundry.org:10002 [2023-02-14T02:08:55.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:08:55.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:08:55.529Z] Configure a credential helper to remove this warning. See [2023-02-14T02:08:55.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:08:55.529Z] [2023-02-14T02:08:55.529Z] Login Succeeded [2023-02-14T02:08:55.529Z] nexus3.edgexfoundry.org:10003 [2023-02-14T02:08:55.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:08:55.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:08:55.798Z] Configure a credential helper to remove this warning. See [2023-02-14T02:08:55.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:08:55.798Z] [2023-02-14T02:08:55.798Z] Login Succeeded [2023-02-14T02:08:55.798Z] nexus3.edgexfoundry.org:10004 [2023-02-14T02:08:56.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:08:56.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:08:56.340Z] Configure a credential helper to remove this warning. See [2023-02-14T02:08:56.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:08:56.340Z] [2023-02-14T02:08:56.340Z] Login Succeeded [2023-02-14T02:08:56.340Z] docker.io [2023-02-14T02:08:56.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T02:09:00.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T02:09:00.886Z] Configure a credential helper to remove this warning. See [2023-02-14T02:09:00.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T02:09:00.886Z] [2023-02-14T02:09:00.886Z] Login Succeeded [2023-02-14T02:09:00.886Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T02:09:00.918Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T02:09:01.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T02:09:01.577Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T02:09:01.609Z] ========================================================= [2023-02-14T02:09:01.609Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-14T02:09:01.609Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T02:09:02.196Z] + 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-14T02:09:02.465Z] Sending build context to Docker daemon 3.277MB [2023-02-14T02:09:02.465Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T02:09:02.465Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-14T02:09:03.899Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-14T02:09:03.899Z] 9b18e9b68314: Pulling fs layer [2023-02-14T02:09:03.899Z] 35d82f9e3411: Pulling fs layer [2023-02-14T02:09:03.899Z] e16973657156: Pulling fs layer [2023-02-14T02:09:03.899Z] fc693d55d65f: Pulling fs layer [2023-02-14T02:09:03.899Z] 7e9fc2657dce: Pulling fs layer [2023-02-14T02:09:03.899Z] dda99020689f: Pulling fs layer [2023-02-14T02:09:03.899Z] db1c61fa0a46: Pulling fs layer [2023-02-14T02:09:03.899Z] 891c053d2c06: Pulling fs layer [2023-02-14T02:09:03.899Z] dda99020689f: Waiting [2023-02-14T02:09:03.899Z] db1c61fa0a46: Waiting [2023-02-14T02:09:03.899Z] 891c053d2c06: Waiting [2023-02-14T02:09:03.899Z] fc693d55d65f: Waiting [2023-02-14T02:09:03.899Z] 7e9fc2657dce: Waiting [2023-02-14T02:09:03.899Z] e16973657156: Verifying Checksum [2023-02-14T02:09:03.899Z] e16973657156: Download complete [2023-02-14T02:09:03.899Z] 35d82f9e3411: Verifying Checksum [2023-02-14T02:09:03.899Z] 35d82f9e3411: Download complete [2023-02-14T02:09:03.899Z] 7e9fc2657dce: Download complete [2023-02-14T02:09:03.899Z] dda99020689f: Verifying Checksum [2023-02-14T02:09:03.899Z] dda99020689f: Download complete [2023-02-14T02:09:03.899Z] 9b18e9b68314: Verifying Checksum [2023-02-14T02:09:03.899Z] 9b18e9b68314: Download complete [2023-02-14T02:09:04.506Z] 9b18e9b68314: Pull complete [2023-02-14T02:09:04.786Z] 891c053d2c06: Verifying Checksum [2023-02-14T02:09:04.786Z] 891c053d2c06: Download complete [2023-02-14T02:09:05.059Z] 35d82f9e3411: Pull complete [2023-02-14T02:09:05.328Z] e16973657156: Pull complete [2023-02-14T02:09:07.914Z] db1c61fa0a46: Verifying Checksum [2023-02-14T02:09:07.914Z] db1c61fa0a46: Download complete [2023-02-14T02:09:08.183Z] fc693d55d65f: Verifying Checksum [2023-02-14T02:09:08.183Z] fc693d55d65f: Download complete [2023-02-14T02:09:20.526Z] fc693d55d65f: Pull complete [2023-02-14T02:09:20.526Z] 7e9fc2657dce: Pull complete [2023-02-14T02:09:20.526Z] dda99020689f: Pull complete [2023-02-14T02:09:27.182Z] db1c61fa0a46: Pull complete [2023-02-14T02:09:28.156Z] 891c053d2c06: Pull complete [2023-02-14T02:09:28.156Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-14T02:09:28.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-14T02:09:28.156Z] ---> f96f9c87975a [2023-02-14T02:09:28.156Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-14T02:09:30.118Z] ---> Running in 0ca3cea0b6e2 [2023-02-14T02:09:30.703Z] Removing intermediate container 0ca3cea0b6e2 [2023-02-14T02:09:30.703Z] ---> a0c817d05ee3 [2023-02-14T02:09:30.703Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T02:09:30.703Z] ---> Running in 16d851ba9d97 [2023-02-14T02:09:30.971Z] Removing intermediate container 16d851ba9d97 [2023-02-14T02:09:30.971Z] ---> 2bf45f5928d3 [2023-02-14T02:09:30.971Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T02:09:30.971Z] ---> Running in da1f61f98298 [2023-02-14T02:09:31.239Z] Removing intermediate container da1f61f98298 [2023-02-14T02:09:31.239Z] ---> 2104204ae090 [2023-02-14T02:09:31.239Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T02:09:31.509Z] ---> Running in 9f1543a04c1e [2023-02-14T02:09:31.781Z] Removing intermediate container 9f1543a04c1e [2023-02-14T02:09:31.781Z] ---> db41fff158d3 [2023-02-14T02:09:31.781Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T02:09:31.781Z] ---> Running in 9c76e995564f [2023-02-14T02:09:33.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T02:09:51.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T02:10:30.334Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-14T02:10:36.976Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-14T02:10:38.920Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-14T02:10:57.147Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-14T02:11:07.227Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T02:11:07.227Z] OK: 226 MiB in 55 packages [2023-02-14T02:11:07.227Z] Removing intermediate container 9c76e995564f [2023-02-14T02:11:07.227Z] ---> c5dc39be34ae [2023-02-14T02:11:07.227Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-14T02:11:07.227Z] ---> Running in 672c2b9d8bcb [2023-02-14T02:11:07.227Z] Removing intermediate container 672c2b9d8bcb [2023-02-14T02:11:07.227Z] ---> 2d66415f7a86 [2023-02-14T02:11:07.227Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-14T02:11:07.814Z] ---> afecbffb43f5 [2023-02-14T02:11:07.814Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T02:11:07.814Z] ---> Running in a3343144e9c1 [2023-02-14T02:15:45.677Z] Removing intermediate container a3343144e9c1 [2023-02-14T02:15:45.677Z] ---> 9d3e137172f7 [2023-02-14T02:15:45.677Z] Step 11/12 : COPY . . [2023-02-14T02:15:46.267Z] ---> 3b9ce6ab5353 [2023-02-14T02:15:46.267Z] Step 12/12 : RUN $MAKE [2023-02-14T02:15:46.267Z] ---> Running in 51e753fb7535 [2023-02-14T02:15:47.687Z] noop [2023-02-14T02:15:48.273Z] Removing intermediate container 51e753fb7535 [2023-02-14T02:15:48.273Z] ---> 094aa6d65d6e [2023-02-14T02:15:48.273Z] Successfully built 094aa6d65d6e [2023-02-14T02:15:48.273Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T02:15:48.762Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T02:15:48.762Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T02:15:49.051Z] prd-ubuntu20.04-docker-arm64-4c-16g-5676 does not seem to be running inside a container [2023-02-14T02:15:48.922Z] $ 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-14T02:15:50.209Z] $ docker top bbb88d5e13177b211d051cd6bfa179f3a2037a72227cbfbc686b1b411326c2a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T02:15:51.327Z] + go version [2023-02-14T02:15:51.327Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-14T02:15:51.165Z] $ docker stop --time=1 bbb88d5e13177b211d051cd6bfa179f3a2037a72227cbfbc686b1b411326c2a1 [2023-02-14T02:15:52.859Z] $ docker rm -f --volumes bbb88d5e13177b211d051cd6bfa179f3a2037a72227cbfbc686b1b411326c2a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T02:15:53.949Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T02:15:53.949Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T02:15:54.220Z] prd-ubuntu20.04-docker-arm64-4c-16g-5676 does not seem to be running inside a container [2023-02-14T02:15:54.117Z] $ 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-14T02:15:55.386Z] $ docker top be1a39fac7af3cc1aa69dd07e2a2453a57d8a6e4c4589e8f98ad03b022a73309 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T02:15:56.514Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-14T02:15:57.228Z] + make test [2023-02-14T02:15:57.228Z] go test ./... -coverprofile=coverage.out ./... [2023-02-14T02:15:59.179Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-14T02:17:35.890Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-14T02:17:35.890Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.067s coverage: 21.8% of statements [2023-02-14T02:17:35.890Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-14T02:17:35.890Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-14T02:17:35.890Z] go vet ./... [2023-02-14T02:17:54.107Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T02:17:54.107Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T02:17:54.107Z] ./bin/test-attribution-txt.sh [2023-02-14T02:17:54.107Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-14T02:17:54.107Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-14T02:17:54.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T02:17:54.075Z] $ docker stop --time=1 be1a39fac7af3cc1aa69dd07e2a2453a57d8a6e4c4589e8f98ad03b022a73309 [2023-02-14T02:17:55.919Z] $ docker rm -f --volumes be1a39fac7af3cc1aa69dd07e2a2453a57d8a6e4c4589e8f98ad03b022a73309 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T02:17:57.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T02:17:57.617Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T02:17:58.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T02:17:58.823Z] + ls -al . [2023-02-14T02:17:58.823Z] total 180 [2023-02-14T02:17:58.823Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 14 02:15 . [2023-02-14T02:17:58.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 02:07 .. [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 02:08 .dockerignore [2023-02-14T02:17:58.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 02:08 .git [2023-02-14T02:17:58.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 02:08 .github [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 14 02:08 .gitignore [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 02:08 .golangci.yml [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 14 02:08 Attribution.txt [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 14 02:08 CHANGELOG.md [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 14 02:08 Dockerfile [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 02:08 GOVERNANCE.md [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 14 02:08 Jenkinsfile [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 02:08 LICENSE [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 14 02:08 Makefile [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 14 02:08 OWNERS.md [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 14 02:08 README.md [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 02:04 VERSION [2023-02-14T02:17:58.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 02:08 bin [2023-02-14T02:17:58.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 02:08 cmd [2023-02-14T02:17:58.823Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 14 02:17 coverage.out [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 3376 Feb 14 02:08 go.mod [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 14 02:08 go.sum [2023-02-14T02:17:58.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 02:08 internal [2023-02-14T02:17:58.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 02:08 mock [2023-02-14T02:17:58.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 02:08 snap [2023-02-14T02:17:58.823Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 14 02:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T02:17:59.245Z] + 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=d27a132a4c82dce27c35c5c589db7232da106559 --label arch=arm64 --label version=0.0.0 . [2023-02-14T02:17:59.517Z] Sending build context to Docker daemon 3.295MB [2023-02-14T02:17:59.517Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T02:17:59.517Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-14T02:17:59.517Z] ---> 094aa6d65d6e [2023-02-14T02:17:59.517Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-14T02:17:59.785Z] ---> Running in fb0e3a07a9a1 [2023-02-14T02:18:00.053Z] Removing intermediate container fb0e3a07a9a1 [2023-02-14T02:18:00.053Z] ---> a922d6a430ea [2023-02-14T02:18:00.053Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T02:18:00.053Z] ---> Running in 02ab76505488 [2023-02-14T02:18:00.321Z] Removing intermediate container 02ab76505488 [2023-02-14T02:18:00.321Z] ---> fd82b65bcf7a [2023-02-14T02:18:00.322Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T02:18:00.590Z] ---> Running in 99656df0f4d2 [2023-02-14T02:18:00.860Z] Removing intermediate container 99656df0f4d2 [2023-02-14T02:18:00.860Z] ---> c66ce4cb45ec [2023-02-14T02:18:00.860Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T02:18:00.860Z] ---> Running in 89fe623ef248 [2023-02-14T02:18:01.130Z] Removing intermediate container 89fe623ef248 [2023-02-14T02:18:01.130Z] ---> 660469dcdc36 [2023-02-14T02:18:01.130Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T02:18:01.400Z] ---> Running in 55dc9afeda9f [2023-02-14T02:18:02.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T02:18:07.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T02:18:16.005Z] OK: 226 MiB in 55 packages [2023-02-14T02:18:16.971Z] Removing intermediate container 55dc9afeda9f [2023-02-14T02:18:16.971Z] ---> 59c052a79e39 [2023-02-14T02:18:16.971Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-14T02:18:16.971Z] ---> Running in 5053475021c1 [2023-02-14T02:18:17.240Z] Removing intermediate container 5053475021c1 [2023-02-14T02:18:17.240Z] ---> 5b764eab764a [2023-02-14T02:18:17.240Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-14T02:18:17.827Z] ---> 91a8462d4e6b [2023-02-14T02:18:17.827Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T02:18:17.827Z] ---> Running in 4d1742f0dff3 [2023-02-14T02:18:20.418Z] Removing intermediate container 4d1742f0dff3 [2023-02-14T02:18:20.418Z] ---> 19d344be63af [2023-02-14T02:18:20.418Z] Step 11/24 : COPY . . [2023-02-14T02:18:21.383Z] ---> badbfb31ddb5 [2023-02-14T02:18:21.383Z] Step 12/24 : RUN $MAKE [2023-02-14T02:18:21.383Z] ---> Running in e7e4196bf04c [2023-02-14T02:18:22.348Z] 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-14T02:19:38.270Z] Removing intermediate container 35681d0e4643 [2023-02-14T02:19:38.270Z] ---> 8541ed60dfa2 [2023-02-14T02:19:38.270Z] Step 11/12 : COPY . . [2023-02-14T02:19:38.270Z] ---> a96fc8feb185 [2023-02-14T02:19:38.270Z] Step 12/12 : RUN $MAKE [2023-02-14T02:19:38.270Z] ---> Running in 460bd3590889 [2023-02-14T02:19:38.270Z] noop [2023-02-14T02:19:38.270Z] Removing intermediate container 460bd3590889 [2023-02-14T02:19:38.270Z] ---> e18f07d0980d [2023-02-14T02:19:38.270Z] Successfully built e18f07d0980d [2023-02-14T02:19:38.270Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T02:19:38.732Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T02:19:38.732Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T02:19:39.000Z] prd-ubuntu20.04-docker-8c-8g-5670 does not seem to be running inside a container [2023-02-14T02:19:39.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-481 -v /w/workspace/gexfoundry_device-mqtt-go_PR-481:/w/workspace/gexfoundry_device-mqtt-go_PR-481:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-481@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-481@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-14T02:19:39.472Z] $ docker top 3275c65059b6a7490cb33f4326c21d40f86a87dc6dfd9ae8d8cabe0ef6b1f42e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T02:19:39.866Z] + go version [2023-02-14T02:19:39.866Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-14T02:19:39.913Z] $ docker stop --time=1 3275c65059b6a7490cb33f4326c21d40f86a87dc6dfd9ae8d8cabe0ef6b1f42e [2023-02-14T02:19:41.188Z] $ docker rm -f --volumes 3275c65059b6a7490cb33f4326c21d40f86a87dc6dfd9ae8d8cabe0ef6b1f42e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T02:19:41.911Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T02:19:41.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T02:19:42.068Z] prd-ubuntu20.04-docker-8c-8g-5670 does not seem to be running inside a container [2023-02-14T02:19:42.119Z] $ 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-481 -v /w/workspace/gexfoundry_device-mqtt-go_PR-481:/w/workspace/gexfoundry_device-mqtt-go_PR-481:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-481@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-481@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-14T02:19:42.463Z] $ docker top e45a89b09d2ae6c0f84e0abddcfb52b641966b6c1c6bb471980f39e1ec3f4785 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T02:19:42.842Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-481 [Pipeline] fileExists [Pipeline] sh [2023-02-14T02:19:43.202Z] + make test [2023-02-14T02:19:43.202Z] go test ./... -coverprofile=coverage.out ./... [2023-02-14T02:19:43.460Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-14T02:19:53.421Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-14T02:19:53.421Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2023-02-14T02:19:53.421Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-14T02:19:59.976Z] 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-14T02:19:59.976Z] go vet ./... [2023-02-14T02:20:02.499Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T02:20:02.499Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T02:20:02.499Z] ./bin/test-attribution-txt.sh [2023-02-14T02:20:02.499Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-14T02:20:02.499Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-14T02:20:02.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T02:20:02.590Z] $ docker stop --time=1 e45a89b09d2ae6c0f84e0abddcfb52b641966b6c1c6bb471980f39e1ec3f4785 [2023-02-14T02:20:04.466Z] $ docker rm -f --volumes e45a89b09d2ae6c0f84e0abddcfb52b641966b6c1c6bb471980f39e1ec3f4785 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T02:20:04.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T02:20:05.003Z] Warning: overwriting stash ‘coverage-report’ [2023-02-14T02:20:05.041Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-14T02:20:05.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T02:20:05.893Z] + ls -al . [2023-02-14T02:20:05.893Z] total 184 [2023-02-14T02:20:05.893Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 02:19 . [2023-02-14T02:20:05.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 02:03 .. [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 02:03 .dockerignore [2023-02-14T02:20:05.893Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 02:19 .git [2023-02-14T02:20:05.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 02:03 .github [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 14 02:03 .gitignore [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 02:03 .golangci.yml [2023-02-14T02:20:05.893Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 02:04 .semver [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 14 02:03 Attribution.txt [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 14 02:03 CHANGELOG.md [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 14 02:03 Dockerfile [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 02:03 GOVERNANCE.md [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 14 02:03 Jenkinsfile [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 02:03 LICENSE [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 14 02:03 Makefile [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 14 02:03 OWNERS.md [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 14 02:03 README.md [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 02:04 VERSION [2023-02-14T02:20:05.893Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 02:03 bin [2023-02-14T02:20:05.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 02:03 cmd [2023-02-14T02:20:05.893Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 14 02:19 coverage.out [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 3376 Feb 14 02:03 go.mod [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 14 02:03 go.sum [2023-02-14T02:20:05.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 02:03 internal [2023-02-14T02:20:05.893Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 02:03 mock [2023-02-14T02:20:05.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 02:03 snap [2023-02-14T02:20:05.893Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 14 02:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T02:20:06.280Z] + 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=d27a132a4c82dce27c35c5c589db7232da106559 --label arch=amd64 --label version=0.0.0 . [2023-02-14T02:20:06.281Z] Sending build context to Docker daemon 6.358MB [2023-02-14T02:20:06.281Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T02:20:06.281Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-14T02:20:06.281Z] ---> e18f07d0980d [2023-02-14T02:20:06.281Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-14T02:20:06.281Z] ---> Running in b4516de2cf53 [2023-02-14T02:20:06.548Z] Removing intermediate container b4516de2cf53 [2023-02-14T02:20:06.548Z] ---> 20b213a708cb [2023-02-14T02:20:06.548Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T02:20:06.548Z] ---> Running in b86fa0ee7e57 [2023-02-14T02:20:06.548Z] Removing intermediate container b86fa0ee7e57 [2023-02-14T02:20:06.548Z] ---> 327cf3495b88 [2023-02-14T02:20:06.548Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-14T02:20:06.548Z] ---> Running in ba1e4319f23c [2023-02-14T02:20:06.805Z] Removing intermediate container ba1e4319f23c [2023-02-14T02:20:06.805Z] ---> 3f6c2d9b4147 [2023-02-14T02:20:06.805Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T02:20:06.805Z] ---> Running in d6450e13dddc [2023-02-14T02:20:06.805Z] Removing intermediate container d6450e13dddc [2023-02-14T02:20:06.805Z] ---> cf474bb90b7c [2023-02-14T02:20:06.805Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T02:20:06.805Z] ---> Running in da41362d6230 [2023-02-14T02:20:07.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T02:20:09.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T02:20:19.579Z] OK: 216 MiB in 55 packages [2023-02-14T02:20:20.148Z] Removing intermediate container da41362d6230 [2023-02-14T02:20:20.148Z] ---> f5f0bb473bd2 [2023-02-14T02:20:20.148Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-14T02:20:20.148Z] ---> Running in 9315aff4f899 [2023-02-14T02:20:20.148Z] Removing intermediate container 9315aff4f899 [2023-02-14T02:20:20.148Z] ---> c31e8965527b [2023-02-14T02:20:20.148Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-14T02:20:20.148Z] ---> 767676311382 [2023-02-14T02:20:20.148Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T02:20:20.406Z] ---> Running in d6bf415a4c51 [2023-02-14T02:20:21.342Z] Removing intermediate container d6bf415a4c51 [2023-02-14T02:20:21.342Z] ---> 950887b3d164 [2023-02-14T02:20:21.342Z] Step 11/24 : COPY . . [2023-02-14T02:20:21.342Z] ---> 53d8cab0e5ef [2023-02-14T02:20:21.342Z] Step 12/24 : RUN $MAKE [2023-02-14T02:20:21.601Z] ---> Running in 16e57de36509 [2023-02-14T02:20:21.859Z] 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-14T02:20:39.933Z] Removing intermediate container 16e57de36509 [2023-02-14T02:20:39.933Z] ---> 2e0fbecb2559 [2023-02-14T02:20:39.933Z] Step 13/24 : FROM alpine:3.16 [2023-02-14T02:20:44.040Z] Removing intermediate container e7e4196bf04c [2023-02-14T02:20:44.040Z] ---> a0c0144cf8eb [2023-02-14T02:20:44.040Z] Step 13/24 : FROM alpine:3.16 [2023-02-14T02:20:44.040Z] 3.16: Pulling from library/alpine [2023-02-14T02:20:44.040Z] 3760b48202b3: Pulling fs layer [2023-02-14T02:20:44.040Z] 3760b48202b3: Download complete [2023-02-14T02:20:44.040Z] 3760b48202b3: Pull complete [2023-02-14T02:20:44.040Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T02:20:44.040Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T02:20:44.040Z] ---> 4c81e5bf8899 [2023-02-14T02:20:44.040Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-14T02:20:44.040Z] ---> Running in 3cd20c4b0467 [2023-02-14T02:20:44.040Z] Removing intermediate container 3cd20c4b0467 [2023-02-14T02:20:44.040Z] ---> 1adb43514999 [2023-02-14T02:20:44.040Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-14T02:20:44.040Z] ---> Running in c750e11ad09e [2023-02-14T02:20:44.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T02:20:44.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T02:20:45.203Z] 3.16: Pulling from library/alpine [2023-02-14T02:20:46.149Z] ef5531b6e74e: Pulling fs layer [2023-02-14T02:20:54.266Z] ef5531b6e74e: Download complete [2023-02-14T02:20:54.266Z] ef5531b6e74e: Pull complete [2023-02-14T02:20:54.266Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T02:20:54.266Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T02:20:54.266Z] ---> dfd21b5a31f5 [2023-02-14T02:20:54.266Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-14T02:20:54.266Z] ---> Running in cedb56518c82 [2023-02-14T02:20:54.266Z] Removing intermediate container cedb56518c82 [2023-02-14T02:20:54.266Z] ---> 5879b9021bf0 [2023-02-14T02:20:54.266Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-14T02:20:54.266Z] ---> Running in 89367cc68a16 [2023-02-14T02:20:54.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T02:20:57.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T02:21:04.129Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-14T02:21:05.076Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T02:21:05.076Z] OK: 6 MiB in 15 packages [2023-02-14T02:21:05.334Z] Removing intermediate container 89367cc68a16 [2023-02-14T02:21:05.334Z] ---> 09116a7be0ea [2023-02-14T02:21:05.334Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-14T02:21:05.901Z] ---> fe011c368452 [2023-02-14T02:21:05.901Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-14T02:21:05.901Z] ---> cf5a77e6e7da [2023-02-14T02:21:05.902Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-14T02:21:06.161Z] ---> d38582f56502 [2023-02-14T02:21:06.161Z] Step 19/24 : EXPOSE 59982 [2023-02-14T02:21:06.161Z] ---> Running in be15e176e9e9 [2023-02-14T02:21:06.161Z] Removing intermediate container be15e176e9e9 [2023-02-14T02:21:06.161Z] ---> 18ad512fdb9f [2023-02-14T02:21:06.161Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-14T02:21:06.432Z] ---> Running in 2102fed4d476 [2023-02-14T02:21:06.432Z] Removing intermediate container 2102fed4d476 [2023-02-14T02:21:06.432Z] ---> c6c39d7de2d9 [2023-02-14T02:21:06.432Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-14T02:21:06.432Z] ---> Running in 86a83093b368 [2023-02-14T02:21:06.432Z] Removing intermediate container 86a83093b368 [2023-02-14T02:21:06.432Z] ---> 3e79a6d0bdf5 [2023-02-14T02:21:06.432Z] Step 22/24 : LABEL arch=amd64 [2023-02-14T02:21:06.692Z] ---> Running in 261738ad3f11 [2023-02-14T02:21:06.692Z] Removing intermediate container 261738ad3f11 [2023-02-14T02:21:06.692Z] ---> c9aa601feee3 [2023-02-14T02:21:06.692Z] Step 23/24 : LABEL git_sha=d27a132a4c82dce27c35c5c589db7232da106559 [2023-02-14T02:21:06.692Z] ---> Running in 1cfeccb9e637 [2023-02-14T02:21:06.952Z] Removing intermediate container 1cfeccb9e637 [2023-02-14T02:21:06.952Z] ---> 6b26dd10e35a [2023-02-14T02:21:06.952Z] Step 24/24 : LABEL version=0.0.0 [2023-02-14T02:21:06.952Z] ---> Running in 0f44a10abfdc [2023-02-14T02:21:06.952Z] Removing intermediate container 0f44a10abfdc [2023-02-14T02:21:06.952Z] ---> 798643775cf4 [2023-02-14T02:21:06.952Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T02:21:06.952Z] Successfully built 798643775cf4 [2023-02-14T02:21:06.952Z] 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-14T02:21:07.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T02:21:07.846Z] [2023-02-14T02:21:07.846Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T02:21:08.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T02:21:08.320Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-14T02:21:08.320Z] 5eb5b503b376: Pulling fs layer [2023-02-14T02:21:08.320Z] 5c69ac0246d0: Pulling fs layer [2023-02-14T02:21:08.320Z] ec43610c2a17: Pulling fs layer [2023-02-14T02:21:08.320Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-14T02:21:08.320Z] 33b1e0a273af: Pulling fs layer [2023-02-14T02:21:08.320Z] 5d3b04190fa2: Pulling fs layer [2023-02-14T02:21:08.320Z] 2f39f015ded8: Pulling fs layer [2023-02-14T02:21:08.320Z] 33b1e0a273af: Waiting [2023-02-14T02:21:08.320Z] 5d3b04190fa2: Waiting [2023-02-14T02:21:08.320Z] 3a2ae6a8a46f: Waiting [2023-02-14T02:21:08.320Z] 2f39f015ded8: Waiting [2023-02-14T02:21:08.320Z] 5c69ac0246d0: Verifying Checksum [2023-02-14T02:21:08.320Z] 5c69ac0246d0: Download complete [2023-02-14T02:21:08.320Z] 3a2ae6a8a46f: Download complete [2023-02-14T02:21:08.585Z] ec43610c2a17: Verifying Checksum [2023-02-14T02:21:08.585Z] ec43610c2a17: Download complete [2023-02-14T02:21:08.585Z] 33b1e0a273af: Verifying Checksum [2023-02-14T02:21:08.585Z] 33b1e0a273af: Download complete [2023-02-14T02:21:08.585Z] 5d3b04190fa2: Verifying Checksum [2023-02-14T02:21:08.585Z] 5d3b04190fa2: Download complete [2023-02-14T02:21:08.585Z] 5eb5b503b376: Verifying Checksum [2023-02-14T02:21:08.585Z] 5eb5b503b376: Download complete [2023-02-14T02:21:09.535Z] 2f39f015ded8: Download complete [2023-02-14T02:21:09.795Z] 5eb5b503b376: Pull complete [2023-02-14T02:21:10.053Z] 5c69ac0246d0: Pull complete [2023-02-14T02:21:10.311Z] ec43610c2a17: Pull complete [2023-02-14T02:21:10.569Z] 3a2ae6a8a46f: Pull complete [2023-02-14T02:21:10.569Z] 33b1e0a273af: Pull complete [2023-02-14T02:21:10.720Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-14T02:21:10.720Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T02:21:10.720Z] OK: 5 MiB in 15 packages [2023-02-14T02:21:10.720Z] Removing intermediate container c750e11ad09e [2023-02-14T02:21:10.720Z] ---> a203cae9b2ad [2023-02-14T02:21:10.720Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-14T02:21:10.828Z] 5d3b04190fa2: Pull complete [2023-02-14T02:21:11.304Z] ---> 7b1e6f5b285a [2023-02-14T02:21:11.304Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-14T02:21:11.576Z] ---> 67345467b25b [2023-02-14T02:21:11.576Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-14T02:21:12.163Z] ---> 5e88fa30f31a [2023-02-14T02:21:12.163Z] Step 19/24 : EXPOSE 59982 [2023-02-14T02:21:12.163Z] ---> Running in 806333c06d56 [2023-02-14T02:21:12.747Z] Removing intermediate container 806333c06d56 [2023-02-14T02:21:12.747Z] ---> c98a6fc86816 [2023-02-14T02:21:12.747Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-14T02:21:12.747Z] ---> Running in 1da148e47582 [2023-02-14T02:21:13.016Z] Removing intermediate container 1da148e47582 [2023-02-14T02:21:13.016Z] ---> 0e6a900ca216 [2023-02-14T02:21:13.016Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-14T02:21:13.016Z] ---> Running in b40a348d900d [2023-02-14T02:21:13.286Z] Removing intermediate container b40a348d900d [2023-02-14T02:21:13.286Z] ---> d01935b53a95 [2023-02-14T02:21:13.286Z] Step 22/24 : LABEL arch=arm64 [2023-02-14T02:21:13.286Z] ---> Running in c81ea6487ea9 [2023-02-14T02:21:13.875Z] Removing intermediate container c81ea6487ea9 [2023-02-14T02:21:13.875Z] ---> b26cef505049 [2023-02-14T02:21:13.875Z] Step 23/24 : LABEL git_sha=d27a132a4c82dce27c35c5c589db7232da106559 [2023-02-14T02:21:13.875Z] ---> Running in e55d18668a99 [2023-02-14T02:21:14.141Z] Removing intermediate container e55d18668a99 [2023-02-14T02:21:14.141Z] ---> e3badf1612b4 [2023-02-14T02:21:14.141Z] Step 24/24 : LABEL version=0.0.0 [2023-02-14T02:21:14.141Z] ---> Running in 557e3f3da77d [2023-02-14T02:21:14.408Z] Removing intermediate container 557e3f3da77d [2023-02-14T02:21:14.408Z] ---> 1bad884f336b [2023-02-14T02:21:14.408Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T02:21:14.675Z] Successfully built 1bad884f336b [2023-02-14T02:21:14.675Z] 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] } [2023-02-14T02:21:15.009Z] 2f39f015ded8: Pull complete [2023-02-14T02:21:15.009Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-14T02:21:15.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T02:21:15.009Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] // stage Post stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T02:21:15.216Z] prd-ubuntu20.04-docker-8c-8g-5670 does not seem to be running inside a container [2023-02-14T02:21:15.273Z] $ 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-481 -v /w/workspace/gexfoundry_device-mqtt-go_PR-481:/w/workspace/gexfoundry_device-mqtt-go_PR-481:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-481@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-481@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-14T02:21:16.946Z] $ docker top 6413d77cabae26b634e96a94c357f57282f59f2959e5477eddf4242368933c3d -eo pid,comm [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T02:21:17.353Z] ---> job-cost.sh [2023-02-14T02:21:17.353Z] lf-activate-venv: SKIPPING [2023-02-14T02:21:17.353Z] INFO: No Stack... [2023-02-14T02:21:17.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T02:21:17.492Z] [2023-02-14T02:21:17.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T02:21:17.898Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T02:21:17.899Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-14T02:21:17.899Z] 8998bd30e6a1: Pulling fs layer [2023-02-14T02:21:17.899Z] 04944245beec: Pulling fs layer [2023-02-14T02:21:17.899Z] 699f458cf7ca: Pulling fs layer [2023-02-14T02:21:17.899Z] 765212b225bb: Pulling fs layer [2023-02-14T02:21:17.899Z] f23df028b6ca: Pulling fs layer [2023-02-14T02:21:17.899Z] d65c8cfc05b1: Pulling fs layer [2023-02-14T02:21:17.899Z] 2437ff75d9bd: Pulling fs layer [2023-02-14T02:21:17.899Z] 765212b225bb: Waiting [2023-02-14T02:21:17.899Z] f23df028b6ca: Waiting [2023-02-14T02:21:17.899Z] d65c8cfc05b1: Waiting [2023-02-14T02:21:17.899Z] 2437ff75d9bd: Waiting [2023-02-14T02:21:18.166Z] 04944245beec: Verifying Checksum [2023-02-14T02:21:18.166Z] 04944245beec: Download complete [2023-02-14T02:21:18.166Z] 765212b225bb: Verifying Checksum [2023-02-14T02:21:18.166Z] 765212b225bb: Download complete [2023-02-14T02:21:18.166Z] f23df028b6ca: Verifying Checksum [2023-02-14T02:21:18.166Z] f23df028b6ca: Download complete [2023-02-14T02:21:18.166Z] d65c8cfc05b1: Verifying Checksum [2023-02-14T02:21:18.166Z] d65c8cfc05b1: Download complete [2023-02-14T02:21:18.440Z] 699f458cf7ca: Verifying Checksum [2023-02-14T02:21:18.440Z] 699f458cf7ca: Download complete [2023-02-14T02:21:18.708Z] 8998bd30e6a1: Verifying Checksum [2023-02-14T02:21:18.708Z] 8998bd30e6a1: Download complete [2023-02-14T02:21:19.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T02:21:20.149Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T02:21:20.470Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-481/archives/cost.csv [2023-02-14T02:21:20.470Z] + cut -d, -f6 [Pipeline] lock [2023-02-14T02:21:20.683Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-481-1-stack-cost] [2023-02-14T02:21:20.689Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-481-1-stack-cost] did not exist. Created. [2023-02-14T02:21:20.689Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-481-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T02:21:21.093Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-14T02:21:21.142Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T02:21:21.173Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-481-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T02:21:21.283Z] $ docker stop --time=1 6413d77cabae26b634e96a94c357f57282f59f2959e5477eddf4242368933c3d [2023-02-14T02:21:22.050Z] 2437ff75d9bd: Verifying Checksum [2023-02-14T02:21:22.050Z] 2437ff75d9bd: Download complete [2023-02-14T02:21:22.316Z] 8998bd30e6a1: Pull complete [2023-02-14T02:21:22.496Z] $ docker rm -f --volumes 6413d77cabae26b634e96a94c357f57282f59f2959e5477eddf4242368933c3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-14T02:21:22.902Z] 04944245beec: Pull complete [2023-02-14T02:21:24.305Z] 699f458cf7ca: Pull complete [2023-02-14T02:21:24.305Z] 765212b225bb: Pull complete [2023-02-14T02:21:24.886Z] f23df028b6ca: Pull complete [2023-02-14T02:21:25.153Z] d65c8cfc05b1: Pull complete [2023-02-14T02:21:37.445Z] 2437ff75d9bd: Pull complete [2023-02-14T02:21:37.445Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-14T02:21:37.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T02:21:37.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T02:21:37.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-5676 does not seem to be running inside a container [2023-02-14T02:21:37.779Z] $ 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-14T02:21:40.422Z] $ docker top 484a90080490b823637f23bcb53a2a23878a0d9bfbbf2aaf4f48dcd21e3180fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T02:21:41.023Z] ---> job-cost.sh [2023-02-14T02:21:41.289Z] lf-activate-venv: SKIPPING [2023-02-14T02:21:41.289Z] INFO: No Stack... [2023-02-14T02:21:41.871Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-14T02:21:42.826Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T02:21:43.176Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-02-14T02:21:43.176Z] + cut -d, -f6 [Pipeline] lock [2023-02-14T02:21:43.262Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-481-1-stack-cost] [2023-02-14T02:21:43.267Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-481-1-stack-cost] did not exist. Created. [2023-02-14T02:21:43.267Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-481-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T02:21:43.683Z] /w/workspace/device-mqtt-go/1@tmp/durable-f4463c01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-14T02:21:44.037Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-14T02:21:44.071Z] Warning: overwriting stash ‘stack-cost’ [2023-02-14T02:21:44.122Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T02:21:44.137Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-481-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T02:21:44.188Z] $ docker stop --time=1 484a90080490b823637f23bcb53a2a23878a0d9bfbbf2aaf4f48dcd21e3180fc [2023-02-14T02:21:45.675Z] $ docker rm -f --volumes 484a90080490b823637f23bcb53a2a23878a0d9bfbbf2aaf4f48dcd21e3180fc [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-14T02:21:46.727Z] provisioning config files... [2023-02-14T02:21:46.735Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-481@tmp/config482998924075920044tmp [Pipeline] { [Pipeline] sh [2023-02-14T02:21:47.065Z] + set +x [2023-02-14T02:21:47.065Z] + curl -s https://codecov.io/bash [2023-02-14T02:21:47.065Z] + bash -s -- [2023-02-14T02:21:49.598Z] [2023-02-14T02:21:49.598Z] _____ _ [2023-02-14T02:21:49.598Z] / ____| | | [2023-02-14T02:21:49.598Z] | | ___ __| | ___ ___ _____ __ [2023-02-14T02:21:49.598Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-14T02:21:49.598Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-14T02:21:49.598Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-14T02:21:49.598Z] Bash-1.0.6 [2023-02-14T02:21:49.598Z] [2023-02-14T02:21:49.598Z] [2023-02-14T02:21:49.598Z] ==> git version 2.25.1 found [2023-02-14T02:21:49.598Z] ==> 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-14T02:21:49.598Z] Release-Date: 2020-01-08 [2023-02-14T02:21:49.598Z] 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-14T02:21:49.598Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-14T02:21:49.598Z] ==> Jenkins CI detected. [2023-02-14T02:21:49.863Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-481 [2023-02-14T02:21:49.863Z] project root: . [2023-02-14T02:21:49.863Z] --> token set from env [2023-02-14T02:21:49.863Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-14T02:21:49.863Z] ==> Running gcov in . (disable via -X gcov) [2023-02-14T02:21:49.863Z] ==> Python coveragepy not found [2023-02-14T02:21:49.863Z] ==> Searching for coverage reports in: [2023-02-14T02:21:49.863Z] + . [2023-02-14T02:21:49.863Z] -> Found 1 reports [2023-02-14T02:21:49.863Z] ==> Detecting git/mercurial file structure [2023-02-14T02:21:49.863Z] ==> Reading reports [2023-02-14T02:21:49.863Z] + ./coverage.out bytes=17887 [2023-02-14T02:21:49.863Z] ==> Appending adjustments [2023-02-14T02:21:49.863Z] https://docs.codecov.io/docs/fixing-reports [2023-02-14T02:21:50.124Z] + Found adjustments [2023-02-14T02:21:50.124Z] ==> Gzipping contents [2023-02-14T02:21:50.124Z] 4.0K /tmp/codecov.VSiTii.gz [2023-02-14T02:21:50.124Z] ==> Uploading reports [2023-02-14T02:21:50.124Z] url: https://codecov.io [2023-02-14T02:21:50.124Z] query: branch=PR-481&commit=d27a132a4c82dce27c35c5c589db7232da106559&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-481%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=481&job=&cmd_args= [2023-02-14T02:21:50.124Z] -> Pinging Codecov [2023-02-14T02:21:50.124Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-481&commit=d27a132a4c82dce27c35c5c589db7232da106559&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-481%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=481&job=&cmd_args= [2023-02-14T02:21:52.031Z] -> Uploading to [2023-02-14T02:21:52.031Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-14/7D719EC7BBE17E464838252E33014C33/d27a132a4c82dce27c35c5c589db7232da106559/67deb535-dbbd-49dc-8730-2e4e84a0fa40.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T022150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4124e81307ce5135f4dc08065e8d307980f796f8cf6975a1a23ab56c0286c2a0 [2023-02-14T02:21:52.031Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T02:21:52.031Z] Dload Upload Total Spent Left Speed [2023-02-14T02:21:53.537Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 3165 0 0 100 3165 0 1645 0:00:01 0:00:01 --:--:-- 1645 [2023-02-14T02:21:53.537Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/d27a132a4c82dce27c35c5c589db7232da106559 [Pipeline] } [2023-02-14T02:21:53.568Z] 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-14T02:21:55.282Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-481/archives ] [2023-02-14T02:21:55.282Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-481/archives [2023-02-14T02:21:55.282Z] total 16 [2023-02-14T02:21:55.282Z] drwxr-xr-x 3 root root 4096 Feb 14 02:21 . [2023-02-14T02:21:55.282Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 02:21 .. [2023-02-14T02:21:55.282Z] drwxr-xr-x 2 root root 4096 Feb 14 02:21 cost [2023-02-14T02:21:55.282Z] -rw-r--r-- 1 root root 87 Feb 14 02:21 cost.csv [2023-02-14T02:21:55.282Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-481/archives [2023-02-14T02:21:55.282Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-481/archives [2023-02-14T02:21:55.282Z] total 16 [2023-02-14T02:21:55.282Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 02:21 . [2023-02-14T02:21:55.282Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 02:21 .. [2023-02-14T02:21:55.282Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 02:21 cost [2023-02-14T02:21:55.282Z] -rw-r--r-- 1 jenkins jenkins 87 Feb 14 02:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-14T02:21:55.616Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T02:21:56.508Z] ---> package-listing.sh [2023-02-14T02:21:56.508Z] ++ facter osfamily [2023-02-14T02:21:56.508Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-14T02:21:56.769Z] + OS_FAMILY=debian [2023-02-14T02:21:56.769Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-481 [2023-02-14T02:21:56.769Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-14T02:21:56.769Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-14T02:21:56.769Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-14T02:21:56.769Z] + PACKAGES=/tmp/packages_start.txt [2023-02-14T02:21:56.769Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-481 ']' [2023-02-14T02:21:56.769Z] + PACKAGES=/tmp/packages_end.txt [2023-02-14T02:21:56.769Z] + case "${OS_FAMILY}" in [2023-02-14T02:21:56.769Z] + dpkg -l [2023-02-14T02:21:56.769Z] + grep '^ii' [2023-02-14T02:21:56.769Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-14T02:21:56.769Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-14T02:21:56.769Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-14T02:21:56.769Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-481 ']' [2023-02-14T02:21:56.769Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-481/archives/ [2023-02-14T02:21:56.769Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-481/archives/ [Pipeline] echo [2023-02-14T02:21:56.806Z] 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-481/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-14T02:21:57.104Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T02:21:57.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T02:21:57.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T02:21:57.900Z] prd-ubuntu20.04-docker-8c-8g-5670 does not seem to be running inside a container [2023-02-14T02:21:57.969Z] $ 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-481/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-481 -v /w/workspace/gexfoundry_device-mqtt-go_PR-481:/w/workspace/gexfoundry_device-mqtt-go_PR-481:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-481@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-481@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-14T02:21:58.223Z] $ docker top c73b3efb99843102918df082b31ad46f17c7a56790e7b144730a6a598385aeba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T02:21:58.585Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-14T02:21:58.903Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-14T02:21:59.218Z] + ls /var/log/sa-host [2023-02-14T02:21:59.218Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T02:21:59.363Z] provisioning config files... [2023-02-14T02:21:59.372Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-481@tmp/config10132618937837421180tmp [Pipeline] { [Pipeline] echo [2023-02-14T02:21:59.426Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T02:21:59.738Z] ---> create-netrc.sh [Pipeline] } [2023-02-14T02:21:59.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-14T02:22:00.181Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-14T02:22:00.215Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T02:22:00.527Z] ---> sudo-logs.sh [2023-02-14T02:22:00.527Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-14T02:22:00.615Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T02:22:00.928Z] ---> job-cost.sh [2023-02-14T02:22:00.928Z] lf-activate-venv: SKIPPING [2023-02-14T02:22:00.928Z] DEBUG: total: 0.2199999988079071 [2023-02-14T02:22:00.928Z] INFO: Retrieving Stack Cost... [2023-02-14T02:22:01.187Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T02:22:01.752Z] INFO: Archiving Costs [Pipeline] echo [2023-02-14T02:22:01.794Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T02:22:02.107Z] ---> logs-deploy.sh [2023-02-14T02:22:02.107Z] lf-activate-venv: SKIPPING [2023-02-14T02:22:02.107Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-481/1 [2023-02-14T02:22:02.107Z] INFO: archiving workspace using pattern(s): [2023-02-14T02:22:03.045Z] Archives upload complete. [2023-02-14T02:22:03.306Z] INFO: archiving logs to Nexus