Pull request #515 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 90bb521e5152a28ee665954924b952139261dddb+ec4bdb71d113baf8f62d105c9dc125da7e597352 (a7bf78525c6d0e48950d5b092ca4c4aaf17df138) 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-ssh2841316900758144336.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-ssh995102418695581479.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-515/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-515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh763299574783220359.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-515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2189014335117576718.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-ssh2585381291043238655.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-515/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-515/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14770878081190966148.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8831 in /w/workspace/gexfoundry_device-mqtt-go_PR-515 [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-515 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ec4bdb71d113baf8f62d105c9dc125da7e597352 into PR head commit 90bb521e5152a28ee665954924b952139261dddb > 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/515/head:refs/remotes/origin/PR-515 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90bb521e5152a28ee665954924b952139261dddb # timeout=10 Merge succeeded, producing 90bb521e5152a28ee665954924b952139261dddb Checking out Revision 90bb521e5152a28ee665954924b952139261dddb (PR-515) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ec4bdb71d113baf8f62d105c9dc125da7e597352 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90bb521e5152a28ee665954924b952139261dddb # timeout=10 Commit message: "refactor!: Replace internal topics from config with new constants" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-08T17:21:15.000Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-08T17:21:15.177Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-08T17:21:15.274Z] ========================================================= [2023-03-08T17:21:15.274Z] EdgeX Global Pipelines Version Info [2023-03-08T17:21:15.274Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:21:16.004Z] ------------------- [2023-03-08T17:21:16.004Z] stable info: [2023-03-08T17:21:16.004Z] ------------------- [2023-03-08T17:21:16.004Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-08T17:21:16.004Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T17:21:16.004Z] Message: update stable to v1.0.244 [2023-03-08T17:21:16.571Z] ------------------- [2023-03-08T17:21:16.571Z] experimental info: [2023-03-08T17:21:16.571Z] ------------------- [2023-03-08T17:21:16.571Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-08T17:21:16.571Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T17:21:16.571Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-08T17:21:16.849Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-08T17:21:16.894Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-08T17:21:16.936Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-08T17:21:16.977Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-08T17:21:17.014Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-08T17:21:17.047Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-08T17:21:17.088Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-08T17:21:17.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-08T17:21:17.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-08T17:21:17.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-08T17:21:17.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-08T17:21:17.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-08T17:21:17.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-08T17:21:17.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-08T17:21:17.376Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T17:21:17.413Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T17:21:17.450Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T17:21:17.485Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T17:21:17.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-08T17:21:17.558Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-08T17:21:17.594Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-08T17:21:17.632Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-08T17:21:17.666Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-08T17:21:17.703Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-08T17:21:17.739Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-08T17:21:17.778Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-08T17:21:17.814Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-08T17:21:17.851Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-515 [Pipeline] echo [2023-03-08T17:21:17.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-515 [Pipeline] echo [2023-03-08T17:21:17.937Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-515 [Pipeline] echo [2023-03-08T17:21:17.974Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90bb521e5152a28ee665954924b952139261dddb [Pipeline] echo [2023-03-08T17:21:18.012Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 90bb521 [Pipeline] echo [2023-03-08T17:21:18.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T17:21:18.171Z] provisioning config files... [2023-03-08T17:21:18.184Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp/config10194853171721860502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:21:18.525Z] ---> docker-login.sh [2023-03-08T17:21:18.525Z] nexus3.edgexfoundry.org:10001 [2023-03-08T17:21:18.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:21:18.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:21:18.785Z] Configure a credential helper to remove this warning. See [2023-03-08T17:21:18.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:21:18.785Z] [2023-03-08T17:21:18.785Z] Login Succeeded [2023-03-08T17:21:18.785Z] nexus3.edgexfoundry.org:10002 [2023-03-08T17:21:19.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:21:19.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:21:19.045Z] Configure a credential helper to remove this warning. See [2023-03-08T17:21:19.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:21:19.045Z] [2023-03-08T17:21:19.045Z] Login Succeeded [2023-03-08T17:21:19.045Z] nexus3.edgexfoundry.org:10003 [2023-03-08T17:21:19.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:21:19.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:21:19.045Z] Configure a credential helper to remove this warning. See [2023-03-08T17:21:19.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:21:19.045Z] [2023-03-08T17:21:19.045Z] Login Succeeded [2023-03-08T17:21:19.045Z] nexus3.edgexfoundry.org:10004 [2023-03-08T17:21:19.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:21:19.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:21:19.304Z] Configure a credential helper to remove this warning. See [2023-03-08T17:21:19.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:21:19.304Z] [2023-03-08T17:21:19.304Z] Login Succeeded [2023-03-08T17:21:19.304Z] docker.io [2023-03-08T17:21:19.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:21:19.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:21:19.566Z] Configure a credential helper to remove this warning. See [2023-03-08T17:21:19.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:21:19.566Z] [2023-03-08T17:21:19.566Z] Login Succeeded [2023-03-08T17:21:19.566Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T17:21:19.597Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-08T17:21:20.295Z] + git rev-list -1 --merges 90bb521e5152a28ee665954924b952139261dddb~1..90bb521e5152a28ee665954924b952139261dddb [Pipeline] echo [2023-03-08T17:21:20.365Z] -----------> git rev-list -1 --merges 90bb521e5152a28ee665954924b952139261dddb~1..90bb521e5152a28ee665954924b952139261dddb 90bb521e5152a28ee665954924b952139261dddb [false] [Pipeline] sh [2023-03-08T17:21:20.677Z] + git log --format=format:%s -1 90bb521e5152a28ee665954924b952139261dddb [Pipeline] echo [2023-03-08T17:21:20.715Z] ========================================================= [2023-03-08T17:21:20.715Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-08T17:21:20.715Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T17:21:21.154Z] + git log --format=format:%s -1 90bb521e5152a28ee665954924b952139261dddb [Pipeline] echo [2023-03-08T17:21:21.186Z] [semverPrep] GIT_COMMIT: 90bb521e5152a28ee665954924b952139261dddb, Commit Message: refactor!: Replace internal topics from config with new constants [Pipeline] echo [2023-03-08T17:21:21.217Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-08T17:21:21.610Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T17:21:21.610Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-08T17:21:21.610Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-08T17:21:21.610Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-08T17:21:21.610Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-08T17:21:21.610Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-08T17:21:21.610Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:21:22.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T17:21:22.186Z] [2023-03-08T17:21:22.186Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:21:22.569Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T17:21:22.569Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-08T17:21:22.569Z] b85a868b505f: Pulling fs layer [2023-03-08T17:21:22.569Z] e2be974225ed: Pulling fs layer [2023-03-08T17:21:22.569Z] 339a4e72a1f5: Pulling fs layer [2023-03-08T17:21:22.569Z] 988bab9f4d93: Pulling fs layer [2023-03-08T17:21:22.569Z] 1469e6f7b9e6: Pulling fs layer [2023-03-08T17:21:22.569Z] eaf3925da568: Pulling fs layer [2023-03-08T17:21:22.569Z] bab4dde63d76: Pulling fs layer [2023-03-08T17:21:22.569Z] bde34c3a00c8: Pulling fs layer [2023-03-08T17:21:22.569Z] b352a97aabf1: Pulling fs layer [2023-03-08T17:21:22.569Z] 4872d77fe225: Pulling fs layer [2023-03-08T17:21:22.569Z] 5851b861e8e6: Pulling fs layer [2023-03-08T17:21:22.569Z] 988bab9f4d93: Waiting [2023-03-08T17:21:22.569Z] 1469e6f7b9e6: Waiting [2023-03-08T17:21:22.569Z] eaf3925da568: Waiting [2023-03-08T17:21:22.569Z] 4872d77fe225: Waiting [2023-03-08T17:21:22.569Z] bab4dde63d76: Waiting [2023-03-08T17:21:22.569Z] bde34c3a00c8: Waiting [2023-03-08T17:21:22.569Z] b352a97aabf1: Waiting [2023-03-08T17:21:22.569Z] e2be974225ed: Download complete [2023-03-08T17:21:22.569Z] 988bab9f4d93: Download complete [2023-03-08T17:21:22.836Z] 1469e6f7b9e6: Verifying Checksum [2023-03-08T17:21:22.836Z] 1469e6f7b9e6: Download complete [2023-03-08T17:21:22.836Z] eaf3925da568: Download complete [2023-03-08T17:21:22.836Z] 339a4e72a1f5: Verifying Checksum [2023-03-08T17:21:22.836Z] 339a4e72a1f5: Download complete [2023-03-08T17:21:22.836Z] bde34c3a00c8: Verifying Checksum [2023-03-08T17:21:22.836Z] bde34c3a00c8: Download complete [2023-03-08T17:21:22.836Z] b352a97aabf1: Download complete [2023-03-08T17:21:22.836Z] 4872d77fe225: Verifying Checksum [2023-03-08T17:21:22.836Z] 4872d77fe225: Download complete [2023-03-08T17:21:22.836Z] 5851b861e8e6: Download complete [2023-03-08T17:21:22.836Z] b85a868b505f: Verifying Checksum [2023-03-08T17:21:22.836Z] b85a868b505f: Download complete [2023-03-08T17:21:23.408Z] bab4dde63d76: Verifying Checksum [2023-03-08T17:21:23.408Z] bab4dde63d76: Download complete [2023-03-08T17:21:24.349Z] b85a868b505f: Pull complete [2023-03-08T17:21:24.609Z] e2be974225ed: Pull complete [2023-03-08T17:21:25.180Z] 339a4e72a1f5: Pull complete [2023-03-08T17:21:25.180Z] 988bab9f4d93: Pull complete [2023-03-08T17:21:25.440Z] 1469e6f7b9e6: Pull complete [2023-03-08T17:21:25.441Z] eaf3925da568: Pull complete [2023-03-08T17:21:27.981Z] bab4dde63d76: Pull complete [2023-03-08T17:21:27.981Z] bde34c3a00c8: Pull complete [2023-03-08T17:21:27.981Z] b352a97aabf1: Pull complete [2023-03-08T17:21:27.981Z] 4872d77fe225: Pull complete [2023-03-08T17:21:27.981Z] 5851b861e8e6: Pull complete [2023-03-08T17:21:27.981Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-08T17:21:27.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T17:21:27.981Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:21:28.255Z] prd-ubuntu20.04-docker-8c-8g-8831 does not seem to be running inside a container [2023-03-08T17:21:28.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-515 -v /w/workspace/gexfoundry_device-mqtt-go_PR-515:/w/workspace/gexfoundry_device-mqtt-go_PR-515:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-515@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-devops/py-git-semver:0.1.4 cat [2023-03-08T17:21:29.861Z] $ docker top bc5af285f6f3837179be9bd5f6d8fe8f61846afe96476616ec83a0a69a496fea -eo pid,comm [2023-03-08T17:21:29.933Z] 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-03-08T17:21:29.933Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T17:21:30.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T17:21:30.053Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T17:21:30.185Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T17:21:30.193Z] $ docker exec bc5af285f6f3837179be9bd5f6d8fe8f61846afe96476616ec83a0a69a496fea ssh-agent [2023-03-08T17:21:30.300Z] SSH_AUTH_SOCK=/tmp/ssh-0f3onhyPxyTW/agent.32 [2023-03-08T17:21:30.300Z] SSH_AGENT_PID=38 [2023-03-08T17:21:30.310Z] Running ssh-add (command line suppressed) [2023-03-08T17:21:30.415Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp/private_key_14911728093035693384.key (/w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp/private_key_14911728093035693384.key) [2023-03-08T17:21:30.426Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T17:21:30.759Z] + git tag --points-at HEAD [Pipeline] } [2023-03-08T17:21:30.789Z] $ docker exec --env ******** --env ******** bc5af285f6f3837179be9bd5f6d8fe8f61846afe96476616ec83a0a69a496fea ssh-agent -k [2023-03-08T17:21:30.906Z] unset SSH_AUTH_SOCK; [2023-03-08T17:21:30.906Z] unset SSH_AGENT_PID; [2023-03-08T17:21:30.906Z] echo Agent pid 38 killed; [2023-03-08T17:21:30.916Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-08T17:21:30.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T17:21:30.994Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T17:21:31.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T17:21:31.144Z] $ docker exec bc5af285f6f3837179be9bd5f6d8fe8f61846afe96476616ec83a0a69a496fea ssh-agent [2023-03-08T17:21:31.277Z] SSH_AUTH_SOCK=/tmp/ssh-dmpEjpIZWNwh/agent.70 [2023-03-08T17:21:31.277Z] SSH_AGENT_PID=76 [2023-03-08T17:21:31.283Z] Running ssh-add (command line suppressed) [2023-03-08T17:21:31.397Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp/private_key_11848512679186128789.key (/w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp/private_key_11848512679186128789.key) [2023-03-08T17:21:31.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T17:21:31.733Z] + git semver init [2023-03-08T17:21:32.302Z] 2023-03-08 17:21:32,090 [run_init] DEBUG init version:0.0.0 force:False [2023-03-08T17:21:32.302Z] 2023-03-08 17:21:32,091 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-515/.semver [2023-03-08T17:21:32.302Z] 2023-03-08 17:21:32,091 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-515/.semver [2023-03-08T17:21:32.302Z] 2023-03-08 17:21:32,092 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-515/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-515, universal_newlines=False, shell=None, istream=None) [2023-03-08T17:21:33.243Z] 2023-03-08 17:21:32,987 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-515/.git/info/exclude [2023-03-08T17:21:33.243Z] 2023-03-08 17:21:32,987 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-515/.semver/PR-515 with force:False [2023-03-08T17:21:33.243Z] 2023-03-08 17:21:32,988 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-515/.semver/PR-515 [2023-03-08T17:21:33.243Z] 2023-03-08 17:21:32,990 [execute] INFO git cat-file --batch-check [2023-03-08T17:21:33.243Z] 2023-03-08 17:21:32,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-515/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T17:21:33.243Z] 2023-03-08 17:21:32,998 [execute] INFO git cat-file --batch [2023-03-08T17:21:33.243Z] 2023-03-08 17:21:32,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-515/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T17:21:33.243Z] 2023-03-08 17:21:33,003 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-515/.semver/PR-515 [2023-03-08T17:21:33.243Z] 0.0.0 [Pipeline] } [2023-03-08T17:21:33.272Z] $ docker exec --env ******** --env ******** bc5af285f6f3837179be9bd5f6d8fe8f61846afe96476616ec83a0a69a496fea ssh-agent -k [2023-03-08T17:21:33.387Z] unset SSH_AUTH_SOCK; [2023-03-08T17:21:33.388Z] unset SSH_AGENT_PID; [2023-03-08T17:21:33.388Z] echo Agent pid 76 killed; [2023-03-08T17:21:33.396Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T17:21:33.810Z] + git semver [Pipeline] } [2023-03-08T17:21:34.407Z] $ docker stop --time=1 bc5af285f6f3837179be9bd5f6d8fe8f61846afe96476616ec83a0a69a496fea [2023-03-08T17:21:35.709Z] $ docker rm -f --volumes bc5af285f6f3837179be9bd5f6d8fe8f61846afe96476616ec83a0a69a496fea [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T17:21:36.104Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-08T17:21:36.435Z] Stashed 1 file(s) [Pipeline] echo [2023-03-08T17:21:36.454Z] [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-03-08T17:21:37.046Z] provisioning config files... [2023-03-08T17:21:37.055Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp/config5641553907062361005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:21:37.404Z] ---> docker-login.sh [2023-03-08T17:21:37.404Z] nexus3.edgexfoundry.org:10001 [2023-03-08T17:21:37.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:21:37.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:21:37.404Z] Configure a credential helper to remove this warning. See [2023-03-08T17:21:37.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:21:37.404Z] [2023-03-08T17:21:37.404Z] Login Succeeded [2023-03-08T17:21:37.404Z] nexus3.edgexfoundry.org:10002 [2023-03-08T17:21:37.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:21:37.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:21:37.404Z] Configure a credential helper to remove this warning. See [2023-03-08T17:21:37.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:21:37.404Z] [2023-03-08T17:21:37.404Z] Login Succeeded [2023-03-08T17:21:37.404Z] nexus3.edgexfoundry.org:10003 [2023-03-08T17:21:37.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:21:37.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:21:37.664Z] Configure a credential helper to remove this warning. See [2023-03-08T17:21:37.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:21:37.664Z] [2023-03-08T17:21:37.664Z] Login Succeeded [2023-03-08T17:21:37.664Z] nexus3.edgexfoundry.org:10004 [2023-03-08T17:21:37.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:21:37.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:21:37.664Z] Configure a credential helper to remove this warning. See [2023-03-08T17:21:37.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:21:37.664Z] [2023-03-08T17:21:37.664Z] Login Succeeded [2023-03-08T17:21:37.664Z] docker.io [2023-03-08T17:21:37.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:21:37.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:21:37.924Z] Configure a credential helper to remove this warning. See [2023-03-08T17:21:37.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:21:37.924Z] [2023-03-08T17:21:37.924Z] Login Succeeded [2023-03-08T17:21:37.924Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T17:21:37.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T17:21:38.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T17:21:38.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T17:21:38.201Z] ========================================================= [2023-03-08T17:21:38.201Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-08T17:21:38.201Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:21:38.663Z] + 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-03-08T17:21:38.663Z] Sending build context to Docker daemon 6.33MB [2023-03-08T17:21:38.663Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T17:21:38.663Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-08T17:21:38.663Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-08T17:21:38.663Z] 213ec9aee27d: Pulling fs layer [2023-03-08T17:21:38.663Z] 4583459ba037: Pulling fs layer [2023-03-08T17:21:38.663Z] 93c1e223e6f2: Pulling fs layer [2023-03-08T17:21:38.663Z] 53926ce57604: Pulling fs layer [2023-03-08T17:21:38.663Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-08T17:21:38.663Z] 22ff95d597cd: Pulling fs layer [2023-03-08T17:21:38.663Z] 12d6caf4c0d1: Pulling fs layer [2023-03-08T17:21:38.663Z] 96b7cbca73a9: Pulling fs layer [2023-03-08T17:21:38.663Z] a7acece74701: Pulling fs layer [2023-03-08T17:21:38.663Z] 53926ce57604: Waiting [2023-03-08T17:21:38.663Z] 21b2b0c7a3f4: Waiting [2023-03-08T17:21:38.663Z] 22ff95d597cd: Waiting [2023-03-08T17:21:38.663Z] 12d6caf4c0d1: Waiting [2023-03-08T17:21:38.663Z] 96b7cbca73a9: Waiting [2023-03-08T17:21:38.663Z] a7acece74701: Waiting [2023-03-08T17:21:38.663Z] 4583459ba037: Download complete [2023-03-08T17:21:38.663Z] 21b2b0c7a3f4: Download complete [2023-03-08T17:21:38.663Z] 22ff95d597cd: Verifying Checksum [2023-03-08T17:21:38.663Z] 22ff95d597cd: Download complete [2023-03-08T17:21:38.923Z] 213ec9aee27d: Download complete [2023-03-08T17:21:38.923Z] 12d6caf4c0d1: Verifying Checksum [2023-03-08T17:21:38.923Z] 12d6caf4c0d1: Download complete [2023-03-08T17:21:38.923Z] 213ec9aee27d: Pull complete [2023-03-08T17:21:39.184Z] 4583459ba037: Pull complete [2023-03-08T17:21:39.184Z] 93c1e223e6f2: Pull complete [2023-03-08T17:21:39.445Z] a7acece74701: Verifying Checksum [2023-03-08T17:21:39.445Z] a7acece74701: Download complete [2023-03-08T17:21:39.704Z] 96b7cbca73a9: Verifying Checksum [2023-03-08T17:21:39.704Z] 96b7cbca73a9: Download complete [2023-03-08T17:21:39.704Z] 53926ce57604: Download complete [2023-03-08T17:21:44.999Z] 53926ce57604: Pull complete [2023-03-08T17:21:44.999Z] 21b2b0c7a3f4: Pull complete [2023-03-08T17:21:44.999Z] 22ff95d597cd: Pull complete [2023-03-08T17:21:44.999Z] 12d6caf4c0d1: Pull complete [2023-03-08T17:21:46.904Z] 96b7cbca73a9: Pull complete [2023-03-08T17:21:47.838Z] a7acece74701: Pull complete [2023-03-08T17:21:47.838Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-08T17:21:47.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-08T17:21:47.838Z] ---> db6d94c90886 [2023-03-08T17:21:47.838Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-08T17:21:51.122Z] ---> Running in cd4a766d8968 [2023-03-08T17:21:51.122Z] Removing intermediate container cd4a766d8968 [2023-03-08T17:21:51.122Z] ---> 618777152ded [2023-03-08T17:21:51.122Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T17:21:51.122Z] ---> Running in 74b73e62ede8 [2023-03-08T17:21:51.122Z] Removing intermediate container 74b73e62ede8 [2023-03-08T17:21:51.122Z] ---> 5f2c84fb6b0d [2023-03-08T17:21:51.122Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T17:21:51.122Z] ---> Running in f93ba0e3b414 [2023-03-08T17:21:51.380Z] Removing intermediate container f93ba0e3b414 [2023-03-08T17:21:51.380Z] ---> c6ca9580c115 [2023-03-08T17:21:51.380Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T17:21:51.380Z] ---> Running in 9d4c114c39ae [2023-03-08T17:21:51.380Z] Removing intermediate container 9d4c114c39ae [2023-03-08T17:21:51.380Z] ---> 6686d4fe5ae2 [2023-03-08T17:21:51.380Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T17:21:51.380Z] ---> Running in 13e727fa2cc3 [2023-03-08T17:21:51.857Z] Still waiting to schedule task [2023-03-08T17:21:51.858Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-08T17:21:51.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T17:21:51.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T17:21:52.206Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-08T17:21:52.206Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-08T17:21:52.206Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-08T17:21:52.207Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-08T17:21:52.207Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T17:21:52.465Z] OK: 216 MiB in 55 packages [2023-03-08T17:21:52.724Z] Removing intermediate container 13e727fa2cc3 [2023-03-08T17:21:52.724Z] ---> 3af9e3042496 [2023-03-08T17:21:52.724Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-08T17:21:52.724Z] ---> Running in 6c11e0cb36ad [2023-03-08T17:21:52.724Z] Removing intermediate container 6c11e0cb36ad [2023-03-08T17:21:52.724Z] ---> c7824d81e80d [2023-03-08T17:21:52.724Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-08T17:21:52.982Z] ---> 5b5ee2665cd9 [2023-03-08T17:21:52.983Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T17:21:52.983Z] ---> Running in 0dca07e6a0b1 [2023-03-08T17:22:39.676Z] Removing intermediate container 0dca07e6a0b1 [2023-03-08T17:22:39.676Z] ---> 80f8aa2334fc [2023-03-08T17:22:39.676Z] Step 11/12 : COPY . . [2023-03-08T17:22:39.676Z] ---> 2402a731d981 [2023-03-08T17:22:39.676Z] Step 12/12 : RUN $MAKE [2023-03-08T17:22:39.676Z] ---> Running in e317240ed5a4 [2023-03-08T17:22:39.676Z] noop [2023-03-08T17:22:39.676Z] Removing intermediate container e317240ed5a4 [2023-03-08T17:22:39.676Z] ---> d117c6a1cb92 [2023-03-08T17:22:39.676Z] Successfully built d117c6a1cb92 [2023-03-08T17:22:39.676Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:22:40.175Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T17:22:40.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:22:40.319Z] prd-ubuntu20.04-docker-8c-8g-8831 does not seem to be running inside a container [2023-03-08T17:22:40.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-515 -v /w/workspace/gexfoundry_device-mqtt-go_PR-515:/w/workspace/gexfoundry_device-mqtt-go_PR-515:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T17:22:40.734Z] $ docker top 4b1a60cbdc0e85cbed597e833346060cf71419aecf9d7f8325631de62f459f6c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T17:22:41.115Z] + go version [2023-03-08T17:22:41.115Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-08T17:22:41.149Z] $ docker stop --time=1 4b1a60cbdc0e85cbed597e833346060cf71419aecf9d7f8325631de62f459f6c [2023-03-08T17:22:42.412Z] $ docker rm -f --volumes 4b1a60cbdc0e85cbed597e833346060cf71419aecf9d7f8325631de62f459f6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:22:43.106Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T17:22:43.106Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:22:43.265Z] prd-ubuntu20.04-docker-8c-8g-8831 does not seem to be running inside a container [2023-03-08T17:22:43.298Z] $ 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-515 -v /w/workspace/gexfoundry_device-mqtt-go_PR-515:/w/workspace/gexfoundry_device-mqtt-go_PR-515:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T17:22:43.658Z] $ docker top 1856b8f249b521a0a7a304b97f084eb611736f755759f0082d28f30aaec5869e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T17:22:44.048Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-515 [Pipeline] fileExists [Pipeline] sh [2023-03-08T17:22:44.405Z] + make test [2023-03-08T17:22:44.405Z] go test ./... -coverprofile=coverage.out ./... [2023-03-08T17:22:44.664Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-08T17:22:56.869Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-08T17:22:56.869Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2023-03-08T17:22:56.869Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-08T17:23:04.980Z] 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-03-08T17:23:04.980Z] go vet ./... [2023-03-08T17:23:08.266Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T17:23:08.266Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T17:23:08.266Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-08T17:23:08.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T17:23:08.341Z] $ docker stop --time=1 1856b8f249b521a0a7a304b97f084eb611736f755759f0082d28f30aaec5869e [2023-03-08T17:23:10.205Z] $ docker rm -f --volumes 1856b8f249b521a0a7a304b97f084eb611736f755759f0082d28f30aaec5869e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T17:23:10.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T17:23:10.805Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-08T17:23:11.436Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T17:23:11.747Z] + ls -al . [2023-03-08T17:23:11.747Z] total 184 [2023-03-08T17:23:11.747Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 17:22 . [2023-03-08T17:23:11.747Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:21 .. [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 17:21 .dockerignore [2023-03-08T17:23:11.747Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 17:22 .git [2023-03-08T17:23:11.747Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 17:21 .github [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 8 17:21 .gitignore [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 17:21 .golangci.yml [2023-03-08T17:23:11.747Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 17:21 .semver [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 8 17:21 Attribution.txt [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 8 17:21 CHANGELOG.md [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 8 17:21 Dockerfile [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 17:21 GOVERNANCE.md [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 8 17:21 Jenkinsfile [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 17:21 LICENSE [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 8 17:21 Makefile [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 17:21 OWNERS.md [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 8 17:21 README.md [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 17:21 VERSION [2023-03-08T17:23:11.747Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 17:21 bin [2023-03-08T17:23:11.747Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 17:21 cmd [2023-03-08T17:23:11.747Z] -rw-r--r-- 1 jenkins jenkins 17887 Mar 8 17:22 coverage.out [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 3376 Mar 8 17:21 go.mod [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 33279 Mar 8 17:21 go.sum [2023-03-08T17:23:11.747Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 17:21 internal [2023-03-08T17:23:11.747Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 17:21 mock [2023-03-08T17:23:11.747Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:21 snap [2023-03-08T17:23:11.747Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 8 17:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:23:12.129Z] + 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=90bb521e5152a28ee665954924b952139261dddb --label arch=amd64 --label version=0.0.0 . [2023-03-08T17:23:12.129Z] Sending build context to Docker daemon 6.349MB [2023-03-08T17:23:12.129Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T17:23:12.129Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-08T17:23:12.129Z] ---> d117c6a1cb92 [2023-03-08T17:23:12.129Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-08T17:23:12.129Z] ---> Running in 0a4980e91bf8 [2023-03-08T17:23:12.388Z] Removing intermediate container 0a4980e91bf8 [2023-03-08T17:23:12.388Z] ---> 4c43a9d12a68 [2023-03-08T17:23:12.388Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T17:23:12.388Z] ---> Running in 1efb4954770f [2023-03-08T17:23:12.388Z] Removing intermediate container 1efb4954770f [2023-03-08T17:23:12.388Z] ---> cc32cf4346bc [2023-03-08T17:23:12.388Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T17:23:12.388Z] ---> Running in 3796f2e9b90b [2023-03-08T17:23:12.388Z] Removing intermediate container 3796f2e9b90b [2023-03-08T17:23:12.388Z] ---> 35ee8e623804 [2023-03-08T17:23:12.388Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T17:23:12.388Z] ---> Running in b552123f80d1 [2023-03-08T17:23:12.648Z] Removing intermediate container b552123f80d1 [2023-03-08T17:23:12.648Z] ---> a04de690e73e [2023-03-08T17:23:12.648Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T17:23:12.648Z] ---> Running in 7df6481fa5a3 [2023-03-08T17:23:12.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T17:23:13.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T17:23:13.427Z] OK: 216 MiB in 55 packages [2023-03-08T17:23:13.687Z] Removing intermediate container 7df6481fa5a3 [2023-03-08T17:23:13.687Z] ---> bb4b70cd77f4 [2023-03-08T17:23:13.687Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-08T17:23:13.687Z] ---> Running in e3c303719908 [2023-03-08T17:23:13.687Z] Removing intermediate container e3c303719908 [2023-03-08T17:23:13.687Z] ---> 337b170a4bec [2023-03-08T17:23:13.687Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-08T17:23:14.053Z] ---> 6904208e9b20 [2023-03-08T17:23:14.053Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T17:23:14.053Z] ---> Running in 7f3538491b7a [2023-03-08T17:23:15.007Z] Removing intermediate container 7f3538491b7a [2023-03-08T17:23:15.007Z] ---> 0bf3e724b227 [2023-03-08T17:23:15.007Z] Step 11/24 : COPY . . [2023-03-08T17:23:15.266Z] ---> 7716c404cf6e [2023-03-08T17:23:15.266Z] Step 12/24 : RUN $MAKE [2023-03-08T17:23:15.266Z] ---> Running in 68470c1b803e [2023-03-08T17:23:15.525Z] 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-03-08T17:23:23.599Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8832 in /w/workspace/gexfoundry_device-mqtt-go_PR-515 [Pipeline] { [Pipeline] ws [2023-03-08T17:23:23.664Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-08T17:23:23.747Z] Selected Git installation does not exist. Using Default [2023-03-08T17:23:23.747Z] The recommended git tool is: NONE [2023-03-08T17:23:28.877Z] using credential edgex-jenkins-ssh [2023-03-08T17:23:28.895Z] Cloning the remote Git repository [2023-03-08T17:23:28.943Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T17:23:29.025Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-08T17:23:29.204Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T17:23:29.205Z] > git --version # timeout=10 [2023-03-08T17:23:29.226Z] > git --version # 'git version 2.25.1' [2023-03-08T17:23:29.227Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T17:23:29.288Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T17:23:30.391Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-08T17:23:30.410Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T17:23:31.200Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-08T17:23:31.240Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-08T17:23:31.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T17:23:31.258Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/515/head:refs/remotes/origin/PR-515 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-08T17:23:31.853Z] Merging remotes/origin/main commit ec4bdb71d113baf8f62d105c9dc125da7e597352 into PR head commit 90bb521e5152a28ee665954924b952139261dddb [2023-03-08T17:23:32.090Z] Merge succeeded, producing 90bb521e5152a28ee665954924b952139261dddb [2023-03-08T17:23:32.091Z] Checking out Revision 90bb521e5152a28ee665954924b952139261dddb (PR-515) [2023-03-08T17:23:31.874Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T17:23:31.899Z] > git checkout -f 90bb521e5152a28ee665954924b952139261dddb # timeout=10 [2023-03-08T17:23:31.978Z] > git remote # timeout=10 [2023-03-08T17:23:31.995Z] > git config --get remote.origin.url # timeout=10 [2023-03-08T17:23:32.025Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T17:23:32.038Z] > git merge ec4bdb71d113baf8f62d105c9dc125da7e597352 # timeout=10 [2023-03-08T17:23:32.064Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-08T17:23:32.100Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T17:23:32.115Z] > git checkout -f 90bb521e5152a28ee665954924b952139261dddb # timeout=10 [2023-03-08T17:23:35.584Z] Commit message: "refactor!: Replace internal topics from config with new constants" [2023-03-08T17:23:35.639Z] > git --version # timeout=10 [2023-03-08T17:23:35.652Z] > git --version # 'git version 2.25.1' [2023-03-08T17:23:35.666Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T17:23:37.091Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-08T17:23:37.091Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T17:23:37.091Z] Dload Upload Total Spent Left Speed [2023-03-08T17:23:37.091Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 99k [2023-03-08T17:23:37.449Z] Removing intermediate container 68470c1b803e [2023-03-08T17:23:37.449Z] ---> 421416245ea3 [2023-03-08T17:23:37.449Z] Step 13/24 : FROM alpine:3.16 [2023-03-08T17:23:37.449Z] 3.16: Pulling from library/alpine [2023-03-08T17:23:37.449Z] ef5531b6e74e: Pulling fs layer [Pipeline] sh [2023-03-08T17:23:37.709Z] ef5531b6e74e: Verifying Checksum [2023-03-08T17:23:37.709Z] ef5531b6e74e: Download complete [2023-03-08T17:23:37.709Z] ef5531b6e74e: Pull complete [2023-03-08T17:23:37.709Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T17:23:37.710Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T17:23:37.710Z] ---> dfd21b5a31f5 [2023-03-08T17:23:37.710Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-08T17:23:37.710Z] ---> Running in 4eee79a8be23 [2023-03-08T17:23:37.841Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-08T17:23:37.968Z] Removing intermediate container 4eee79a8be23 [2023-03-08T17:23:37.968Z] ---> cf9aed930391 [2023-03-08T17:23:37.968Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-08T17:23:37.968Z] ---> Running in e422578d6a94 [2023-03-08T17:23:38.200Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-08T17:23:38.201Z] + sudo tee /etc/docker/daemon.new [2023-03-08T17:23:38.201Z] { [2023-03-08T17:23:38.201Z] "registry-mirrors": [ [2023-03-08T17:23:38.201Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-08T17:23:38.201Z] ], [2023-03-08T17:23:38.201Z] "bip": "10.250.0.254/24", [2023-03-08T17:23:38.201Z] "hosts": [ [2023-03-08T17:23:38.201Z] "tcp://0.0.0.0:5555", [2023-03-08T17:23:38.201Z] "unix:///var/run/docker.sock" [2023-03-08T17:23:38.201Z] ], [2023-03-08T17:23:38.201Z] "mtu": 1458, [2023-03-08T17:23:38.201Z] "selinux-enabled": true, [2023-03-08T17:23:38.201Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-08T17:23:38.201Z] } [2023-03-08T17:23:38.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T17:23:38.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [Pipeline] sh [2023-03-08T17:23:38.486Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-08T17:23:38.486Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T17:23:38.486Z] OK: 6 MiB in 15 packages [2023-03-08T17:23:38.550Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-08T17:23:38.747Z] Removing intermediate container e422578d6a94 [2023-03-08T17:23:38.747Z] ---> 267132b181b1 [2023-03-08T17:23:38.747Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-08T17:23:38.896Z] + sudo service docker restart [2023-03-08T17:23:39.686Z] ---> 7fe48df62b1a [2023-03-08T17:23:39.686Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-08T17:23:39.686Z] ---> cd34944f58d8 [2023-03-08T17:23:39.686Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-08T17:23:39.945Z] ---> c0947853deb8 [2023-03-08T17:23:39.945Z] Step 19/24 : EXPOSE 59982 [2023-03-08T17:23:39.945Z] ---> Running in 9111eef3ced5 [2023-03-08T17:23:39.945Z] Removing intermediate container 9111eef3ced5 [2023-03-08T17:23:39.945Z] ---> 4659320ac361 [2023-03-08T17:23:39.945Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-08T17:23:39.945Z] ---> Running in 17e75ea1fa2a [2023-03-08T17:23:39.945Z] Removing intermediate container 17e75ea1fa2a [2023-03-08T17:23:39.945Z] ---> d7471995d553 [2023-03-08T17:23:39.945Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-08T17:23:39.945Z] ---> Running in a7d8aa9b23c8 [2023-03-08T17:23:40.205Z] Removing intermediate container a7d8aa9b23c8 [2023-03-08T17:23:40.205Z] ---> 2e2318d91fb9 [2023-03-08T17:23:40.205Z] Step 22/24 : LABEL arch=amd64 [2023-03-08T17:23:40.205Z] ---> Running in f5b5ac8de07b [2023-03-08T17:23:40.205Z] Removing intermediate container f5b5ac8de07b [2023-03-08T17:23:40.205Z] ---> af8109150338 [2023-03-08T17:23:40.205Z] Step 23/24 : LABEL git_sha=90bb521e5152a28ee665954924b952139261dddb [2023-03-08T17:23:40.205Z] ---> Running in 832df4b92dfe [2023-03-08T17:23:40.205Z] Removing intermediate container 832df4b92dfe [2023-03-08T17:23:40.205Z] ---> 856cc3348198 [2023-03-08T17:23:40.205Z] Step 24/24 : LABEL version=0.0.0 [2023-03-08T17:23:40.205Z] ---> Running in 237e7bae5606 [2023-03-08T17:23:40.465Z] Removing intermediate container 237e7bae5606 [2023-03-08T17:23:40.465Z] ---> f106b24aac4e [2023-03-08T17:23:40.465Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T17:23:40.465Z] Successfully built f106b24aac4e [2023-03-08T17:23:40.465Z] 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-03-08T17:23:41.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T17:23:41.327Z] [2023-03-08T17:23:41.327Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:23:41.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T17:23:41.702Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-08T17:23:41.702Z] 5eb5b503b376: Pulling fs layer [2023-03-08T17:23:41.702Z] 5c69ac0246d0: Pulling fs layer [2023-03-08T17:23:41.702Z] ec43610c2a17: Pulling fs layer [2023-03-08T17:23:41.702Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-08T17:23:41.702Z] 33b1e0a273af: Pulling fs layer [2023-03-08T17:23:41.702Z] 5d3b04190fa2: Pulling fs layer [2023-03-08T17:23:41.702Z] 2f39f015ded8: Pulling fs layer [2023-03-08T17:23:41.702Z] 5d3b04190fa2: Waiting [2023-03-08T17:23:41.702Z] 2f39f015ded8: Waiting [2023-03-08T17:23:41.702Z] 3a2ae6a8a46f: Waiting [2023-03-08T17:23:41.702Z] 33b1e0a273af: Waiting [2023-03-08T17:23:41.702Z] 5c69ac0246d0: Verifying Checksum [2023-03-08T17:23:41.702Z] 5c69ac0246d0: Download complete [2023-03-08T17:23:41.702Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-08T17:23:41.702Z] 3a2ae6a8a46f: Download complete [2023-03-08T17:23:41.702Z] 33b1e0a273af: Verifying Checksum [2023-03-08T17:23:41.702Z] 33b1e0a273af: Download complete [2023-03-08T17:23:41.961Z] 5d3b04190fa2: Verifying Checksum [2023-03-08T17:23:41.961Z] 5d3b04190fa2: Download complete [2023-03-08T17:23:41.961Z] ec43610c2a17: Verifying Checksum [2023-03-08T17:23:41.961Z] ec43610c2a17: Download complete [2023-03-08T17:23:41.961Z] 5eb5b503b376: Download complete [2023-03-08T17:23:42.898Z] 2f39f015ded8: Download complete [2023-03-08T17:23:43.465Z] 5eb5b503b376: Pull complete [2023-03-08T17:23:43.465Z] 5c69ac0246d0: Pull complete [2023-03-08T17:23:43.723Z] ec43610c2a17: Pull complete [2023-03-08T17:23:43.983Z] 3a2ae6a8a46f: Pull complete [2023-03-08T17:23:44.242Z] 33b1e0a273af: Pull complete [2023-03-08T17:23:44.242Z] 5d3b04190fa2: Pull complete [2023-03-08T17:23:49.513Z] 2f39f015ded8: Pull complete [2023-03-08T17:23:49.513Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-08T17:23:49.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T17:23:49.513Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:23:49.749Z] prd-ubuntu20.04-docker-8c-8g-8831 does not seem to be running inside a container [2023-03-08T17:23:49.784Z] $ 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-515 -v /w/workspace/gexfoundry_device-mqtt-go_PR-515:/w/workspace/gexfoundry_device-mqtt-go_PR-515:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T17:23:51.919Z] $ docker top c4bbfbf46b8ba84de02b310deea86d0611228e9f17c20a1cadf9277593895d66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:23:52.373Z] ---> job-cost.sh [2023-03-08T17:23:52.373Z] lf-activate-venv: SKIPPING [2023-03-08T17:23:52.373Z] INFO: No Stack... [2023-03-08T17:23:52.631Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T17:23:52.889Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T17:23:53.199Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-515/archives/cost.csv [2023-03-08T17:23:53.199Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T17:23:53.246Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-515-1-stack-cost] [2023-03-08T17:23:53.251Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-515-1-stack-cost] did not exist. Created. [2023-03-08T17:23:53.251Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-515-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T17:23:53.635Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-08T17:23:53.686Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T17:23:53.712Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-515-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T17:23:53.791Z] $ docker stop --time=1 c4bbfbf46b8ba84de02b310deea86d0611228e9f17c20a1cadf9277593895d66 [2023-03-08T17:23:54.957Z] $ docker rm -f --volumes c4bbfbf46b8ba84de02b310deea86d0611228e9f17c20a1cadf9277593895d66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T17:23:57.219Z] provisioning config files... [2023-03-08T17:23:57.248Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config18179125740068982894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:23:57.642Z] ---> docker-login.sh [2023-03-08T17:23:57.642Z] nexus3.edgexfoundry.org:10001 [2023-03-08T17:23:57.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:23:58.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:23:58.185Z] Configure a credential helper to remove this warning. See [2023-03-08T17:23:58.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:23:58.185Z] [2023-03-08T17:23:58.185Z] Login Succeeded [2023-03-08T17:23:58.185Z] nexus3.edgexfoundry.org:10002 [2023-03-08T17:23:58.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:23:58.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:23:58.724Z] Configure a credential helper to remove this warning. See [2023-03-08T17:23:58.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:23:58.724Z] [2023-03-08T17:23:58.724Z] Login Succeeded [2023-03-08T17:23:58.724Z] nexus3.edgexfoundry.org:10003 [2023-03-08T17:23:58.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:23:58.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:23:58.995Z] Configure a credential helper to remove this warning. See [2023-03-08T17:23:58.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:23:58.995Z] [2023-03-08T17:23:58.995Z] Login Succeeded [2023-03-08T17:23:58.995Z] nexus3.edgexfoundry.org:10004 [2023-03-08T17:23:59.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:23:59.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:23:59.271Z] Configure a credential helper to remove this warning. See [2023-03-08T17:23:59.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:23:59.271Z] [2023-03-08T17:23:59.271Z] Login Succeeded [2023-03-08T17:23:59.544Z] docker.io [2023-03-08T17:23:59.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T17:23:59.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T17:23:59.821Z] Configure a credential helper to remove this warning. See [2023-03-08T17:23:59.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T17:23:59.821Z] [2023-03-08T17:23:59.821Z] Login Succeeded [2023-03-08T17:23:59.821Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T17:23:59.850Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T17:24:00.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T17:24:00.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T17:24:00.347Z] ========================================================= [2023-03-08T17:24:00.347Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-08T17:24:00.347Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:24:00.822Z] + 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-03-08T17:24:01.790Z] Sending build context to Docker daemon 3.303MB [2023-03-08T17:24:01.790Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T17:24:01.790Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-08T17:24:02.072Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-08T17:24:02.072Z] 9b18e9b68314: Pulling fs layer [2023-03-08T17:24:02.072Z] 35d82f9e3411: Pulling fs layer [2023-03-08T17:24:02.072Z] e16973657156: Pulling fs layer [2023-03-08T17:24:02.072Z] fc693d55d65f: Pulling fs layer [2023-03-08T17:24:02.072Z] 7e9fc2657dce: Pulling fs layer [2023-03-08T17:24:02.072Z] dda99020689f: Pulling fs layer [2023-03-08T17:24:02.072Z] db1c61fa0a46: Pulling fs layer [2023-03-08T17:24:02.072Z] 891c053d2c06: Pulling fs layer [2023-03-08T17:24:02.072Z] dda99020689f: Waiting [2023-03-08T17:24:02.072Z] db1c61fa0a46: Waiting [2023-03-08T17:24:02.072Z] 891c053d2c06: Waiting [2023-03-08T17:24:02.072Z] fc693d55d65f: Waiting [2023-03-08T17:24:02.072Z] 7e9fc2657dce: Waiting [2023-03-08T17:24:02.072Z] e16973657156: Verifying Checksum [2023-03-08T17:24:02.072Z] e16973657156: Download complete [2023-03-08T17:24:02.072Z] 35d82f9e3411: Verifying Checksum [2023-03-08T17:24:02.072Z] 35d82f9e3411: Download complete [2023-03-08T17:24:02.072Z] 7e9fc2657dce: Verifying Checksum [2023-03-08T17:24:02.072Z] 7e9fc2657dce: Download complete [2023-03-08T17:24:02.072Z] dda99020689f: Verifying Checksum [2023-03-08T17:24:02.072Z] dda99020689f: Download complete [2023-03-08T17:24:02.072Z] 9b18e9b68314: Download complete [2023-03-08T17:24:03.050Z] 9b18e9b68314: Pull complete [2023-03-08T17:24:03.050Z] 891c053d2c06: Verifying Checksum [2023-03-08T17:24:03.050Z] 891c053d2c06: Download complete [2023-03-08T17:24:03.641Z] 35d82f9e3411: Pull complete [2023-03-08T17:24:03.910Z] e16973657156: Pull complete [2023-03-08T17:24:04.190Z] db1c61fa0a46: Verifying Checksum [2023-03-08T17:24:04.191Z] db1c61fa0a46: Download complete [2023-03-08T17:24:05.160Z] fc693d55d65f: Verifying Checksum [2023-03-08T17:24:05.160Z] fc693d55d65f: Download complete [2023-03-08T17:24:17.505Z] fc693d55d65f: Pull complete [2023-03-08T17:24:17.505Z] 7e9fc2657dce: Pull complete [2023-03-08T17:24:17.505Z] dda99020689f: Pull complete [2023-03-08T17:24:22.862Z] db1c61fa0a46: Pull complete [2023-03-08T17:24:24.814Z] 891c053d2c06: Pull complete [2023-03-08T17:24:25.083Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-08T17:24:25.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-08T17:24:25.083Z] ---> f96f9c87975a [2023-03-08T17:24:25.083Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-08T17:24:25.667Z] ---> Running in 4a4ac62e00a9 [2023-03-08T17:24:25.935Z] Removing intermediate container 4a4ac62e00a9 [2023-03-08T17:24:25.935Z] ---> 7786561a8ba0 [2023-03-08T17:24:25.935Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T17:24:26.201Z] ---> Running in a3c432dfb688 [2023-03-08T17:24:26.468Z] Removing intermediate container a3c432dfb688 [2023-03-08T17:24:26.468Z] ---> a584c9713de9 [2023-03-08T17:24:26.468Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T17:24:26.468Z] ---> Running in 823adbd119f1 [2023-03-08T17:24:26.746Z] Removing intermediate container 823adbd119f1 [2023-03-08T17:24:26.746Z] ---> 9b2005091e09 [2023-03-08T17:24:26.746Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T17:24:27.014Z] ---> Running in a05494df813c [2023-03-08T17:24:27.281Z] Removing intermediate container a05494df813c [2023-03-08T17:24:27.281Z] ---> b646ccc81d34 [2023-03-08T17:24:27.281Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T17:24:27.281Z] ---> Running in c6a52226e353 [2023-03-08T17:24:28.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T17:24:28.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T17:24:29.670Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-08T17:24:29.670Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-08T17:24:29.670Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-08T17:24:29.670Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-08T17:24:29.670Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T17:24:29.938Z] OK: 226 MiB in 55 packages [2023-03-08T17:24:30.903Z] Removing intermediate container c6a52226e353 [2023-03-08T17:24:30.903Z] ---> 996151b87287 [2023-03-08T17:24:30.903Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-08T17:24:30.903Z] ---> Running in 173efb727f28 [2023-03-08T17:24:31.172Z] Removing intermediate container 173efb727f28 [2023-03-08T17:24:31.172Z] ---> cc91c64172c0 [2023-03-08T17:24:31.172Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-08T17:24:31.767Z] ---> 544e0d152f5e [2023-03-08T17:24:31.767Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T17:24:31.767Z] ---> Running in a00355b4b4a9 [2023-03-08T17:25:39.652Z] Removing intermediate container a00355b4b4a9 [2023-03-08T17:25:39.652Z] ---> 5e5a5a87b6c7 [2023-03-08T17:25:39.652Z] Step 11/12 : COPY . . [2023-03-08T17:25:39.652Z] ---> 74cfa0286b52 [2023-03-08T17:25:39.652Z] Step 12/12 : RUN $MAKE [2023-03-08T17:25:39.652Z] ---> Running in 49fe48cffe8f [2023-03-08T17:25:39.652Z] noop [2023-03-08T17:25:39.652Z] Removing intermediate container 49fe48cffe8f [2023-03-08T17:25:39.652Z] ---> beb94b6b40d6 [2023-03-08T17:25:39.652Z] Successfully built beb94b6b40d6 [2023-03-08T17:25:39.652Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:25:40.134Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T17:25:40.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:25:40.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-8832 does not seem to be running inside a container [2023-03-08T17:25:40.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T17:25:41.730Z] $ docker top 6caf140c64b4e4765e04ad0c1f16e7a55858635050a86779436200bace3fce96 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T17:25:42.611Z] + go version [2023-03-08T17:25:42.611Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-08T17:25:42.650Z] $ docker stop --time=1 6caf140c64b4e4765e04ad0c1f16e7a55858635050a86779436200bace3fce96 [2023-03-08T17:25:45.664Z] $ docker rm -f --volumes 6caf140c64b4e4765e04ad0c1f16e7a55858635050a86779436200bace3fce96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:25:46.491Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T17:25:46.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:25:46.740Z] prd-ubuntu20.04-docker-arm64-4c-16g-8832 does not seem to be running inside a container [2023-03-08T17:25:46.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T17:25:48.042Z] $ docker top e4b418fefc8fde92f347861bcf2c733782cb1321333c4389a793deeed83f01da -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T17:25:48.910Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-08T17:25:49.301Z] + make test [2023-03-08T17:25:49.573Z] go test ./... -coverprofile=coverage.out ./... [2023-03-08T17:25:50.985Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-08T17:27:12.630Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-08T17:27:12.630Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 21.8% of statements [2023-03-08T17:27:12.630Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-08T17:27:12.630Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-08T17:27:12.630Z] go vet ./... [2023-03-08T17:27:30.871Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T17:27:30.871Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T17:27:30.871Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-08T17:27:30.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T17:27:30.939Z] $ docker stop --time=1 e4b418fefc8fde92f347861bcf2c733782cb1321333c4389a793deeed83f01da [2023-03-08T17:27:32.630Z] $ docker rm -f --volumes e4b418fefc8fde92f347861bcf2c733782cb1321333c4389a793deeed83f01da [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T17:27:33.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T17:27:33.645Z] Warning: overwriting stash ‘coverage-report’ [2023-03-08T17:27:34.082Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T17:27:34.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T17:27:35.003Z] + ls -al . [2023-03-08T17:27:35.003Z] total 180 [2023-03-08T17:27:35.003Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 17:25 . [2023-03-08T17:27:35.003Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:23 .. [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 17:23 .dockerignore [2023-03-08T17:27:35.003Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 17:23 .git [2023-03-08T17:27:35.003Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 17:23 .github [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 8 17:23 .gitignore [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 17:23 .golangci.yml [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 8 17:23 Attribution.txt [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 8 17:23 CHANGELOG.md [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 8 17:23 Dockerfile [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 17:23 GOVERNANCE.md [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 8 17:23 Jenkinsfile [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 17:23 LICENSE [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 8 17:23 Makefile [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 17:23 OWNERS.md [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 8 17:23 README.md [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 17:21 VERSION [2023-03-08T17:27:35.003Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 17:23 bin [2023-03-08T17:27:35.003Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 17:23 cmd [2023-03-08T17:27:35.003Z] -rw-r--r-- 1 jenkins jenkins 17887 Mar 8 17:27 coverage.out [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 3376 Mar 8 17:23 go.mod [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 33279 Mar 8 17:23 go.sum [2023-03-08T17:27:35.003Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 17:23 internal [2023-03-08T17:27:35.003Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 17:23 mock [2023-03-08T17:27:35.003Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:23 snap [2023-03-08T17:27:35.003Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 8 17:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:27:35.418Z] + 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=90bb521e5152a28ee665954924b952139261dddb --label arch=arm64 --label version=0.0.0 . [2023-03-08T17:27:35.688Z] Sending build context to Docker daemon 3.321MB [2023-03-08T17:27:35.688Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T17:27:35.688Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-08T17:27:35.688Z] ---> beb94b6b40d6 [2023-03-08T17:27:35.688Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-08T17:27:35.957Z] ---> Running in 2b02c1e2363d [2023-03-08T17:27:36.225Z] Removing intermediate container 2b02c1e2363d [2023-03-08T17:27:36.225Z] ---> 2838cf75fe6c [2023-03-08T17:27:36.225Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T17:27:36.225Z] ---> Running in 46b5704785ff [2023-03-08T17:27:36.493Z] Removing intermediate container 46b5704785ff [2023-03-08T17:27:36.493Z] ---> 59d43dffc8ed [2023-03-08T17:27:36.493Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T17:27:36.493Z] ---> Running in 87e54b140653 [2023-03-08T17:27:36.762Z] Removing intermediate container 87e54b140653 [2023-03-08T17:27:36.762Z] ---> 8bb8f54e72f9 [2023-03-08T17:27:36.762Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T17:27:37.030Z] ---> Running in b7f0e6033d84 [2023-03-08T17:27:37.298Z] Removing intermediate container b7f0e6033d84 [2023-03-08T17:27:37.298Z] ---> 8ff7c495e69c [2023-03-08T17:27:37.298Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T17:27:37.298Z] ---> Running in ce3f6eb4d8b0 [2023-03-08T17:27:38.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T17:27:38.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T17:27:39.941Z] OK: 226 MiB in 55 packages [2023-03-08T17:27:40.920Z] Removing intermediate container ce3f6eb4d8b0 [2023-03-08T17:27:40.920Z] ---> fa8bc801872d [2023-03-08T17:27:40.920Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-08T17:27:40.920Z] ---> Running in f43b3e9c1184 [2023-03-08T17:27:41.186Z] Removing intermediate container f43b3e9c1184 [2023-03-08T17:27:41.186Z] ---> 3b9becd2bb41 [2023-03-08T17:27:41.186Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-08T17:27:41.772Z] ---> 625e898b11ed [2023-03-08T17:27:41.772Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T17:27:41.772Z] ---> Running in 4cb45fdb76ae [2023-03-08T17:27:46.043Z] Removing intermediate container 4cb45fdb76ae [2023-03-08T17:27:46.043Z] ---> f1752ac8133a [2023-03-08T17:27:46.043Z] Step 11/24 : COPY . . [2023-03-08T17:27:46.630Z] ---> 619e1d27ee26 [2023-03-08T17:27:46.630Z] Step 12/24 : RUN $MAKE [2023-03-08T17:27:46.630Z] ---> Running in 9614a69334bb [2023-03-08T17:27:47.605Z] 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-03-08T17:30:09.635Z] Removing intermediate container 9614a69334bb [2023-03-08T17:30:09.635Z] ---> 9b176c779e58 [2023-03-08T17:30:09.635Z] Step 13/24 : FROM alpine:3.16 [2023-03-08T17:30:09.635Z] 3.16: Pulling from library/alpine [2023-03-08T17:30:09.635Z] 3760b48202b3: Pulling fs layer [2023-03-08T17:30:09.635Z] 3760b48202b3: Verifying Checksum [2023-03-08T17:30:09.635Z] 3760b48202b3: Download complete [2023-03-08T17:30:09.635Z] 3760b48202b3: Pull complete [2023-03-08T17:30:09.636Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T17:30:09.636Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T17:30:09.636Z] ---> 4c81e5bf8899 [2023-03-08T17:30:09.636Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-08T17:30:09.636Z] ---> Running in 8a4375c6571a [2023-03-08T17:30:09.636Z] Removing intermediate container 8a4375c6571a [2023-03-08T17:30:09.636Z] ---> 51ced42dbb26 [2023-03-08T17:30:09.636Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-08T17:30:09.636Z] ---> Running in 0d90a968da20 [2023-03-08T17:30:09.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T17:30:09.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T17:30:09.903Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-08T17:30:09.903Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T17:30:09.903Z] OK: 5 MiB in 15 packages [2023-03-08T17:30:10.878Z] Removing intermediate container 0d90a968da20 [2023-03-08T17:30:10.878Z] ---> 0c1734c390a9 [2023-03-08T17:30:10.878Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-08T17:30:12.298Z] ---> 9be7bf8f5a94 [2023-03-08T17:30:12.298Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-08T17:30:12.565Z] ---> 8fd086d86d32 [2023-03-08T17:30:12.565Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-08T17:30:13.147Z] ---> f4a5dcccfafd [2023-03-08T17:30:13.147Z] Step 19/24 : EXPOSE 59982 [2023-03-08T17:30:13.147Z] ---> Running in c80ea6a11be6 [2023-03-08T17:30:13.414Z] Removing intermediate container c80ea6a11be6 [2023-03-08T17:30:13.414Z] ---> 29c781b26c7a [2023-03-08T17:30:13.414Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-08T17:30:13.414Z] ---> Running in 22e2ba962daa [2023-03-08T17:30:13.681Z] Removing intermediate container 22e2ba962daa [2023-03-08T17:30:13.681Z] ---> cb7b85ae204f [2023-03-08T17:30:13.681Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-08T17:30:13.681Z] ---> Running in 2f4a5000a972 [2023-03-08T17:30:13.951Z] Removing intermediate container 2f4a5000a972 [2023-03-08T17:30:13.951Z] ---> f8e27e92fa03 [2023-03-08T17:30:14.225Z] Step 22/24 : LABEL arch=arm64 [2023-03-08T17:30:14.225Z] ---> Running in 07d98fd43902 [2023-03-08T17:30:14.493Z] Removing intermediate container 07d98fd43902 [2023-03-08T17:30:14.493Z] ---> e8d20aacc940 [2023-03-08T17:30:14.493Z] Step 23/24 : LABEL git_sha=90bb521e5152a28ee665954924b952139261dddb [2023-03-08T17:30:14.493Z] ---> Running in 5dce5705511a [2023-03-08T17:30:14.762Z] Removing intermediate container 5dce5705511a [2023-03-08T17:30:14.762Z] ---> e752d224c706 [2023-03-08T17:30:14.762Z] Step 24/24 : LABEL version=0.0.0 [2023-03-08T17:30:14.762Z] ---> Running in bfd75e114df0 [2023-03-08T17:30:15.029Z] Removing intermediate container bfd75e114df0 [2023-03-08T17:30:15.029Z] ---> cc69385e900d [2023-03-08T17:30:15.029Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T17:30:15.295Z] Successfully built cc69385e900d [2023-03-08T17:30:15.295Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:30:16.084Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T17:30:16.084Z] [2023-03-08T17:30:16.084Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:30:16.487Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T17:30:16.487Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-08T17:30:16.487Z] 8998bd30e6a1: Pulling fs layer [2023-03-08T17:30:16.487Z] 04944245beec: Pulling fs layer [2023-03-08T17:30:16.487Z] 699f458cf7ca: Pulling fs layer [2023-03-08T17:30:16.487Z] 765212b225bb: Pulling fs layer [2023-03-08T17:30:16.487Z] f23df028b6ca: Pulling fs layer [2023-03-08T17:30:16.487Z] d65c8cfc05b1: Pulling fs layer [2023-03-08T17:30:16.487Z] 2437ff75d9bd: Pulling fs layer [2023-03-08T17:30:16.487Z] f23df028b6ca: Waiting [2023-03-08T17:30:16.487Z] d65c8cfc05b1: Waiting [2023-03-08T17:30:16.487Z] 765212b225bb: Waiting [2023-03-08T17:30:16.487Z] 2437ff75d9bd: Waiting [2023-03-08T17:30:16.759Z] 04944245beec: Verifying Checksum [2023-03-08T17:30:16.759Z] 04944245beec: Download complete [2023-03-08T17:30:16.759Z] 765212b225bb: Verifying Checksum [2023-03-08T17:30:16.759Z] 765212b225bb: Download complete [2023-03-08T17:30:16.759Z] f23df028b6ca: Verifying Checksum [2023-03-08T17:30:16.759Z] f23df028b6ca: Download complete [2023-03-08T17:30:16.759Z] d65c8cfc05b1: Verifying Checksum [2023-03-08T17:30:16.759Z] d65c8cfc05b1: Download complete [2023-03-08T17:30:16.759Z] 699f458cf7ca: Verifying Checksum [2023-03-08T17:30:16.759Z] 699f458cf7ca: Download complete [2023-03-08T17:30:17.344Z] 8998bd30e6a1: Verifying Checksum [2023-03-08T17:30:17.344Z] 8998bd30e6a1: Download complete [2023-03-08T17:30:19.930Z] 2437ff75d9bd: Verifying Checksum [2023-03-08T17:30:19.930Z] 2437ff75d9bd: Download complete [2023-03-08T17:30:21.352Z] 8998bd30e6a1: Pull complete [2023-03-08T17:30:21.621Z] 04944245beec: Pull complete [2023-03-08T17:30:23.031Z] 699f458cf7ca: Pull complete [2023-03-08T17:30:23.298Z] 765212b225bb: Pull complete [2023-03-08T17:30:23.882Z] f23df028b6ca: Pull complete [2023-03-08T17:30:24.150Z] d65c8cfc05b1: Pull complete [2023-03-08T17:30:39.138Z] 2437ff75d9bd: Pull complete [2023-03-08T17:30:39.138Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-08T17:30:39.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T17:30:39.138Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:30:39.449Z] prd-ubuntu20.04-docker-arm64-4c-16g-8832 does not seem to be running inside a container [2023-03-08T17:30:39.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-08T17:30:42.158Z] $ docker top e143ad609413edb9c5fc971afc3287da68d42e67bc1498084c94e60d801ed883 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:30:43.058Z] ---> job-cost.sh [2023-03-08T17:30:43.059Z] lf-activate-venv: SKIPPING [2023-03-08T17:30:43.059Z] INFO: No Stack... [2023-03-08T17:30:43.326Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-08T17:30:44.287Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T17:30:44.950Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-03-08T17:30:44.950Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T17:30:45.039Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-515-1-stack-cost] [2023-03-08T17:30:45.047Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-515-1-stack-cost] did not exist. Created. [2023-03-08T17:30:45.048Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-515-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T17:30:45.777Z] /w/workspace/device-mqtt-go/1@tmp/durable-77705a53/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-08T17:30:46.455Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-08T17:30:46.494Z] Warning: overwriting stash ‘stack-cost’ [2023-03-08T17:30:46.540Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T17:30:46.579Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-515-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T17:30:46.660Z] $ docker stop --time=1 e143ad609413edb9c5fc971afc3287da68d42e67bc1498084c94e60d801ed883 [2023-03-08T17:30:48.188Z] $ docker rm -f --volumes e143ad609413edb9c5fc971afc3287da68d42e67bc1498084c94e60d801ed883 [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-03-08T17:30:49.149Z] provisioning config files... [2023-03-08T17:30:49.161Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp/config17818545140310658794tmp [Pipeline] { [Pipeline] sh [2023-03-08T17:30:49.491Z] + set +x [2023-03-08T17:30:49.491Z] + curl -s https://codecov.io/bash [2023-03-08T17:30:49.491Z] + bash -s -- [2023-03-08T17:30:49.491Z] [2023-03-08T17:30:49.491Z] _____ _ [2023-03-08T17:30:49.491Z] / ____| | | [2023-03-08T17:30:49.491Z] | | ___ __| | ___ ___ _____ __ [2023-03-08T17:30:49.491Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-08T17:30:49.491Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-08T17:30:49.491Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-08T17:30:49.491Z] Bash-1.0.6 [2023-03-08T17:30:49.491Z] [2023-03-08T17:30:49.491Z] [2023-03-08T17:30:49.491Z] ==> git version 2.25.1 found [2023-03-08T17:30:49.491Z] ==> 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-03-08T17:30:49.491Z] Release-Date: 2020-01-08 [2023-03-08T17:30:49.491Z] 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-03-08T17:30:49.491Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-08T17:30:49.491Z] ==> Jenkins CI detected. [2023-03-08T17:30:49.491Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-515 [2023-03-08T17:30:49.491Z] project root: . [2023-03-08T17:30:49.491Z] --> token set from env [2023-03-08T17:30:49.491Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-08T17:30:49.491Z] ==> Running gcov in . (disable via -X gcov) [2023-03-08T17:30:49.491Z] ==> Python coveragepy not found [2023-03-08T17:30:49.491Z] ==> Searching for coverage reports in: [2023-03-08T17:30:49.491Z] + . [2023-03-08T17:30:49.491Z] -> Found 1 reports [2023-03-08T17:30:49.491Z] ==> Detecting git/mercurial file structure [2023-03-08T17:30:49.491Z] ==> Reading reports [2023-03-08T17:30:49.491Z] + ./coverage.out bytes=17887 [2023-03-08T17:30:49.491Z] ==> Appending adjustments [2023-03-08T17:30:49.491Z] https://docs.codecov.io/docs/fixing-reports [2023-03-08T17:30:49.751Z] + Found adjustments [2023-03-08T17:30:49.751Z] ==> Gzipping contents [2023-03-08T17:30:49.751Z] 4.0K /tmp/codecov.cgKfxW.gz [2023-03-08T17:30:49.751Z] ==> Uploading reports [2023-03-08T17:30:49.751Z] url: https://codecov.io [2023-03-08T17:30:49.751Z] query: branch=PR-515&commit=90bb521e5152a28ee665954924b952139261dddb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-515%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=515&job=&cmd_args= [2023-03-08T17:30:49.751Z] -> Pinging Codecov [2023-03-08T17:30:49.751Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-515&commit=90bb521e5152a28ee665954924b952139261dddb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-515%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=515&job=&cmd_args= [2023-03-08T17:30:49.751Z] -> Uploading to [2023-03-08T17:30:49.751Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-08/7D719EC7BBE17E464838252E33014C33/90bb521e5152a28ee665954924b952139261dddb/f7770eda-cc93-4962-8fc8-990bcbc50376.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T173049Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=780e2fa432c1262e951e00715ae2c681edaa7b9fe81f2e4b689636f98fb47620 [2023-03-08T17:30:49.751Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T17:30:49.751Z] Dload Upload Total Spent Left Speed [2023-03-08T17:30:50.011Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3144 0 0 100 3144 0 11731 --:--:-- --:--:-- --:--:-- 11731 [2023-03-08T17:30:50.011Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/90bb521e5152a28ee665954924b952139261dddb [Pipeline] } [2023-03-08T17:30:50.039Z] 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-03-08T17:30:51.804Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-515/archives ] [2023-03-08T17:30:51.804Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-515/archives [2023-03-08T17:30:51.804Z] total 16 [2023-03-08T17:30:51.804Z] drwxr-xr-x 3 root root 4096 Mar 8 17:23 . [2023-03-08T17:30:51.804Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 17:23 .. [2023-03-08T17:30:51.804Z] drwxr-xr-x 2 root root 4096 Mar 8 17:23 cost [2023-03-08T17:30:51.804Z] -rw-r--r-- 1 root root 86 Mar 8 17:23 cost.csv [2023-03-08T17:30:51.804Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-515/archives [2023-03-08T17:30:51.804Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-515/archives [2023-03-08T17:30:51.804Z] total 16 [2023-03-08T17:30:51.804Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 17:23 . [2023-03-08T17:30:51.804Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 17:23 .. [2023-03-08T17:30:51.804Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 17:23 cost [2023-03-08T17:30:51.804Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 8 17:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:30:52.145Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:30:53.045Z] ---> package-listing.sh [2023-03-08T17:30:53.045Z] ++ facter osfamily [2023-03-08T17:30:53.045Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-08T17:30:53.305Z] + OS_FAMILY=debian [2023-03-08T17:30:53.305Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-515 [2023-03-08T17:30:53.305Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-08T17:30:53.305Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-08T17:30:53.305Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-08T17:30:53.305Z] + PACKAGES=/tmp/packages_start.txt [2023-03-08T17:30:53.305Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-515 ']' [2023-03-08T17:30:53.305Z] + PACKAGES=/tmp/packages_end.txt [2023-03-08T17:30:53.305Z] + case "${OS_FAMILY}" in [2023-03-08T17:30:53.305Z] + dpkg -l [2023-03-08T17:30:53.305Z] + grep '^ii' [2023-03-08T17:30:53.305Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-08T17:30:53.305Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-08T17:30:53.305Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-08T17:30:53.305Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-515 ']' [2023-03-08T17:30:53.305Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-515/archives/ [2023-03-08T17:30:53.306Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-515/archives/ [Pipeline] echo [2023-03-08T17:30:53.336Z] 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-515/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-08T17:30:53.630Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T17:30:54.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T17:30:54.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T17:30:54.400Z] prd-ubuntu20.04-docker-8c-8g-8831 does not seem to be running inside a container [2023-03-08T17:30:54.446Z] $ 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-515/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-515 -v /w/workspace/gexfoundry_device-mqtt-go_PR-515:/w/workspace/gexfoundry_device-mqtt-go_PR-515:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T17:30:54.653Z] $ docker top eae8512dcf24654b94d7eb783fd0e15606ce9f29307f26583f01cbc4d2b7f54c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T17:30:55.037Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-08T17:30:55.345Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-08T17:30:55.655Z] + ls /var/log/sa-host [2023-03-08T17:30:55.655Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T17:30:55.861Z] provisioning config files... [2023-03-08T17:30:55.870Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-515@tmp/config13297768788749105988tmp [Pipeline] { [Pipeline] echo [2023-03-08T17:30:55.913Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:30:56.228Z] ---> create-netrc.sh [Pipeline] } [2023-03-08T17:30:56.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:30:56.643Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-08T17:30:56.673Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:30:56.989Z] ---> sudo-logs.sh [2023-03-08T17:30:56.989Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-08T17:30:57.072Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:30:57.381Z] ---> job-cost.sh [2023-03-08T17:30:57.381Z] lf-activate-venv: SKIPPING [2023-03-08T17:30:57.381Z] DEBUG: total: 0.2199999988079071 [2023-03-08T17:30:57.381Z] INFO: Retrieving Stack Cost... [2023-03-08T17:30:57.643Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T17:30:58.209Z] INFO: Archiving Costs [Pipeline] echo [2023-03-08T17:30:58.244Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T17:30:58.555Z] ---> logs-deploy.sh [2023-03-08T17:30:58.555Z] lf-activate-venv: SKIPPING [2023-03-08T17:30:58.555Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-515/1 [2023-03-08T17:30:58.555Z] INFO: archiving workspace using pattern(s): [2023-03-08T17:30:59.488Z] Archives upload complete. [2023-03-08T17:31:00.055Z] INFO: archiving logs to Nexus