Pull request #429 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa87d88a994f5fe2e81ddf427b8127062ba1e917+6b3f84b720025cbd9914345d3acb7d77e6659599 (1541305f852a54360ac15a5c6b0df9a0f71100ab) 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-ssh5542332815938054685.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4188809681836455811.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9720210637107469758.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3270000264185469562.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1649755751484441416.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10262853775069070488.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8996 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [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-429 # 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/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6b3f84b720025cbd9914345d3acb7d77e6659599 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 Merge succeeded, producing fa87d88a994f5fe2e81ddf427b8127062ba1e917 Checking out Revision fa87d88a994f5fe2e81ddf427b8127062ba1e917 (PR-429) Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T01:49:55.262Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # 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 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T01:49:55.451Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T01:49:55.548Z] ========================================================= [2022-10-24T01:49:55.548Z] EdgeX Global Pipelines Version Info [2022-10-24T01:49:55.548Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:49:56.288Z] ------------------- [2022-10-24T01:49:56.288Z] stable info: [2022-10-24T01:49:56.288Z] ------------------- [2022-10-24T01:49:56.288Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T01:49:56.288Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T01:49:56.288Z] Message: update stable to v1.0.243 [2022-10-24T01:49:56.857Z] ------------------- [2022-10-24T01:49:56.857Z] experimental info: [2022-10-24T01:49:56.857Z] ------------------- [2022-10-24T01:49:56.857Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T01:49:56.857Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T01:49:56.857Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T01:49:57.187Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-24T01:49:57.226Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-24T01:49:57.272Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T01:49:57.314Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T01:49:57.351Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T01:49:57.389Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T01:49:57.426Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T01:49:57.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T01:49:57.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T01:49:57.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T01:49:57.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T01:49:57.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-24T01:49:57.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T01:49:57.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T01:49:57.735Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T01:49:57.779Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T01:49:57.819Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T01:49:57.854Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T01:49:57.887Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T01:49:57.927Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T01:49:57.966Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-24T01:49:58.007Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-24T01:49:58.046Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T01:49:58.086Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T01:49:58.124Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T01:49:58.161Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T01:49:58.203Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T01:49:58.240Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo [2022-10-24T01:49:58.280Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo [2022-10-24T01:49:58.312Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo [2022-10-24T01:49:58.350Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa87d88a994f5fe2e81ddf427b8127062ba1e917 [Pipeline] echo [2022-10-24T01:49:58.383Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa87d88 [Pipeline] echo [2022-10-24T01:49:58.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T01:49:58.526Z] provisioning config files... [2022-10-24T01:49:58.552Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config3915904484646854905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:49:58.900Z] ---> docker-login.sh [2022-10-24T01:49:58.900Z] nexus3.edgexfoundry.org:10001 [2022-10-24T01:49:59.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:49:59.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:49:59.422Z] Configure a credential helper to remove this warning. See [2022-10-24T01:49:59.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:49:59.422Z] [2022-10-24T01:49:59.422Z] Login Succeeded [2022-10-24T01:49:59.422Z] nexus3.edgexfoundry.org:10002 [2022-10-24T01:49:59.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:49:59.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:49:59.422Z] Configure a credential helper to remove this warning. See [2022-10-24T01:49:59.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:49:59.422Z] [2022-10-24T01:49:59.422Z] Login Succeeded [2022-10-24T01:49:59.422Z] nexus3.edgexfoundry.org:10003 [2022-10-24T01:49:59.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:49:59.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:49:59.682Z] Configure a credential helper to remove this warning. See [2022-10-24T01:49:59.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:49:59.682Z] [2022-10-24T01:49:59.682Z] Login Succeeded [2022-10-24T01:49:59.682Z] nexus3.edgexfoundry.org:10004 [2022-10-24T01:49:59.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:49:59.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:49:59.682Z] Configure a credential helper to remove this warning. See [2022-10-24T01:49:59.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:49:59.682Z] [2022-10-24T01:49:59.682Z] Login Succeeded [2022-10-24T01:49:59.682Z] docker.io [2022-10-24T01:49:59.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:50:00.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:50:00.201Z] Configure a credential helper to remove this warning. See [2022-10-24T01:50:00.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:50:00.201Z] [2022-10-24T01:50:00.201Z] Login Succeeded [2022-10-24T01:50:00.201Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T01:50:00.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T01:50:00.857Z] + git rev-list -1 --merges fa87d88a994f5fe2e81ddf427b8127062ba1e917~1..fa87d88a994f5fe2e81ddf427b8127062ba1e917 [Pipeline] echo [2022-10-24T01:50:00.908Z] -----------> git rev-list -1 --merges fa87d88a994f5fe2e81ddf427b8127062ba1e917~1..fa87d88a994f5fe2e81ddf427b8127062ba1e917 fa87d88a994f5fe2e81ddf427b8127062ba1e917 [false] [Pipeline] sh [2022-10-24T01:50:01.224Z] + git log --format=format:%s -1 fa87d88a994f5fe2e81ddf427b8127062ba1e917 [Pipeline] echo [2022-10-24T01:50:01.258Z] ========================================================= [2022-10-24T01:50:01.258Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T01:50:01.258Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T01:50:01.695Z] + git log --format=format:%s -1 fa87d88a994f5fe2e81ddf427b8127062ba1e917 [Pipeline] echo [2022-10-24T01:50:01.726Z] [semverPrep] GIT_COMMIT: fa87d88a994f5fe2e81ddf427b8127062ba1e917, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v2 [Pipeline] echo [2022-10-24T01:50:01.753Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T01:50:02.212Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T01:50:02.212Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T01:50:02.212Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T01:50:02.212Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T01:50:02.212Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T01:50:02.212Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T01:50:02.212Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:50:02.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T01:50:02.714Z] [2022-10-24T01:50:02.714Z] 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-24T01:50:03.098Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T01:50:03.098Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T01:50:03.098Z] b85a868b505f: Pulling fs layer [2022-10-24T01:50:03.098Z] e2be974225ed: Pulling fs layer [2022-10-24T01:50:03.098Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T01:50:03.098Z] 988bab9f4d93: Pulling fs layer [2022-10-24T01:50:03.098Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T01:50:03.098Z] 988bab9f4d93: Waiting [2022-10-24T01:50:03.098Z] eaf3925da568: Pulling fs layer [2022-10-24T01:50:03.098Z] bab4dde63d76: Pulling fs layer [2022-10-24T01:50:03.098Z] eaf3925da568: Waiting [2022-10-24T01:50:03.098Z] bde34c3a00c8: Pulling fs layer [2022-10-24T01:50:03.098Z] bab4dde63d76: Waiting [2022-10-24T01:50:03.098Z] b352a97aabf1: Pulling fs layer [2022-10-24T01:50:03.098Z] 4872d77fe225: Pulling fs layer [2022-10-24T01:50:03.098Z] b352a97aabf1: Waiting [2022-10-24T01:50:03.098Z] 4872d77fe225: Waiting [2022-10-24T01:50:03.098Z] 5851b861e8e6: Pulling fs layer [2022-10-24T01:50:03.098Z] e2be974225ed: Verifying Checksum [2022-10-24T01:50:03.098Z] e2be974225ed: Download complete [2022-10-24T01:50:03.098Z] 988bab9f4d93: Verifying Checksum [2022-10-24T01:50:03.098Z] 988bab9f4d93: Download complete [2022-10-24T01:50:03.360Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T01:50:03.360Z] 1469e6f7b9e6: Download complete [2022-10-24T01:50:03.360Z] eaf3925da568: Download complete [2022-10-24T01:50:03.360Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T01:50:03.360Z] 339a4e72a1f5: Download complete [2022-10-24T01:50:03.360Z] bde34c3a00c8: Download complete [2022-10-24T01:50:03.360Z] b85a868b505f: Verifying Checksum [2022-10-24T01:50:03.360Z] b85a868b505f: Download complete [2022-10-24T01:50:03.360Z] 4872d77fe225: Verifying Checksum [2022-10-24T01:50:03.360Z] 4872d77fe225: Download complete [2022-10-24T01:50:03.360Z] 5851b861e8e6: Verifying Checksum [2022-10-24T01:50:03.360Z] 5851b861e8e6: Download complete [2022-10-24T01:50:03.360Z] b352a97aabf1: Verifying Checksum [2022-10-24T01:50:03.360Z] b352a97aabf1: Download complete [2022-10-24T01:50:03.932Z] bab4dde63d76: Verifying Checksum [2022-10-24T01:50:03.932Z] bab4dde63d76: Download complete [2022-10-24T01:50:04.870Z] b85a868b505f: Pull complete [2022-10-24T01:50:04.870Z] e2be974225ed: Pull complete [2022-10-24T01:50:05.439Z] 339a4e72a1f5: Pull complete [2022-10-24T01:50:05.702Z] 988bab9f4d93: Pull complete [2022-10-24T01:50:06.275Z] 1469e6f7b9e6: Pull complete [2022-10-24T01:50:06.275Z] eaf3925da568: Pull complete [2022-10-24T01:50:08.178Z] bab4dde63d76: Pull complete [2022-10-24T01:50:08.178Z] bde34c3a00c8: Pull complete [2022-10-24T01:50:08.438Z] b352a97aabf1: Pull complete [2022-10-24T01:50:08.438Z] 4872d77fe225: Pull complete [2022-10-24T01:50:08.438Z] 5851b861e8e6: Pull complete [2022-10-24T01:50:08.438Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T01:50:08.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T01:50:08.438Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:50:08.664Z] prd-ubuntu20.04-docker-8c-8g-8996 does not seem to be running inside a container [2022-10-24T01:50:08.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-24T01:50:10.947Z] $ docker top 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba -eo pid,comm [2022-10-24T01:50:11.006Z] 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-24T01:50:11.006Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T01:50:11.132Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T01:50:11.132Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T01:50:11.255Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T01:50:11.255Z] $ docker exec 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba ssh-agent [2022-10-24T01:50:11.379Z] SSH_AUTH_SOCK=/tmp/ssh-eTfD0wfwzIbn/agent.31 [2022-10-24T01:50:11.379Z] SSH_AGENT_PID=37 [2022-10-24T01:50:11.386Z] Running ssh-add (command line suppressed) [2022-10-24T01:50:11.495Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_6529107967281888153.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_6529107967281888153.key) [2022-10-24T01:50:11.513Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T01:50:11.849Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T01:50:11.873Z] $ docker exec --env ******** --env ******** 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba ssh-agent -k [2022-10-24T01:50:11.977Z] unset SSH_AUTH_SOCK; [2022-10-24T01:50:11.978Z] unset SSH_AGENT_PID; [2022-10-24T01:50:11.978Z] echo Agent pid 37 killed; [2022-10-24T01:50:11.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T01:50:12.089Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T01:50:12.089Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T01:50:12.203Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T01:50:12.203Z] $ docker exec 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba ssh-agent [2022-10-24T01:50:12.327Z] SSH_AUTH_SOCK=/tmp/ssh-q1tpOo8FXI8q/agent.69 [2022-10-24T01:50:12.327Z] SSH_AGENT_PID=74 [2022-10-24T01:50:12.331Z] Running ssh-add (command line suppressed) [2022-10-24T01:50:12.423Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_12183632863663614017.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_12183632863663614017.key) [2022-10-24T01:50:12.440Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T01:50:12.773Z] + git semver init [2022-10-24T01:50:13.034Z] 2022-10-24 01:50:12,947 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T01:50:13.034Z] 2022-10-24 01:50:12,948 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2022-10-24T01:50:13.034Z] 2022-10-24 01:50:12,948 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2022-10-24T01:50:13.034Z] 2022-10-24 01:50:12,949 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429, universal_newlines=False, shell=None, istream=None) [2022-10-24T01:50:13.972Z] 2022-10-24 01:50:13,937 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.git/info/exclude [2022-10-24T01:50:13.972Z] 2022-10-24 01:50:13,938 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 with force:False [2022-10-24T01:50:13.972Z] 2022-10-24 01:50:13,938 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2022-10-24T01:50:13.972Z] 2022-10-24 01:50:13,942 [execute] INFO git cat-file --batch-check [2022-10-24T01:50:13.972Z] 2022-10-24 01:50:13,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T01:50:13.972Z] 2022-10-24 01:50:13,948 [execute] INFO git cat-file --batch [2022-10-24T01:50:13.972Z] 2022-10-24 01:50:13,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T01:50:13.972Z] 2022-10-24 01:50:13,955 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2022-10-24T01:50:13.972Z] 0.0.0 [Pipeline] } [2022-10-24T01:50:14.254Z] $ docker exec --env ******** --env ******** 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba ssh-agent -k [2022-10-24T01:50:14.363Z] unset SSH_AUTH_SOCK; [2022-10-24T01:50:14.364Z] unset SSH_AGENT_PID; [2022-10-24T01:50:14.364Z] echo Agent pid 74 killed; [2022-10-24T01:50:14.376Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T01:50:14.814Z] + git semver [Pipeline] } [2022-10-24T01:50:15.095Z] $ docker stop --time=1 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba [2022-10-24T01:50:16.962Z] $ docker rm -f 462e8301fe2e6c1695905f23e7219694735e4138ea49e6b0cc0817b08005f0ba [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T01:50:17.502Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T01:50:17.792Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T01:50:17.811Z] [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-24T01:50:18.406Z] provisioning config files... [2022-10-24T01:50:18.415Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config1995837286286879957tmp [Pipeline] { [Pipeline] libraryResource [2022-10-24T01:50:18.471Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8931 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] sh [Pipeline] { [Pipeline] ws [2022-10-24T01:50:18.583Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-10-24T01:50:18.654Z] Selected Git installation does not exist. Using Default [2022-10-24T01:50:18.654Z] The recommended git tool is: NONE [2022-10-24T01:50:18.768Z] ---> docker-login.sh [2022-10-24T01:50:18.768Z] nexus3.edgexfoundry.org:10001 [2022-10-24T01:50:18.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:50:18.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:50:18.768Z] Configure a credential helper to remove this warning. See [2022-10-24T01:50:18.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:50:18.768Z] [2022-10-24T01:50:18.768Z] Login Succeeded [2022-10-24T01:50:18.768Z] nexus3.edgexfoundry.org:10002 [2022-10-24T01:50:18.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:50:18.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:50:18.768Z] Configure a credential helper to remove this warning. See [2022-10-24T01:50:18.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:50:18.768Z] [2022-10-24T01:50:18.768Z] Login Succeeded [2022-10-24T01:50:18.768Z] nexus3.edgexfoundry.org:10003 [2022-10-24T01:50:19.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:50:19.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:50:19.030Z] Configure a credential helper to remove this warning. See [2022-10-24T01:50:19.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:50:19.030Z] [2022-10-24T01:50:19.030Z] Login Succeeded [2022-10-24T01:50:19.030Z] nexus3.edgexfoundry.org:10004 [2022-10-24T01:50:19.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:50:19.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:50:19.030Z] Configure a credential helper to remove this warning. See [2022-10-24T01:50:19.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:50:19.030Z] [2022-10-24T01:50:19.030Z] Login Succeeded [2022-10-24T01:50:19.030Z] docker.io [2022-10-24T01:50:19.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:50:19.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:50:19.557Z] Configure a credential helper to remove this warning. See [2022-10-24T01:50:19.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:50:19.557Z] [2022-10-24T01:50:19.557Z] Login Succeeded [2022-10-24T01:50:19.557Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T01:50:19.588Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T01:50:19.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:50:19.815Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:50:19.847Z] ========================================================= [2022-10-24T01:50:19.847Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T01:50:19.847Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:50:20.334Z] + 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-24T01:50:20.334Z] Sending build context to Docker daemon 6.213MB [2022-10-24T01:50:20.334Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:50:20.334Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-24T01:50:20.334Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T01:50:20.334Z] 213ec9aee27d: Pulling fs layer [2022-10-24T01:50:20.334Z] 4583459ba037: Pulling fs layer [2022-10-24T01:50:20.334Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T01:50:20.334Z] 53926ce57604: Pulling fs layer [2022-10-24T01:50:20.334Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T01:50:20.334Z] 30f14e443154: Pulling fs layer [2022-10-24T01:50:20.334Z] 801331c1e519: Pulling fs layer [2022-10-24T01:50:20.334Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T01:50:20.334Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T01:50:20.334Z] 30f14e443154: Waiting [2022-10-24T01:50:20.334Z] 801331c1e519: Waiting [2022-10-24T01:50:20.334Z] 99cc6dd402b0: Waiting [2022-10-24T01:50:20.334Z] 7d9ed39f4882: Waiting [2022-10-24T01:50:20.334Z] 53926ce57604: Waiting [2022-10-24T01:50:20.334Z] 21b2b0c7a3f4: Waiting [2022-10-24T01:50:20.334Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T01:50:20.334Z] 93c1e223e6f2: Download complete [2022-10-24T01:50:20.334Z] 4583459ba037: Verifying Checksum [2022-10-24T01:50:20.334Z] 4583459ba037: Download complete [2022-10-24T01:50:20.334Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-24T01:50:20.334Z] 21b2b0c7a3f4: Download complete [2022-10-24T01:50:20.599Z] 30f14e443154: Verifying Checksum [2022-10-24T01:50:20.599Z] 30f14e443154: Download complete [2022-10-24T01:50:20.599Z] 213ec9aee27d: Verifying Checksum [2022-10-24T01:50:20.599Z] 213ec9aee27d: Download complete [2022-10-24T01:50:20.599Z] 801331c1e519: Verifying Checksum [2022-10-24T01:50:20.599Z] 801331c1e519: Download complete [2022-10-24T01:50:20.599Z] 213ec9aee27d: Pull complete [2022-10-24T01:50:20.864Z] 4583459ba037: Pull complete [2022-10-24T01:50:20.864Z] 93c1e223e6f2: Pull complete [2022-10-24T01:50:21.128Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T01:50:21.128Z] 7d9ed39f4882: Download complete [2022-10-24T01:50:21.696Z] 53926ce57604: Download complete [2022-10-24T01:50:21.696Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T01:50:21.696Z] 99cc6dd402b0: Download complete [2022-10-24T01:50:24.081Z] using credential edgex-jenkins-ssh [2022-10-24T01:50:24.101Z] Cloning the remote Git repository [2022-10-24T01:50:24.152Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-24T01:50:24.231Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-10-24T01:50:24.389Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-24T01:50:24.390Z] > git --version # timeout=10 [2022-10-24T01:50:24.411Z] > git --version # 'git version 2.25.1' [2022-10-24T01:50:24.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T01:50:24.465Z] Verifying host key using known hosts file [2022-10-24T01:50:25.886Z] 53926ce57604: Pull complete [2022-10-24T01:50:25.886Z] 21b2b0c7a3f4: Pull complete [2022-10-24T01:50:25.886Z] 30f14e443154: Pull complete [2022-10-24T01:50:25.886Z] 801331c1e519: Pull complete [2022-10-24T01:50:24.673Z] 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-24T01:50:24.686Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T01:50:25.798Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-24T01:50:25.817Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T01:50:26.764Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-24T01:50:26.804Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-24T01:50:26.805Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T01:50:26.812Z] Verifying host key using known hosts file [2022-10-24T01:50:26.820Z] 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-24T01:50:26.830Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T01:50:27.400Z] Merging remotes/origin/main commit 6b3f84b720025cbd9914345d3acb7d77e6659599 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 [2022-10-24T01:50:27.632Z] Merge succeeded, producing fa87d88a994f5fe2e81ddf427b8127062ba1e917 [2022-10-24T01:50:27.632Z] Checking out Revision fa87d88a994f5fe2e81ddf427b8127062ba1e917 (PR-429) [2022-10-24T01:50:27.786Z] 99cc6dd402b0: Pull complete [2022-10-24T01:50:28.132Z] Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2" [2022-10-24T01:50:28.196Z] > git --version # timeout=10 [2022-10-24T01:50:28.206Z] > git --version # 'git version 2.25.1' [2022-10-24T01:50:28.226Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2022-10-24T01:50:27.422Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T01:50:27.445Z] > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [2022-10-24T01:50:27.527Z] > git remote # timeout=10 [2022-10-24T01:50:27.547Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T01:50:27.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T01:50:27.578Z] Verifying host key using known hosts file [2022-10-24T01:50:27.582Z] 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-24T01:50:27.590Z] > git merge 6b3f84b720025cbd9914345d3acb7d77e6659599 # timeout=10 [2022-10-24T01:50:27.615Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T01:50:27.642Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T01:50:27.662Z] > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [Pipeline] script [2022-10-24T01:50:28.721Z] 7d9ed39f4882: Pull complete [2022-10-24T01:50:28.721Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T01:50:28.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T01:50:28.721Z] ---> 1dedd983c030 [2022-10-24T01:50:28.721Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [Pipeline] { [Pipeline] sh [2022-10-24T01:50:29.295Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T01:50:29.295Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T01:50:29.295Z] Dload Upload Total Spent Left Speed [2022-10-24T01:50:29.295Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94751 0 --:--:-- --:--:-- --:--:-- 94751 [Pipeline] sh [2022-10-24T01:50:29.943Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T01:50:30.294Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T01:50:30.294Z] + sudo tee /etc/docker/daemon.new [2022-10-24T01:50:30.294Z] { [2022-10-24T01:50:30.294Z] "registry-mirrors": [ [2022-10-24T01:50:30.294Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T01:50:30.294Z] ], [2022-10-24T01:50:30.294Z] "bip": "10.250.0.254/24", [2022-10-24T01:50:30.294Z] "hosts": [ [2022-10-24T01:50:30.294Z] "tcp://0.0.0.0:5555", [2022-10-24T01:50:30.294Z] "unix:///var/run/docker.sock" [2022-10-24T01:50:30.294Z] ], [2022-10-24T01:50:30.294Z] "mtu": 1458, [2022-10-24T01:50:30.294Z] "selinux-enabled": true, [2022-10-24T01:50:30.294Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T01:50:30.294Z] } [Pipeline] sh [2022-10-24T01:50:30.647Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T01:50:31.011Z] + sudo service docker restart [2022-10-24T01:50:32.015Z] ---> Running in f2f1b022dbd0 [2022-10-24T01:50:32.015Z] Removing intermediate container f2f1b022dbd0 [2022-10-24T01:50:32.015Z] ---> 01b439ba4232 [2022-10-24T01:50:32.015Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:50:32.015Z] ---> Running in bca4ab3c89d3 [2022-10-24T01:50:32.015Z] Removing intermediate container bca4ab3c89d3 [2022-10-24T01:50:32.015Z] ---> 1590a0607b22 [2022-10-24T01:50:32.015Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:50:32.015Z] ---> Running in 636283c403a4 [2022-10-24T01:50:32.015Z] Removing intermediate container 636283c403a4 [2022-10-24T01:50:32.015Z] ---> e82747d26f0d [2022-10-24T01:50:32.015Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:50:32.015Z] ---> Running in 6a1a51234b0a [2022-10-24T01:50:32.015Z] Removing intermediate container 6a1a51234b0a [2022-10-24T01:50:32.015Z] ---> ff044f4b044d [2022-10-24T01:50:32.015Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:50:32.015Z] ---> Running in 39a04145ea63 [2022-10-24T01:50:32.595Z] Removing intermediate container 39a04145ea63 [2022-10-24T01:50:32.595Z] ---> bc52d459b33c [2022-10-24T01:50:32.595Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:50:32.595Z] ---> Running in 59f176a68301 [2022-10-24T01:50:33.166Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T01:50:33.743Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T01:50:34.016Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T01:50:34.282Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-24T01:50:34.282Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T01:50:34.282Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T01:50:34.552Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:50:34.552Z] OK: 216 MiB in 55 packages [2022-10-24T01:50:35.121Z] Removing intermediate container 59f176a68301 [2022-10-24T01:50:35.121Z] ---> 075f55f95e10 [2022-10-24T01:50:35.121Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-24T01:50:35.121Z] ---> Running in cb1872ca2495 [2022-10-24T01:50:35.121Z] Removing intermediate container cb1872ca2495 [2022-10-24T01:50:35.121Z] ---> d04c5c039527 [2022-10-24T01:50:35.121Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-24T01:50:35.121Z] ---> 6176b74f9ce2 [2022-10-24T01:50:35.121Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:50:35.381Z] ---> Running in a9c52761c540 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T01:50:49.361Z] provisioning config files... [2022-10-24T01:50:49.387Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config10417207427978411935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:50:49.774Z] ---> docker-login.sh [2022-10-24T01:50:49.774Z] nexus3.edgexfoundry.org:10001 [2022-10-24T01:50:50.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:50:50.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:50:50.316Z] Configure a credential helper to remove this warning. See [2022-10-24T01:50:50.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:50:50.316Z] [2022-10-24T01:50:50.316Z] Login Succeeded [2022-10-24T01:50:50.316Z] nexus3.edgexfoundry.org:10002 [2022-10-24T01:50:50.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:50:50.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:50:50.584Z] Configure a credential helper to remove this warning. See [2022-10-24T01:50:50.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:50:50.584Z] [2022-10-24T01:50:50.584Z] Login Succeeded [2022-10-24T01:50:50.584Z] nexus3.edgexfoundry.org:10003 [2022-10-24T01:50:50.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:50:51.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:50:51.130Z] Configure a credential helper to remove this warning. See [2022-10-24T01:50:51.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:50:51.130Z] [2022-10-24T01:50:51.130Z] Login Succeeded [2022-10-24T01:50:51.130Z] nexus3.edgexfoundry.org:10004 [2022-10-24T01:50:51.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:50:51.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:50:51.402Z] Configure a credential helper to remove this warning. See [2022-10-24T01:50:51.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:50:51.402Z] [2022-10-24T01:50:51.402Z] Login Succeeded [2022-10-24T01:50:51.402Z] docker.io [2022-10-24T01:50:51.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T01:50:51.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T01:50:51.941Z] Configure a credential helper to remove this warning. See [2022-10-24T01:50:51.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T01:50:51.941Z] [2022-10-24T01:50:51.941Z] Login Succeeded [2022-10-24T01:50:51.941Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T01:50:51.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T01:50:52.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:50:52.290Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T01:50:52.320Z] ========================================================= [2022-10-24T01:50:52.320Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T01:50:52.320Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:50:52.803Z] + 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-24T01:50:53.077Z] Sending build context to Docker daemon 3.221MB [2022-10-24T01:50:53.077Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:50:53.077Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-24T01:50:53.349Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T01:50:53.349Z] 9b18e9b68314: Pulling fs layer [2022-10-24T01:50:53.349Z] d32db5db7311: Pulling fs layer [2022-10-24T01:50:53.349Z] d0c4b47475fc: Pulling fs layer [2022-10-24T01:50:53.349Z] 5831b945b038: Pulling fs layer [2022-10-24T01:50:53.349Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T01:50:53.349Z] e10730c5d714: Pulling fs layer [2022-10-24T01:50:53.349Z] 5dd5c2283517: Pulling fs layer [2022-10-24T01:50:53.349Z] d5ac0230b979: Pulling fs layer [2022-10-24T01:50:53.349Z] e10730c5d714: Waiting [2022-10-24T01:50:53.349Z] 5dd5c2283517: Waiting [2022-10-24T01:50:53.349Z] 5831b945b038: Waiting [2022-10-24T01:50:53.349Z] d5ac0230b979: Waiting [2022-10-24T01:50:53.349Z] 86bbec2aaacd: Waiting [2022-10-24T01:50:53.349Z] d0c4b47475fc: Download complete [2022-10-24T01:50:53.349Z] d32db5db7311: Verifying Checksum [2022-10-24T01:50:53.349Z] d32db5db7311: Download complete [2022-10-24T01:50:53.349Z] 86bbec2aaacd: Verifying Checksum [2022-10-24T01:50:53.349Z] 86bbec2aaacd: Download complete [2022-10-24T01:50:53.349Z] e10730c5d714: Verifying Checksum [2022-10-24T01:50:53.349Z] e10730c5d714: Download complete [2022-10-24T01:50:53.349Z] 9b18e9b68314: Verifying Checksum [2022-10-24T01:50:53.349Z] 9b18e9b68314: Download complete [2022-10-24T01:50:54.322Z] 9b18e9b68314: Pull complete [2022-10-24T01:50:54.322Z] d5ac0230b979: Verifying Checksum [2022-10-24T01:50:54.322Z] d5ac0230b979: Download complete [2022-10-24T01:50:54.921Z] d32db5db7311: Pull complete [2022-10-24T01:50:55.198Z] d0c4b47475fc: Pull complete [2022-10-24T01:50:55.790Z] 5dd5c2283517: Verifying Checksum [2022-10-24T01:50:55.790Z] 5dd5c2283517: Download complete [2022-10-24T01:50:56.386Z] 5831b945b038: Verifying Checksum [2022-10-24T01:50:56.386Z] 5831b945b038: Download complete [2022-10-24T01:50:57.332Z] Removing intermediate container a9c52761c540 [2022-10-24T01:50:57.332Z] ---> 742ecb86ab93 [2022-10-24T01:50:57.332Z] Step 12/13 : COPY . . [2022-10-24T01:50:57.332Z] ---> f6fad27e3bab [2022-10-24T01:50:57.332Z] Step 13/13 : RUN $MAKE [2022-10-24T01:50:57.332Z] ---> Running in eef80a42ab38 [2022-10-24T01:50:57.332Z] noop [2022-10-24T01:50:57.332Z] Removing intermediate container eef80a42ab38 [2022-10-24T01:50:57.332Z] ---> 73a0b31ed27d [2022-10-24T01:50:57.332Z] Successfully built 73a0b31ed27d [2022-10-24T01:50:57.591Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:50:58.071Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T01:50:58.071Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:50:58.229Z] prd-ubuntu20.04-docker-8c-8g-8996 does not seem to be running inside a container [2022-10-24T01:50:58.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** ci-base-image-x86_64 cat [2022-10-24T01:50:58.589Z] $ docker top c5a7bbc69d907d32638692417a71b6e10575e94d01bddc84180b62d0fbbe0916 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:50:58.982Z] + go version [2022-10-24T01:50:58.982Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T01:50:59.019Z] $ docker stop --time=1 c5a7bbc69d907d32638692417a71b6e10575e94d01bddc84180b62d0fbbe0916 [2022-10-24T01:51:00.300Z] $ docker rm -f c5a7bbc69d907d32638692417a71b6e10575e94d01bddc84180b62d0fbbe0916 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:51:01.025Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T01:51:01.025Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:51:01.166Z] prd-ubuntu20.04-docker-8c-8g-8996 does not seem to be running inside a container [2022-10-24T01:51:01.191Z] $ 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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** ci-base-image-x86_64 cat [2022-10-24T01:51:01.547Z] $ docker top 7b8b8005b4bbf2510ec0c3c2d52fbf158c4c8b4db51146d5b18cb28fea9e76b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:51:01.936Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] fileExists [Pipeline] sh [2022-10-24T01:51:02.291Z] + make test [2022-10-24T01:51:02.291Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T01:51:02.549Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-24T01:51:08.786Z] 5831b945b038: Pull complete [2022-10-24T01:51:09.056Z] 86bbec2aaacd: Pull complete [2022-10-24T01:51:09.324Z] e10730c5d714: Pull complete [2022-10-24T01:51:12.520Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-24T01:51:12.520Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2022-10-24T01:51:12.520Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-24T01:51:16.033Z] 5dd5c2283517: Pull complete [2022-10-24T01:51:17.447Z] d5ac0230b979: Pull complete [2022-10-24T01:51:17.447Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T01:51:17.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T01:51:17.447Z] ---> 59b3b1a385d4 [2022-10-24T01:51:17.447Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:51:19.077Z] 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-24T01:51:19.077Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T01:51:19.399Z] ---> Running in 7f81e12f823a [2022-10-24T01:51:19.399Z] Removing intermediate container 7f81e12f823a [2022-10-24T01:51:19.399Z] ---> 9502238a411e [2022-10-24T01:51:19.399Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:51:19.399Z] ---> Running in ba14cd55c68b [2022-10-24T01:51:19.670Z] Removing intermediate container ba14cd55c68b [2022-10-24T01:51:19.670Z] ---> 363449e799f7 [2022-10-24T01:51:19.670Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:51:19.940Z] ---> Running in 217c351a3545 [2022-10-24T01:51:20.209Z] Removing intermediate container 217c351a3545 [2022-10-24T01:51:20.209Z] ---> 227383cd8f83 [2022-10-24T01:51:20.209Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:51:20.209Z] ---> Running in 81bb76ccfd13 [2022-10-24T01:51:20.487Z] Removing intermediate container 81bb76ccfd13 [2022-10-24T01:51:20.487Z] ---> fc313f4d61e1 [2022-10-24T01:51:20.487Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:51:20.487Z] ---> Running in 3f57ffbe522a [2022-10-24T01:51:22.362Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T01:51:22.362Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T01:51:22.362Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T01:51:22.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T01:51:22.430Z] $ docker stop --time=1 7b8b8005b4bbf2510ec0c3c2d52fbf158c4c8b4db51146d5b18cb28fea9e76b5 [2022-10-24T01:51:22.454Z] Removing intermediate container 3f57ffbe522a [2022-10-24T01:51:22.454Z] ---> 08d5db64609f [2022-10-24T01:51:22.454Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:51:22.454Z] ---> Running in 54b1dc0569db [2022-10-24T01:51:23.418Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T01:51:24.383Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T01:51:24.525Z] $ docker rm -f 7b8b8005b4bbf2510ec0c3c2d52fbf158c4c8b4db51146d5b18cb28fea9e76b5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T01:51:25.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T01:51:25.215Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T01:51:25.800Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T01:51:25.800Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-24T01:51:25.800Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T01:51:26.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T01:51:26.076Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T01:51:26.076Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:51:26.076Z] OK: 226 MiB in 55 packages [2022-10-24T01:51:26.340Z] + ls -al . [2022-10-24T01:51:26.340Z] total 184 [2022-10-24T01:51:26.340Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 01:51 . [2022-10-24T01:51:26.340Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:49 .. [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 01:49 .dockerignore [2022-10-24T01:51:26.340Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:51 .git [2022-10-24T01:51:26.340Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:49 .github [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 01:49 .gitignore [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:49 .golangci.yml [2022-10-24T01:51:26.340Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:50 .semver [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 01:49 Attribution.txt [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 01:49 CHANGELOG.md [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 01:49 Dockerfile [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:49 GOVERNANCE.md [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 01:49 Jenkinsfile [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:49 LICENSE [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 01:49 Makefile [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 01:49 OWNERS.md [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 01:49 README.md [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:50 VERSION [2022-10-24T01:51:26.340Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:49 bin [2022-10-24T01:51:26.340Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:49 cmd [2022-10-24T01:51:26.340Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 01:51 coverage.out [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 01:49 go.mod [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 24 01:49 go.sum [2022-10-24T01:51:26.340Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:49 internal [2022-10-24T01:51:26.340Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:49 mock [2022-10-24T01:51:26.340Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:49 snap [2022-10-24T01:51:26.340Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 01:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:51:26.738Z] + 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=fa87d88a994f5fe2e81ddf427b8127062ba1e917 --label arch=amd64 --label version=0.0.0 . [2022-10-24T01:51:26.738Z] Sending build context to Docker daemon 6.231MB [2022-10-24T01:51:26.738Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:51:26.738Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T01:51:26.738Z] ---> 73a0b31ed27d [2022-10-24T01:51:26.738Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:51:26.998Z] ---> Running in 9a8a49af60c9 [2022-10-24T01:51:26.998Z] Removing intermediate container 9a8a49af60c9 [2022-10-24T01:51:26.998Z] ---> 65a9ca45a850 [2022-10-24T01:51:26.998Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:51:26.998Z] ---> Running in 95d838dfb79d [2022-10-24T01:51:26.998Z] Removing intermediate container 95d838dfb79d [2022-10-24T01:51:26.998Z] ---> 71edf06ed84d [2022-10-24T01:51:26.998Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:51:26.998Z] ---> Running in 72c419047156 [2022-10-24T01:51:27.058Z] Removing intermediate container 54b1dc0569db [2022-10-24T01:51:27.058Z] ---> 1cdcb869a091 [2022-10-24T01:51:27.058Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-24T01:51:27.256Z] Removing intermediate container 72c419047156 [2022-10-24T01:51:27.256Z] ---> fb4bd9d4d252 [2022-10-24T01:51:27.256Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:51:27.256Z] ---> Running in 264e8d28fa9c [2022-10-24T01:51:27.256Z] Removing intermediate container 264e8d28fa9c [2022-10-24T01:51:27.256Z] ---> a33882c43440 [2022-10-24T01:51:27.256Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:51:27.256Z] ---> Running in 94b765ffbace [2022-10-24T01:51:27.332Z] ---> Running in 3050d8258b47 [2022-10-24T01:51:27.603Z] Removing intermediate container 3050d8258b47 [2022-10-24T01:51:27.603Z] ---> 47de6ad6bcfe [2022-10-24T01:51:27.603Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-24T01:51:27.825Z] Removing intermediate container 94b765ffbace [2022-10-24T01:51:27.825Z] ---> 57c627cb294b [2022-10-24T01:51:27.825Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:51:27.825Z] ---> Running in 5c26f34737e4 [2022-10-24T01:51:28.084Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T01:51:28.189Z] ---> 18f38b4e92ff [2022-10-24T01:51:28.189Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:51:28.189Z] ---> Running in 3b953e738dcb [2022-10-24T01:51:29.020Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T01:51:29.280Z] OK: 216 MiB in 55 packages [2022-10-24T01:51:29.847Z] Removing intermediate container 5c26f34737e4 [2022-10-24T01:51:29.847Z] ---> 45b0b9258077 [2022-10-24T01:51:29.847Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-24T01:51:29.847Z] ---> Running in e59c45df8330 [2022-10-24T01:51:29.847Z] Removing intermediate container e59c45df8330 [2022-10-24T01:51:29.847Z] ---> 58495a5eeebd [2022-10-24T01:51:29.847Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-24T01:51:29.847Z] ---> 52ee1470eb5b [2022-10-24T01:51:29.847Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:51:29.847Z] ---> Running in 41d334aff7ff [2022-10-24T01:51:30.781Z] Removing intermediate container 41d334aff7ff [2022-10-24T01:51:30.781Z] ---> 830bcc7b4f26 [2022-10-24T01:51:30.781Z] Step 12/25 : COPY . . [2022-10-24T01:51:31.039Z] ---> c62eb658f763 [2022-10-24T01:51:31.039Z] Step 13/25 : RUN $MAKE [2022-10-24T01:51:31.039Z] ---> Running in 738d0328c9d2 [2022-10-24T01:51:31.297Z] 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-24T01:51:53.218Z] Removing intermediate container 738d0328c9d2 [2022-10-24T01:51:53.218Z] ---> 84b7f2552aef [2022-10-24T01:51:53.218Z] Step 14/25 : FROM alpine:3.16 [2022-10-24T01:51:53.787Z] 3.16: Pulling from library/alpine [2022-10-24T01:51:53.787Z] 213ec9aee27d: Already exists [2022-10-24T01:51:54.046Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T01:51:54.046Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T01:51:54.046Z] ---> 9c6f07244728 [2022-10-24T01:51:54.046Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-24T01:51:54.046Z] ---> Running in 8870e264a1e9 [2022-10-24T01:51:54.046Z] Removing intermediate container 8870e264a1e9 [2022-10-24T01:51:54.046Z] ---> 503327e23b41 [2022-10-24T01:51:54.046Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T01:51:54.046Z] ---> Running in 03f261b97054 [2022-10-24T01:51:54.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T01:51:54.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T01:51:54.826Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T01:51:54.826Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T01:51:54.826Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T01:51:54.826Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T01:51:54.826Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T01:51:54.826Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T01:51:54.826Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:51:54.826Z] OK: 8 MiB in 20 packages [2022-10-24T01:51:55.085Z] Removing intermediate container 03f261b97054 [2022-10-24T01:51:55.085Z] ---> dc206ab06e81 [2022-10-24T01:51:55.085Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-24T01:51:56.021Z] ---> 623f0bfa9f64 [2022-10-24T01:51:56.021Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-24T01:51:56.021Z] ---> 26d8415e87de [2022-10-24T01:51:56.021Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-24T01:51:56.280Z] ---> 075282a03d8f [2022-10-24T01:51:56.280Z] Step 20/25 : EXPOSE 59982 [2022-10-24T01:51:56.280Z] ---> Running in 7dda87c30171 [2022-10-24T01:51:56.280Z] Removing intermediate container 7dda87c30171 [2022-10-24T01:51:56.280Z] ---> 03c1c55637be [2022-10-24T01:51:56.280Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-24T01:51:56.280Z] ---> Running in 0d98c3911734 [2022-10-24T01:51:56.280Z] Removing intermediate container 0d98c3911734 [2022-10-24T01:51:56.280Z] ---> 831cd0b35dbb [2022-10-24T01:51:56.280Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T01:51:56.280Z] ---> Running in 98430906abed [2022-10-24T01:51:56.540Z] Removing intermediate container 98430906abed [2022-10-24T01:51:56.540Z] ---> 37689e38bfb7 [2022-10-24T01:51:56.540Z] Step 23/25 : LABEL arch=amd64 [2022-10-24T01:51:56.540Z] ---> Running in 1329f70e7c8f [2022-10-24T01:51:56.540Z] Removing intermediate container 1329f70e7c8f [2022-10-24T01:51:56.540Z] ---> d76794561787 [2022-10-24T01:51:56.540Z] Step 24/25 : LABEL git_sha=fa87d88a994f5fe2e81ddf427b8127062ba1e917 [2022-10-24T01:51:56.540Z] ---> Running in 2e66295a0b01 [2022-10-24T01:51:56.799Z] Removing intermediate container 2e66295a0b01 [2022-10-24T01:51:56.799Z] ---> 76973b39a92f [2022-10-24T01:51:56.799Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T01:51:56.799Z] ---> Running in 8d0ab0b63726 [2022-10-24T01:51:56.799Z] Removing intermediate container 8d0ab0b63726 [2022-10-24T01:51:56.799Z] ---> c59893581311 [2022-10-24T01:51:56.799Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T01:51:56.799Z] Successfully built c59893581311 [2022-10-24T01:51:56.799Z] 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-24T01:51:57.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:51:57.657Z] [2022-10-24T01:51:57.657Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:51:58.033Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:51:58.033Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T01:51:58.033Z] 5eb5b503b376: Pulling fs layer [2022-10-24T01:51:58.033Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T01:51:58.033Z] ec43610c2a17: Pulling fs layer [2022-10-24T01:51:58.033Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T01:51:58.033Z] 33b1e0a273af: Pulling fs layer [2022-10-24T01:51:58.033Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T01:51:58.033Z] 2f39f015ded8: Pulling fs layer [2022-10-24T01:51:58.033Z] 33b1e0a273af: Waiting [2022-10-24T01:51:58.033Z] 3a2ae6a8a46f: Waiting [2022-10-24T01:51:58.033Z] 2f39f015ded8: Waiting [2022-10-24T01:51:58.033Z] 5d3b04190fa2: Waiting [2022-10-24T01:51:58.033Z] 5c69ac0246d0: Download complete [2022-10-24T01:51:58.033Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-24T01:51:58.033Z] 3a2ae6a8a46f: Download complete [2022-10-24T01:51:58.033Z] 33b1e0a273af: Verifying Checksum [2022-10-24T01:51:58.033Z] 33b1e0a273af: Download complete [2022-10-24T01:51:58.033Z] 5d3b04190fa2: Download complete [2022-10-24T01:51:58.292Z] ec43610c2a17: Verifying Checksum [2022-10-24T01:51:58.292Z] 5eb5b503b376: Verifying Checksum [2022-10-24T01:51:58.292Z] 5eb5b503b376: Download complete [2022-10-24T01:51:58.856Z] 2f39f015ded8: Download complete [2022-10-24T01:51:59.422Z] 5eb5b503b376: Pull complete [2022-10-24T01:51:59.680Z] 5c69ac0246d0: Pull complete [2022-10-24T01:52:00.244Z] ec43610c2a17: Pull complete [2022-10-24T01:52:00.244Z] 3a2ae6a8a46f: Pull complete [2022-10-24T01:52:00.502Z] 33b1e0a273af: Pull complete [2022-10-24T01:52:00.502Z] 5d3b04190fa2: Pull complete [2022-10-24T01:52:04.685Z] 2f39f015ded8: Pull complete [2022-10-24T01:52:04.685Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T01:52:04.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:52:04.685Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:52:04.916Z] prd-ubuntu20.04-docker-8c-8g-8996 does not seem to be running inside a container [2022-10-24T01:52:04.945Z] $ 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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T01:52:07.866Z] $ docker top 38a45cd613645803aa2f5df646aa3f9e887436bc40d6cfca28a84f6f698c2f77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:52:08.338Z] ---> job-cost.sh [2022-10-24T01:52:08.338Z] lf-activate-venv: SKIPPING [2022-10-24T01:52:08.338Z] INFO: No Stack... [2022-10-24T01:52:08.597Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T01:52:09.167Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T01:52:09.487Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/cost.csv [2022-10-24T01:52:09.487Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T01:52:09.530Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] [2022-10-24T01:52:09.534Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] did not exist. Created. [2022-10-24T01:52:09.534Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T01:52:09.928Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T01:52:09.977Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T01:52:10.017Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T01:52:10.099Z] $ docker stop --time=1 38a45cd613645803aa2f5df646aa3f9e887436bc40d6cfca28a84f6f698c2f77 [2022-10-24T01:52:11.263Z] $ docker rm -f 38a45cd613645803aa2f5df646aa3f9e887436bc40d6cfca28a84f6f698c2f77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T01:52:24.624Z] Removing intermediate container 3b953e738dcb [2022-10-24T01:52:24.624Z] ---> 144352b8b6b9 [2022-10-24T01:52:24.624Z] Step 12/13 : COPY . . [2022-10-24T01:52:24.624Z] ---> 6b876c9f0f3e [2022-10-24T01:52:24.624Z] Step 13/13 : RUN $MAKE [2022-10-24T01:52:24.624Z] ---> Running in fc35b85e936a [2022-10-24T01:52:24.624Z] noop [2022-10-24T01:52:24.624Z] Removing intermediate container fc35b85e936a [2022-10-24T01:52:24.624Z] ---> 60a1c588d166 [2022-10-24T01:52:24.624Z] Successfully built 60a1c588d166 [2022-10-24T01:52:24.624Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:52:25.095Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T01:52:25.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:52:25.362Z] prd-ubuntu20.04-docker-arm64-4c-16g-8931 does not seem to be running inside a container [2022-10-24T01:52:25.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-24T01:52:26.690Z] $ docker top 6a909378a295b7c4c8b4a4ca26065ed5c439747f8ab5cb06a7e81f6d86f97402 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:52:27.573Z] + go version [2022-10-24T01:52:27.573Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T01:52:27.612Z] $ docker stop --time=1 6a909378a295b7c4c8b4a4ca26065ed5c439747f8ab5cb06a7e81f6d86f97402 [2022-10-24T01:52:29.221Z] $ docker rm -f 6a909378a295b7c4c8b4a4ca26065ed5c439747f8ab5cb06a7e81f6d86f97402 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:52:30.097Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T01:52:30.097Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:52:30.361Z] prd-ubuntu20.04-docker-arm64-4c-16g-8931 does not seem to be running inside a container [2022-10-24T01:52:30.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-24T01:52:31.645Z] $ docker top 40934c63e87c1b0635ef8379842ef6e0be871926f35662c9f4bf6f55215bdf0c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:52:32.540Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-24T01:52:32.927Z] + make test [2022-10-24T01:52:33.195Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T01:52:35.156Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-24T01:54:11.824Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-24T01:54:11.824Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements [2022-10-24T01:54:11.824Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-24T01:54:11.824Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T01:54:11.824Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T01:54:26.835Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T01:54:26.835Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T01:54:26.835Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T01:54:26.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T01:54:26.913Z] $ docker stop --time=1 40934c63e87c1b0635ef8379842ef6e0be871926f35662c9f4bf6f55215bdf0c [2022-10-24T01:54:28.701Z] $ docker rm -f 40934c63e87c1b0635ef8379842ef6e0be871926f35662c9f4bf6f55215bdf0c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T01:54:29.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T01:54:29.695Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T01:54:30.108Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T01:54:30.721Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T01:54:31.062Z] + ls -al . [2022-10-24T01:54:31.062Z] total 180 [2022-10-24T01:54:31.062Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 01:52 . [2022-10-24T01:54:31.062Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:50 .. [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 01:50 .dockerignore [2022-10-24T01:54:31.062Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 01:50 .git [2022-10-24T01:54:31.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:50 .github [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 24 01:50 .gitignore [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 01:50 .golangci.yml [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 24 01:50 Attribution.txt [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 24 01:50 CHANGELOG.md [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 24 01:50 Dockerfile [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 01:50 GOVERNANCE.md [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 01:50 Jenkinsfile [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 01:50 LICENSE [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 24 01:50 Makefile [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 01:50 OWNERS.md [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 24 01:50 README.md [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 01:50 VERSION [2022-10-24T01:54:31.062Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:50 bin [2022-10-24T01:54:31.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:50 cmd [2022-10-24T01:54:31.062Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 24 01:54 coverage.out [2022-10-24T01:54:31.062Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 24 01:50 go.mod [2022-10-24T01:54:31.063Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 24 01:50 go.sum [2022-10-24T01:54:31.063Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 01:50 internal [2022-10-24T01:54:31.063Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 01:50 mock [2022-10-24T01:54:31.063Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 01:50 snap [2022-10-24T01:54:31.063Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 24 01:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:54:31.490Z] + 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=fa87d88a994f5fe2e81ddf427b8127062ba1e917 --label arch=arm64 --label version=0.0.0 . [2022-10-24T01:54:31.758Z] Sending build context to Docker daemon 3.239MB [2022-10-24T01:54:31.758Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T01:54:31.758Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T01:54:31.758Z] ---> 60a1c588d166 [2022-10-24T01:54:31.758Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-24T01:54:32.343Z] ---> Running in f96d4f6cef54 [2022-10-24T01:54:32.611Z] Removing intermediate container f96d4f6cef54 [2022-10-24T01:54:32.611Z] ---> f59c6f5d1dab [2022-10-24T01:54:32.611Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T01:54:32.878Z] ---> Running in bac8c6498b9c [2022-10-24T01:54:32.878Z] Removing intermediate container bac8c6498b9c [2022-10-24T01:54:32.878Z] ---> 192e43b1993f [2022-10-24T01:54:32.878Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-24T01:54:33.148Z] ---> Running in 38b253044211 [2022-10-24T01:54:33.414Z] Removing intermediate container 38b253044211 [2022-10-24T01:54:33.414Z] ---> 5de4bd0567f1 [2022-10-24T01:54:33.414Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T01:54:33.414Z] ---> Running in d18e15293a40 [2022-10-24T01:54:33.685Z] Removing intermediate container d18e15293a40 [2022-10-24T01:54:33.685Z] ---> 6f4e1f7b881a [2022-10-24T01:54:33.685Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T01:54:33.685Z] ---> Running in b067a1ed0c57 [2022-10-24T01:54:35.636Z] Removing intermediate container b067a1ed0c57 [2022-10-24T01:54:35.636Z] ---> 61c8a08b77d0 [2022-10-24T01:54:35.636Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T01:54:35.636Z] ---> Running in dd19cbfcda4e [2022-10-24T01:54:36.220Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T01:54:37.178Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T01:54:38.138Z] OK: 226 MiB in 55 packages [2022-10-24T01:54:39.130Z] Removing intermediate container dd19cbfcda4e [2022-10-24T01:54:39.130Z] ---> 03111e05eef4 [2022-10-24T01:54:39.130Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-24T01:54:39.130Z] ---> Running in ecd37f24b829 [2022-10-24T01:54:39.402Z] Removing intermediate container ecd37f24b829 [2022-10-24T01:54:39.402Z] ---> 1d56a0f73329 [2022-10-24T01:54:39.402Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-24T01:54:39.676Z] ---> 2b29165b36cd [2022-10-24T01:54:39.676Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T01:54:39.944Z] ---> Running in a85dda6a6dc8 [2022-10-24T01:54:41.892Z] Removing intermediate container a85dda6a6dc8 [2022-10-24T01:54:41.892Z] ---> 8ca9461282b9 [2022-10-24T01:54:41.892Z] Step 12/25 : COPY . . [2022-10-24T01:54:42.477Z] ---> c52855f034bc [2022-10-24T01:54:42.477Z] Step 13/25 : RUN $MAKE [2022-10-24T01:54:42.760Z] ---> Running in c6dc095ae0b6 [2022-10-24T01:54:43.729Z] 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-24T01:57:05.434Z] Removing intermediate container c6dc095ae0b6 [2022-10-24T01:57:05.434Z] ---> 23c137a34c9d [2022-10-24T01:57:05.434Z] Step 14/25 : FROM alpine:3.16 [2022-10-24T01:57:05.434Z] 3.16: Pulling from library/alpine [2022-10-24T01:57:05.434Z] 9b18e9b68314: Already exists [2022-10-24T01:57:05.434Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T01:57:05.434Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T01:57:05.434Z] ---> a6215f271958 [2022-10-24T01:57:05.434Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-24T01:57:05.434Z] ---> Running in c55472c6a58e [2022-10-24T01:57:05.434Z] Removing intermediate container c55472c6a58e [2022-10-24T01:57:05.434Z] ---> 6d0260ae1042 [2022-10-24T01:57:05.434Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T01:57:05.434Z] ---> Running in 17f48fb85ed8 [2022-10-24T01:57:05.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T01:57:05.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T01:57:05.434Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T01:57:05.434Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T01:57:05.434Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T01:57:05.434Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T01:57:05.434Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T01:57:05.434Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T01:57:05.434Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T01:57:05.434Z] OK: 8 MiB in 20 packages [2022-10-24T01:57:05.434Z] Removing intermediate container 17f48fb85ed8 [2022-10-24T01:57:05.434Z] ---> e17d2fb69ba9 [2022-10-24T01:57:05.434Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-24T01:57:05.434Z] ---> 8eecf0a806b8 [2022-10-24T01:57:05.434Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-24T01:57:05.434Z] ---> b7c5998c3d5d [2022-10-24T01:57:05.434Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-24T01:57:05.434Z] ---> da261c3ab2e2 [2022-10-24T01:57:05.434Z] Step 20/25 : EXPOSE 59982 [2022-10-24T01:57:05.434Z] ---> Running in 6ad09f057cd2 [2022-10-24T01:57:05.434Z] Removing intermediate container 6ad09f057cd2 [2022-10-24T01:57:05.434Z] ---> 9bc7d1e69c3d [2022-10-24T01:57:05.434Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-24T01:57:05.434Z] ---> Running in f3e444a4d971 [2022-10-24T01:57:05.434Z] Removing intermediate container f3e444a4d971 [2022-10-24T01:57:05.434Z] ---> dd11ad53ad9f [2022-10-24T01:57:05.434Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T01:57:05.434Z] ---> Running in e8c87ee0920a [2022-10-24T01:57:05.434Z] Removing intermediate container e8c87ee0920a [2022-10-24T01:57:05.434Z] ---> ecce40a6974a [2022-10-24T01:57:05.434Z] Step 23/25 : LABEL arch=arm64 [2022-10-24T01:57:05.434Z] ---> Running in a0fe74e0892c [2022-10-24T01:57:05.434Z] Removing intermediate container a0fe74e0892c [2022-10-24T01:57:05.434Z] ---> 3a2834f56800 [2022-10-24T01:57:05.434Z] Step 24/25 : LABEL git_sha=fa87d88a994f5fe2e81ddf427b8127062ba1e917 [2022-10-24T01:57:05.434Z] ---> Running in 6e32b63b07e1 [2022-10-24T01:57:05.434Z] Removing intermediate container 6e32b63b07e1 [2022-10-24T01:57:05.434Z] ---> 30589f2de9cd [2022-10-24T01:57:05.434Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T01:57:05.434Z] ---> Running in 8c15b67c067b [2022-10-24T01:57:05.434Z] Removing intermediate container 8c15b67c067b [2022-10-24T01:57:05.434Z] ---> da4f47ae1ed3 [2022-10-24T01:57:05.434Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T01:57:05.434Z] Successfully built da4f47ae1ed3 [2022-10-24T01:57:05.434Z] 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-24T01:57:06.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T01:57:06.225Z] [2022-10-24T01:57:06.225Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:57:06.613Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T01:57:06.613Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T01:57:06.613Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T01:57:06.613Z] 04944245beec: Pulling fs layer [2022-10-24T01:57:06.613Z] 699f458cf7ca: Pulling fs layer [2022-10-24T01:57:06.613Z] 765212b225bb: Pulling fs layer [2022-10-24T01:57:06.613Z] f23df028b6ca: Pulling fs layer [2022-10-24T01:57:06.613Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T01:57:06.613Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T01:57:06.614Z] 765212b225bb: Waiting [2022-10-24T01:57:06.614Z] f23df028b6ca: Waiting [2022-10-24T01:57:06.614Z] d65c8cfc05b1: Waiting [2022-10-24T01:57:06.614Z] 2437ff75d9bd: Waiting [2022-10-24T01:57:06.879Z] 04944245beec: Verifying Checksum [2022-10-24T01:57:06.879Z] 04944245beec: Download complete [2022-10-24T01:57:06.879Z] 765212b225bb: Verifying Checksum [2022-10-24T01:57:06.879Z] 765212b225bb: Download complete [2022-10-24T01:57:06.879Z] f23df028b6ca: Verifying Checksum [2022-10-24T01:57:06.879Z] f23df028b6ca: Download complete [2022-10-24T01:57:06.879Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T01:57:06.879Z] d65c8cfc05b1: Download complete [2022-10-24T01:57:06.879Z] 699f458cf7ca: Verifying Checksum [2022-10-24T01:57:06.879Z] 699f458cf7ca: Download complete [2022-10-24T01:57:07.460Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T01:57:07.460Z] 8998bd30e6a1: Download complete [2022-10-24T01:57:09.402Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T01:57:09.402Z] 2437ff75d9bd: Download complete [2022-10-24T01:57:10.809Z] 8998bd30e6a1: Pull complete [2022-10-24T01:57:11.394Z] 04944245beec: Pull complete [2022-10-24T01:57:12.807Z] 699f458cf7ca: Pull complete [2022-10-24T01:57:12.807Z] 765212b225bb: Pull complete [2022-10-24T01:57:13.770Z] f23df028b6ca: Pull complete [2022-10-24T01:57:13.770Z] d65c8cfc05b1: Pull complete [2022-10-24T01:57:28.757Z] 2437ff75d9bd: Pull complete [2022-10-24T01:57:28.757Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T01:57:28.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T01:57:28.757Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:57:29.070Z] prd-ubuntu20.04-docker-arm64-4c-16g-8931 does not seem to be running inside a container [2022-10-24T01:57:29.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-24T01:57:31.877Z] $ docker top 08e04aaddcab017fb2ccb6f63d6040e3e9550670239b259dbf8ad2ae7c4b3d73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:57:32.826Z] ---> job-cost.sh [2022-10-24T01:57:32.826Z] lf-activate-venv: SKIPPING [2022-10-24T01:57:32.826Z] INFO: No Stack... [2022-10-24T01:57:33.415Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T01:57:34.009Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T01:57:34.363Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-10-24T01:57:34.627Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T01:57:34.710Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] [2022-10-24T01:57:34.715Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] did not exist. Created. [2022-10-24T01:57:34.715Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T01:57:35.126Z] /w/workspace/device-mqtt-go/1@tmp/durable-08b9e0bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T01:57:35.796Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T01:57:35.842Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T01:57:35.887Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T01:57:35.902Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T01:57:35.991Z] $ docker stop --time=1 08e04aaddcab017fb2ccb6f63d6040e3e9550670239b259dbf8ad2ae7c4b3d73 [2022-10-24T01:57:37.496Z] $ docker rm -f 08e04aaddcab017fb2ccb6f63d6040e3e9550670239b259dbf8ad2ae7c4b3d73 [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-24T01:57:38.463Z] provisioning config files... [2022-10-24T01:57:38.471Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config5125097599404108776tmp [Pipeline] { [Pipeline] sh [2022-10-24T01:57:38.805Z] + set +x [2022-10-24T01:57:38.805Z] + curl -s https://codecov.io/bash [2022-10-24T01:57:38.805Z] + bash -s -- [2022-10-24T01:57:38.805Z] [2022-10-24T01:57:38.805Z] _____ _ [2022-10-24T01:57:38.805Z] / ____| | | [2022-10-24T01:57:38.805Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T01:57:38.805Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T01:57:38.805Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T01:57:38.805Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T01:57:38.805Z] Bash-1.0.6 [2022-10-24T01:57:38.805Z] [2022-10-24T01:57:38.805Z] [2022-10-24T01:57:38.805Z] ==> git version 2.25.1 found [2022-10-24T01:57:38.805Z] ==> 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-24T01:57:38.805Z] Release-Date: 2020-01-08 [2022-10-24T01:57:38.805Z] 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-24T01:57:38.805Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T01:57:38.805Z] ==> Jenkins CI detected. [2022-10-24T01:57:38.805Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-429 [2022-10-24T01:57:38.805Z] project root: . [2022-10-24T01:57:38.805Z] --> token set from env [2022-10-24T01:57:38.805Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T01:57:38.805Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T01:57:38.805Z] ==> Python coveragepy not found [2022-10-24T01:57:38.805Z] ==> Searching for coverage reports in: [2022-10-24T01:57:38.805Z] + . [2022-10-24T01:57:38.805Z] -> Found 1 reports [2022-10-24T01:57:38.805Z] ==> Detecting git/mercurial file structure [2022-10-24T01:57:38.805Z] ==> Reading reports [2022-10-24T01:57:38.805Z] + ./coverage.out bytes=17887 [2022-10-24T01:57:38.805Z] ==> Appending adjustments [2022-10-24T01:57:38.805Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T01:57:39.064Z] + Found adjustments [2022-10-24T01:57:39.064Z] ==> Gzipping contents [2022-10-24T01:57:39.064Z] 4.0K /tmp/codecov.XvYGqA.gz [2022-10-24T01:57:39.064Z] ==> Uploading reports [2022-10-24T01:57:39.064Z] url: https://codecov.io [2022-10-24T01:57:39.064Z] query: branch=PR-429&commit=fa87d88a994f5fe2e81ddf427b8127062ba1e917&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2022-10-24T01:57:39.064Z] -> Pinging Codecov [2022-10-24T01:57:39.064Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-429&commit=fa87d88a994f5fe2e81ddf427b8127062ba1e917&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2022-10-24T01:57:39.323Z] -> Uploading to [2022-10-24T01:57:39.323Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7D719EC7BBE17E464838252E33014C33/fa87d88a994f5fe2e81ddf427b8127062ba1e917/39092958-2159-40db-ba8f-ad97ca6ef58c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T015739Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10e9e04c5a29fb3fbdd3311baf0266d2da8aa1619986f1ccee9a820dd9be2eb6 [2022-10-24T01:57:39.323Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T01:57:39.323Z] Dload Upload Total Spent Left Speed [2022-10-24T01:57:39.583Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 14493 --:--:-- --:--:-- --:--:-- 14493 [2022-10-24T01:57:39.583Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/fa87d88a994f5fe2e81ddf427b8127062ba1e917 [Pipeline] } [2022-10-24T01:57:39.612Z] 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-24T01:57:41.375Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives ] [2022-10-24T01:57:41.375Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-10-24T01:57:41.375Z] total 16 [2022-10-24T01:57:41.375Z] drwxr-xr-x 3 root root 4096 Oct 24 01:52 . [2022-10-24T01:57:41.375Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 01:52 .. [2022-10-24T01:57:41.375Z] drwxr-xr-x 2 root root 4096 Oct 24 01:52 cost [2022-10-24T01:57:41.375Z] -rw-r--r-- 1 root root 86 Oct 24 01:52 cost.csv [2022-10-24T01:57:41.375Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-10-24T01:57:41.375Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-10-24T01:57:41.375Z] total 16 [2022-10-24T01:57:41.375Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 01:52 . [2022-10-24T01:57:41.375Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 01:52 .. [2022-10-24T01:57:41.375Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 01:52 cost [2022-10-24T01:57:41.375Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 01:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:57:41.702Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:57:42.581Z] ---> package-listing.sh [2022-10-24T01:57:42.581Z] ++ facter osfamily [2022-10-24T01:57:42.581Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T01:57:42.840Z] + OS_FAMILY=debian [2022-10-24T01:57:42.840Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-429 [2022-10-24T01:57:42.840Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T01:57:42.840Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T01:57:42.840Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T01:57:42.840Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T01:57:42.840Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2022-10-24T01:57:42.840Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T01:57:42.840Z] + case "${OS_FAMILY}" in [2022-10-24T01:57:42.840Z] + dpkg -l [2022-10-24T01:57:42.840Z] + grep '^ii' [2022-10-24T01:57:42.840Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T01:57:42.840Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T01:57:42.840Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T01:57:42.840Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2022-10-24T01:57:42.840Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [2022-10-24T01:57:42.840Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [Pipeline] echo [2022-10-24T01:57:42.877Z] 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-429/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T01:57:43.169Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T01:57:43.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T01:57:43.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T01:57:43.972Z] prd-ubuntu20.04-docker-8c-8g-8996 does not seem to be running inside a container [2022-10-24T01:57:43.992Z] $ 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-429/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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T01:57:44.207Z] $ docker top 0aae89975ebb2624bc410e069e57f8f44a510707cb7488b141abab461daed1fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T01:57:44.601Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T01:57:44.907Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T01:57:45.222Z] + ls /var/log/sa-host [2022-10-24T01:57:45.222Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T01:57:45.360Z] provisioning config files... [2022-10-24T01:57:45.370Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config16411088852050598018tmp [Pipeline] { [Pipeline] echo [2022-10-24T01:57:45.441Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:57:45.755Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T01:57:45.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:57:46.181Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T01:57:46.214Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:57:46.522Z] ---> sudo-logs.sh [2022-10-24T01:57:46.522Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T01:57:46.609Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:57:46.913Z] ---> job-cost.sh [2022-10-24T01:57:46.913Z] lf-activate-venv: SKIPPING [2022-10-24T01:57:46.913Z] DEBUG: total: 0.2199999988079071 [2022-10-24T01:57:46.913Z] INFO: Retrieving Stack Cost... [2022-10-24T01:57:47.172Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T01:57:47.740Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T01:57:47.778Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T01:57:48.089Z] ---> logs-deploy.sh [2022-10-24T01:57:48.089Z] lf-activate-venv: SKIPPING [2022-10-24T01:57:48.089Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-429/1 [2022-10-24T01:57:48.089Z] INFO: archiving workspace using pattern(s): [2022-10-24T01:57:49.027Z] Archives upload complete. [2022-10-24T01:57:49.027Z] INFO: archiving logs to Nexus