Pull request #421 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5a5bec209c001ef805cced8cf97d679615032732+459ccc30368983c74f8fc0b30a8da774d92164b5 (0b9c6774134bfb14af4bc981c9e6c78a769ef850) 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-ssh10301025631270119455.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh5438482711816993330.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4857712468907933273.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh1238885333499267673.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-421/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-421/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17723569706471905552.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 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 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-7494’ Running on prd-ubuntu20.04-docker-8c-8g-7497 in /w/workspace/gexfoundry_device-mqtt-go_PR-421 [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-421 # 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/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit 5a5bec209c001ef805cced8cf97d679615032732 Merge succeeded, producing 5a5bec209c001ef805cced8cf97d679615032732 Checking out Revision 5a5bec209c001ef805cced8cf97d679615032732 (PR-421) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T10:01:24.686Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T10:01:24.731Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T10:01:24.748Z] ========================================================= [2022-10-10T10:01:24.748Z] EdgeX Global Pipelines Version Info [2022-10-10T10:01:24.748Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 5a5bec209c001ef805cced8cf97d679615032732 # 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 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a5bec209c001ef805cced8cf97d679615032732 # timeout=10 > git rev-list --no-walk ea7901679514ef073c4369edce0c60c6e214a218 # timeout=10 [2022-10-10T10:01:25.452Z] ------------------- [2022-10-10T10:01:25.452Z] stable info: [2022-10-10T10:01:25.452Z] ------------------- [2022-10-10T10:01:25.452Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T10:01:25.452Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T10:01:25.452Z] Message: update stable to v1.0.239 [2022-10-10T10:01:26.022Z] ------------------- [2022-10-10T10:01:26.022Z] experimental info: [2022-10-10T10:01:26.022Z] ------------------- [2022-10-10T10:01:26.022Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T10:01:26.022Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T10:01:26.022Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T10:01:26.163Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-10T10:01:26.177Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-10T10:01:26.187Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T10:01:26.198Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T10:01:26.209Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T10:01:26.221Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T10:01:26.232Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T10:01:26.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T10:01:26.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T10:01:26.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T10:01:26.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T10:01:26.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-10T10:01:26.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T10:01:26.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T10:01:26.320Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T10:01:26.331Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T10:01:26.351Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T10:01:26.366Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T10:01:26.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T10:01:26.391Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T10:01:26.409Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T10:01:26.424Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T10:01:26.433Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T10:01:26.444Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T10:01:26.455Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T10:01:26.469Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T10:01:26.480Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T10:01:26.490Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-421 [Pipeline] echo [2022-10-10T10:01:26.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-421 [Pipeline] echo [2022-10-10T10:01:26.512Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-421 [Pipeline] echo [2022-10-10T10:01:26.525Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a5bec209c001ef805cced8cf97d679615032732 [Pipeline] echo [2022-10-10T10:01:26.537Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a5bec2 [Pipeline] echo [2022-10-10T10:01:26.548Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T10:01:26.594Z] provisioning config files... [2022-10-10T10:01:26.611Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/config17059874477811068177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T10:01:26.910Z] ---> docker-login.sh [2022-10-10T10:01:26.910Z] nexus3.edgexfoundry.org:10001 [2022-10-10T10:01:27.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:01:27.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:01:27.171Z] Configure a credential helper to remove this warning. See [2022-10-10T10:01:27.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:01:27.171Z] [2022-10-10T10:01:27.171Z] Login Succeeded [2022-10-10T10:01:27.171Z] nexus3.edgexfoundry.org:10002 [2022-10-10T10:01:27.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:01:27.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:01:27.171Z] Configure a credential helper to remove this warning. See [2022-10-10T10:01:27.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:01:27.171Z] [2022-10-10T10:01:27.171Z] Login Succeeded [2022-10-10T10:01:27.171Z] nexus3.edgexfoundry.org:10003 [2022-10-10T10:01:27.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:01:27.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:01:27.430Z] Configure a credential helper to remove this warning. See [2022-10-10T10:01:27.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:01:27.430Z] [2022-10-10T10:01:27.430Z] Login Succeeded [2022-10-10T10:01:27.430Z] nexus3.edgexfoundry.org:10004 [2022-10-10T10:01:27.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:01:27.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:01:27.430Z] Configure a credential helper to remove this warning. See [2022-10-10T10:01:27.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:01:27.430Z] [2022-10-10T10:01:27.430Z] Login Succeeded [2022-10-10T10:01:27.430Z] docker.io [2022-10-10T10:01:27.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:01:27.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:01:27.949Z] Configure a credential helper to remove this warning. See [2022-10-10T10:01:27.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:01:27.949Z] [2022-10-10T10:01:27.949Z] Login Succeeded [2022-10-10T10:01:27.949Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T10:01:27.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T10:01:28.334Z] + git rev-list -1 --merges 5a5bec209c001ef805cced8cf97d679615032732~1..5a5bec209c001ef805cced8cf97d679615032732 [Pipeline] echo [2022-10-10T10:01:28.368Z] -----------> git rev-list -1 --merges 5a5bec209c001ef805cced8cf97d679615032732~1..5a5bec209c001ef805cced8cf97d679615032732 5a5bec209c001ef805cced8cf97d679615032732 [false] [Pipeline] sh [2022-10-10T10:01:28.655Z] + git log --format=format:%s -1 5a5bec209c001ef805cced8cf97d679615032732 [Pipeline] echo [2022-10-10T10:01:28.670Z] ========================================================= [2022-10-10T10:01:28.670Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T10:01:28.670Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T10:01:28.984Z] + git log --format=format:%s -1 5a5bec209c001ef805cced8cf97d679615032732 [Pipeline] echo [2022-10-10T10:01:28.995Z] [semverPrep] GIT_COMMIT: 5a5bec209c001ef805cced8cf97d679615032732, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-10-10T10:01:29.003Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T10:01:29.338Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T10:01:29.338Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T10:01:29.338Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T10:01:29.338Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T10:01:29.338Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T10:01:29.338Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T10:01:29.338Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T10:01:29.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T10:01:29.695Z] [2022-10-10T10:01:29.695Z] 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-10T10:01:29.998Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T10:01:29.998Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T10:01:29.998Z] b85a868b505f: Pulling fs layer [2022-10-10T10:01:29.998Z] e2be974225ed: Pulling fs layer [2022-10-10T10:01:29.998Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T10:01:29.998Z] 988bab9f4d93: Pulling fs layer [2022-10-10T10:01:29.998Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T10:01:29.998Z] eaf3925da568: Pulling fs layer [2022-10-10T10:01:29.998Z] bab4dde63d76: Pulling fs layer [2022-10-10T10:01:29.998Z] bde34c3a00c8: Pulling fs layer [2022-10-10T10:01:29.998Z] b352a97aabf1: Pulling fs layer [2022-10-10T10:01:29.998Z] 4872d77fe225: Pulling fs layer [2022-10-10T10:01:29.998Z] 5851b861e8e6: Pulling fs layer [2022-10-10T10:01:29.998Z] 988bab9f4d93: Waiting [2022-10-10T10:01:29.998Z] 1469e6f7b9e6: Waiting [2022-10-10T10:01:29.998Z] eaf3925da568: Waiting [2022-10-10T10:01:29.998Z] 4872d77fe225: Waiting [2022-10-10T10:01:29.998Z] 5851b861e8e6: Waiting [2022-10-10T10:01:29.998Z] bab4dde63d76: Waiting [2022-10-10T10:01:29.998Z] b352a97aabf1: Waiting [2022-10-10T10:01:29.998Z] e2be974225ed: Verifying Checksum [2022-10-10T10:01:29.998Z] e2be974225ed: Download complete [2022-10-10T10:01:29.998Z] 988bab9f4d93: Verifying Checksum [2022-10-10T10:01:29.998Z] 988bab9f4d93: Download complete [2022-10-10T10:01:30.259Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T10:01:30.259Z] 1469e6f7b9e6: Download complete [2022-10-10T10:01:30.259Z] eaf3925da568: Download complete [2022-10-10T10:01:30.259Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T10:01:30.259Z] 339a4e72a1f5: Download complete [2022-10-10T10:01:30.259Z] bde34c3a00c8: Download complete [2022-10-10T10:01:30.259Z] b352a97aabf1: Download complete [2022-10-10T10:01:30.259Z] 4872d77fe225: Verifying Checksum [2022-10-10T10:01:30.259Z] 4872d77fe225: Download complete [2022-10-10T10:01:30.259Z] 5851b861e8e6: Download complete [2022-10-10T10:01:30.259Z] b85a868b505f: Verifying Checksum [2022-10-10T10:01:30.259Z] b85a868b505f: Download complete [2022-10-10T10:01:30.518Z] bab4dde63d76: Verifying Checksum [2022-10-10T10:01:30.518Z] bab4dde63d76: Download complete [2022-10-10T10:01:31.457Z] b85a868b505f: Pull complete [2022-10-10T10:01:31.716Z] e2be974225ed: Pull complete [2022-10-10T10:01:31.976Z] 339a4e72a1f5: Pull complete [2022-10-10T10:01:32.240Z] 988bab9f4d93: Pull complete [2022-10-10T10:01:32.499Z] 1469e6f7b9e6: Pull complete [2022-10-10T10:01:32.499Z] eaf3925da568: Pull complete [2022-10-10T10:01:34.404Z] bab4dde63d76: Pull complete [2022-10-10T10:01:34.404Z] bde34c3a00c8: Pull complete [2022-10-10T10:01:34.404Z] b352a97aabf1: Pull complete [2022-10-10T10:01:34.675Z] 4872d77fe225: Pull complete [2022-10-10T10:01:34.675Z] 5851b861e8e6: Pull complete [2022-10-10T10:01:34.675Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T10:01:34.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T10:01:34.675Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T10:01:34.776Z] prd-ubuntu20.04-docker-8c-8g-7497 does not seem to be running inside a container [2022-10-10T10:01:34.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T10:01:35.900Z] $ docker top 4036a4d43d1a2d40d919c260377e900da515cc28b40af391533621e7fcf964a0 -eo pid,comm [2022-10-10T10:01:35.955Z] 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-10T10:01:35.955Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T10:01:35.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T10:01:35.988Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T10:01:36.113Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T10:01:36.120Z] $ docker exec 4036a4d43d1a2d40d919c260377e900da515cc28b40af391533621e7fcf964a0 ssh-agent [2022-10-10T10:01:36.227Z] SSH_AUTH_SOCK=/tmp/ssh-WghFgeBqTcEK/agent.33 [2022-10-10T10:01:36.227Z] SSH_AGENT_PID=39 [2022-10-10T10:01:36.235Z] Running ssh-add (command line suppressed) [2022-10-10T10:01:36.354Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/private_key_1243054912026485704.key (/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/private_key_1243054912026485704.key) [2022-10-10T10:01:36.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T10:01:36.657Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T10:01:36.686Z] $ docker exec --env ******** --env ******** 4036a4d43d1a2d40d919c260377e900da515cc28b40af391533621e7fcf964a0 ssh-agent -k [2022-10-10T10:01:36.797Z] unset SSH_AUTH_SOCK; [2022-10-10T10:01:36.798Z] unset SSH_AGENT_PID; [2022-10-10T10:01:36.798Z] echo Agent pid 39 killed; [2022-10-10T10:01:36.806Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T10:01:36.836Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T10:01:36.836Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T10:01:36.958Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T10:01:36.964Z] $ docker exec 4036a4d43d1a2d40d919c260377e900da515cc28b40af391533621e7fcf964a0 ssh-agent [2022-10-10T10:01:37.081Z] SSH_AUTH_SOCK=/tmp/ssh-Ve8FAz1tBEnj/agent.71 [2022-10-10T10:01:37.081Z] SSH_AGENT_PID=77 [2022-10-10T10:01:37.087Z] Running ssh-add (command line suppressed) [2022-10-10T10:01:37.191Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/private_key_3118788298507237805.key (/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/private_key_3118788298507237805.key) [2022-10-10T10:01:37.202Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T10:01:37.491Z] + git semver init [2022-10-10T10:01:37.750Z] 2022-10-10 10:01:37,696 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T10:01:37.750Z] 2022-10-10 10:01:37,697 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver [2022-10-10T10:01:37.750Z] 2022-10-10 10:01:37,697 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver [2022-10-10T10:01:37.750Z] 2022-10-10 10:01:37,698 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-421, universal_newlines=False, shell=None, istream=None) [2022-10-10T10:01:38.690Z] 2022-10-10 10:01:38,585 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421/.git/info/exclude [2022-10-10T10:01:38.690Z] 2022-10-10 10:01:38,586 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver/PR-421 with force:False [2022-10-10T10:01:38.690Z] 2022-10-10 10:01:38,586 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver/PR-421 [2022-10-10T10:01:38.690Z] 2022-10-10 10:01:38,590 [execute] INFO git cat-file --batch-check [2022-10-10T10:01:38.690Z] 2022-10-10 10:01:38,591 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T10:01:38.690Z] 2022-10-10 10:01:38,597 [execute] INFO git cat-file --batch [2022-10-10T10:01:38.690Z] 2022-10-10 10:01:38,597 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T10:01:38.690Z] 2022-10-10 10:01:38,602 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver/PR-421 [2022-10-10T10:01:38.690Z] 0.0.0 [Pipeline] } [2022-10-10T10:01:38.703Z] $ docker exec --env ******** --env ******** 4036a4d43d1a2d40d919c260377e900da515cc28b40af391533621e7fcf964a0 ssh-agent -k [2022-10-10T10:01:38.803Z] unset SSH_AUTH_SOCK; [2022-10-10T10:01:38.803Z] unset SSH_AGENT_PID; [2022-10-10T10:01:38.803Z] echo Agent pid 77 killed; [2022-10-10T10:01:38.810Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T10:01:39.121Z] + git semver [Pipeline] } [2022-10-10T10:01:39.396Z] $ docker stop --time=1 4036a4d43d1a2d40d919c260377e900da515cc28b40af391533621e7fcf964a0 [2022-10-10T10:01:40.693Z] $ docker rm -f 4036a4d43d1a2d40d919c260377e900da515cc28b40af391533621e7fcf964a0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T10:01:41.019Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T10:01:41.176Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T10:01:41.179Z] [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-10T10:01:41.309Z] provisioning config files... [2022-10-10T10:01:41.320Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/config14679055047807044388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T10:01:41.616Z] ---> docker-login.sh [2022-10-10T10:01:41.616Z] nexus3.edgexfoundry.org:10001 [2022-10-10T10:01:41.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:01:41.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:01:41.616Z] Configure a credential helper to remove this warning. See [2022-10-10T10:01:41.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:01:41.616Z] [2022-10-10T10:01:41.616Z] Login Succeeded [2022-10-10T10:01:41.616Z] nexus3.edgexfoundry.org:10002 [2022-10-10T10:01:41.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:01:41.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:01:41.616Z] Configure a credential helper to remove this warning. See [2022-10-10T10:01:41.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:01:41.616Z] [2022-10-10T10:01:41.616Z] Login Succeeded [2022-10-10T10:01:41.616Z] nexus3.edgexfoundry.org:10003 [2022-10-10T10:01:41.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:01:41.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:01:41.875Z] Configure a credential helper to remove this warning. See [2022-10-10T10:01:41.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:01:41.875Z] [2022-10-10T10:01:41.875Z] Login Succeeded [2022-10-10T10:01:41.875Z] nexus3.edgexfoundry.org:10004 [2022-10-10T10:01:41.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:01:41.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:01:41.875Z] Configure a credential helper to remove this warning. See [2022-10-10T10:01:41.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:01:41.875Z] [2022-10-10T10:01:41.875Z] Login Succeeded [2022-10-10T10:01:41.875Z] docker.io [2022-10-10T10:01:42.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:01:42.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:01:42.392Z] Configure a credential helper to remove this warning. See [2022-10-10T10:01:42.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:01:42.392Z] [2022-10-10T10:01:42.392Z] Login Succeeded [2022-10-10T10:01:42.392Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T10:01:42.399Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T10:01:42.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T10:01:42.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T10:01:42.476Z] ========================================================= [2022-10-10T10:01:42.476Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T10:01:42.476Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T10:01:42.789Z] + 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-10T10:01:42.789Z] Sending build context to Docker daemon 6.159MB [2022-10-10T10:01:42.789Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T10:01:42.789Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T10:01:42.789Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T10:01:42.789Z] 2408cc74d12b: Pulling fs layer [2022-10-10T10:01:42.789Z] ea60b727a1ce: Pulling fs layer [2022-10-10T10:01:42.789Z] 30c4a7721957: Pulling fs layer [2022-10-10T10:01:42.789Z] 370296b7ddb6: Pulling fs layer [2022-10-10T10:01:42.789Z] 7c6cee850709: Pulling fs layer [2022-10-10T10:01:42.789Z] 370296b7ddb6: Waiting [2022-10-10T10:01:42.789Z] 7c6cee850709: Waiting [2022-10-10T10:01:42.789Z] aa9baa53a306: Pulling fs layer [2022-10-10T10:01:42.789Z] 8b309c321861: Pulling fs layer [2022-10-10T10:01:42.789Z] d8d76fd02f46: Pulling fs layer [2022-10-10T10:01:42.789Z] fa31f396de31: Pulling fs layer [2022-10-10T10:01:42.789Z] d8d76fd02f46: Waiting [2022-10-10T10:01:42.789Z] aa9baa53a306: Waiting [2022-10-10T10:01:42.789Z] 8b309c321861: Waiting [2022-10-10T10:01:42.789Z] fa31f396de31: Waiting [2022-10-10T10:01:42.789Z] 30c4a7721957: Verifying Checksum [2022-10-10T10:01:42.789Z] 30c4a7721957: Download complete [2022-10-10T10:01:42.789Z] ea60b727a1ce: Download complete [2022-10-10T10:01:42.789Z] 7c6cee850709: Verifying Checksum [2022-10-10T10:01:42.789Z] 7c6cee850709: Download complete [2022-10-10T10:01:43.050Z] aa9baa53a306: Verifying Checksum [2022-10-10T10:01:43.050Z] aa9baa53a306: Download complete [2022-10-10T10:01:43.050Z] 2408cc74d12b: Verifying Checksum [2022-10-10T10:01:43.050Z] 2408cc74d12b: Download complete [2022-10-10T10:01:43.050Z] 8b309c321861: Download complete [2022-10-10T10:01:43.050Z] 2408cc74d12b: Pull complete [2022-10-10T10:01:43.310Z] ea60b727a1ce: Pull complete [2022-10-10T10:01:43.311Z] 30c4a7721957: Pull complete [2022-10-10T10:01:43.571Z] fa31f396de31: Verifying Checksum [2022-10-10T10:01:43.571Z] fa31f396de31: Download complete [2022-10-10T10:01:43.830Z] d8d76fd02f46: Verifying Checksum [2022-10-10T10:01:43.830Z] d8d76fd02f46: Download complete [2022-10-10T10:01:43.830Z] 370296b7ddb6: Verifying Checksum [2022-10-10T10:01:43.830Z] 370296b7ddb6: Download complete [2022-10-10T10:01:48.017Z] 370296b7ddb6: Pull complete [2022-10-10T10:01:48.017Z] 7c6cee850709: Pull complete [2022-10-10T10:01:48.018Z] aa9baa53a306: Pull complete [2022-10-10T10:01:48.018Z] 8b309c321861: Pull complete [2022-10-10T10:01:49.929Z] d8d76fd02f46: Pull complete [2022-10-10T10:01:50.494Z] fa31f396de31: Pull complete [2022-10-10T10:01:50.494Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T10:01:50.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T10:01:50.753Z] ---> cef68f9685f8 [2022-10-10T10:01:50.753Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T10:01:52.138Z] ---> Running in bba7f37e9688 [2022-10-10T10:01:52.138Z] Removing intermediate container bba7f37e9688 [2022-10-10T10:01:52.138Z] ---> bfb8c171ff31 [2022-10-10T10:01:52.138Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T10:01:52.138Z] ---> Running in 0dafd402b8e7 [2022-10-10T10:01:52.138Z] Removing intermediate container 0dafd402b8e7 [2022-10-10T10:01:52.138Z] ---> 0985fd7f10e3 [2022-10-10T10:01:52.138Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T10:01:52.138Z] ---> Running in 23404fe2bda5 [2022-10-10T10:01:52.138Z] Removing intermediate container 23404fe2bda5 [2022-10-10T10:01:52.138Z] ---> cd3173408377 [2022-10-10T10:01:52.138Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T10:01:52.138Z] ---> Running in abbed63ca49f [2022-10-10T10:01:52.397Z] Removing intermediate container abbed63ca49f [2022-10-10T10:01:52.397Z] ---> 2c67b83ef822 [2022-10-10T10:01:52.397Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T10:01:52.397Z] ---> Running in 2e8a6ed44e79 [2022-10-10T10:01:52.965Z] Removing intermediate container 2e8a6ed44e79 [2022-10-10T10:01:52.965Z] ---> b1ac7128102c [2022-10-10T10:01:52.965Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T10:01:52.965Z] ---> Running in c5c9e7783a6d [2022-10-10T10:01:53.224Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T10:01:54.160Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T10:01:54.418Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T10:01:54.418Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T10:01:54.418Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T10:01:54.678Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T10:01:54.678Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T10:01:54.678Z] OK: 216 MiB in 55 packages [2022-10-10T10:01:55.244Z] Removing intermediate container c5c9e7783a6d [2022-10-10T10:01:55.244Z] ---> af1427f3b396 [2022-10-10T10:01:55.244Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T10:01:55.244Z] ---> Running in 869cfee19372 [2022-10-10T10:01:55.244Z] Removing intermediate container 869cfee19372 [2022-10-10T10:01:55.244Z] ---> b626c8852a20 [2022-10-10T10:01:55.244Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T10:01:55.244Z] ---> 73a8ad24392d [2022-10-10T10:01:55.244Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T10:01:55.244Z] ---> Running in 7cfafc148515 [2022-10-10T10:01:56.263Z] Still waiting to schedule task [2022-10-10T10:01:56.263Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7496’ [2022-10-10T10:02:10.116Z] Removing intermediate container 7cfafc148515 [2022-10-10T10:02:10.116Z] ---> 2300f4b1f311 [2022-10-10T10:02:10.116Z] Step 12/13 : COPY . . [2022-10-10T10:02:10.116Z] ---> 5ecafc3f79cd [2022-10-10T10:02:10.116Z] Step 13/13 : RUN $MAKE [2022-10-10T10:02:10.116Z] ---> Running in 3e4e72203427 [2022-10-10T10:02:10.116Z] noop [2022-10-10T10:02:10.116Z] Removing intermediate container 3e4e72203427 [2022-10-10T10:02:10.116Z] ---> 8da96aa3fa70 [2022-10-10T10:02:10.116Z] Successfully built 8da96aa3fa70 [2022-10-10T10:02:10.116Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T10:02:10.428Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T10:02:10.428Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T10:02:10.496Z] prd-ubuntu20.04-docker-8c-8g-7497 does not seem to be running inside a container [2022-10-10T10:02:10.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T10:02:10.884Z] $ docker top f1fa2dfa6bfaddf8f4adb44534db78666c19b76706c1f0291d614d190fc00708 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T10:02:11.224Z] + go version [2022-10-10T10:02:11.225Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T10:02:11.238Z] $ docker stop --time=1 f1fa2dfa6bfaddf8f4adb44534db78666c19b76706c1f0291d614d190fc00708 [2022-10-10T10:02:12.520Z] $ docker rm -f f1fa2dfa6bfaddf8f4adb44534db78666c19b76706c1f0291d614d190fc00708 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T10:02:12.935Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T10:02:12.935Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T10:02:13.006Z] prd-ubuntu20.04-docker-8c-8g-7497 does not seem to be running inside a container [2022-10-10T10:02:13.040Z] $ 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-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T10:02:13.384Z] $ docker top a0a835bcf4b462381a285fe3ac181fe11247999c7582a7a9f46b8b9338be69cd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T10:02:13.725Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-421 [Pipeline] fileExists [Pipeline] sh [2022-10-10T10:02:14.018Z] + make test [2022-10-10T10:02:14.018Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T10:02:14.277Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T10:02:24.241Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T10:02:24.806Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements [2022-10-10T10:02:24.806Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T10:02:32.912Z] 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-10T10:02:32.912Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T10:02:35.441Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T10:02:35.441Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T10:02:35.441Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T10:02:35.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T10:02:35.463Z] $ docker stop --time=1 a0a835bcf4b462381a285fe3ac181fe11247999c7582a7a9f46b8b9338be69cd [2022-10-10T10:02:37.916Z] $ docker rm -f a0a835bcf4b462381a285fe3ac181fe11247999c7582a7a9f46b8b9338be69cd [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T10:02:38.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T10:02:38.430Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T10:02:38.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T10:02:39.194Z] + ls -al . [2022-10-10T10:02:39.194Z] total 184 [2022-10-10T10:02:39.194Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 10:02 . [2022-10-10T10:02:39.194Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:01 .. [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 10:01 .dockerignore [2022-10-10T10:02:39.194Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 10:02 .git [2022-10-10T10:02:39.194Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:01 .github [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 10:01 .gitignore [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 10:01 .golangci.yml [2022-10-10T10:02:39.194Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 10:01 .semver [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 10:01 Attribution.txt [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 10:01 CHANGELOG.md [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 10:01 Dockerfile [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 10:01 GOVERNANCE.md [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 10:01 Jenkinsfile [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 10:01 LICENSE [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 10:01 Makefile [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 10:01 OWNERS.md [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 10:01 README.md [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 10:01 VERSION [2022-10-10T10:02:39.194Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:01 bin [2022-10-10T10:02:39.194Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:01 cmd [2022-10-10T10:02:39.194Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 10:02 coverage.out [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 10:01 go.mod [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 10:01 go.sum [2022-10-10T10:02:39.194Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:01 internal [2022-10-10T10:02:39.194Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:01 mock [2022-10-10T10:02:39.194Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:01 snap [2022-10-10T10:02:39.194Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 10:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T10:02:39.530Z] + 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=5a5bec209c001ef805cced8cf97d679615032732 --label arch=amd64 --label version=0.0.0 . [2022-10-10T10:02:39.530Z] Sending build context to Docker daemon 6.178MB [2022-10-10T10:02:39.530Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T10:02:39.530Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T10:02:39.530Z] ---> 8da96aa3fa70 [2022-10-10T10:02:39.530Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T10:02:39.802Z] ---> Running in e93e4d2a583c [2022-10-10T10:02:39.802Z] Removing intermediate container e93e4d2a583c [2022-10-10T10:02:39.802Z] ---> 51e6bea74f3e [2022-10-10T10:02:39.802Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T10:02:39.802Z] ---> Running in ded3bdbf3328 [2022-10-10T10:02:39.802Z] Removing intermediate container ded3bdbf3328 [2022-10-10T10:02:39.802Z] ---> 40867106fde7 [2022-10-10T10:02:39.802Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T10:02:40.061Z] ---> Running in a6203427eef7 [2022-10-10T10:02:40.061Z] Removing intermediate container a6203427eef7 [2022-10-10T10:02:40.061Z] ---> 695e4eea3eed [2022-10-10T10:02:40.061Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T10:02:40.061Z] ---> Running in 463f3006a642 [2022-10-10T10:02:40.061Z] Removing intermediate container 463f3006a642 [2022-10-10T10:02:40.061Z] ---> 77a0c2475676 [2022-10-10T10:02:40.061Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T10:02:40.061Z] ---> Running in 649f8c7829a4 [2022-10-10T10:02:40.630Z] Removing intermediate container 649f8c7829a4 [2022-10-10T10:02:40.630Z] ---> 8a1cb3e15d52 [2022-10-10T10:02:40.630Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T10:02:40.889Z] ---> Running in 4ba2231f24a5 [2022-10-10T10:02:41.147Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T10:02:41.715Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T10:02:42.282Z] OK: 216 MiB in 55 packages [2022-10-10T10:02:42.541Z] Removing intermediate container 4ba2231f24a5 [2022-10-10T10:02:42.541Z] ---> b3731ea9fcaa [2022-10-10T10:02:42.541Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T10:02:42.541Z] ---> Running in b1b094a5d342 [2022-10-10T10:02:42.541Z] Removing intermediate container b1b094a5d342 [2022-10-10T10:02:42.541Z] ---> b16213e6eee8 [2022-10-10T10:02:42.541Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T10:02:42.814Z] ---> 245be8d68969 [2022-10-10T10:02:42.814Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T10:02:42.814Z] ---> Running in a339d9808be5 [2022-10-10T10:02:43.382Z] Removing intermediate container a339d9808be5 [2022-10-10T10:02:43.382Z] ---> 45ccb6d27474 [2022-10-10T10:02:43.382Z] Step 12/25 : COPY . . [2022-10-10T10:02:44.033Z] ---> 089da4c2e09e [2022-10-10T10:02:44.033Z] Step 13/25 : RUN $MAKE [2022-10-10T10:02:44.033Z] ---> Running in cae9fe45ecc4 [2022-10-10T10:02:44.291Z] 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-10T10:03:06.211Z] Removing intermediate container cae9fe45ecc4 [2022-10-10T10:03:06.211Z] ---> fe20c4237f76 [2022-10-10T10:03:06.211Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T10:03:06.211Z] 3.16: Pulling from library/alpine [2022-10-10T10:03:06.211Z] 213ec9aee27d: Pulling fs layer [2022-10-10T10:03:06.211Z] 213ec9aee27d: Verifying Checksum [2022-10-10T10:03:06.211Z] 213ec9aee27d: Download complete [2022-10-10T10:03:06.211Z] 213ec9aee27d: Pull complete [2022-10-10T10:03:06.211Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T10:03:06.211Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T10:03:06.211Z] ---> 9c6f07244728 [2022-10-10T10:03:06.211Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T10:03:06.211Z] ---> Running in 081ba0c09f8e [2022-10-10T10:03:06.476Z] Removing intermediate container 081ba0c09f8e [2022-10-10T10:03:06.476Z] ---> aac845d48cd8 [2022-10-10T10:03:06.476Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T10:03:06.476Z] ---> Running in 826ef0c48b9d [2022-10-10T10:03:06.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T10:03:06.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T10:03:06.992Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T10:03:06.992Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T10:03:06.992Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T10:03:06.992Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T10:03:06.992Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T10:03:06.992Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T10:03:06.992Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T10:03:06.992Z] OK: 8 MiB in 20 packages [2022-10-10T10:03:07.558Z] Removing intermediate container 826ef0c48b9d [2022-10-10T10:03:07.558Z] ---> 49e3284e03f0 [2022-10-10T10:03:07.558Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T10:03:08.151Z] ---> 0c2499731f51 [2022-10-10T10:03:08.151Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T10:03:08.410Z] ---> 5ca84d08ba16 [2022-10-10T10:03:08.410Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T10:03:08.410Z] ---> ede683bdf234 [2022-10-10T10:03:08.410Z] Step 20/25 : EXPOSE 59982 [2022-10-10T10:03:08.410Z] ---> Running in a94fc8dfb2ca [2022-10-10T10:03:08.410Z] Removing intermediate container a94fc8dfb2ca [2022-10-10T10:03:08.410Z] ---> cec5642c3586 [2022-10-10T10:03:08.410Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T10:03:08.410Z] ---> Running in 311ad533da43 [2022-10-10T10:03:08.668Z] Removing intermediate container 311ad533da43 [2022-10-10T10:03:08.668Z] ---> dac7c7a85098 [2022-10-10T10:03:08.668Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T10:03:08.668Z] ---> Running in 54538845aa65 [2022-10-10T10:03:08.668Z] Removing intermediate container 54538845aa65 [2022-10-10T10:03:08.668Z] ---> 304a87f25057 [2022-10-10T10:03:08.668Z] Step 23/25 : LABEL arch=amd64 [2022-10-10T10:03:08.668Z] ---> Running in ede511deda7b [2022-10-10T10:03:08.668Z] Removing intermediate container ede511deda7b [2022-10-10T10:03:08.668Z] ---> 31b2a8c483b1 [2022-10-10T10:03:08.668Z] Step 24/25 : LABEL git_sha=5a5bec209c001ef805cced8cf97d679615032732 [2022-10-10T10:03:08.927Z] ---> Running in 059786e4327e [2022-10-10T10:03:08.927Z] Removing intermediate container 059786e4327e [2022-10-10T10:03:08.927Z] ---> 26db7766ee6e [2022-10-10T10:03:08.927Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T10:03:08.927Z] ---> Running in b6ec579369e5 [2022-10-10T10:03:08.927Z] Removing intermediate container b6ec579369e5 [2022-10-10T10:03:08.927Z] ---> 9bf44614a2d0 [2022-10-10T10:03:08.927Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T10:03:08.927Z] Successfully built 9bf44614a2d0 [2022-10-10T10:03:08.927Z] 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-10T10:03:09.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T10:03:09.351Z] [2022-10-10T10:03:09.351Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T10:03:09.644Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T10:03:09.644Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T10:03:09.644Z] 5eb5b503b376: Pulling fs layer [2022-10-10T10:03:09.644Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T10:03:09.644Z] ec43610c2a17: Pulling fs layer [2022-10-10T10:03:09.644Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T10:03:09.644Z] 33b1e0a273af: Pulling fs layer [2022-10-10T10:03:09.644Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T10:03:09.644Z] 2f39f015ded8: Pulling fs layer [2022-10-10T10:03:09.644Z] 3a2ae6a8a46f: Waiting [2022-10-10T10:03:09.644Z] 33b1e0a273af: Waiting [2022-10-10T10:03:09.644Z] 5d3b04190fa2: Waiting [2022-10-10T10:03:09.644Z] 2f39f015ded8: Waiting [2022-10-10T10:03:09.644Z] 5c69ac0246d0: Verifying Checksum [2022-10-10T10:03:09.644Z] 5c69ac0246d0: Download complete [2022-10-10T10:03:09.644Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T10:03:09.644Z] 3a2ae6a8a46f: Download complete [2022-10-10T10:03:09.644Z] 33b1e0a273af: Verifying Checksum [2022-10-10T10:03:09.644Z] 33b1e0a273af: Download complete [2022-10-10T10:03:09.903Z] 5d3b04190fa2: Verifying Checksum [2022-10-10T10:03:09.903Z] 5d3b04190fa2: Download complete [2022-10-10T10:03:09.903Z] ec43610c2a17: Verifying Checksum [2022-10-10T10:03:09.903Z] ec43610c2a17: Download complete [2022-10-10T10:03:09.903Z] 5eb5b503b376: Verifying Checksum [2022-10-10T10:03:09.903Z] 5eb5b503b376: Download complete [2022-10-10T10:03:10.470Z] 2f39f015ded8: Download complete [2022-10-10T10:03:11.036Z] 5eb5b503b376: Pull complete [2022-10-10T10:03:11.293Z] 5c69ac0246d0: Pull complete [2022-10-10T10:03:11.857Z] ec43610c2a17: Pull complete [2022-10-10T10:03:11.857Z] 3a2ae6a8a46f: Pull complete [2022-10-10T10:03:12.115Z] 33b1e0a273af: Pull complete [2022-10-10T10:03:12.115Z] 5d3b04190fa2: Pull complete [2022-10-10T10:03:16.296Z] 2f39f015ded8: Pull complete [2022-10-10T10:03:16.296Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T10:03:16.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T10:03:16.296Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T10:03:16.373Z] prd-ubuntu20.04-docker-8c-8g-7497 does not seem to be running inside a container [2022-10-10T10:03:16.405Z] $ 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-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T10:03:19.881Z] $ docker top 9ddadc6119e8ebf2fdbe3fd36388cc3a6af0fb245a98ba451a5c1e1f8055e4b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T10:03:20.269Z] ---> job-cost.sh [2022-10-10T10:03:20.270Z] lf-activate-venv: SKIPPING [2022-10-10T10:03:20.270Z] INFO: No Stack... [2022-10-10T10:03:20.837Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T10:03:21.095Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T10:03:21.385Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives/cost.csv [2022-10-10T10:03:21.385Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T10:03:21.397Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-421-2-stack-cost] [2022-10-10T10:03:21.403Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-421-2-stack-cost] did not exist. Created. [2022-10-10T10:03:21.403Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-421-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T10:03:21.711Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T10:03:21.734Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T10:03:21.741Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-421-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T10:03:21.759Z] $ docker stop --time=1 9ddadc6119e8ebf2fdbe3fd36388cc3a6af0fb245a98ba451a5c1e1f8055e4b7 [2022-10-10T10:03:22.914Z] $ docker rm -f 9ddadc6119e8ebf2fdbe3fd36388cc3a6af0fb245a98ba451a5c1e1f8055e4b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T10:04:25.155Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7501 in /w/workspace/gexfoundry_device-mqtt-go_PR-421 [Pipeline] { [Pipeline] ws [2022-10-10T10:04:25.168Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-10-10T10:04:25.207Z] Selected Git installation does not exist. Using Default [2022-10-10T10:04:25.208Z] The recommended git tool is: NONE [2022-10-10T10:04:31.773Z] using credential edgex-jenkins-ssh [2022-10-10T10:04:31.793Z] Cloning the remote Git repository [2022-10-10T10:04:31.856Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T10:04:31.971Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-10-10T10:04:32.183Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T10:04:32.184Z] > git --version # timeout=10 [2022-10-10T10:04:32.223Z] > git --version # 'git version 2.25.1' [2022-10-10T10:04:32.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T10:04:32.302Z] Verifying host key using known hosts file [2022-10-10T10:04:32.580Z] 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-10T10:04:32.597Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T10:04:33.883Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T10:04:33.905Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T10:04:35.053Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T10:04:35.097Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T10:04:35.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T10:04:35.103Z] Verifying host key using known hosts file [2022-10-10T10:04:35.111Z] 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-10T10:04:35.125Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T10:04:35.691Z] Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit 5a5bec209c001ef805cced8cf97d679615032732 [2022-10-10T10:04:35.950Z] Merge succeeded, producing 5a5bec209c001ef805cced8cf97d679615032732 [2022-10-10T10:04:35.950Z] Checking out Revision 5a5bec209c001ef805cced8cf97d679615032732 (PR-421) [2022-10-10T10:04:36.547Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2022-10-10T10:04:35.713Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T10:04:35.739Z] > git checkout -f 5a5bec209c001ef805cced8cf97d679615032732 # timeout=10 [2022-10-10T10:04:35.835Z] > git remote # timeout=10 [2022-10-10T10:04:35.861Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T10:04:35.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T10:04:35.886Z] Verifying host key using known hosts file [2022-10-10T10:04:35.890Z] 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-10T10:04:35.900Z] > git merge 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 [2022-10-10T10:04:35.930Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T10:04:35.958Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T10:04:35.975Z] > git checkout -f 5a5bec209c001ef805cced8cf97d679615032732 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T10:04:37.415Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T10:04:37.415Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T10:04:37.415Z] Dload Upload Total Spent Left Speed [2022-10-10T10:04:37.415Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 153k 0 --:--:-- --:--:-- --:--:-- 153k [Pipeline] sh [2022-10-10T10:04:38.013Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T10:04:38.349Z] + sudo tee /etc/docker/daemon.new [2022-10-10T10:04:38.349Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T10:04:38.349Z] { [2022-10-10T10:04:38.349Z] "registry-mirrors": [ [2022-10-10T10:04:38.349Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T10:04:38.349Z] ], [2022-10-10T10:04:38.349Z] "bip": "10.250.0.254/24", [2022-10-10T10:04:38.349Z] "hosts": [ [2022-10-10T10:04:38.349Z] "tcp://0.0.0.0:5555", [2022-10-10T10:04:38.349Z] "unix:///var/run/docker.sock" [2022-10-10T10:04:38.349Z] ], [2022-10-10T10:04:38.349Z] "mtu": 1458, [2022-10-10T10:04:38.349Z] "selinux-enabled": true, [2022-10-10T10:04:38.349Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T10:04:38.349Z] } [Pipeline] sh [2022-10-10T10:04:38.688Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T10:04:39.035Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T10:04:57.324Z] provisioning config files... [2022-10-10T10:04:57.353Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config15707058466600366471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T10:04:57.716Z] ---> docker-login.sh [2022-10-10T10:04:57.717Z] nexus3.edgexfoundry.org:10001 [2022-10-10T10:04:58.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:04:58.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:04:58.307Z] Configure a credential helper to remove this warning. See [2022-10-10T10:04:58.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:04:58.307Z] [2022-10-10T10:04:58.307Z] Login Succeeded [2022-10-10T10:04:58.307Z] nexus3.edgexfoundry.org:10002 [2022-10-10T10:04:58.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:04:58.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:04:58.854Z] Configure a credential helper to remove this warning. See [2022-10-10T10:04:58.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:04:58.854Z] [2022-10-10T10:04:58.854Z] Login Succeeded [2022-10-10T10:04:58.854Z] nexus3.edgexfoundry.org:10003 [2022-10-10T10:04:59.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:04:59.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:04:59.124Z] Configure a credential helper to remove this warning. See [2022-10-10T10:04:59.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:04:59.124Z] [2022-10-10T10:04:59.124Z] Login Succeeded [2022-10-10T10:04:59.124Z] nexus3.edgexfoundry.org:10004 [2022-10-10T10:04:59.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:04:59.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:04:59.396Z] Configure a credential helper to remove this warning. See [2022-10-10T10:04:59.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:04:59.396Z] [2022-10-10T10:04:59.396Z] Login Succeeded [2022-10-10T10:04:59.396Z] docker.io [2022-10-10T10:04:59.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T10:05:00.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T10:05:00.257Z] Configure a credential helper to remove this warning. See [2022-10-10T10:05:00.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T10:05:00.257Z] [2022-10-10T10:05:00.257Z] Login Succeeded [2022-10-10T10:05:00.257Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T10:05:00.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T10:05:00.446Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T10:05:00.456Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T10:05:00.462Z] ========================================================= [2022-10-10T10:05:00.462Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T10:05:00.462Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T10:05:00.804Z] + 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-10T10:05:01.074Z] Sending build context to Docker daemon 3.184MB [2022-10-10T10:05:01.074Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T10:05:01.074Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T10:05:01.360Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T10:05:01.360Z] b3c136eddcbf: Pulling fs layer [2022-10-10T10:05:01.360Z] c0a3192eca97: Pulling fs layer [2022-10-10T10:05:01.360Z] a050256f5b6f: Pulling fs layer [2022-10-10T10:05:01.360Z] 656be50a0ddc: Pulling fs layer [2022-10-10T10:05:01.360Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T10:05:01.360Z] f607e4fc86c3: Pulling fs layer [2022-10-10T10:05:01.360Z] 4d572c569a2c: Pulling fs layer [2022-10-10T10:05:01.360Z] fcf976331f73: Pulling fs layer [2022-10-10T10:05:01.360Z] 2bbca73fdf42: Waiting [2022-10-10T10:05:01.360Z] f607e4fc86c3: Waiting [2022-10-10T10:05:01.360Z] 4d572c569a2c: Waiting [2022-10-10T10:05:01.360Z] fcf976331f73: Waiting [2022-10-10T10:05:01.360Z] 656be50a0ddc: Waiting [2022-10-10T10:05:01.360Z] a050256f5b6f: Download complete [2022-10-10T10:05:01.360Z] c0a3192eca97: Download complete [2022-10-10T10:05:01.360Z] 2bbca73fdf42: Download complete [2022-10-10T10:05:01.360Z] f607e4fc86c3: Verifying Checksum [2022-10-10T10:05:01.360Z] f607e4fc86c3: Download complete [2022-10-10T10:05:01.360Z] b3c136eddcbf: Download complete [2022-10-10T10:05:02.345Z] b3c136eddcbf: Pull complete [2022-10-10T10:05:02.616Z] fcf976331f73: Verifying Checksum [2022-10-10T10:05:02.616Z] fcf976331f73: Download complete [2022-10-10T10:05:02.884Z] c0a3192eca97: Pull complete [2022-10-10T10:05:03.478Z] a050256f5b6f: Pull complete [2022-10-10T10:05:03.745Z] 4d572c569a2c: Verifying Checksum [2022-10-10T10:05:03.745Z] 4d572c569a2c: Download complete [2022-10-10T10:05:04.332Z] 656be50a0ddc: Verifying Checksum [2022-10-10T10:05:04.332Z] 656be50a0ddc: Download complete [2022-10-10T10:05:16.673Z] 656be50a0ddc: Pull complete [2022-10-10T10:05:16.673Z] 2bbca73fdf42: Pull complete [2022-10-10T10:05:16.673Z] f607e4fc86c3: Pull complete [2022-10-10T10:05:23.368Z] 4d572c569a2c: Pull complete [2022-10-10T10:05:25.325Z] fcf976331f73: Pull complete [2022-10-10T10:05:25.325Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T10:05:25.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T10:05:25.325Z] ---> 3970a7415f9e [2022-10-10T10:05:25.325Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T10:05:27.418Z] ---> Running in 92dc7f435fbd [2022-10-10T10:05:27.418Z] Removing intermediate container 92dc7f435fbd [2022-10-10T10:05:27.418Z] ---> 277a45c86a21 [2022-10-10T10:05:27.418Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T10:05:29.382Z] ---> Running in 4932a3feb091 [2022-10-10T10:05:29.382Z] Removing intermediate container 4932a3feb091 [2022-10-10T10:05:29.382Z] ---> ed7dd7b0e274 [2022-10-10T10:05:29.382Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T10:05:29.382Z] ---> Running in ccb400e3f9d1 [2022-10-10T10:05:29.382Z] Removing intermediate container ccb400e3f9d1 [2022-10-10T10:05:29.382Z] ---> d1b777cc8343 [2022-10-10T10:05:29.382Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T10:05:29.382Z] ---> Running in 5ce097846a4f [2022-10-10T10:05:29.382Z] Removing intermediate container 5ce097846a4f [2022-10-10T10:05:29.382Z] ---> f1cdfc0c1bc1 [2022-10-10T10:05:29.383Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T10:05:29.383Z] ---> Running in 187af23a9f1e [2022-10-10T10:05:31.342Z] Removing intermediate container 187af23a9f1e [2022-10-10T10:05:31.342Z] ---> 532d26505a91 [2022-10-10T10:05:31.342Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T10:05:31.342Z] ---> Running in 439fd38b6ffc [2022-10-10T10:05:32.309Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T10:05:33.273Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T10:05:34.692Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T10:05:34.692Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T10:05:34.692Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T10:05:34.965Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T10:05:34.965Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T10:05:34.965Z] OK: 226 MiB in 55 packages [2022-10-10T10:05:36.409Z] Removing intermediate container 439fd38b6ffc [2022-10-10T10:05:36.409Z] ---> 61adbf053e24 [2022-10-10T10:05:36.409Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T10:05:36.409Z] ---> Running in 084a0d240385 [2022-10-10T10:05:37.003Z] Removing intermediate container 084a0d240385 [2022-10-10T10:05:37.003Z] ---> 48449c5ed4f1 [2022-10-10T10:05:37.003Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T10:05:37.590Z] ---> 87ea7b6a8552 [2022-10-10T10:05:37.590Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T10:05:37.590Z] ---> Running in 07cdf5812418 [2022-10-10T10:06:34.068Z] Removing intermediate container 07cdf5812418 [2022-10-10T10:06:34.068Z] ---> a5416c48806f [2022-10-10T10:06:34.068Z] Step 12/13 : COPY . . [2022-10-10T10:06:34.068Z] ---> 804b38784a3b [2022-10-10T10:06:34.068Z] Step 13/13 : RUN $MAKE [2022-10-10T10:06:34.068Z] ---> Running in b0fbdf528aa9 [2022-10-10T10:06:34.068Z] noop [2022-10-10T10:06:34.068Z] Removing intermediate container b0fbdf528aa9 [2022-10-10T10:06:34.068Z] ---> 06f68c22ed7e [2022-10-10T10:06:34.068Z] Successfully built 06f68c22ed7e [2022-10-10T10:06:34.068Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T10:06:34.445Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T10:06:34.445Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T10:06:34.665Z] prd-ubuntu20.04-docker-arm64-4c-16g-7501 does not seem to be running inside a container [2022-10-10T10:06:34.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T10:06:36.149Z] $ docker top 2101c6968cbbd40f3e79d787a3dcbe19ceea0965fe098a3f57aae99cc62ad8b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T10:06:37.010Z] + go version [2022-10-10T10:06:37.010Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T10:06:37.042Z] $ docker stop --time=1 2101c6968cbbd40f3e79d787a3dcbe19ceea0965fe098a3f57aae99cc62ad8b5 [2022-10-10T10:06:38.739Z] $ docker rm -f 2101c6968cbbd40f3e79d787a3dcbe19ceea0965fe098a3f57aae99cc62ad8b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T10:06:39.298Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T10:06:39.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T10:06:39.489Z] prd-ubuntu20.04-docker-arm64-4c-16g-7501 does not seem to be running inside a container [2022-10-10T10:06:39.575Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T10:06:40.871Z] $ docker top c045f2ee19f50fc8e12cff641ad8054c552d8b1dd07658ae7ec53dcf71c09b2b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T10:06:41.721Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-10T10:06:42.223Z] + make test [2022-10-10T10:06:42.223Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T10:06:44.187Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T10:08:20.889Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T10:08:24.252Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 21.8% of statements [2022-10-10T10:08:24.252Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T10:08:24.520Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T10:08:24.520Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T10:08:56.780Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T10:08:56.780Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T10:08:56.780Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T10:08:56.801Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T10:08:56.824Z] $ docker stop --time=1 c045f2ee19f50fc8e12cff641ad8054c552d8b1dd07658ae7ec53dcf71c09b2b [2022-10-10T10:08:58.918Z] $ docker rm -f c045f2ee19f50fc8e12cff641ad8054c552d8b1dd07658ae7ec53dcf71c09b2b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T10:09:00.068Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T10:09:00.085Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T10:09:00.641Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T10:09:01.045Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T10:09:01.370Z] + ls -al . [2022-10-10T10:09:01.370Z] total 180 [2022-10-10T10:09:01.370Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 10:06 . [2022-10-10T10:09:01.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:04 .. [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 10:04 .dockerignore [2022-10-10T10:09:01.370Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 10:04 .git [2022-10-10T10:09:01.370Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:04 .github [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 10:04 .gitignore [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 10:04 .golangci.yml [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 10:04 Attribution.txt [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 10:04 CHANGELOG.md [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 10:04 Dockerfile [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 10:04 GOVERNANCE.md [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 10:04 Jenkinsfile [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 10:04 LICENSE [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 10:04 Makefile [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 10:04 OWNERS.md [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 10:04 README.md [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 10:01 VERSION [2022-10-10T10:09:01.370Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:04 bin [2022-10-10T10:09:01.370Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:04 cmd [2022-10-10T10:09:01.370Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 10:08 coverage.out [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 10:04 go.mod [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 10:04 go.sum [2022-10-10T10:09:01.370Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:04 internal [2022-10-10T10:09:01.370Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:04 mock [2022-10-10T10:09:01.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:04 snap [2022-10-10T10:09:01.370Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 10:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T10:09:01.732Z] + 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=5a5bec209c001ef805cced8cf97d679615032732 --label arch=arm64 --label version=0.0.0 . [2022-10-10T10:09:02.001Z] Sending build context to Docker daemon 3.203MB [2022-10-10T10:09:02.001Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T10:09:02.001Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T10:09:02.001Z] ---> 06f68c22ed7e [2022-10-10T10:09:02.001Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T10:09:02.269Z] ---> Running in a24bf54eec91 [2022-10-10T10:09:02.858Z] Removing intermediate container a24bf54eec91 [2022-10-10T10:09:02.858Z] ---> ce2d89c5b23a [2022-10-10T10:09:02.858Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T10:09:02.858Z] ---> Running in 57ee7ca091be [2022-10-10T10:09:03.127Z] Removing intermediate container 57ee7ca091be [2022-10-10T10:09:03.127Z] ---> 3cf417eaa98e [2022-10-10T10:09:03.127Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T10:09:03.399Z] ---> Running in 10bbb945c67d [2022-10-10T10:09:03.668Z] Removing intermediate container 10bbb945c67d [2022-10-10T10:09:03.668Z] ---> 4661314f72f1 [2022-10-10T10:09:03.668Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T10:09:03.946Z] ---> Running in d37ea83f2a84 [2022-10-10T10:09:04.217Z] Removing intermediate container d37ea83f2a84 [2022-10-10T10:09:04.217Z] ---> 8760a37a9037 [2022-10-10T10:09:04.217Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T10:09:04.217Z] ---> Running in 1c9505a9e8ff [2022-10-10T10:09:06.174Z] Removing intermediate container 1c9505a9e8ff [2022-10-10T10:09:06.174Z] ---> 5fa6f27244a5 [2022-10-10T10:09:06.174Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T10:09:06.450Z] ---> Running in 9f21c2628e4a [2022-10-10T10:09:07.863Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T10:09:08.447Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T10:09:09.873Z] OK: 226 MiB in 55 packages [2022-10-10T10:09:10.840Z] Removing intermediate container 9f21c2628e4a [2022-10-10T10:09:10.840Z] ---> cfe9e4023a71 [2022-10-10T10:09:10.840Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T10:09:10.840Z] ---> Running in 81de7c8e11eb [2022-10-10T10:09:11.432Z] Removing intermediate container 81de7c8e11eb [2022-10-10T10:09:11.432Z] ---> cd11ab6cc50b [2022-10-10T10:09:11.432Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T10:09:12.021Z] ---> 5c5cd4c5a6f6 [2022-10-10T10:09:12.021Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T10:09:12.021Z] ---> Running in 27cdf717b2ef [2022-10-10T10:09:16.293Z] Removing intermediate container 27cdf717b2ef [2022-10-10T10:09:16.293Z] ---> 984f32775921 [2022-10-10T10:09:16.293Z] Step 12/25 : COPY . . [2022-10-10T10:09:16.902Z] ---> e6885d7bd2ee [2022-10-10T10:09:16.902Z] Step 13/25 : RUN $MAKE [2022-10-10T10:09:16.902Z] ---> Running in 1a6cd36bb590 [2022-10-10T10:09:18.313Z] 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-10T10:11:55.101Z] Removing intermediate container 1a6cd36bb590 [2022-10-10T10:11:55.101Z] ---> 6f5f429afb02 [2022-10-10T10:11:55.101Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T10:11:55.685Z] 3.16: Pulling from library/alpine [2022-10-10T10:11:55.952Z] 9b18e9b68314: Pulling fs layer [2022-10-10T10:11:57.365Z] 9b18e9b68314: Verifying Checksum [2022-10-10T10:11:57.365Z] 9b18e9b68314: Download complete [2022-10-10T10:11:57.631Z] 9b18e9b68314: Pull complete [2022-10-10T10:11:57.632Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T10:11:57.632Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T10:11:57.632Z] ---> a6215f271958 [2022-10-10T10:11:57.632Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T10:11:57.900Z] ---> Running in fb050851210c [2022-10-10T10:11:58.168Z] Removing intermediate container fb050851210c [2022-10-10T10:11:58.168Z] ---> 12bb0e491870 [2022-10-10T10:11:58.168Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T10:11:58.168Z] ---> Running in 6103325e6b12 [2022-10-10T10:11:59.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T10:11:59.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T10:12:00.362Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T10:12:00.362Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T10:12:00.362Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T10:12:00.362Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T10:12:00.628Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T10:12:00.628Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T10:12:00.628Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T10:12:00.628Z] OK: 8 MiB in 20 packages [2022-10-10T10:12:01.585Z] Removing intermediate container 6103325e6b12 [2022-10-10T10:12:01.585Z] ---> f4ca964cedf2 [2022-10-10T10:12:01.585Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T10:12:03.529Z] ---> 92beff6d4484 [2022-10-10T10:12:03.529Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T10:12:03.797Z] ---> ca29679dbcc4 [2022-10-10T10:12:03.797Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T10:12:04.062Z] ---> c223b352bf2e [2022-10-10T10:12:04.062Z] Step 20/25 : EXPOSE 59982 [2022-10-10T10:12:04.337Z] ---> Running in c202e832b36f [2022-10-10T10:12:04.605Z] Removing intermediate container c202e832b36f [2022-10-10T10:12:04.605Z] ---> 64588138daec [2022-10-10T10:12:04.605Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T10:12:04.605Z] ---> Running in 726b8a8a6040 [2022-10-10T10:12:04.871Z] Removing intermediate container 726b8a8a6040 [2022-10-10T10:12:04.871Z] ---> 625af9748741 [2022-10-10T10:12:04.871Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T10:12:04.871Z] ---> Running in 326faf4db3ba [2022-10-10T10:12:05.221Z] Removing intermediate container 326faf4db3ba [2022-10-10T10:12:05.221Z] ---> f361f56f9151 [2022-10-10T10:12:05.221Z] Step 23/25 : LABEL arch=arm64 [2022-10-10T10:12:05.221Z] ---> Running in 0d6e22ee14e3 [2022-10-10T10:12:05.493Z] Removing intermediate container 0d6e22ee14e3 [2022-10-10T10:12:05.493Z] ---> 18f3de3f9008 [2022-10-10T10:12:05.493Z] Step 24/25 : LABEL git_sha=5a5bec209c001ef805cced8cf97d679615032732 [2022-10-10T10:12:05.776Z] ---> Running in eaf27b6768e8 [2022-10-10T10:12:06.049Z] Removing intermediate container eaf27b6768e8 [2022-10-10T10:12:06.049Z] ---> c5d949efcdae [2022-10-10T10:12:06.049Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T10:12:06.049Z] ---> Running in 300fca26c04a [2022-10-10T10:12:06.318Z] Removing intermediate container 300fca26c04a [2022-10-10T10:12:06.319Z] ---> f883f703b3a3 [2022-10-10T10:12:06.319Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T10:12:06.591Z] Successfully built f883f703b3a3 [2022-10-10T10:12:06.591Z] 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-10T10:12:07.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T10:12:07.051Z] [2022-10-10T10:12:07.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T10:12:07.415Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T10:12:07.415Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T10:12:07.415Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T10:12:07.415Z] 04944245beec: Pulling fs layer [2022-10-10T10:12:07.415Z] 699f458cf7ca: Pulling fs layer [2022-10-10T10:12:07.415Z] 765212b225bb: Pulling fs layer [2022-10-10T10:12:07.415Z] f23df028b6ca: Pulling fs layer [2022-10-10T10:12:07.415Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T10:12:07.415Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T10:12:07.415Z] f23df028b6ca: Waiting [2022-10-10T10:12:07.415Z] d65c8cfc05b1: Waiting [2022-10-10T10:12:07.415Z] 765212b225bb: Waiting [2022-10-10T10:12:07.415Z] 2437ff75d9bd: Waiting [2022-10-10T10:12:07.685Z] 04944245beec: Verifying Checksum [2022-10-10T10:12:07.685Z] 04944245beec: Download complete [2022-10-10T10:12:07.685Z] 765212b225bb: Verifying Checksum [2022-10-10T10:12:07.685Z] 765212b225bb: Download complete [2022-10-10T10:12:07.685Z] f23df028b6ca: Verifying Checksum [2022-10-10T10:12:07.685Z] f23df028b6ca: Download complete [2022-10-10T10:12:07.685Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T10:12:07.685Z] d65c8cfc05b1: Download complete [2022-10-10T10:12:07.955Z] 699f458cf7ca: Verifying Checksum [2022-10-10T10:12:08.225Z] 8998bd30e6a1: Verifying Checksum [2022-10-10T10:12:08.225Z] 8998bd30e6a1: Download complete [2022-10-10T10:12:10.815Z] 2437ff75d9bd: Download complete [2022-10-10T10:12:12.225Z] 8998bd30e6a1: Pull complete [2022-10-10T10:12:12.809Z] 04944245beec: Pull complete [2022-10-10T10:12:14.216Z] 699f458cf7ca: Pull complete [2022-10-10T10:12:14.216Z] 765212b225bb: Pull complete [2022-10-10T10:12:15.178Z] f23df028b6ca: Pull complete [2022-10-10T10:12:15.178Z] d65c8cfc05b1: Pull complete [2022-10-10T10:12:30.163Z] 2437ff75d9bd: Pull complete [2022-10-10T10:12:30.163Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T10:12:30.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T10:12:30.163Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T10:12:30.350Z] prd-ubuntu20.04-docker-arm64-4c-16g-7501 does not seem to be running inside a container [2022-10-10T10:12:30.437Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-10T10:12:33.232Z] $ docker top 4ea4f641dabf15d4837d4c8ed261af71c53b9a93dcb09d7ebb23c4a5d14ee801 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T10:12:34.086Z] ---> job-cost.sh [2022-10-10T10:12:34.086Z] lf-activate-venv: SKIPPING [2022-10-10T10:12:34.086Z] INFO: No Stack... [2022-10-10T10:12:34.669Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T10:12:35.254Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T10:12:35.893Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2022-10-10T10:12:35.893Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T10:12:35.962Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-421-2-stack-cost] [2022-10-10T10:12:35.968Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-421-2-stack-cost] did not exist. Created. [2022-10-10T10:12:35.968Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-421-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T10:12:36.305Z] /w/workspace/device-mqtt-go/2@tmp/durable-b2be29cf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T10:12:37.222Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T10:12:37.244Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T10:12:37.288Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T10:12:37.299Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-421-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T10:12:37.330Z] $ docker stop --time=1 4ea4f641dabf15d4837d4c8ed261af71c53b9a93dcb09d7ebb23c4a5d14ee801 [2022-10-10T10:12:38.853Z] $ docker rm -f 4ea4f641dabf15d4837d4c8ed261af71c53b9a93dcb09d7ebb23c4a5d14ee801 [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-10T10:12:39.189Z] provisioning config files... [2022-10-10T10:12:39.196Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/config13339456266064214456tmp [Pipeline] { [Pipeline] sh [2022-10-10T10:12:39.486Z] + set +x [2022-10-10T10:12:39.486Z] + curl -s https://codecov.io/bash [2022-10-10T10:12:39.486Z] + bash -s -- [2022-10-10T10:12:39.486Z] [2022-10-10T10:12:39.486Z] _____ _ [2022-10-10T10:12:39.486Z] / ____| | | [2022-10-10T10:12:39.486Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T10:12:39.486Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T10:12:39.486Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T10:12:39.486Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T10:12:39.486Z] Bash-1.0.6 [2022-10-10T10:12:39.486Z] [2022-10-10T10:12:39.486Z] [2022-10-10T10:12:39.486Z] ==> git version 2.25.1 found [2022-10-10T10:12:39.486Z] ==> 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-10T10:12:39.486Z] Release-Date: 2020-01-08 [2022-10-10T10:12:39.486Z] 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-10T10:12:39.486Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T10:12:39.486Z] ==> Jenkins CI detected. [2022-10-10T10:12:39.486Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-421 [2022-10-10T10:12:39.486Z] project root: . [2022-10-10T10:12:39.486Z] --> token set from env [2022-10-10T10:12:39.486Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T10:12:39.486Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T10:12:39.486Z] ==> Python coveragepy not found [2022-10-10T10:12:39.486Z] ==> Searching for coverage reports in: [2022-10-10T10:12:39.486Z] + . [2022-10-10T10:12:39.486Z] -> Found 1 reports [2022-10-10T10:12:39.486Z] ==> Detecting git/mercurial file structure [2022-10-10T10:12:39.486Z] ==> Reading reports [2022-10-10T10:12:39.486Z] + ./coverage.out bytes=17887 [2022-10-10T10:12:39.486Z] ==> Appending adjustments [2022-10-10T10:12:39.486Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T10:12:39.745Z] + Found adjustments [2022-10-10T10:12:39.745Z] ==> Gzipping contents [2022-10-10T10:12:39.745Z] 4.0K /tmp/codecov.q0ou9U.gz [2022-10-10T10:12:39.745Z] ==> Uploading reports [2022-10-10T10:12:39.745Z] url: https://codecov.io [2022-10-10T10:12:39.745Z] query: branch=PR-421&commit=5a5bec209c001ef805cced8cf97d679615032732&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-421%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=421&job=&cmd_args= [2022-10-10T10:12:39.745Z] -> Pinging Codecov [2022-10-10T10:12:39.745Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-421&commit=5a5bec209c001ef805cced8cf97d679615032732&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-421%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=421&job=&cmd_args= [2022-10-10T10:12:40.005Z] -> Uploading to [2022-10-10T10:12:40.005Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/5a5bec209c001ef805cced8cf97d679615032732/e34299f5-6431-4ac3-902c-1d9678d9b266.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T101239Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b1b8040d6fb5554301d2a273dc0ea4fbcb345912349983b196f306b4f3afdde4 [2022-10-10T10:12:40.005Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T10:12:40.005Z] Dload Upload Total Spent Left Speed [2022-10-10T10:12:40.263Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 14450 --:--:-- --:--:-- --:--:-- 14450 [2022-10-10T10:12:40.263Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/5a5bec209c001ef805cced8cf97d679615032732 [Pipeline] } [2022-10-10T10:12:40.270Z] 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-10T10:12:40.919Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives ] [2022-10-10T10:12:40.919Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives [2022-10-10T10:12:40.919Z] total 16 [2022-10-10T10:12:40.919Z] drwxr-xr-x 3 root root 4096 Oct 10 10:03 . [2022-10-10T10:12:40.919Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 10:03 .. [2022-10-10T10:12:40.919Z] drwxr-xr-x 2 root root 4096 Oct 10 10:03 cost [2022-10-10T10:12:40.919Z] -rw-r--r-- 1 root root 86 Oct 10 10:03 cost.csv [2022-10-10T10:12:40.919Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives [2022-10-10T10:12:40.919Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives [2022-10-10T10:12:40.919Z] total 16 [2022-10-10T10:12:40.919Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 10:03 . [2022-10-10T10:12:40.919Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 10:03 .. [2022-10-10T10:12:40.919Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 10:03 cost [2022-10-10T10:12:40.919Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 10 10:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T10:12:41.208Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T10:12:42.063Z] ---> package-listing.sh [2022-10-10T10:12:42.063Z] ++ facter osfamily [2022-10-10T10:12:42.063Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T10:12:42.323Z] + OS_FAMILY=debian [2022-10-10T10:12:42.323Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-421 [2022-10-10T10:12:42.323Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T10:12:42.323Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T10:12:42.323Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T10:12:42.323Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T10:12:42.323Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-421 ']' [2022-10-10T10:12:42.323Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T10:12:42.323Z] + case "${OS_FAMILY}" in [2022-10-10T10:12:42.323Z] + dpkg -l [2022-10-10T10:12:42.323Z] + grep '^ii' [2022-10-10T10:12:42.323Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T10:12:42.323Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T10:12:42.323Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T10:12:42.323Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-421 ']' [2022-10-10T10:12:42.323Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives/ [2022-10-10T10:12:42.323Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives/ [Pipeline] echo [2022-10-10T10:12:42.334Z] 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-421/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T10:12:42.610Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T10:12:43.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T10:12:43.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T10:12:43.233Z] prd-ubuntu20.04-docker-8c-8g-7497 does not seem to be running inside a container [2022-10-10T10:12:43.268Z] $ 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-421/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-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T10:12:43.460Z] $ docker top c32a0960bde4a4e6c7a3b8470285b6afc27b87d81020ccd79d86adc7592205c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T10:12:43.794Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T10:12:44.078Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T10:12:44.362Z] + ls /var/log/sa-host [2022-10-10T10:12:44.362Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T10:12:44.423Z] provisioning config files... [2022-10-10T10:12:44.430Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/config6027717042070345333tmp [Pipeline] { [Pipeline] echo [2022-10-10T10:12:44.443Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T10:12:44.727Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T10:12:44.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T10:12:45.058Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T10:12:45.065Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T10:12:45.347Z] ---> sudo-logs.sh [2022-10-10T10:12:45.347Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T10:12:45.380Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T10:12:45.665Z] ---> job-cost.sh [2022-10-10T10:12:45.665Z] lf-activate-venv: SKIPPING [2022-10-10T10:12:45.665Z] DEBUG: total: 0.2199999988079071 [2022-10-10T10:12:45.665Z] INFO: Retrieving Stack Cost... [2022-10-10T10:12:46.232Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T10:12:46.490Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T10:12:46.499Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T10:12:46.778Z] ---> logs-deploy.sh [2022-10-10T10:12:46.778Z] lf-activate-venv: SKIPPING [2022-10-10T10:12:46.778Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-421/2 [2022-10-10T10:12:46.778Z] INFO: archiving workspace using pattern(s): [2022-10-10T10:12:47.714Z] Archives upload complete. [2022-10-10T10:12:47.714Z] INFO: archiving logs to Nexus