Pull request #434 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f3e35657ccdab69bc5deb803fdb81c7e35b804b+16ab89a495dc588a47662ccf315e42eca693f4b5 (0b1af0dfa4b8bf94dd884d7ac36e04c68fbe6a14) 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-ssh16312752627602844529.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh2020191650596369896.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-434/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-434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8039718013833278881.key Verifying host key using known hosts file > 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-434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3199381909437025913.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh6997488461740427416.key Verifying host key using known hosts file > 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-434/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-434/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh675106658109924059.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-117630’ Running on prd-ubuntu20.04-docker-8c-8g-117636 in /w/workspace/gexfoundry_device-mqtt-go_PR-434 [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-434 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 16ab89a495dc588a47662ccf315e42eca693f4b5 into PR head commit 4f3e35657ccdab69bc5deb803fdb81c7e35b804b Merge succeeded, producing 4f3e35657ccdab69bc5deb803fdb81c7e35b804b Checking out Revision 4f3e35657ccdab69bc5deb803fdb81c7e35b804b (PR-434) Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-31T01:05:55.132Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 4f3e35657ccdab69bc5deb803fdb81c7e35b804b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 16ab89a495dc588a47662ccf315e42eca693f4b5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f3e35657ccdab69bc5deb803fdb81c7e35b804b # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-31T01:05:55.339Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-31T01:05:55.503Z] ========================================================= [2022-10-31T01:05:55.503Z] EdgeX Global Pipelines Version Info [2022-10-31T01:05:55.503Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-31T01:05:56.254Z] ------------------- [2022-10-31T01:05:56.254Z] stable info: [2022-10-31T01:05:56.254Z] ------------------- [2022-10-31T01:05:56.254Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-31T01:05:56.254Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-31T01:05:56.254Z] Message: update stable to v1.0.243 [2022-10-31T01:05:56.825Z] ------------------- [2022-10-31T01:05:56.825Z] experimental info: [2022-10-31T01:05:56.825Z] ------------------- [2022-10-31T01:05:56.825Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-31T01:05:56.825Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-31T01:05:56.825Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-31T01:05:57.144Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-31T01:05:57.187Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-31T01:05:57.236Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-31T01:05:57.299Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-31T01:05:57.344Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-31T01:05:57.389Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-31T01:05:57.442Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-31T01:05:57.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-31T01:05:57.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-31T01:05:57.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-31T01:05:57.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-31T01:05:57.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-31T01:05:57.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-31T01:05:57.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-31T01:05:57.842Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-31T01:05:57.890Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-31T01:05:57.939Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-31T01:05:57.987Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-31T01:05:58.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-31T01:05:58.072Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-31T01:05:58.116Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-31T01:05:58.165Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-31T01:05:58.208Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-31T01:05:58.254Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-31T01:05:58.298Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-31T01:05:58.343Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-31T01:05:58.393Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-31T01:05:58.447Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-434 [Pipeline] echo [2022-10-31T01:05:58.497Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-434 [Pipeline] echo [2022-10-31T01:05:58.539Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-434 [Pipeline] echo [2022-10-31T01:05:58.584Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f3e35657ccdab69bc5deb803fdb81c7e35b804b [Pipeline] echo [2022-10-31T01:05:58.629Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f3e356 [Pipeline] echo [2022-10-31T01:05:58.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-31T01:05:58.801Z] provisioning config files... [2022-10-31T01:05:58.815Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config9374341690787492197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-31T01:05:59.162Z] ---> docker-login.sh [2022-10-31T01:05:59.162Z] nexus3.edgexfoundry.org:10001 [2022-10-31T01:05:59.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:05:59.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:05:59.731Z] Configure a credential helper to remove this warning. See [2022-10-31T01:05:59.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:05:59.731Z] [2022-10-31T01:05:59.731Z] Login Succeeded [2022-10-31T01:05:59.731Z] nexus3.edgexfoundry.org:10002 [2022-10-31T01:05:59.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:05:59.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:05:59.731Z] Configure a credential helper to remove this warning. See [2022-10-31T01:05:59.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:05:59.731Z] [2022-10-31T01:05:59.731Z] Login Succeeded [2022-10-31T01:05:59.731Z] nexus3.edgexfoundry.org:10003 [2022-10-31T01:05:59.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:05:59.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:05:59.731Z] Configure a credential helper to remove this warning. See [2022-10-31T01:05:59.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:05:59.731Z] [2022-10-31T01:05:59.731Z] Login Succeeded [2022-10-31T01:05:59.731Z] nexus3.edgexfoundry.org:10004 [2022-10-31T01:05:59.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:05:59.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:05:59.990Z] Configure a credential helper to remove this warning. See [2022-10-31T01:05:59.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:05:59.990Z] [2022-10-31T01:05:59.990Z] Login Succeeded [2022-10-31T01:05:59.990Z] docker.io [2022-10-31T01:05:59.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:06:00.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:06:00.250Z] Configure a credential helper to remove this warning. See [2022-10-31T01:06:00.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:06:00.250Z] [2022-10-31T01:06:00.250Z] Login Succeeded [2022-10-31T01:06:00.250Z] ---> docker-login.sh ends [Pipeline] } [2022-10-31T01:06:00.281Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-31T01:06:01.031Z] + git rev-list -1 --merges 4f3e35657ccdab69bc5deb803fdb81c7e35b804b~1..4f3e35657ccdab69bc5deb803fdb81c7e35b804b [Pipeline] echo [2022-10-31T01:06:01.080Z] -----------> git rev-list -1 --merges 4f3e35657ccdab69bc5deb803fdb81c7e35b804b~1..4f3e35657ccdab69bc5deb803fdb81c7e35b804b 4f3e35657ccdab69bc5deb803fdb81c7e35b804b [false] [Pipeline] sh [2022-10-31T01:06:01.393Z] + git log --format=format:%s -1 4f3e35657ccdab69bc5deb803fdb81c7e35b804b [Pipeline] echo [2022-10-31T01:06:01.432Z] ========================================================= [2022-10-31T01:06:01.432Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-31T01:06:01.432Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-31T01:06:01.868Z] + git log --format=format:%s -1 4f3e35657ccdab69bc5deb803fdb81c7e35b804b [Pipeline] echo [2022-10-31T01:06:01.906Z] [semverPrep] GIT_COMMIT: 4f3e35657ccdab69bc5deb803fdb81c7e35b804b, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo [2022-10-31T01:06:01.940Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-31T01:06:02.347Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-31T01:06:02.347Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-31T01:06:02.347Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-31T01:06:02.347Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-31T01:06:02.347Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-31T01:06:02.347Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-31T01:06:02.347Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-31T01:06:02.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-31T01:06:02.844Z] [2022-10-31T01:06:02.844Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-31T01:06:03.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-31T01:06:03.227Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-31T01:06:03.227Z] b85a868b505f: Pulling fs layer [2022-10-31T01:06:03.227Z] e2be974225ed: Pulling fs layer [2022-10-31T01:06:03.227Z] 339a4e72a1f5: Pulling fs layer [2022-10-31T01:06:03.227Z] 988bab9f4d93: Pulling fs layer [2022-10-31T01:06:03.227Z] 1469e6f7b9e6: Pulling fs layer [2022-10-31T01:06:03.227Z] eaf3925da568: Pulling fs layer [2022-10-31T01:06:03.227Z] bab4dde63d76: Pulling fs layer [2022-10-31T01:06:03.227Z] 988bab9f4d93: Waiting [2022-10-31T01:06:03.227Z] 1469e6f7b9e6: Waiting [2022-10-31T01:06:03.227Z] eaf3925da568: Waiting [2022-10-31T01:06:03.227Z] bde34c3a00c8: Pulling fs layer [2022-10-31T01:06:03.227Z] b352a97aabf1: Pulling fs layer [2022-10-31T01:06:03.227Z] 4872d77fe225: Pulling fs layer [2022-10-31T01:06:03.227Z] 5851b861e8e6: Pulling fs layer [2022-10-31T01:06:03.227Z] bab4dde63d76: Waiting [2022-10-31T01:06:03.227Z] b352a97aabf1: Waiting [2022-10-31T01:06:03.227Z] 5851b861e8e6: Waiting [2022-10-31T01:06:03.227Z] bde34c3a00c8: Waiting [2022-10-31T01:06:03.227Z] 4872d77fe225: Waiting [2022-10-31T01:06:03.227Z] e2be974225ed: Verifying Checksum [2022-10-31T01:06:03.227Z] e2be974225ed: Download complete [2022-10-31T01:06:03.227Z] 988bab9f4d93: Verifying Checksum [2022-10-31T01:06:03.227Z] 988bab9f4d93: Download complete [2022-10-31T01:06:03.488Z] 1469e6f7b9e6: Verifying Checksum [2022-10-31T01:06:03.488Z] 1469e6f7b9e6: Download complete [2022-10-31T01:06:03.488Z] eaf3925da568: Verifying Checksum [2022-10-31T01:06:03.488Z] eaf3925da568: Download complete [2022-10-31T01:06:03.488Z] 339a4e72a1f5: Verifying Checksum [2022-10-31T01:06:03.488Z] 339a4e72a1f5: Download complete [2022-10-31T01:06:03.488Z] bde34c3a00c8: Download complete [2022-10-31T01:06:03.488Z] b352a97aabf1: Verifying Checksum [2022-10-31T01:06:03.488Z] b352a97aabf1: Download complete [2022-10-31T01:06:03.488Z] 4872d77fe225: Verifying Checksum [2022-10-31T01:06:03.488Z] 4872d77fe225: Download complete [2022-10-31T01:06:03.488Z] 5851b861e8e6: Verifying Checksum [2022-10-31T01:06:03.488Z] 5851b861e8e6: Download complete [2022-10-31T01:06:03.488Z] b85a868b505f: Verifying Checksum [2022-10-31T01:06:03.488Z] b85a868b505f: Download complete [2022-10-31T01:06:04.055Z] bab4dde63d76: Verifying Checksum [2022-10-31T01:06:04.055Z] bab4dde63d76: Download complete [2022-10-31T01:06:04.990Z] b85a868b505f: Pull complete [2022-10-31T01:06:04.990Z] e2be974225ed: Pull complete [2022-10-31T01:06:05.248Z] 339a4e72a1f5: Pull complete [2022-10-31T01:06:05.508Z] 988bab9f4d93: Pull complete [2022-10-31T01:06:05.764Z] 1469e6f7b9e6: Pull complete [2022-10-31T01:06:05.764Z] eaf3925da568: Pull complete [2022-10-31T01:06:07.669Z] bab4dde63d76: Pull complete [2022-10-31T01:06:07.669Z] bde34c3a00c8: Pull complete [2022-10-31T01:06:07.669Z] b352a97aabf1: Pull complete [2022-10-31T01:06:07.928Z] 4872d77fe225: Pull complete [2022-10-31T01:06:07.928Z] 5851b861e8e6: Pull complete [2022-10-31T01:06:07.928Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-31T01:06:07.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-31T01:06:07.928Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-31T01:06:08.148Z] prd-ubuntu20.04-docker-8c-8g-117636 does not seem to be running inside a container [2022-10-31T01:06:08.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-31T01:06:09.534Z] $ docker top 072cb95c74e7748a884dcff62a7ffa3c335471b60cda198dbc3a40237cbd3680 -eo pid,comm [2022-10-31T01:06:09.588Z] 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). [2022-10-31T01:06:09.588Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-31T01:06:09.723Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-31T01:06:09.723Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-31T01:06:09.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-31T01:06:09.842Z] $ docker exec 072cb95c74e7748a884dcff62a7ffa3c335471b60cda198dbc3a40237cbd3680 ssh-agent [2022-10-31T01:06:09.957Z] SSH_AUTH_SOCK=/tmp/ssh-ifkZbKRziiSG/agent.31 [2022-10-31T01:06:09.957Z] SSH_AGENT_PID=38 [2022-10-31T01:06:09.964Z] Running ssh-add (command line suppressed) [2022-10-31T01:06:10.065Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_4165135570490251675.key (/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_4165135570490251675.key) [2022-10-31T01:06:10.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-31T01:06:10.447Z] + git tag --points-at HEAD [Pipeline] } [2022-10-31T01:06:10.477Z] $ docker exec --env ******** --env ******** 072cb95c74e7748a884dcff62a7ffa3c335471b60cda198dbc3a40237cbd3680 ssh-agent -k [2022-10-31T01:06:10.576Z] unset SSH_AUTH_SOCK; [2022-10-31T01:06:10.576Z] unset SSH_AGENT_PID; [2022-10-31T01:06:10.576Z] echo Agent pid 38 killed; [2022-10-31T01:06:10.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-31T01:06:10.678Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-31T01:06:10.678Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-31T01:06:10.801Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-31T01:06:10.805Z] $ docker exec 072cb95c74e7748a884dcff62a7ffa3c335471b60cda198dbc3a40237cbd3680 ssh-agent [2022-10-31T01:06:10.913Z] SSH_AUTH_SOCK=/tmp/ssh-01yskntVYRvJ/agent.70 [2022-10-31T01:06:10.913Z] SSH_AGENT_PID=76 [2022-10-31T01:06:10.917Z] Running ssh-add (command line suppressed) [2022-10-31T01:06:11.016Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_4783891125701153314.key (/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_4783891125701153314.key) [2022-10-31T01:06:11.031Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-31T01:06:11.365Z] + git semver init [2022-10-31T01:06:11.626Z] 2022-10-31 01:06:11,559 [run_init] DEBUG init version:0.0.0 force:False [2022-10-31T01:06:11.626Z] 2022-10-31 01:06:11,560 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver [2022-10-31T01:06:11.626Z] 2022-10-31 01:06:11,560 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver [2022-10-31T01:06:11.626Z] 2022-10-31 01:06:11,561 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434, universal_newlines=False, shell=None, istream=None) [2022-10-31T01:06:12.566Z] 2022-10-31 01:06:12,493 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.git/info/exclude [2022-10-31T01:06:12.566Z] 2022-10-31 01:06:12,493 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 with force:False [2022-10-31T01:06:12.566Z] 2022-10-31 01:06:12,493 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 [2022-10-31T01:06:12.566Z] 2022-10-31 01:06:12,498 [execute] INFO git cat-file --batch-check [2022-10-31T01:06:12.566Z] 2022-10-31 01:06:12,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver, universal_newlines=False, shell=None, istream=) [2022-10-31T01:06:12.566Z] 2022-10-31 01:06:12,505 [execute] INFO git cat-file --batch [2022-10-31T01:06:12.566Z] 2022-10-31 01:06:12,506 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver, universal_newlines=False, shell=None, istream=) [2022-10-31T01:06:12.566Z] 2022-10-31 01:06:12,512 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 [2022-10-31T01:06:12.566Z] 0.0.0 [Pipeline] } [2022-10-31T01:06:12.593Z] $ docker exec --env ******** --env ******** 072cb95c74e7748a884dcff62a7ffa3c335471b60cda198dbc3a40237cbd3680 ssh-agent -k [2022-10-31T01:06:12.691Z] unset SSH_AUTH_SOCK; [2022-10-31T01:06:12.692Z] unset SSH_AGENT_PID; [2022-10-31T01:06:12.692Z] echo Agent pid 76 killed; [2022-10-31T01:06:12.703Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-31T01:06:13.151Z] + git semver [Pipeline] } [2022-10-31T01:06:13.433Z] $ docker stop --time=1 072cb95c74e7748a884dcff62a7ffa3c335471b60cda198dbc3a40237cbd3680 [2022-10-31T01:06:14.756Z] $ docker rm -f 072cb95c74e7748a884dcff62a7ffa3c335471b60cda198dbc3a40237cbd3680 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-31T01:06:15.164Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-31T01:06:15.414Z] Stashed 1 file(s) [Pipeline] echo [2022-10-31T01:06:15.432Z] [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 [2022-10-31T01:06:16.053Z] provisioning config files... [2022-10-31T01:06:16.063Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config15920778694386428144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-31T01:06:16.419Z] ---> docker-login.sh [2022-10-31T01:06:16.419Z] nexus3.edgexfoundry.org:10001 [2022-10-31T01:06:16.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:06:16.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:06:16.419Z] Configure a credential helper to remove this warning. See [2022-10-31T01:06:16.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:06:16.419Z] [2022-10-31T01:06:16.419Z] Login Succeeded [2022-10-31T01:06:16.419Z] nexus3.edgexfoundry.org:10002 [2022-10-31T01:06:16.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:06:16.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:06:16.419Z] Configure a credential helper to remove this warning. See [2022-10-31T01:06:16.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:06:16.419Z] [2022-10-31T01:06:16.419Z] Login Succeeded [2022-10-31T01:06:16.419Z] nexus3.edgexfoundry.org:10003 [2022-10-31T01:06:16.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:06:16.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:06:16.677Z] Configure a credential helper to remove this warning. See [2022-10-31T01:06:16.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:06:16.677Z] [2022-10-31T01:06:16.677Z] Login Succeeded [2022-10-31T01:06:16.677Z] nexus3.edgexfoundry.org:10004 [2022-10-31T01:06:16.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:06:16.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:06:16.677Z] Configure a credential helper to remove this warning. See [2022-10-31T01:06:16.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:06:16.677Z] [2022-10-31T01:06:16.677Z] Login Succeeded [2022-10-31T01:06:16.677Z] docker.io [2022-10-31T01:06:16.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:06:17.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:06:17.198Z] Configure a credential helper to remove this warning. See [2022-10-31T01:06:17.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:06:17.198Z] [2022-10-31T01:06:17.198Z] Login Succeeded [2022-10-31T01:06:17.198Z] ---> docker-login.sh ends [Pipeline] } [2022-10-31T01:06:17.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-31T01:06:17.416Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-31T01:06:17.458Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-31T01:06:17.495Z] ========================================================= [2022-10-31T01:06:17.495Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-31T01:06:17.495Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-31T01:06:17.969Z] + 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 . [2022-10-31T01:06:17.969Z] Sending build context to Docker daemon 6.226MB [2022-10-31T01:06:17.969Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-31T01:06:17.969Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-31T01:06:17.969Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-31T01:06:17.969Z] 213ec9aee27d: Pulling fs layer [2022-10-31T01:06:17.969Z] 4583459ba037: Pulling fs layer [2022-10-31T01:06:17.969Z] 93c1e223e6f2: Pulling fs layer [2022-10-31T01:06:17.969Z] 53926ce57604: Pulling fs layer [2022-10-31T01:06:17.969Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-31T01:06:17.969Z] 30f14e443154: Pulling fs layer [2022-10-31T01:06:17.969Z] 801331c1e519: Pulling fs layer [2022-10-31T01:06:17.969Z] 99cc6dd402b0: Pulling fs layer [2022-10-31T01:06:17.969Z] 7d9ed39f4882: Pulling fs layer [2022-10-31T01:06:17.969Z] 53926ce57604: Waiting [2022-10-31T01:06:17.969Z] 21b2b0c7a3f4: Waiting [2022-10-31T01:06:17.969Z] 30f14e443154: Waiting [2022-10-31T01:06:17.969Z] 7d9ed39f4882: Waiting [2022-10-31T01:06:17.969Z] 99cc6dd402b0: Waiting [2022-10-31T01:06:17.969Z] 801331c1e519: Waiting [2022-10-31T01:06:17.969Z] 93c1e223e6f2: Verifying Checksum [2022-10-31T01:06:17.969Z] 93c1e223e6f2: Download complete [2022-10-31T01:06:17.969Z] 4583459ba037: Verifying Checksum [2022-10-31T01:06:17.969Z] 4583459ba037: Download complete [2022-10-31T01:06:18.229Z] 21b2b0c7a3f4: Download complete [2022-10-31T01:06:18.229Z] 30f14e443154: Download complete [2022-10-31T01:06:18.229Z] 213ec9aee27d: Verifying Checksum [2022-10-31T01:06:18.229Z] 213ec9aee27d: Download complete [2022-10-31T01:06:18.229Z] 801331c1e519: Verifying Checksum [2022-10-31T01:06:18.229Z] 801331c1e519: Download complete [2022-10-31T01:06:18.229Z] 213ec9aee27d: Pull complete [2022-10-31T01:06:18.490Z] 4583459ba037: Pull complete [2022-10-31T01:06:18.490Z] 93c1e223e6f2: Pull complete [2022-10-31T01:06:19.066Z] 7d9ed39f4882: Verifying Checksum [2022-10-31T01:06:19.066Z] 7d9ed39f4882: Download complete [2022-10-31T01:06:19.066Z] 53926ce57604: Download complete [2022-10-31T01:06:19.325Z] 99cc6dd402b0: Verifying Checksum [2022-10-31T01:06:19.325Z] 99cc6dd402b0: Download complete [2022-10-31T01:06:22.608Z] 53926ce57604: Pull complete [2022-10-31T01:06:22.608Z] 21b2b0c7a3f4: Pull complete [2022-10-31T01:06:22.608Z] 30f14e443154: Pull complete [2022-10-31T01:06:22.868Z] 801331c1e519: Pull complete [2022-10-31T01:06:24.768Z] 99cc6dd402b0: Pull complete [2022-10-31T01:06:25.700Z] 7d9ed39f4882: Pull complete [2022-10-31T01:06:25.700Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-31T01:06:25.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-31T01:06:25.700Z] ---> 1dedd983c030 [2022-10-31T01:06:25.700Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-31T01:06:27.080Z] ---> Running in 10b08480cf5f [2022-10-31T01:06:27.339Z] Removing intermediate container 10b08480cf5f [2022-10-31T01:06:27.339Z] ---> 194fc90abcf6 [2022-10-31T01:06:27.339Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-31T01:06:27.339Z] ---> Running in 228e820a3450 [2022-10-31T01:06:27.339Z] Removing intermediate container 228e820a3450 [2022-10-31T01:06:27.339Z] ---> 022161bcd91a [2022-10-31T01:06:27.339Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-31T01:06:27.602Z] ---> Running in a52aabc69531 [2022-10-31T01:06:27.602Z] Removing intermediate container a52aabc69531 [2022-10-31T01:06:27.602Z] ---> 88ffe64e854f [2022-10-31T01:06:27.602Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-31T01:06:27.602Z] ---> Running in 60e642db268b [2022-10-31T01:06:27.602Z] Removing intermediate container 60e642db268b [2022-10-31T01:06:27.602Z] ---> 3ac0716a61fe [2022-10-31T01:06:27.602Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-31T01:06:27.860Z] ---> Running in 102f1191851b [2022-10-31T01:06:28.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-31T01:06:28.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-31T01:06:28.377Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-31T01:06:28.377Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-31T01:06:28.377Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-31T01:06:28.377Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-31T01:06:28.377Z] Executing busybox-1.35.0-r17.trigger [2022-10-31T01:06:28.377Z] OK: 216 MiB in 55 packages [2022-10-31T01:06:28.945Z] Removing intermediate container 102f1191851b [2022-10-31T01:06:28.945Z] ---> beb9b4f097c3 [2022-10-31T01:06:28.945Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-10-31T01:06:28.945Z] ---> Running in 026814e77475 [2022-10-31T01:06:28.945Z] Removing intermediate container 026814e77475 [2022-10-31T01:06:28.945Z] ---> 1806c173036c [2022-10-31T01:06:28.945Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-31T01:06:29.204Z] ---> 7f9a6d21c4bf [2022-10-31T01:06:29.204Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-31T01:06:29.204Z] ---> Running in 1a1af140fb63 [2022-10-31T01:06:30.858Z] Still waiting to schedule task [2022-10-31T01:06:30.858Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117634’ [2022-10-31T01:06:55.917Z] Removing intermediate container 1a1af140fb63 [2022-10-31T01:06:55.917Z] ---> bb9ce4814372 [2022-10-31T01:06:55.917Z] Step 11/12 : COPY . . [2022-10-31T01:06:55.917Z] ---> c26c43309d24 [2022-10-31T01:06:55.917Z] Step 12/12 : RUN $MAKE [2022-10-31T01:06:55.917Z] ---> Running in 625804b1390d [2022-10-31T01:06:55.917Z] noop [2022-10-31T01:06:55.917Z] Removing intermediate container 625804b1390d [2022-10-31T01:06:55.917Z] ---> 051d8420b309 [2022-10-31T01:06:55.917Z] Successfully built 051d8420b309 [2022-10-31T01:06:55.917Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-31T01:06:56.383Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-31T01:06:56.383Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-31T01:06:56.526Z] prd-ubuntu20.04-docker-8c-8g-117636 does not seem to be running inside a container [2022-10-31T01:06:56.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-31T01:06:56.939Z] $ docker top 8d47b54186c6028d9f635b9cbb239a848969f51cad6209122407107d104892ca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-31T01:06:57.330Z] + go version [2022-10-31T01:06:57.330Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-31T01:06:57.362Z] $ docker stop --time=1 8d47b54186c6028d9f635b9cbb239a848969f51cad6209122407107d104892ca [2022-10-31T01:06:58.654Z] $ docker rm -f 8d47b54186c6028d9f635b9cbb239a848969f51cad6209122407107d104892ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-31T01:06:59.405Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-31T01:06:59.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-31T01:06:59.570Z] prd-ubuntu20.04-docker-8c-8g-117636 does not seem to be running inside a container [2022-10-31T01:06:59.599Z] $ 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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-31T01:06:59.981Z] $ docker top 4e6a771a871d5dc4456c8642137f3b58b785d484393461017394818168c8268a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-31T01:07:00.395Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-434 [Pipeline] fileExists [Pipeline] sh [2022-10-31T01:07:00.768Z] + make test [2022-10-31T01:07:00.768Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-31T01:07:01.026Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-31T01:07:10.988Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-31T01:07:11.246Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements [2022-10-31T01:07:11.246Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-31T01:07:19.353Z] 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." [2022-10-31T01:07:19.353Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-31T01:07:22.641Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-31T01:07:22.641Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-31T01:07:22.641Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-31T01:07:22.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-31T01:07:22.708Z] $ docker stop --time=1 4e6a771a871d5dc4456c8642137f3b58b785d484393461017394818168c8268a [2022-10-31T01:07:24.554Z] $ docker rm -f 4e6a771a871d5dc4456c8642137f3b58b785d484393461017394818168c8268a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-31T01:07:25.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-31T01:07:25.128Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-31T01:07:25.806Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-31T01:07:26.114Z] + ls -al . [2022-10-31T01:07:26.114Z] total 192 [2022-10-31T01:07:26.114Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 01:07 . [2022-10-31T01:07:26.114Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 01:05 .. [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 31 01:05 .dockerignore [2022-10-31T01:07:26.114Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 01:07 .git [2022-10-31T01:07:26.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 01:05 .github [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 31 01:05 .gitignore [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 01:05 .golangci.yml [2022-10-31T01:07:26.114Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 01:06 .semver [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 31 01:05 Attribution.txt [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 31 01:05 CHANGELOG.md [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 1752 Oct 31 01:05 Dockerfile [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 01:05 GOVERNANCE.md [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 31 01:05 Jenkinsfile [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 01:05 LICENSE [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 31 01:05 Makefile [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 31 01:05 OWNERS.md [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 31 01:05 README.md [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 01:06 VERSION [2022-10-31T01:07:26.114Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 01:05 bin [2022-10-31T01:07:26.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 01:05 cmd [2022-10-31T01:07:26.114Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 31 01:07 coverage.out [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 3512 Oct 31 01:05 go.mod [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 45144 Oct 31 01:05 go.sum [2022-10-31T01:07:26.114Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 01:05 internal [2022-10-31T01:07:26.114Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 01:05 mock [2022-10-31T01:07:26.114Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 01:05 snap [2022-10-31T01:07:26.114Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 31 01:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-31T01:07:26.504Z] + 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=4f3e35657ccdab69bc5deb803fdb81c7e35b804b --label arch=amd64 --label version=0.0.0 . [2022-10-31T01:07:26.504Z] Sending build context to Docker daemon 6.244MB [2022-10-31T01:07:26.504Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-31T01:07:26.504Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-31T01:07:26.504Z] ---> 051d8420b309 [2022-10-31T01:07:26.504Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-31T01:07:26.504Z] ---> Running in 4e9a9348f29f [2022-10-31T01:07:26.792Z] Removing intermediate container 4e9a9348f29f [2022-10-31T01:07:26.792Z] ---> 5f3ae38fc281 [2022-10-31T01:07:26.792Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-31T01:07:26.792Z] ---> Running in 82c7cb1dc0a8 [2022-10-31T01:07:26.792Z] Removing intermediate container 82c7cb1dc0a8 [2022-10-31T01:07:26.792Z] ---> e3100c3cca7f [2022-10-31T01:07:26.792Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-31T01:07:26.792Z] ---> Running in 15161171b72c [2022-10-31T01:07:27.070Z] Removing intermediate container 15161171b72c [2022-10-31T01:07:27.070Z] ---> 28f08725028c [2022-10-31T01:07:27.070Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-10-31T01:07:27.070Z] ---> Running in 2785a9fc79e6 [2022-10-31T01:07:27.070Z] Removing intermediate container 2785a9fc79e6 [2022-10-31T01:07:27.070Z] ---> b4aad1185348 [2022-10-31T01:07:27.070Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-31T01:07:27.070Z] ---> Running in c441e03afaef [2022-10-31T01:07:27.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-31T01:07:27.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-31T01:07:27.909Z] OK: 216 MiB in 55 packages [2022-10-31T01:07:28.200Z] Removing intermediate container c441e03afaef [2022-10-31T01:07:28.200Z] ---> 5e174cbde244 [2022-10-31T01:07:28.200Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-10-31T01:07:28.200Z] ---> Running in c42c65826b7a [2022-10-31T01:07:28.200Z] Removing intermediate container c42c65826b7a [2022-10-31T01:07:28.200Z] ---> dc3bd9562bfe [2022-10-31T01:07:28.200Z] Step 9/24 : COPY go.mod vendor* ./ [2022-10-31T01:07:28.462Z] ---> 8ea533e86b70 [2022-10-31T01:07:28.462Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-31T01:07:28.462Z] ---> Running in 84d153bb0714 [2022-10-31T01:07:29.029Z] Removing intermediate container 84d153bb0714 [2022-10-31T01:07:29.029Z] ---> 3122184be3a7 [2022-10-31T01:07:29.029Z] Step 11/24 : COPY . . [2022-10-31T01:07:29.613Z] ---> b73cfc0bea56 [2022-10-31T01:07:29.614Z] Step 12/24 : RUN $MAKE [2022-10-31T01:07:29.614Z] ---> Running in 648cf3208548 [2022-10-31T01:07:29.876Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-10-31T01:07:51.824Z] Removing intermediate container 648cf3208548 [2022-10-31T01:07:51.824Z] ---> 436e0efaa6f2 [2022-10-31T01:07:51.824Z] Step 13/24 : FROM alpine:3.16 [2022-10-31T01:07:51.824Z] 3.16: Pulling from library/alpine [2022-10-31T01:07:51.824Z] 213ec9aee27d: Already exists [2022-10-31T01:07:52.084Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-31T01:07:52.084Z] Status: Downloaded newer image for alpine:3.16 [2022-10-31T01:07:52.084Z] ---> 9c6f07244728 [2022-10-31T01:07:52.084Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-31T01:07:52.084Z] ---> Running in 7c8fe3143121 [2022-10-31T01:07:52.085Z] Removing intermediate container 7c8fe3143121 [2022-10-31T01:07:52.085Z] ---> d97991b0ad70 [2022-10-31T01:07:52.085Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-31T01:07:52.344Z] ---> Running in e0ebc09be70d [2022-10-31T01:07:52.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-31T01:07:52.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-31T01:07:53.120Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-31T01:07:53.380Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-31T01:07:53.380Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-31T01:07:53.380Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-31T01:07:53.380Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-31T01:07:53.380Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-31T01:07:53.380Z] Executing busybox-1.35.0-r17.trigger [2022-10-31T01:07:53.380Z] OK: 8 MiB in 20 packages [2022-10-31T01:07:53.947Z] Removing intermediate container e0ebc09be70d [2022-10-31T01:07:53.948Z] ---> d9edc31f7cf1 [2022-10-31T01:07:53.948Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-31T01:07:54.515Z] ---> 1225404bd7c0 [2022-10-31T01:07:54.515Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-31T01:07:54.515Z] ---> 995167c048d1 [2022-10-31T01:07:54.515Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-31T01:07:54.774Z] ---> 4c6b5dfa6a3d [2022-10-31T01:07:54.774Z] Step 19/24 : EXPOSE 59982 [2022-10-31T01:07:54.774Z] ---> Running in 6217a58463b1 [2022-10-31T01:07:54.774Z] Removing intermediate container 6217a58463b1 [2022-10-31T01:07:54.774Z] ---> e3c6239c208c [2022-10-31T01:07:54.774Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-10-31T01:07:54.774Z] ---> Running in c7905533ec9d [2022-10-31T01:07:55.032Z] Removing intermediate container c7905533ec9d [2022-10-31T01:07:55.032Z] ---> d6d3e66de291 [2022-10-31T01:07:55.032Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-31T01:07:55.032Z] ---> Running in f67f854f0cd3 [2022-10-31T01:07:55.032Z] Removing intermediate container f67f854f0cd3 [2022-10-31T01:07:55.032Z] ---> 7743d7de5bdd [2022-10-31T01:07:55.032Z] Step 22/24 : LABEL arch=amd64 [2022-10-31T01:07:55.290Z] ---> Running in 41a16f272a8c [2022-10-31T01:07:55.290Z] Removing intermediate container 41a16f272a8c [2022-10-31T01:07:55.290Z] ---> 1a7215fb7c07 [2022-10-31T01:07:55.290Z] Step 23/24 : LABEL git_sha=4f3e35657ccdab69bc5deb803fdb81c7e35b804b [2022-10-31T01:07:55.290Z] ---> Running in 81cfee46d4b5 [2022-10-31T01:07:55.290Z] Removing intermediate container 81cfee46d4b5 [2022-10-31T01:07:55.290Z] ---> 2bd5ae2972d6 [2022-10-31T01:07:55.290Z] Step 24/24 : LABEL version=0.0.0 [2022-10-31T01:07:55.549Z] ---> Running in 41a1961668e1 [2022-10-31T01:07:55.549Z] Removing intermediate container 41a1961668e1 [2022-10-31T01:07:55.549Z] ---> 9951770f66f4 [2022-10-31T01:07:55.549Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-31T01:07:55.549Z] Successfully built 9951770f66f4 [2022-10-31T01:07:55.549Z] 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 [2022-10-31T01:07:56.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-31T01:07:56.613Z] [2022-10-31T01:07:56.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-31T01:07:56.990Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-31T01:07:56.990Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-31T01:07:56.990Z] 5eb5b503b376: Pulling fs layer [2022-10-31T01:07:56.990Z] 5c69ac0246d0: Pulling fs layer [2022-10-31T01:07:56.990Z] ec43610c2a17: Pulling fs layer [2022-10-31T01:07:56.990Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-31T01:07:56.990Z] 33b1e0a273af: Pulling fs layer [2022-10-31T01:07:56.990Z] 5d3b04190fa2: Pulling fs layer [2022-10-31T01:07:56.990Z] 2f39f015ded8: Pulling fs layer [2022-10-31T01:07:56.990Z] 3a2ae6a8a46f: Waiting [2022-10-31T01:07:56.990Z] 33b1e0a273af: Waiting [2022-10-31T01:07:56.990Z] 5d3b04190fa2: Waiting [2022-10-31T01:07:56.990Z] 2f39f015ded8: Waiting [2022-10-31T01:07:56.990Z] 5c69ac0246d0: Verifying Checksum [2022-10-31T01:07:56.990Z] 5c69ac0246d0: Download complete [2022-10-31T01:07:56.990Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-31T01:07:56.990Z] 3a2ae6a8a46f: Download complete [2022-10-31T01:07:57.249Z] 33b1e0a273af: Verifying Checksum [2022-10-31T01:07:57.249Z] 33b1e0a273af: Download complete [2022-10-31T01:07:57.249Z] 5d3b04190fa2: Verifying Checksum [2022-10-31T01:07:57.249Z] 5d3b04190fa2: Download complete [2022-10-31T01:07:57.249Z] ec43610c2a17: Verifying Checksum [2022-10-31T01:07:57.249Z] ec43610c2a17: Download complete [2022-10-31T01:07:57.506Z] 5eb5b503b376: Verifying Checksum [2022-10-31T01:07:57.506Z] 5eb5b503b376: Download complete [2022-10-31T01:07:58.074Z] 2f39f015ded8: Download complete [2022-10-31T01:07:58.642Z] 5eb5b503b376: Pull complete [2022-10-31T01:07:58.901Z] 5c69ac0246d0: Pull complete [2022-10-31T01:07:59.158Z] ec43610c2a17: Pull complete [2022-10-31T01:07:59.417Z] 3a2ae6a8a46f: Pull complete [2022-10-31T01:07:59.675Z] 33b1e0a273af: Pull complete [2022-10-31T01:07:59.675Z] 5d3b04190fa2: Pull complete [2022-10-31T01:08:04.941Z] 2f39f015ded8: Pull complete [2022-10-31T01:08:04.941Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-31T01:08:04.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-31T01:08:04.941Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-31T01:08:05.154Z] prd-ubuntu20.04-docker-8c-8g-117636 does not seem to be running inside a container [2022-10-31T01:08:05.183Z] $ 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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-31T01:08:06.903Z] $ docker top d95decb6413e702334451b1376964d5f55b44e60355d3bbc4fb0db1af56d85ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-31T01:08:07.471Z] ---> job-cost.sh [2022-10-31T01:08:07.471Z] lf-activate-venv: SKIPPING [2022-10-31T01:08:07.471Z] INFO: No Stack... [2022-10-31T01:08:07.729Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-31T01:08:07.989Z] INFO: Archiving Costs [Pipeline] sh [2022-10-31T01:08:08.594Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/cost.csv [2022-10-31T01:08:08.594Z] + cut -d, -f6 [Pipeline] lock [2022-10-31T01:08:08.643Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-434-1-stack-cost] [2022-10-31T01:08:08.651Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-1-stack-cost] did not exist. Created. [2022-10-31T01:08:08.651Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-434-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-31T01:08:09.045Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-31T01:08:09.097Z] Stashed 1 file(s) [Pipeline] } [2022-10-31T01:08:09.138Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-31T01:08:09.211Z] $ docker stop --time=1 d95decb6413e702334451b1376964d5f55b44e60355d3bbc4fb0db1af56d85ff [2022-10-31T01:08:10.384Z] $ docker rm -f d95decb6413e702334451b1376964d5f55b44e60355d3bbc4fb0db1af56d85ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-31T01:10:00.748Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117637 in /w/workspace/gexfoundry_device-mqtt-go_PR-434 [Pipeline] { [Pipeline] ws [2022-10-31T01:10:00.795Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-10-31T01:10:00.878Z] Selected Git installation does not exist. Using Default [2022-10-31T01:10:00.878Z] The recommended git tool is: NONE [2022-10-31T01:10:06.262Z] using credential edgex-jenkins-ssh [2022-10-31T01:10:06.279Z] Cloning the remote Git repository [2022-10-31T01:10:06.324Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-31T01:10:06.400Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-10-31T01:10:06.551Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-31T01:10:06.552Z] > git --version # timeout=10 [2022-10-31T01:10:06.584Z] > git --version # 'git version 2.25.1' [2022-10-31T01:10:06.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-31T01:10:06.642Z] Verifying host key using known hosts file [2022-10-31T01:10:06.851Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-31T01:10:06.865Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-31T01:10:07.985Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-31T01:10:08.018Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-31T01:10:09.507Z] Merging remotes/origin/main commit 16ab89a495dc588a47662ccf315e42eca693f4b5 into PR head commit 4f3e35657ccdab69bc5deb803fdb81c7e35b804b [2022-10-31T01:10:08.855Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-31T01:10:08.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-31T01:10:08.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-31T01:10:08.898Z] Verifying host key using known hosts file [2022-10-31T01:10:08.905Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-31T01:10:08.917Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-31T01:10:09.524Z] > git config core.sparsecheckout # timeout=10 [2022-10-31T01:10:09.544Z] > git checkout -f 4f3e35657ccdab69bc5deb803fdb81c7e35b804b # timeout=10 [2022-10-31T01:10:09.634Z] > git remote # timeout=10 [2022-10-31T01:10:09.659Z] > git config --get remote.origin.url # timeout=10 [2022-10-31T01:10:09.752Z] Merge succeeded, producing 4f3e35657ccdab69bc5deb803fdb81c7e35b804b [2022-10-31T01:10:09.753Z] Checking out Revision 4f3e35657ccdab69bc5deb803fdb81c7e35b804b (PR-434) [2022-10-31T01:10:10.284Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [2022-10-31T01:10:10.341Z] > git --version # timeout=10 [2022-10-31T01:10:10.353Z] > git --version # 'git version 2.25.1' [2022-10-31T01:10:10.393Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2022-10-31T01:10:09.688Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-31T01:10:09.693Z] Verifying host key using known hosts file [2022-10-31T01:10:09.698Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-31T01:10:09.708Z] > git merge 16ab89a495dc588a47662ccf315e42eca693f4b5 # timeout=10 [2022-10-31T01:10:09.733Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-31T01:10:09.757Z] > git config core.sparsecheckout # timeout=10 [2022-10-31T01:10:09.775Z] > git checkout -f 4f3e35657ccdab69bc5deb803fdb81c7e35b804b # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-31T01:10:11.683Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-31T01:10:11.684Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-31T01:10:11.684Z] Dload Upload Total Spent Left Speed [2022-10-31T01:10:11.684Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 51860 0 --:--:-- --:--:-- --:--:-- 51860 [Pipeline] sh [2022-10-31T01:10:12.293Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-31T01:10:12.646Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-31T01:10:12.646Z] + sudo tee /etc/docker/daemon.new [2022-10-31T01:10:12.646Z] { [2022-10-31T01:10:12.646Z] "registry-mirrors": [ [2022-10-31T01:10:12.646Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-31T01:10:12.646Z] ], [2022-10-31T01:10:12.646Z] "bip": "10.250.0.254/24", [2022-10-31T01:10:12.646Z] "hosts": [ [2022-10-31T01:10:12.646Z] "tcp://0.0.0.0:5555", [2022-10-31T01:10:12.646Z] "unix:///var/run/docker.sock" [2022-10-31T01:10:12.646Z] ], [2022-10-31T01:10:12.646Z] "mtu": 1458, [2022-10-31T01:10:12.646Z] "selinux-enabled": true, [2022-10-31T01:10:12.646Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-31T01:10:12.646Z] } [Pipeline] sh [2022-10-31T01:10:13.003Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-31T01:10:13.354Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-31T01:10:31.680Z] provisioning config files... [2022-10-31T01:10:31.710Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config4409584476165385129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-31T01:10:32.110Z] ---> docker-login.sh [2022-10-31T01:10:32.110Z] nexus3.edgexfoundry.org:10001 [2022-10-31T01:10:32.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:10:32.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:10:32.699Z] Configure a credential helper to remove this warning. See [2022-10-31T01:10:32.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:10:32.699Z] [2022-10-31T01:10:32.699Z] Login Succeeded [2022-10-31T01:10:32.699Z] nexus3.edgexfoundry.org:10002 [2022-10-31T01:10:32.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:10:33.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:10:33.239Z] Configure a credential helper to remove this warning. See [2022-10-31T01:10:33.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:10:33.239Z] [2022-10-31T01:10:33.239Z] Login Succeeded [2022-10-31T01:10:33.239Z] nexus3.edgexfoundry.org:10003 [2022-10-31T01:10:33.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:10:33.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:10:33.511Z] Configure a credential helper to remove this warning. See [2022-10-31T01:10:33.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:10:33.511Z] [2022-10-31T01:10:33.511Z] Login Succeeded [2022-10-31T01:10:33.511Z] nexus3.edgexfoundry.org:10004 [2022-10-31T01:10:33.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:10:33.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:10:33.783Z] Configure a credential helper to remove this warning. See [2022-10-31T01:10:33.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:10:33.783Z] [2022-10-31T01:10:33.783Z] Login Succeeded [2022-10-31T01:10:33.783Z] docker.io [2022-10-31T01:10:34.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-31T01:10:34.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-31T01:10:34.644Z] Configure a credential helper to remove this warning. See [2022-10-31T01:10:34.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-31T01:10:34.644Z] [2022-10-31T01:10:34.644Z] Login Succeeded [2022-10-31T01:10:34.644Z] ---> docker-login.sh ends [Pipeline] } [2022-10-31T01:10:34.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-31T01:10:35.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-31T01:10:35.083Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-31T01:10:35.117Z] ========================================================= [2022-10-31T01:10:35.117Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-31T01:10:35.117Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-31T01:10:35.619Z] + 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 . [2022-10-31T01:10:35.889Z] Sending build context to Docker daemon 3.229MB [2022-10-31T01:10:35.889Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-31T01:10:35.889Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-31T01:10:36.166Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-31T01:10:36.166Z] 9b18e9b68314: Pulling fs layer [2022-10-31T01:10:36.166Z] d32db5db7311: Pulling fs layer [2022-10-31T01:10:36.166Z] d0c4b47475fc: Pulling fs layer [2022-10-31T01:10:36.166Z] 5831b945b038: Pulling fs layer [2022-10-31T01:10:36.166Z] 86bbec2aaacd: Pulling fs layer [2022-10-31T01:10:36.166Z] e10730c5d714: Pulling fs layer [2022-10-31T01:10:36.166Z] 5dd5c2283517: Pulling fs layer [2022-10-31T01:10:36.166Z] d5ac0230b979: Pulling fs layer [2022-10-31T01:10:36.166Z] 5831b945b038: Waiting [2022-10-31T01:10:36.166Z] 86bbec2aaacd: Waiting [2022-10-31T01:10:36.166Z] e10730c5d714: Waiting [2022-10-31T01:10:36.166Z] d5ac0230b979: Waiting [2022-10-31T01:10:36.166Z] 5dd5c2283517: Waiting [2022-10-31T01:10:36.166Z] d0c4b47475fc: Verifying Checksum [2022-10-31T01:10:36.166Z] d0c4b47475fc: Download complete [2022-10-31T01:10:36.166Z] d32db5db7311: Verifying Checksum [2022-10-31T01:10:36.166Z] d32db5db7311: Download complete [2022-10-31T01:10:36.166Z] 86bbec2aaacd: Verifying Checksum [2022-10-31T01:10:36.166Z] 86bbec2aaacd: Download complete [2022-10-31T01:10:36.166Z] e10730c5d714: Download complete [2022-10-31T01:10:36.166Z] 9b18e9b68314: Download complete [2022-10-31T01:10:37.143Z] 9b18e9b68314: Pull complete [2022-10-31T01:10:37.429Z] d5ac0230b979: Verifying Checksum [2022-10-31T01:10:37.429Z] d5ac0230b979: Download complete [2022-10-31T01:10:37.702Z] d32db5db7311: Pull complete [2022-10-31T01:10:37.973Z] d0c4b47475fc: Pull complete [2022-10-31T01:10:38.561Z] 5dd5c2283517: Verifying Checksum [2022-10-31T01:10:38.561Z] 5dd5c2283517: Download complete [2022-10-31T01:10:39.147Z] 5831b945b038: Verifying Checksum [2022-10-31T01:10:39.147Z] 5831b945b038: Download complete [2022-10-31T01:10:51.477Z] 5831b945b038: Pull complete [2022-10-31T01:10:51.745Z] 86bbec2aaacd: Pull complete [2022-10-31T01:10:52.016Z] e10730c5d714: Pull complete [2022-10-31T01:10:58.807Z] 5dd5c2283517: Pull complete [2022-10-31T01:11:00.218Z] d5ac0230b979: Pull complete [2022-10-31T01:11:00.218Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-31T01:11:00.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-31T01:11:00.218Z] ---> 59b3b1a385d4 [2022-10-31T01:11:00.218Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-31T01:11:02.172Z] ---> Running in c684f9615356 [2022-10-31T01:11:02.172Z] Removing intermediate container c684f9615356 [2022-10-31T01:11:02.172Z] ---> 9b6623bb8b37 [2022-10-31T01:11:02.172Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-31T01:11:02.172Z] ---> Running in db4487c07a5a [2022-10-31T01:11:02.441Z] Removing intermediate container db4487c07a5a [2022-10-31T01:11:02.441Z] ---> ae24d46fff2a [2022-10-31T01:11:02.441Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-31T01:11:02.707Z] ---> Running in 0d9d4c4577dc [2022-10-31T01:11:02.973Z] Removing intermediate container 0d9d4c4577dc [2022-10-31T01:11:02.973Z] ---> 6a3343db79b2 [2022-10-31T01:11:02.973Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-31T01:11:02.973Z] ---> Running in 4552d31e6dde [2022-10-31T01:11:03.243Z] Removing intermediate container 4552d31e6dde [2022-10-31T01:11:03.243Z] ---> f415975034ef [2022-10-31T01:11:03.243Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-31T01:11:03.243Z] ---> Running in 4f58eefc2c4a [2022-10-31T01:11:04.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-31T01:11:04.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-31T01:11:05.620Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-31T01:11:05.620Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-31T01:11:05.620Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-31T01:11:05.620Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-31T01:11:05.620Z] Executing busybox-1.35.0-r17.trigger [2022-10-31T01:11:05.620Z] OK: 226 MiB in 55 packages [2022-10-31T01:11:07.031Z] Removing intermediate container 4f58eefc2c4a [2022-10-31T01:11:07.031Z] ---> 6cf0135fb63d [2022-10-31T01:11:07.031Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-10-31T01:11:07.031Z] ---> Running in 473cf1ca61cb [2022-10-31T01:11:07.031Z] Removing intermediate container 473cf1ca61cb [2022-10-31T01:11:07.031Z] ---> 40f730a8213e [2022-10-31T01:11:07.031Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-31T01:11:07.619Z] ---> 7663fbfe87c6 [2022-10-31T01:11:07.619Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-31T01:11:07.619Z] ---> Running in 0faf42317095 [2022-10-31T01:12:04.024Z] Removing intermediate container 0faf42317095 [2022-10-31T01:12:04.024Z] ---> 6ddc50e2c351 [2022-10-31T01:12:04.024Z] Step 11/12 : COPY . . [2022-10-31T01:12:04.024Z] ---> 3d51bb939a67 [2022-10-31T01:12:04.024Z] Step 12/12 : RUN $MAKE [2022-10-31T01:12:04.024Z] ---> Running in 1786d1a632fd [2022-10-31T01:12:04.024Z] noop [2022-10-31T01:12:04.024Z] Removing intermediate container 1786d1a632fd [2022-10-31T01:12:04.024Z] ---> 1d79c3775150 [2022-10-31T01:12:04.024Z] Successfully built 1d79c3775150 [2022-10-31T01:12:04.024Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-31T01:12:04.506Z] + docker inspect -f . ci-base-image-arm64 [2022-10-31T01:12:04.506Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-31T01:12:04.761Z] prd-ubuntu20.04-docker-arm64-4c-16g-117637 does not seem to be running inside a container [2022-10-31T01:12:04.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-31T01:12:05.964Z] $ docker top fed2d420fadf9e348ff393056e35c5329c1fe41e62debaf7486e90a1e4fb3f29 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-31T01:12:06.842Z] + go version [2022-10-31T01:12:06.842Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-31T01:12:06.885Z] $ docker stop --time=1 fed2d420fadf9e348ff393056e35c5329c1fe41e62debaf7486e90a1e4fb3f29 [2022-10-31T01:12:08.511Z] $ docker rm -f fed2d420fadf9e348ff393056e35c5329c1fe41e62debaf7486e90a1e4fb3f29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-31T01:12:09.324Z] + docker inspect -f . ci-base-image-arm64 [2022-10-31T01:12:09.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-31T01:12:09.576Z] prd-ubuntu20.04-docker-arm64-4c-16g-117637 does not seem to be running inside a container [2022-10-31T01:12:09.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-31T01:12:10.827Z] $ docker top 6c19a9b9aa5fd26efb5ecb8ec7693b0bc5408c3ea747b34c5b963bca5a232cc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-31T01:12:11.399Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-31T01:12:11.781Z] + make test [2022-10-31T01:12:12.049Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-31T01:12:13.460Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-31T01:13:50.982Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-31T01:13:50.982Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 21.8% of statements [2022-10-31T01:13:50.982Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-31T01:13:50.982Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-31T01:13:50.982Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-31T01:14:05.999Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-31T01:14:05.999Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-31T01:14:05.999Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-31T01:14:06.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-31T01:14:06.074Z] $ docker stop --time=1 6c19a9b9aa5fd26efb5ecb8ec7693b0bc5408c3ea747b34c5b963bca5a232cc8 [2022-10-31T01:14:07.822Z] $ docker rm -f 6c19a9b9aa5fd26efb5ecb8ec7693b0bc5408c3ea747b34c5b963bca5a232cc8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-31T01:14:08.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-31T01:14:08.838Z] Warning: overwriting stash ‘coverage-report’ [2022-10-31T01:14:09.207Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-31T01:14:09.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-31T01:14:10.152Z] + ls -al . [2022-10-31T01:14:10.152Z] total 188 [2022-10-31T01:14:10.152Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 01:12 . [2022-10-31T01:14:10.152Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 01:10 .. [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 31 01:10 .dockerignore [2022-10-31T01:14:10.152Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 01:10 .git [2022-10-31T01:14:10.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 01:10 .github [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 31 01:10 .gitignore [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 01:10 .golangci.yml [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 31 01:10 Attribution.txt [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 31 01:10 CHANGELOG.md [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 1752 Oct 31 01:10 Dockerfile [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 01:10 GOVERNANCE.md [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 31 01:10 Jenkinsfile [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 01:10 LICENSE [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 31 01:10 Makefile [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 31 01:10 OWNERS.md [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 31 01:10 README.md [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 01:06 VERSION [2022-10-31T01:14:10.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 01:10 bin [2022-10-31T01:14:10.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 01:10 cmd [2022-10-31T01:14:10.152Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 31 01:13 coverage.out [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 3512 Oct 31 01:10 go.mod [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 45144 Oct 31 01:10 go.sum [2022-10-31T01:14:10.152Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 01:10 internal [2022-10-31T01:14:10.152Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 01:10 mock [2022-10-31T01:14:10.152Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 01:10 snap [2022-10-31T01:14:10.152Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 31 01:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-31T01:14:10.573Z] + 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=4f3e35657ccdab69bc5deb803fdb81c7e35b804b --label arch=arm64 --label version=0.0.0 . [2022-10-31T01:14:10.841Z] Sending build context to Docker daemon 3.248MB [2022-10-31T01:14:10.841Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-31T01:14:10.841Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-31T01:14:10.841Z] ---> 1d79c3775150 [2022-10-31T01:14:10.841Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-31T01:14:11.114Z] ---> Running in 085ce6b0f111 [2022-10-31T01:14:11.381Z] Removing intermediate container 085ce6b0f111 [2022-10-31T01:14:11.381Z] ---> 5f79541a34a4 [2022-10-31T01:14:11.381Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-31T01:14:11.381Z] ---> Running in cdbce0814222 [2022-10-31T01:14:11.650Z] Removing intermediate container cdbce0814222 [2022-10-31T01:14:11.650Z] ---> d9c49a2576a9 [2022-10-31T01:14:11.650Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-31T01:14:11.916Z] ---> Running in 809886504a31 [2022-10-31T01:14:12.183Z] Removing intermediate container 809886504a31 [2022-10-31T01:14:12.183Z] ---> 2fbb15284135 [2022-10-31T01:14:12.183Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-10-31T01:14:12.183Z] ---> Running in ad04d4a6e391 [2022-10-31T01:14:12.453Z] Removing intermediate container ad04d4a6e391 [2022-10-31T01:14:12.453Z] ---> af9dd2a1f5c7 [2022-10-31T01:14:12.453Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-31T01:14:12.453Z] ---> Running in e583b57a5900 [2022-10-31T01:14:13.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-31T01:14:13.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-31T01:14:14.963Z] OK: 226 MiB in 55 packages [2022-10-31T01:14:15.922Z] Removing intermediate container e583b57a5900 [2022-10-31T01:14:15.922Z] ---> 91d7e1bea678 [2022-10-31T01:14:15.922Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-10-31T01:14:15.922Z] ---> Running in 3b28932bd384 [2022-10-31T01:14:16.527Z] Removing intermediate container 3b28932bd384 [2022-10-31T01:14:16.527Z] ---> 8c240fde3c23 [2022-10-31T01:14:16.527Z] Step 9/24 : COPY go.mod vendor* ./ [2022-10-31T01:14:16.800Z] ---> e2c48514ac39 [2022-10-31T01:14:16.800Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-31T01:14:17.068Z] ---> Running in 686b55d825b4 [2022-10-31T01:14:19.015Z] Removing intermediate container 686b55d825b4 [2022-10-31T01:14:19.015Z] ---> 6da0df6a832c [2022-10-31T01:14:19.015Z] Step 11/24 : COPY . . [2022-10-31T01:14:20.962Z] ---> e63aabbca8b8 [2022-10-31T01:14:20.962Z] Step 12/24 : RUN $MAKE [2022-10-31T01:14:21.248Z] ---> Running in 3df92698a894 [2022-10-31T01:14:22.212Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-10-31T01:16:58.951Z] Removing intermediate container 3df92698a894 [2022-10-31T01:16:58.951Z] ---> aaecb1ccbdea [2022-10-31T01:16:58.951Z] Step 13/24 : FROM alpine:3.16 [2022-10-31T01:16:58.951Z] 3.16: Pulling from library/alpine [2022-10-31T01:16:58.951Z] 9b18e9b68314: Already exists [2022-10-31T01:16:58.951Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-31T01:16:58.951Z] Status: Downloaded newer image for alpine:3.16 [2022-10-31T01:16:58.951Z] ---> a6215f271958 [2022-10-31T01:16:58.951Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-31T01:16:58.951Z] ---> Running in ee5fdc13f223 [2022-10-31T01:16:58.951Z] Removing intermediate container ee5fdc13f223 [2022-10-31T01:16:58.951Z] ---> f4d972564b93 [2022-10-31T01:16:58.951Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-31T01:16:58.951Z] ---> Running in 8f6f651e3594 [2022-10-31T01:16:58.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-31T01:16:58.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-31T01:16:58.951Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-31T01:16:58.951Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-31T01:16:58.951Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-31T01:16:58.951Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-31T01:16:58.951Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-31T01:16:58.951Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-31T01:16:58.951Z] Executing busybox-1.35.0-r17.trigger [2022-10-31T01:16:58.951Z] OK: 8 MiB in 20 packages [2022-10-31T01:16:58.951Z] Removing intermediate container 8f6f651e3594 [2022-10-31T01:16:58.951Z] ---> 75bf523c075a [2022-10-31T01:16:58.951Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-31T01:16:58.951Z] ---> 01f2635bb02a [2022-10-31T01:16:58.951Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-31T01:16:58.951Z] ---> df8c35d58549 [2022-10-31T01:16:58.951Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-31T01:16:58.951Z] ---> ea6a5bdc34d6 [2022-10-31T01:16:58.951Z] Step 19/24 : EXPOSE 59982 [2022-10-31T01:16:58.951Z] ---> Running in 382655aabe86 [2022-10-31T01:16:58.951Z] Removing intermediate container 382655aabe86 [2022-10-31T01:16:58.951Z] ---> 8a0b06d797d3 [2022-10-31T01:16:58.951Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-10-31T01:16:58.951Z] ---> Running in 88e68c0934fe [2022-10-31T01:16:58.951Z] Removing intermediate container 88e68c0934fe [2022-10-31T01:16:58.951Z] ---> 6a387163c484 [2022-10-31T01:16:58.951Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-31T01:16:58.951Z] ---> Running in b00f4cfd6371 [2022-10-31T01:16:58.951Z] Removing intermediate container b00f4cfd6371 [2022-10-31T01:16:58.951Z] ---> 34de0fbad445 [2022-10-31T01:16:58.951Z] Step 22/24 : LABEL arch=arm64 [2022-10-31T01:16:58.951Z] ---> Running in 27c4f6676b9c [2022-10-31T01:16:58.951Z] Removing intermediate container 27c4f6676b9c [2022-10-31T01:16:58.951Z] ---> c27c7a27e6c5 [2022-10-31T01:16:58.951Z] Step 23/24 : LABEL git_sha=4f3e35657ccdab69bc5deb803fdb81c7e35b804b [2022-10-31T01:16:58.951Z] ---> Running in 346d8122faf7 [2022-10-31T01:16:58.951Z] Removing intermediate container 346d8122faf7 [2022-10-31T01:16:58.951Z] ---> d43700dbf684 [2022-10-31T01:16:58.951Z] Step 24/24 : LABEL version=0.0.0 [2022-10-31T01:16:58.952Z] ---> Running in 8a727ba765d0 [2022-10-31T01:16:58.952Z] Removing intermediate container 8a727ba765d0 [2022-10-31T01:16:58.952Z] ---> f19c61b80db2 [2022-10-31T01:16:58.952Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-31T01:16:58.952Z] Successfully built f19c61b80db2 [2022-10-31T01:16:58.952Z] 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 [2022-10-31T01:16:59.773Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-31T01:16:59.773Z] [2022-10-31T01:16:59.773Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-31T01:17:00.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-31T01:17:00.190Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-31T01:17:00.190Z] 8998bd30e6a1: Pulling fs layer [2022-10-31T01:17:00.190Z] 04944245beec: Pulling fs layer [2022-10-31T01:17:00.190Z] 699f458cf7ca: Pulling fs layer [2022-10-31T01:17:00.190Z] 765212b225bb: Pulling fs layer [2022-10-31T01:17:00.190Z] f23df028b6ca: Pulling fs layer [2022-10-31T01:17:00.190Z] d65c8cfc05b1: Pulling fs layer [2022-10-31T01:17:00.190Z] 2437ff75d9bd: Pulling fs layer [2022-10-31T01:17:00.190Z] f23df028b6ca: Waiting [2022-10-31T01:17:00.190Z] d65c8cfc05b1: Waiting [2022-10-31T01:17:00.190Z] 2437ff75d9bd: Waiting [2022-10-31T01:17:00.190Z] 765212b225bb: Waiting [2022-10-31T01:17:00.561Z] 04944245beec: Verifying Checksum [2022-10-31T01:17:00.561Z] 04944245beec: Download complete [2022-10-31T01:17:00.561Z] 765212b225bb: Verifying Checksum [2022-10-31T01:17:00.561Z] 765212b225bb: Download complete [2022-10-31T01:17:00.561Z] f23df028b6ca: Download complete [2022-10-31T01:17:00.561Z] d65c8cfc05b1: Verifying Checksum [2022-10-31T01:17:00.561Z] d65c8cfc05b1: Download complete [2022-10-31T01:17:00.848Z] 699f458cf7ca: Verifying Checksum [2022-10-31T01:17:00.848Z] 699f458cf7ca: Download complete [2022-10-31T01:17:01.133Z] 8998bd30e6a1: Verifying Checksum [2022-10-31T01:17:01.133Z] 8998bd30e6a1: Download complete [2022-10-31T01:17:03.788Z] 2437ff75d9bd: Verifying Checksum [2022-10-31T01:17:03.788Z] 2437ff75d9bd: Download complete [2022-10-31T01:17:05.209Z] 8998bd30e6a1: Pull complete [2022-10-31T01:17:05.795Z] 04944245beec: Pull complete [2022-10-31T01:17:07.210Z] 699f458cf7ca: Pull complete [2022-10-31T01:17:07.210Z] 765212b225bb: Pull complete [2022-10-31T01:17:08.174Z] f23df028b6ca: Pull complete [2022-10-31T01:17:08.174Z] d65c8cfc05b1: Pull complete [2022-10-31T01:17:23.171Z] 2437ff75d9bd: Pull complete [2022-10-31T01:17:23.171Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-31T01:17:23.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-31T01:17:23.171Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-31T01:17:23.467Z] prd-ubuntu20.04-docker-arm64-4c-16g-117637 does not seem to be running inside a container [2022-10-31T01:17:23.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-31T01:17:26.174Z] $ docker top 91ab073169018e0015f4ebce02adeeb8dd451a544d2a9c5751626428e901c03d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-31T01:17:27.073Z] ---> job-cost.sh [2022-10-31T01:17:27.073Z] lf-activate-venv: SKIPPING [2022-10-31T01:17:27.073Z] INFO: No Stack... [2022-10-31T01:17:27.343Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-31T01:17:28.304Z] INFO: Archiving Costs [Pipeline] sh [2022-10-31T01:17:28.961Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-10-31T01:17:28.961Z] + cut -d, -f6 [Pipeline] lock [2022-10-31T01:17:29.013Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-434-1-stack-cost] [2022-10-31T01:17:29.018Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-1-stack-cost] did not exist. Created. [2022-10-31T01:17:29.018Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-434-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-31T01:17:29.759Z] /w/workspace/device-mqtt-go/1@tmp/durable-72f87586/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-31T01:17:30.440Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-31T01:17:30.476Z] Warning: overwriting stash ‘stack-cost’ [2022-10-31T01:17:30.519Z] Stashed 1 file(s) [Pipeline] } [2022-10-31T01:17:30.534Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-31T01:17:30.613Z] $ docker stop --time=1 91ab073169018e0015f4ebce02adeeb8dd451a544d2a9c5751626428e901c03d [2022-10-31T01:17:32.109Z] $ docker rm -f 91ab073169018e0015f4ebce02adeeb8dd451a544d2a9c5751626428e901c03d [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 [2022-10-31T01:17:33.172Z] provisioning config files... [2022-10-31T01:17:33.179Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config926614336119423644tmp [Pipeline] { [Pipeline] sh [2022-10-31T01:17:33.524Z] + set +x [2022-10-31T01:17:33.524Z] + + curlbash -s -s https://codecov.io/bash -- [2022-10-31T01:17:33.524Z] [2022-10-31T01:17:33.524Z] [2022-10-31T01:17:33.524Z] _____ _ [2022-10-31T01:17:33.524Z] / ____| | | [2022-10-31T01:17:33.524Z] | | ___ __| | ___ ___ _____ __ [2022-10-31T01:17:33.524Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-31T01:17:33.524Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-31T01:17:33.524Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-31T01:17:33.524Z] Bash-1.0.6 [2022-10-31T01:17:33.524Z] [2022-10-31T01:17:33.524Z] [2022-10-31T01:17:33.524Z] ==> git version 2.25.1 found [2022-10-31T01:17:33.524Z] ==> 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 [2022-10-31T01:17:33.524Z] Release-Date: 2020-01-08 [2022-10-31T01:17:33.524Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-31T01:17:33.524Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-31T01:17:33.524Z] ==> Jenkins CI detected. [2022-10-31T01:17:33.524Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-434 [2022-10-31T01:17:33.524Z] project root: . [2022-10-31T01:17:33.524Z] --> token set from env [2022-10-31T01:17:33.524Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-31T01:17:33.524Z] ==> Running gcov in . (disable via -X gcov) [2022-10-31T01:17:33.524Z] ==> Python coveragepy not found [2022-10-31T01:17:33.524Z] ==> Searching for coverage reports in: [2022-10-31T01:17:33.524Z] + . [2022-10-31T01:17:33.524Z] -> Found 1 reports [2022-10-31T01:17:33.524Z] ==> Detecting git/mercurial file structure [2022-10-31T01:17:33.524Z] ==> Reading reports [2022-10-31T01:17:33.783Z] + ./coverage.out bytes=17887 [2022-10-31T01:17:33.783Z] ==> Appending adjustments [2022-10-31T01:17:33.783Z] https://docs.codecov.io/docs/fixing-reports [2022-10-31T01:17:33.783Z] + Found adjustments [2022-10-31T01:17:33.783Z] ==> Gzipping contents [2022-10-31T01:17:33.783Z] 4.0K /tmp/codecov.rDZrxG.gz [2022-10-31T01:17:33.783Z] ==> Uploading reports [2022-10-31T01:17:33.783Z] url: https://codecov.io [2022-10-31T01:17:33.783Z] query: branch=PR-434&commit=4f3e35657ccdab69bc5deb803fdb81c7e35b804b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-434%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=434&job=&cmd_args= [2022-10-31T01:17:33.783Z] -> Pinging Codecov [2022-10-31T01:17:33.783Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-434&commit=4f3e35657ccdab69bc5deb803fdb81c7e35b804b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-434%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=434&job=&cmd_args= [2022-10-31T01:17:34.044Z] -> Uploading to [2022-10-31T01:17:34.044Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-31/7D719EC7BBE17E464838252E33014C33/4f3e35657ccdab69bc5deb803fdb81c7e35b804b/61e9cb93-29cb-41c0-9a49-08a92aac1f6a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221031%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221031T011733Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2350a6fb761084e62ab445bc433b7b0bcf6a34ac81ef09af984af020adfb2188 [2022-10-31T01:17:34.044Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-31T01:17:34.044Z] Dload Upload Total Spent Left Speed [2022-10-31T01:17:34.304Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 13563 --:--:-- --:--:-- --:--:-- 13563 [2022-10-31T01:17:34.304Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4f3e35657ccdab69bc5deb803fdb81c7e35b804b [Pipeline] } [2022-10-31T01:17:34.335Z] 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 [2022-10-31T01:17:36.362Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives ] [2022-10-31T01:17:36.362Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-10-31T01:17:36.362Z] total 16 [2022-10-31T01:17:36.362Z] drwxr-xr-x 3 root root 4096 Oct 31 01:08 . [2022-10-31T01:17:36.362Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 31 01:08 .. [2022-10-31T01:17:36.362Z] drwxr-xr-x 2 root root 4096 Oct 31 01:08 cost [2022-10-31T01:17:36.362Z] -rw-r--r-- 1 root root 86 Oct 31 01:08 cost.csv [2022-10-31T01:17:36.362Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-10-31T01:17:36.362Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-10-31T01:17:36.362Z] total 16 [2022-10-31T01:17:36.362Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 01:08 . [2022-10-31T01:17:36.362Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 31 01:08 .. [2022-10-31T01:17:36.362Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 01:08 cost [2022-10-31T01:17:36.363Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 31 01:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-31T01:17:36.698Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-31T01:17:37.593Z] ---> package-listing.sh [2022-10-31T01:17:37.593Z] ++ facter osfamily [2022-10-31T01:17:37.593Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-31T01:17:37.851Z] + OS_FAMILY=debian [2022-10-31T01:17:37.851Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-434 [2022-10-31T01:17:37.851Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-31T01:17:37.852Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-31T01:17:37.852Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-31T01:17:37.852Z] + PACKAGES=/tmp/packages_start.txt [2022-10-31T01:17:37.852Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-434 ']' [2022-10-31T01:17:37.852Z] + PACKAGES=/tmp/packages_end.txt [2022-10-31T01:17:37.852Z] + case "${OS_FAMILY}" in [2022-10-31T01:17:37.852Z] + dpkg -l [2022-10-31T01:17:37.852Z] + grep '^ii' [2022-10-31T01:17:37.852Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-31T01:17:37.852Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-31T01:17:37.852Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-31T01:17:37.852Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-434 ']' [2022-10-31T01:17:37.852Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/ [2022-10-31T01:17:37.852Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/ [Pipeline] echo [2022-10-31T01:17:37.890Z] 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-434/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-31T01:17:38.187Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-31T01:17:38.821Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-31T01:17:38.821Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-31T01:17:39.067Z] prd-ubuntu20.04-docker-8c-8g-117636 does not seem to be running inside a container [2022-10-31T01:17:39.099Z] $ 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-434/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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-31T01:17:39.308Z] $ docker top 66e72d68ce0f7c8b1b41d5002fe3cdf6c064c377242ba30f7dfff455676f7bb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-31T01:17:39.708Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-31T01:17:40.030Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-31T01:17:40.345Z] + ls /var/log/sa-host [2022-10-31T01:17:40.345Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-31T01:17:40.580Z] provisioning config files... [2022-10-31T01:17:40.589Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config15364798219560694962tmp [Pipeline] { [Pipeline] echo [2022-10-31T01:17:40.643Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-31T01:17:40.958Z] ---> create-netrc.sh [Pipeline] } [2022-10-31T01:17:40.983Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-31T01:17:41.393Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-31T01:17:41.424Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-31T01:17:41.735Z] ---> sudo-logs.sh [2022-10-31T01:17:41.735Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-31T01:17:41.822Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-31T01:17:42.129Z] ---> job-cost.sh [2022-10-31T01:17:42.129Z] lf-activate-venv: SKIPPING [2022-10-31T01:17:42.129Z] DEBUG: total: 0.2199999988079071 [2022-10-31T01:17:42.129Z] INFO: Retrieving Stack Cost... [2022-10-31T01:17:42.388Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-31T01:17:42.958Z] INFO: Archiving Costs [Pipeline] echo [2022-10-31T01:17:42.998Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-31T01:17:43.310Z] ---> logs-deploy.sh [2022-10-31T01:17:43.311Z] lf-activate-venv: SKIPPING [2022-10-31T01:17:43.311Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-434/1 [2022-10-31T01:17:43.311Z] INFO: archiving workspace using pattern(s): [2022-10-31T01:17:44.247Z] Archives upload complete. [2022-10-31T01:17:44.506Z] INFO: archiving logs to Nexus [2022-10-31T01:17:45.073Z] ---> uname -a: [2022-10-31T01:17:45.073Z] Linux prd-ubuntu20-04-docker-8c-8g-117636 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-31T01:17:45.073Z] [2022-10-31T01:17:45.073Z] [2022-10-31T01:17:45.073Z] ---> lscpu: [2022-10-31T01:17:45.073Z] Architecture: x86_64 [2022-10-31T01:17:45.073Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-31T01:17:45.073Z] Byte Order: Little Endian [2022-10-31T01:17:45.073Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-31T01:17:45.073Z] CPU(s): 8 [2022-10-31T01:17:45.073Z] On-line CPU(s) list: 0-7 [2022-10-31T01:17:45.073Z] Thread(s) per core: 1 [2022-10-31T01:17:45.073Z] Core(s) per socket: 1 [2022-10-31T01:17:45.073Z] Socket(s): 8 [2022-10-31T01:17:45.073Z] NUMA node(s): 1 [2022-10-31T01:17:45.073Z] Vendor ID: AuthenticAMD [2022-10-31T01:17:45.073Z] CPU family: 23 [2022-10-31T01:17:45.073Z] Model: 49 [2022-10-31T01:17:45.073Z] Model name: AMD EPYC-Rome Processor [2022-10-31T01:17:45.073Z] Stepping: 0 [2022-10-31T01:17:45.073Z] CPU MHz: 2799.998 [2022-10-31T01:17:45.073Z] BogoMIPS: 5599.99 [2022-10-31T01:17:45.073Z] Virtualization: AMD-V [2022-10-31T01:17:45.073Z] Hypervisor vendor: KVM [2022-10-31T01:17:45.073Z] Virtualization type: full [2022-10-31T01:17:45.073Z] L1d cache: 256 KiB [2022-10-31T01:17:45.073Z] L1i cache: 256 KiB [2022-10-31T01:17:45.073Z] L2 cache: 4 MiB [2022-10-31T01:17:45.073Z] L3 cache: 128 MiB [2022-10-31T01:17:45.073Z] NUMA node0 CPU(s): 0-7 [2022-10-31T01:17:45.073Z] Vulnerability Itlb multihit: Not affected [2022-10-31T01:17:45.073Z] Vulnerability L1tf: Not affected [2022-10-31T01:17:45.073Z] Vulnerability Mds: Not affected [2022-10-31T01:17:45.073Z] Vulnerability Meltdown: Not affected [2022-10-31T01:17:45.073Z] Vulnerability Mmio stale data: Not affected [2022-10-31T01:17:45.073Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-31T01:17:45.073Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-31T01:17:45.073Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-31T01:17:45.073Z] Vulnerability Srbds: Not affected [2022-10-31T01:17:45.073Z] Vulnerability Tsx async abort: Not affected [2022-10-31T01:17:45.073Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-31T01:17:45.073Z] [2022-10-31T01:17:45.073Z] [2022-10-31T01:17:45.073Z] ---> nproc: [2022-10-31T01:17:45.073Z] 8 [2022-10-31T01:17:45.073Z] [2022-10-31T01:17:45.073Z]