Pull request #423 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 459ccc30368983c74f8fc0b30a8da774d92164b5 rather than de52f11cb84c943c1ee8d7598cf261f4a4be872a Obtained Jenkinsfile from 459ccc30368983c74f8fc0b30a8da774d92164b5 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-ssh2819539628489934781.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4506907849741483554.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16781880868531759707.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6473009463391005513.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10146922602496218115.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-7527’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7529 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [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-423 # 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/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a Merge succeeded, producing de52f11cb84c943c1ee8d7598cf261f4a4be872a Checking out Revision de52f11cb84c943c1ee8d7598cf261f4a4be872a (PR-423) > git config core.sparsecheckout # timeout=10 > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 Commit message: "refactor(snap): : Set unique name for config interface" > git rev-list --no-walk de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T15:14:53.480Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T15:14:53.521Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T15:14:53.534Z] ========================================================= [2022-10-10T15:14:53.534Z] EdgeX Global Pipelines Version Info [2022-10-10T15:14:53.534Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:14:54.230Z] ------------------- [2022-10-10T15:14:54.230Z] stable info: [2022-10-10T15:14:54.230Z] ------------------- [2022-10-10T15:14:54.230Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T15:14:54.230Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T15:14:54.230Z] Message: update stable to v1.0.239 [2022-10-10T15:14:54.798Z] ------------------- [2022-10-10T15:14:54.798Z] experimental info: [2022-10-10T15:14:54.798Z] ------------------- [2022-10-10T15:14:54.798Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T15:14:54.798Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T15:14:54.798Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T15:14:54.971Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-10T15:14:54.981Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-10T15:14:54.994Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T15:14:55.005Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T15:14:55.016Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T15:14:55.027Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T15:14:55.038Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T15:14:55.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T15:14:55.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T15:14:55.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T15:14:55.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T15:14:55.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-10T15:14:55.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T15:14:55.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T15:14:55.129Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T15:14:55.141Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T15:14:55.154Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T15:14:55.166Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T15:14:55.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T15:14:55.190Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T15:14:55.202Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T15:14:55.213Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T15:14:55.226Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T15:14:55.242Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T15:14:55.257Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T15:14:55.267Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T15:14:55.279Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T15:14:55.293Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo [2022-10-10T15:14:55.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo [2022-10-10T15:14:55.318Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo [2022-10-10T15:14:55.335Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] echo [2022-10-10T15:14:55.350Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de52f11 [Pipeline] echo [2022-10-10T15:14:55.360Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T15:14:55.411Z] provisioning config files... [2022-10-10T15:14:55.424Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config18202015940239910289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:14:55.723Z] ---> docker-login.sh [2022-10-10T15:14:55.723Z] nexus3.edgexfoundry.org:10001 [2022-10-10T15:14:55.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:14:55.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:14:55.982Z] Configure a credential helper to remove this warning. See [2022-10-10T15:14:55.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:14:55.982Z] [2022-10-10T15:14:55.982Z] Login Succeeded [2022-10-10T15:14:55.982Z] nexus3.edgexfoundry.org:10002 [2022-10-10T15:14:55.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:14:55.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:14:55.982Z] Configure a credential helper to remove this warning. See [2022-10-10T15:14:55.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:14:55.982Z] [2022-10-10T15:14:55.982Z] Login Succeeded [2022-10-10T15:14:55.982Z] nexus3.edgexfoundry.org:10003 [2022-10-10T15:14:56.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:14:56.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:14:56.241Z] Configure a credential helper to remove this warning. See [2022-10-10T15:14:56.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:14:56.241Z] [2022-10-10T15:14:56.241Z] Login Succeeded [2022-10-10T15:14:56.241Z] nexus3.edgexfoundry.org:10004 [2022-10-10T15:14:56.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:14:56.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:14:56.241Z] Configure a credential helper to remove this warning. See [2022-10-10T15:14:56.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:14:56.241Z] [2022-10-10T15:14:56.241Z] Login Succeeded [2022-10-10T15:14:56.241Z] docker.io [2022-10-10T15:14:56.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:14:56.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:14:56.760Z] Configure a credential helper to remove this warning. See [2022-10-10T15:14:56.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:14:56.760Z] [2022-10-10T15:14:56.760Z] Login Succeeded [2022-10-10T15:14:56.760Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T15:14:56.767Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T15:14:57.144Z] + git rev-list -1 --merges de52f11cb84c943c1ee8d7598cf261f4a4be872a~1..de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] echo [2022-10-10T15:14:57.173Z] -----------> git rev-list -1 --merges de52f11cb84c943c1ee8d7598cf261f4a4be872a~1..de52f11cb84c943c1ee8d7598cf261f4a4be872a de52f11cb84c943c1ee8d7598cf261f4a4be872a [false] [Pipeline] sh [2022-10-10T15:14:57.504Z] + git log --format=format:%s -1 de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] echo [2022-10-10T15:14:57.517Z] ========================================================= [2022-10-10T15:14:57.518Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T15:14:57.518Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T15:14:57.853Z] + git log --format=format:%s -1 de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] echo [2022-10-10T15:14:57.862Z] [semverPrep] GIT_COMMIT: de52f11cb84c943c1ee8d7598cf261f4a4be872a, Commit Message: refactor(snap): : Set unique name for config interface [Pipeline] echo [2022-10-10T15:14:57.873Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T15:14:58.212Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T15:14:58.212Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T15:14:58.212Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T15:14:58.212Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T15:14:58.212Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T15:14:58.212Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T15:14:58.212Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:14:58.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T15:14:58.560Z] [2022-10-10T15:14:58.560Z] 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-10T15:14:58.857Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T15:14:58.857Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T15:14:58.857Z] b85a868b505f: Pulling fs layer [2022-10-10T15:14:58.857Z] e2be974225ed: Pulling fs layer [2022-10-10T15:14:58.857Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T15:14:58.857Z] 988bab9f4d93: Pulling fs layer [2022-10-10T15:14:58.857Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T15:14:58.857Z] eaf3925da568: Pulling fs layer [2022-10-10T15:14:58.857Z] 1469e6f7b9e6: Waiting [2022-10-10T15:14:58.857Z] bab4dde63d76: Pulling fs layer [2022-10-10T15:14:58.857Z] bde34c3a00c8: Pulling fs layer [2022-10-10T15:14:58.857Z] b352a97aabf1: Pulling fs layer [2022-10-10T15:14:58.857Z] 4872d77fe225: Pulling fs layer [2022-10-10T15:14:58.857Z] 5851b861e8e6: Pulling fs layer [2022-10-10T15:14:58.857Z] eaf3925da568: Waiting [2022-10-10T15:14:58.857Z] b352a97aabf1: Waiting [2022-10-10T15:14:58.857Z] 5851b861e8e6: Waiting [2022-10-10T15:14:58.857Z] 988bab9f4d93: Waiting [2022-10-10T15:14:58.857Z] e2be974225ed: Download complete [2022-10-10T15:14:58.857Z] 988bab9f4d93: Verifying Checksum [2022-10-10T15:14:58.857Z] 988bab9f4d93: Download complete [2022-10-10T15:14:59.118Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T15:14:59.118Z] 339a4e72a1f5: Download complete [2022-10-10T15:14:59.118Z] 1469e6f7b9e6: Download complete [2022-10-10T15:14:59.118Z] eaf3925da568: Download complete [2022-10-10T15:14:59.118Z] bde34c3a00c8: Verifying Checksum [2022-10-10T15:14:59.118Z] bde34c3a00c8: Download complete [2022-10-10T15:14:59.118Z] b352a97aabf1: Verifying Checksum [2022-10-10T15:14:59.118Z] b352a97aabf1: Download complete [2022-10-10T15:14:59.118Z] 4872d77fe225: Verifying Checksum [2022-10-10T15:14:59.118Z] 4872d77fe225: Download complete [2022-10-10T15:14:59.118Z] 5851b861e8e6: Verifying Checksum [2022-10-10T15:14:59.118Z] 5851b861e8e6: Download complete [2022-10-10T15:14:59.118Z] b85a868b505f: Download complete [2022-10-10T15:14:59.377Z] bab4dde63d76: Verifying Checksum [2022-10-10T15:14:59.377Z] bab4dde63d76: Download complete [2022-10-10T15:15:00.313Z] b85a868b505f: Pull complete [2022-10-10T15:15:00.313Z] e2be974225ed: Pull complete [2022-10-10T15:15:00.881Z] 339a4e72a1f5: Pull complete [2022-10-10T15:15:00.881Z] 988bab9f4d93: Pull complete [2022-10-10T15:15:01.148Z] 1469e6f7b9e6: Pull complete [2022-10-10T15:15:01.148Z] eaf3925da568: Pull complete [2022-10-10T15:15:03.050Z] bab4dde63d76: Pull complete [2022-10-10T15:15:03.050Z] bde34c3a00c8: Pull complete [2022-10-10T15:15:03.050Z] b352a97aabf1: Pull complete [2022-10-10T15:15:03.050Z] 4872d77fe225: Pull complete [2022-10-10T15:15:03.050Z] 5851b861e8e6: Pull complete [2022-10-10T15:15:03.050Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T15:15:03.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T15:15:03.050Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:15:03.138Z] prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container [2022-10-10T15:15:03.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T15:15:04.503Z] $ docker top b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 -eo pid,comm [2022-10-10T15:15:04.554Z] 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-10T15:15:04.554Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T15:15:04.585Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T15:15:04.585Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T15:15:04.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T15:15:04.700Z] $ docker exec b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 ssh-agent [2022-10-10T15:15:04.798Z] SSH_AUTH_SOCK=/tmp/ssh-YyTGGPlHya3Q/agent.33 [2022-10-10T15:15:04.798Z] SSH_AGENT_PID=39 [2022-10-10T15:15:04.803Z] Running ssh-add (command line suppressed) [2022-10-10T15:15:04.905Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_13415895517688164026.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_13415895517688164026.key) [2022-10-10T15:15:04.916Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T15:15:05.201Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T15:15:05.214Z] $ docker exec --env ******** --env ******** b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 ssh-agent -k [2022-10-10T15:15:05.316Z] unset SSH_AUTH_SOCK; [2022-10-10T15:15:05.317Z] unset SSH_AGENT_PID; [2022-10-10T15:15:05.317Z] echo Agent pid 39 killed; [2022-10-10T15:15:05.326Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T15:15:05.352Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T15:15:05.352Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T15:15:05.458Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T15:15:05.461Z] $ docker exec b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 ssh-agent [2022-10-10T15:15:05.572Z] SSH_AUTH_SOCK=/tmp/ssh-CJr6tLnmJA3k/agent.72 [2022-10-10T15:15:05.572Z] SSH_AGENT_PID=78 [2022-10-10T15:15:05.575Z] Running ssh-add (command line suppressed) [2022-10-10T15:15:05.672Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_16092493839513827067.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_16092493839513827067.key) [2022-10-10T15:15:05.684Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T15:15:05.970Z] + git semver init [2022-10-10T15:15:06.229Z] 2022-10-10 15:15:06,146 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T15:15:06.229Z] 2022-10-10 15:15:06,146 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver [2022-10-10T15:15:06.229Z] 2022-10-10 15:15:06,147 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver [2022-10-10T15:15:06.229Z] 2022-10-10 15:15:06,147 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423, universal_newlines=False, shell=None, istream=None) [2022-10-10T15:15:07.170Z] 2022-10-10 15:15:07,079 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.git/info/exclude [2022-10-10T15:15:07.170Z] 2022-10-10 15:15:07,080 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 with force:False [2022-10-10T15:15:07.170Z] 2022-10-10 15:15:07,080 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 [2022-10-10T15:15:07.170Z] 2022-10-10 15:15:07,084 [execute] INFO git cat-file --batch-check [2022-10-10T15:15:07.170Z] 2022-10-10 15:15:07,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T15:15:07.170Z] 2022-10-10 15:15:07,093 [execute] INFO git cat-file --batch [2022-10-10T15:15:07.170Z] 2022-10-10 15:15:07,093 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T15:15:07.170Z] 2022-10-10 15:15:07,100 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 [2022-10-10T15:15:07.170Z] 0.0.0 [Pipeline] } [2022-10-10T15:15:07.182Z] $ docker exec --env ******** --env ******** b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 ssh-agent -k [2022-10-10T15:15:07.283Z] unset SSH_AUTH_SOCK; [2022-10-10T15:15:07.284Z] unset SSH_AGENT_PID; [2022-10-10T15:15:07.284Z] echo Agent pid 78 killed; [2022-10-10T15:15:07.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T15:15:07.599Z] + git semver [Pipeline] } [2022-10-10T15:15:07.873Z] $ docker stop --time=1 b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 [2022-10-10T15:15:09.172Z] $ docker rm -f b116968c849e569a2fa0ceb71c896f16b780bc66313a203d78d71be7505ad617 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T15:15:09.503Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T15:15:09.669Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T15:15:09.672Z] [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-10T15:15:09.783Z] provisioning config files... [2022-10-10T15:15:09.793Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config11023585056996340634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:15:10.086Z] ---> docker-login.sh [2022-10-10T15:15:10.086Z] nexus3.edgexfoundry.org:10001 [2022-10-10T15:15:10.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:15:10.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:15:10.086Z] Configure a credential helper to remove this warning. See [2022-10-10T15:15:10.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:15:10.086Z] [2022-10-10T15:15:10.086Z] Login Succeeded [2022-10-10T15:15:10.086Z] nexus3.edgexfoundry.org:10002 [2022-10-10T15:15:10.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:15:10.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:15:10.086Z] Configure a credential helper to remove this warning. See [2022-10-10T15:15:10.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:15:10.086Z] [2022-10-10T15:15:10.086Z] Login Succeeded [2022-10-10T15:15:10.086Z] nexus3.edgexfoundry.org:10003 [2022-10-10T15:15:10.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:15:10.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:15:10.346Z] Configure a credential helper to remove this warning. See [2022-10-10T15:15:10.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:15:10.346Z] [2022-10-10T15:15:10.346Z] Login Succeeded [2022-10-10T15:15:10.346Z] nexus3.edgexfoundry.org:10004 [2022-10-10T15:15:10.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:15:10.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:15:10.346Z] Configure a credential helper to remove this warning. See [2022-10-10T15:15:10.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:15:10.346Z] [2022-10-10T15:15:10.346Z] Login Succeeded [2022-10-10T15:15:10.346Z] docker.io [2022-10-10T15:15:10.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:15:10.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:15:10.867Z] Configure a credential helper to remove this warning. See [2022-10-10T15:15:10.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:15:10.867Z] [2022-10-10T15:15:10.867Z] Login Succeeded [2022-10-10T15:15:10.867Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T15:15:10.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T15:15:10.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T15:15:10.958Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T15:15:10.969Z] ========================================================= [2022-10-10T15:15:10.969Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T15:15:10.969Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:15:11.297Z] + 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-10T15:15:11.297Z] Sending build context to Docker daemon 6.171MB [2022-10-10T15:15:11.297Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T15:15:11.297Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T15:15:11.297Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T15:15:11.297Z] 2408cc74d12b: Pulling fs layer [2022-10-10T15:15:11.297Z] ea60b727a1ce: Pulling fs layer [2022-10-10T15:15:11.297Z] 30c4a7721957: Pulling fs layer [2022-10-10T15:15:11.297Z] 370296b7ddb6: Pulling fs layer [2022-10-10T15:15:11.297Z] 7c6cee850709: Pulling fs layer [2022-10-10T15:15:11.297Z] aa9baa53a306: Pulling fs layer [2022-10-10T15:15:11.297Z] 7c6cee850709: Waiting [2022-10-10T15:15:11.297Z] 370296b7ddb6: Waiting [2022-10-10T15:15:11.297Z] 8b309c321861: Pulling fs layer [2022-10-10T15:15:11.297Z] d8d76fd02f46: Pulling fs layer [2022-10-10T15:15:11.297Z] fa31f396de31: Pulling fs layer [2022-10-10T15:15:11.297Z] aa9baa53a306: Waiting [2022-10-10T15:15:11.297Z] 8b309c321861: Waiting [2022-10-10T15:15:11.297Z] d8d76fd02f46: Waiting [2022-10-10T15:15:11.297Z] fa31f396de31: Waiting [2022-10-10T15:15:11.297Z] 30c4a7721957: Verifying Checksum [2022-10-10T15:15:11.297Z] 30c4a7721957: Download complete [2022-10-10T15:15:11.297Z] ea60b727a1ce: Verifying Checksum [2022-10-10T15:15:11.297Z] ea60b727a1ce: Download complete [2022-10-10T15:15:11.297Z] 7c6cee850709: Verifying Checksum [2022-10-10T15:15:11.297Z] 7c6cee850709: Download complete [2022-10-10T15:15:11.297Z] aa9baa53a306: Verifying Checksum [2022-10-10T15:15:11.297Z] aa9baa53a306: Download complete [2022-10-10T15:15:11.556Z] 2408cc74d12b: Verifying Checksum [2022-10-10T15:15:11.556Z] 2408cc74d12b: Download complete [2022-10-10T15:15:11.556Z] 8b309c321861: Verifying Checksum [2022-10-10T15:15:11.556Z] 8b309c321861: Download complete [2022-10-10T15:15:11.556Z] 2408cc74d12b: Pull complete [2022-10-10T15:15:11.815Z] ea60b727a1ce: Pull complete [2022-10-10T15:15:11.815Z] 30c4a7721957: Pull complete [2022-10-10T15:15:12.074Z] fa31f396de31: Verifying Checksum [2022-10-10T15:15:12.074Z] fa31f396de31: Download complete [2022-10-10T15:15:12.333Z] 370296b7ddb6: Verifying Checksum [2022-10-10T15:15:12.333Z] 370296b7ddb6: Download complete [2022-10-10T15:15:12.591Z] d8d76fd02f46: Verifying Checksum [2022-10-10T15:15:12.591Z] d8d76fd02f46: Download complete [2022-10-10T15:15:15.876Z] 370296b7ddb6: Pull complete [2022-10-10T15:15:15.876Z] 7c6cee850709: Pull complete [2022-10-10T15:15:15.876Z] aa9baa53a306: Pull complete [2022-10-10T15:15:15.876Z] 8b309c321861: Pull complete [2022-10-10T15:15:17.783Z] d8d76fd02f46: Pull complete [2022-10-10T15:15:18.349Z] fa31f396de31: Pull complete [2022-10-10T15:15:18.349Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T15:15:18.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T15:15:18.349Z] ---> cef68f9685f8 [2022-10-10T15:15:18.349Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T15:15:20.255Z] ---> Running in f7c4c8a5e504 [2022-10-10T15:15:20.255Z] Removing intermediate container f7c4c8a5e504 [2022-10-10T15:15:20.255Z] ---> 746f569d40b1 [2022-10-10T15:15:20.255Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T15:15:20.255Z] ---> Running in 145f2f98f508 [2022-10-10T15:15:20.255Z] Removing intermediate container 145f2f98f508 [2022-10-10T15:15:20.255Z] ---> 9169a9d474e8 [2022-10-10T15:15:20.255Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T15:15:20.255Z] ---> Running in 46dbb1df85b6 [2022-10-10T15:15:20.255Z] Removing intermediate container 46dbb1df85b6 [2022-10-10T15:15:20.255Z] ---> 3416aa1896d7 [2022-10-10T15:15:20.255Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T15:15:20.255Z] ---> Running in 05d1a3ef9a46 [2022-10-10T15:15:20.255Z] Removing intermediate container 05d1a3ef9a46 [2022-10-10T15:15:20.255Z] ---> 4d0923721be7 [2022-10-10T15:15:20.255Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T15:15:20.514Z] ---> Running in b9ffb50c6ad4 [2022-10-10T15:15:21.081Z] Removing intermediate container b9ffb50c6ad4 [2022-10-10T15:15:21.081Z] ---> 96c301a2ef0f [2022-10-10T15:15:21.081Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T15:15:21.339Z] ---> Running in cdf67b39c991 [2022-10-10T15:15:21.339Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T15:15:22.281Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T15:15:22.541Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T15:15:22.801Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T15:15:22.801Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T15:15:22.801Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T15:15:23.061Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T15:15:23.061Z] OK: 216 MiB in 55 packages [2022-10-10T15:15:23.319Z] Removing intermediate container cdf67b39c991 [2022-10-10T15:15:23.319Z] ---> 79b0ca7dc868 [2022-10-10T15:15:23.319Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T15:15:23.319Z] ---> Running in 3063e2d07a7d [2022-10-10T15:15:23.579Z] Removing intermediate container 3063e2d07a7d [2022-10-10T15:15:23.579Z] ---> cebc1de20d1b [2022-10-10T15:15:23.579Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T15:15:23.579Z] ---> ffe65d3ec401 [2022-10-10T15:15:23.579Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T15:15:23.579Z] ---> Running in 8bedfa3278cd [2022-10-10T15:15:24.740Z] Still waiting to schedule task [2022-10-10T15:15:24.740Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7528’ is offline [2022-10-10T15:15:38.455Z] Removing intermediate container 8bedfa3278cd [2022-10-10T15:15:38.455Z] ---> 75fdb9cbfe8b [2022-10-10T15:15:38.455Z] Step 12/13 : COPY . . [2022-10-10T15:15:38.455Z] ---> 0021b9600305 [2022-10-10T15:15:38.455Z] Step 13/13 : RUN $MAKE [2022-10-10T15:15:38.455Z] ---> Running in 7a801770e510 [2022-10-10T15:15:38.455Z] noop [2022-10-10T15:15:38.715Z] Removing intermediate container 7a801770e510 [2022-10-10T15:15:38.715Z] ---> b9af0040cc16 [2022-10-10T15:15:38.715Z] Successfully built b9af0040cc16 [2022-10-10T15:15:38.715Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:15:39.024Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T15:15:39.024Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:15:39.086Z] prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container [2022-10-10T15:15:39.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T15:15:39.450Z] $ docker top 00e2ec5784d768350807e04816a0c423cd99d0e6814d124e9d268798f5ff0d3b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:15:39.789Z] + go version [2022-10-10T15:15:39.789Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T15:15:39.800Z] $ docker stop --time=1 00e2ec5784d768350807e04816a0c423cd99d0e6814d124e9d268798f5ff0d3b [2022-10-10T15:15:41.063Z] $ docker rm -f 00e2ec5784d768350807e04816a0c423cd99d0e6814d124e9d268798f5ff0d3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:15:41.471Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T15:15:41.471Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:15:41.536Z] prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container [2022-10-10T15:15:41.567Z] $ 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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T15:15:41.907Z] $ docker top 218ce9d7de4e581ed7806198412e09fc1299e64636561d265e9dfcc1f5df2e7f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:15:42.239Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] fileExists [Pipeline] sh [2022-10-10T15:15:42.535Z] + make test [2022-10-10T15:15:42.535Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T15:15:42.793Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T15:15:50.897Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T15:15:51.829Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 21.8% of statements [2022-10-10T15:15:51.829Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T15:15:58.386Z] 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-10T15:15:58.386Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T15:16:00.911Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T15:16:00.911Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T15:16:00.911Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T15:16:00.924Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T15:16:00.935Z] $ docker stop --time=1 218ce9d7de4e581ed7806198412e09fc1299e64636561d265e9dfcc1f5df2e7f [2022-10-10T15:16:02.742Z] $ docker rm -f 218ce9d7de4e581ed7806198412e09fc1299e64636561d265e9dfcc1f5df2e7f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T15:16:03.173Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T15:16:03.215Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T15:16:03.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T15:16:03.920Z] + ls -al . [2022-10-10T15:16:03.920Z] total 184 [2022-10-10T15:16:03.920Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 15:15 . [2022-10-10T15:16:03.920Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:14 .. [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 15:14 .dockerignore [2022-10-10T15:16:03.920Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 15:15 .git [2022-10-10T15:16:03.920Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:14 .github [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 15:14 .gitignore [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 15:14 .golangci.yml [2022-10-10T15:16:03.920Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 15:15 .semver [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 15:14 Attribution.txt [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 15:14 CHANGELOG.md [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 15:14 Dockerfile [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 15:14 GOVERNANCE.md [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 15:14 Jenkinsfile [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 15:14 LICENSE [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 15:14 Makefile [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 15:14 OWNERS.md [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 15:14 README.md [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 15:15 VERSION [2022-10-10T15:16:03.920Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:14 bin [2022-10-10T15:16:03.920Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:14 cmd [2022-10-10T15:16:03.920Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 15:15 coverage.out [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 15:14 go.mod [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 15:14 go.sum [2022-10-10T15:16:03.920Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:14 internal [2022-10-10T15:16:03.920Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:14 mock [2022-10-10T15:16:03.920Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:14 snap [2022-10-10T15:16:03.920Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 15:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:16:04.221Z] + 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=de52f11cb84c943c1ee8d7598cf261f4a4be872a --label arch=amd64 --label version=0.0.0 . [2022-10-10T15:16:04.221Z] Sending build context to Docker daemon 6.19MB [2022-10-10T15:16:04.221Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T15:16:04.221Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T15:16:04.221Z] ---> b9af0040cc16 [2022-10-10T15:16:04.221Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T15:16:04.221Z] ---> Running in d4f273c0fe5f [2022-10-10T15:16:04.479Z] Removing intermediate container d4f273c0fe5f [2022-10-10T15:16:04.479Z] ---> 944403f09a80 [2022-10-10T15:16:04.479Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T15:16:04.479Z] ---> Running in 080cb611cd4d [2022-10-10T15:16:04.479Z] Removing intermediate container 080cb611cd4d [2022-10-10T15:16:04.479Z] ---> f4e2a26e248f [2022-10-10T15:16:04.479Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T15:16:04.479Z] ---> Running in 9723b31b3d6b [2022-10-10T15:16:04.479Z] Removing intermediate container 9723b31b3d6b [2022-10-10T15:16:04.479Z] ---> 4e1d4dcdaa7b [2022-10-10T15:16:04.479Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T15:16:04.737Z] ---> Running in 104c23df3f6f [2022-10-10T15:16:04.737Z] Removing intermediate container 104c23df3f6f [2022-10-10T15:16:04.737Z] ---> 9ff5befa7577 [2022-10-10T15:16:04.737Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T15:16:04.737Z] ---> Running in 1d0a287c386c [2022-10-10T15:16:05.305Z] Removing intermediate container 1d0a287c386c [2022-10-10T15:16:05.305Z] ---> b7665c1e8fa1 [2022-10-10T15:16:05.305Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T15:16:05.305Z] ---> Running in 3bef3fe1c1ce [2022-10-10T15:16:05.564Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T15:16:06.498Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T15:16:06.756Z] OK: 216 MiB in 55 packages [2022-10-10T15:16:07.014Z] Removing intermediate container 3bef3fe1c1ce [2022-10-10T15:16:07.014Z] ---> d2a790ffe4de [2022-10-10T15:16:07.014Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T15:16:07.272Z] ---> Running in 3d5ba03ac906 [2022-10-10T15:16:07.272Z] Removing intermediate container 3d5ba03ac906 [2022-10-10T15:16:07.272Z] ---> 2a2ea9261689 [2022-10-10T15:16:07.272Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T15:16:07.272Z] ---> 09219269da07 [2022-10-10T15:16:07.272Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T15:16:07.272Z] ---> Running in 7609e3639745 [2022-10-10T15:16:08.206Z] Removing intermediate container 7609e3639745 [2022-10-10T15:16:08.206Z] ---> 0f21312a701a [2022-10-10T15:16:08.206Z] Step 12/25 : COPY . . [2022-10-10T15:16:08.206Z] ---> 4ae64df694da [2022-10-10T15:16:08.206Z] Step 13/25 : RUN $MAKE [2022-10-10T15:16:08.465Z] ---> Running in 5aa760badef2 [2022-10-10T15:16:08.723Z] 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-10T15:16:26.800Z] Removing intermediate container 5aa760badef2 [2022-10-10T15:16:26.800Z] ---> 77046a0d394f [2022-10-10T15:16:26.800Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T15:16:27.059Z] 3.16: Pulling from library/alpine [2022-10-10T15:16:27.059Z] 213ec9aee27d: Pulling fs layer [2022-10-10T15:16:27.317Z] 213ec9aee27d: Verifying Checksum [2022-10-10T15:16:27.317Z] 213ec9aee27d: Download complete [2022-10-10T15:16:27.576Z] 213ec9aee27d: Pull complete [2022-10-10T15:16:27.576Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T15:16:27.576Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T15:16:27.576Z] ---> 9c6f07244728 [2022-10-10T15:16:27.576Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T15:16:27.576Z] ---> Running in 90a2236762ac [2022-10-10T15:16:27.576Z] Removing intermediate container 90a2236762ac [2022-10-10T15:16:27.576Z] ---> f26a2dc6160a [2022-10-10T15:16:27.576Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T15:16:27.834Z] ---> Running in 3e73d7f47232 [2022-10-10T15:16:27.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T15:16:28.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T15:16:28.350Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T15:16:28.350Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T15:16:28.350Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T15:16:28.350Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T15:16:28.350Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T15:16:28.350Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T15:16:28.350Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T15:16:28.350Z] OK: 8 MiB in 20 packages [2022-10-10T15:16:28.608Z] Removing intermediate container 3e73d7f47232 [2022-10-10T15:16:28.608Z] ---> 9a9ab0e20c82 [2022-10-10T15:16:28.608Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T15:16:29.175Z] ---> 10e3fd6d958e [2022-10-10T15:16:29.175Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T15:16:29.433Z] ---> 556091ac47c6 [2022-10-10T15:16:29.433Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T15:16:29.433Z] ---> 504cd047c318 [2022-10-10T15:16:29.433Z] Step 20/25 : EXPOSE 59982 [2022-10-10T15:16:29.433Z] ---> Running in c0ffd7f2d146 [2022-10-10T15:16:29.691Z] Removing intermediate container c0ffd7f2d146 [2022-10-10T15:16:29.691Z] ---> 325d0ed53a65 [2022-10-10T15:16:29.691Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T15:16:29.691Z] ---> Running in fca079357037 [2022-10-10T15:16:29.691Z] Removing intermediate container fca079357037 [2022-10-10T15:16:29.691Z] ---> 5d7c6b558aec [2022-10-10T15:16:29.691Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T15:16:29.691Z] ---> Running in 3ba600dce3ed [2022-10-10T15:16:29.950Z] Removing intermediate container 3ba600dce3ed [2022-10-10T15:16:29.950Z] ---> c81e4dd0deda [2022-10-10T15:16:29.950Z] Step 23/25 : LABEL arch=amd64 [2022-10-10T15:16:29.950Z] ---> Running in 6d4af7cb6f1e [2022-10-10T15:16:29.950Z] Removing intermediate container 6d4af7cb6f1e [2022-10-10T15:16:29.950Z] ---> f1650409c705 [2022-10-10T15:16:29.950Z] Step 24/25 : LABEL git_sha=de52f11cb84c943c1ee8d7598cf261f4a4be872a [2022-10-10T15:16:29.950Z] ---> Running in 25c2b59a8b15 [2022-10-10T15:16:30.208Z] Removing intermediate container 25c2b59a8b15 [2022-10-10T15:16:30.208Z] ---> 62c7c47d2328 [2022-10-10T15:16:30.208Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T15:16:30.208Z] ---> Running in bb5f2187afe5 [2022-10-10T15:16:30.208Z] Removing intermediate container bb5f2187afe5 [2022-10-10T15:16:30.208Z] ---> 0e4cdeb698ff [2022-10-10T15:16:30.208Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T15:16:30.208Z] Successfully built 0e4cdeb698ff [2022-10-10T15:16:30.208Z] 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-10T15:16:30.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T15:16:30.624Z] [2022-10-10T15:16:30.624Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:16:30.919Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T15:16:30.919Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T15:16:30.919Z] 5eb5b503b376: Pulling fs layer [2022-10-10T15:16:30.919Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T15:16:30.919Z] ec43610c2a17: Pulling fs layer [2022-10-10T15:16:30.919Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T15:16:30.919Z] 33b1e0a273af: Pulling fs layer [2022-10-10T15:16:30.919Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T15:16:30.919Z] 2f39f015ded8: Pulling fs layer [2022-10-10T15:16:30.919Z] 3a2ae6a8a46f: Waiting [2022-10-10T15:16:30.919Z] 33b1e0a273af: Waiting [2022-10-10T15:16:30.919Z] 5d3b04190fa2: Waiting [2022-10-10T15:16:30.919Z] 2f39f015ded8: Waiting [2022-10-10T15:16:30.919Z] 5c69ac0246d0: Verifying Checksum [2022-10-10T15:16:30.919Z] 5c69ac0246d0: Download complete [2022-10-10T15:16:30.919Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T15:16:30.919Z] 3a2ae6a8a46f: Download complete [2022-10-10T15:16:30.919Z] 33b1e0a273af: Verifying Checksum [2022-10-10T15:16:30.919Z] 33b1e0a273af: Download complete [2022-10-10T15:16:30.919Z] 5d3b04190fa2: Verifying Checksum [2022-10-10T15:16:30.919Z] 5d3b04190fa2: Download complete [2022-10-10T15:16:31.178Z] ec43610c2a17: Verifying Checksum [2022-10-10T15:16:31.178Z] ec43610c2a17: Download complete [2022-10-10T15:16:31.178Z] 5eb5b503b376: Download complete [2022-10-10T15:16:31.745Z] 2f39f015ded8: Download complete [2022-10-10T15:16:32.311Z] 5eb5b503b376: Pull complete [2022-10-10T15:16:32.311Z] 5c69ac0246d0: Pull complete [2022-10-10T15:16:32.569Z] ec43610c2a17: Pull complete [2022-10-10T15:16:32.827Z] 3a2ae6a8a46f: Pull complete [2022-10-10T15:16:32.827Z] 33b1e0a273af: Pull complete [2022-10-10T15:16:32.827Z] 5d3b04190fa2: Pull complete [2022-10-10T15:16:37.007Z] 2f39f015ded8: Pull complete [2022-10-10T15:16:37.007Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T15:16:37.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T15:16:37.007Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:16:37.076Z] prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container [2022-10-10T15:16:37.105Z] $ 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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T15:16:38.713Z] $ docker top afda230a6aca5ae934e31dacfe202e9bb26d59fe3c43fdf19f3cdba3e7c30425 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:16:39.078Z] ---> job-cost.sh [2022-10-10T15:16:39.078Z] lf-activate-venv: SKIPPING [2022-10-10T15:16:39.078Z] INFO: No Stack... [2022-10-10T15:16:39.646Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T15:16:39.904Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T15:16:40.191Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/cost.csv [2022-10-10T15:16:40.191Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T15:16:40.205Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] [2022-10-10T15:16:40.212Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] did not exist. Created. [2022-10-10T15:16:40.212Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T15:16:40.508Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T15:16:40.534Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T15:16:40.541Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T15:16:40.555Z] $ docker stop --time=1 afda230a6aca5ae934e31dacfe202e9bb26d59fe3c43fdf19f3cdba3e7c30425 [2022-10-10T15:16:41.738Z] $ docker rm -f afda230a6aca5ae934e31dacfe202e9bb26d59fe3c43fdf19f3cdba3e7c30425 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T15:16:52.845Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7530 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] { [Pipeline] ws [2022-10-10T15:16:52.861Z] Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout [2022-10-10T15:16:52.898Z] Selected Git installation does not exist. Using Default [2022-10-10T15:16:52.898Z] The recommended git tool is: NONE [2022-10-10T15:16:57.902Z] using credential edgex-jenkins-ssh [2022-10-10T15:16:57.916Z] Cloning the remote Git repository [2022-10-10T15:16:57.967Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T15:16:58.037Z] > git init /w/workspace/device-mqtt-go/4 # timeout=10 [2022-10-10T15:16:58.188Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T15:16:58.189Z] > git --version # timeout=10 [2022-10-10T15:16:58.218Z] > git --version # 'git version 2.25.1' [2022-10-10T15:16:58.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T15:16:58.270Z] Verifying host key using known hosts file [2022-10-10T15:16:58.448Z] 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-10T15:16:58.459Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T15:16:59.580Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T15:16:59.600Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T15:17:01.121Z] Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a [2022-10-10T15:17:01.323Z] Merge succeeded, producing de52f11cb84c943c1ee8d7598cf261f4a4be872a [2022-10-10T15:17:01.324Z] Checking out Revision de52f11cb84c943c1ee8d7598cf261f4a4be872a (PR-423) [2022-10-10T15:17:00.378Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-10T15:17:00.421Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-10T15:17:00.422Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T15:17:00.427Z] Verifying host key using known hosts file [2022-10-10T15:17:00.434Z] 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-10T15:17:00.446Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T15:17:01.141Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T15:17:01.158Z] > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 [2022-10-10T15:17:01.236Z] > git remote # timeout=10 [2022-10-10T15:17:01.253Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T15:17:01.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T15:17:01.274Z] Verifying host key using known hosts file [2022-10-10T15:17:01.277Z] 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-10T15:17:01.286Z] > git merge 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 [2022-10-10T15:17:01.306Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T15:17:01.331Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T15:17:01.352Z] > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 [2022-10-10T15:17:04.791Z] Commit message: "refactor(snap): : Set unique name for config interface" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T15:17:05.685Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T15:17:05.686Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T15:17:05.686Z] Dload Upload Total Spent Left Speed [2022-10-10T15:17:05.686Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh [2022-10-10T15:17:06.432Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T15:17:06.753Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T15:17:06.753Z] + sudo tee /etc/docker/daemon.new [2022-10-10T15:17:06.753Z] { [2022-10-10T15:17:06.753Z] "registry-mirrors": [ [2022-10-10T15:17:06.753Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T15:17:06.753Z] ], [2022-10-10T15:17:06.753Z] "bip": "10.250.0.254/24", [2022-10-10T15:17:06.753Z] "hosts": [ [2022-10-10T15:17:06.753Z] "tcp://0.0.0.0:5555", [2022-10-10T15:17:06.753Z] "unix:///var/run/docker.sock" [2022-10-10T15:17:06.753Z] ], [2022-10-10T15:17:06.753Z] "mtu": 1458, [2022-10-10T15:17:06.753Z] "selinux-enabled": true, [2022-10-10T15:17:06.753Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T15:17:06.753Z] } [Pipeline] sh [2022-10-10T15:17:07.071Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T15:17:07.400Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T15:17:25.635Z] provisioning config files... [2022-10-10T15:17:25.657Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config1638857600409556142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:17:25.990Z] ---> docker-login.sh [2022-10-10T15:17:25.990Z] nexus3.edgexfoundry.org:10001 [2022-10-10T15:17:26.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:17:26.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:17:26.527Z] Configure a credential helper to remove this warning. See [2022-10-10T15:17:26.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:17:26.527Z] [2022-10-10T15:17:26.527Z] Login Succeeded [2022-10-10T15:17:26.527Z] nexus3.edgexfoundry.org:10002 [2022-10-10T15:17:26.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:17:26.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:17:26.796Z] Configure a credential helper to remove this warning. See [2022-10-10T15:17:26.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:17:26.796Z] [2022-10-10T15:17:26.796Z] Login Succeeded [2022-10-10T15:17:26.796Z] nexus3.edgexfoundry.org:10003 [2022-10-10T15:17:27.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:17:27.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:17:27.064Z] Configure a credential helper to remove this warning. See [2022-10-10T15:17:27.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:17:27.064Z] [2022-10-10T15:17:27.064Z] Login Succeeded [2022-10-10T15:17:27.331Z] nexus3.edgexfoundry.org:10004 [2022-10-10T15:17:27.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:17:27.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:17:27.598Z] Configure a credential helper to remove this warning. See [2022-10-10T15:17:27.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:17:27.598Z] [2022-10-10T15:17:27.598Z] Login Succeeded [2022-10-10T15:17:27.598Z] docker.io [2022-10-10T15:17:27.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:17:28.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:17:28.136Z] Configure a credential helper to remove this warning. See [2022-10-10T15:17:28.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:17:28.136Z] [2022-10-10T15:17:28.136Z] Login Succeeded [2022-10-10T15:17:28.136Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T15:17:28.152Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T15:17:28.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T15:17:28.307Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T15:17:28.314Z] ========================================================= [2022-10-10T15:17:28.314Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T15:17:28.314Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:17:28.638Z] + 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-10T15:17:28.904Z] Sending build context to Docker daemon 3.195MB [2022-10-10T15:17:28.904Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T15:17:28.904Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T15:17:28.904Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T15:17:28.904Z] b3c136eddcbf: Pulling fs layer [2022-10-10T15:17:28.904Z] c0a3192eca97: Pulling fs layer [2022-10-10T15:17:28.904Z] a050256f5b6f: Pulling fs layer [2022-10-10T15:17:28.904Z] 656be50a0ddc: Pulling fs layer [2022-10-10T15:17:28.904Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T15:17:28.904Z] f607e4fc86c3: Pulling fs layer [2022-10-10T15:17:28.904Z] 4d572c569a2c: Pulling fs layer [2022-10-10T15:17:28.904Z] fcf976331f73: Pulling fs layer [2022-10-10T15:17:28.904Z] 2bbca73fdf42: Waiting [2022-10-10T15:17:28.904Z] f607e4fc86c3: Waiting [2022-10-10T15:17:28.904Z] 4d572c569a2c: Waiting [2022-10-10T15:17:28.904Z] fcf976331f73: Waiting [2022-10-10T15:17:28.904Z] 656be50a0ddc: Waiting [2022-10-10T15:17:29.175Z] a050256f5b6f: Verifying Checksum [2022-10-10T15:17:29.175Z] a050256f5b6f: Download complete [2022-10-10T15:17:29.175Z] c0a3192eca97: Download complete [2022-10-10T15:17:29.175Z] 2bbca73fdf42: Download complete [2022-10-10T15:17:29.175Z] f607e4fc86c3: Verifying Checksum [2022-10-10T15:17:29.175Z] f607e4fc86c3: Download complete [2022-10-10T15:17:29.175Z] b3c136eddcbf: Verifying Checksum [2022-10-10T15:17:30.148Z] b3c136eddcbf: Pull complete [2022-10-10T15:17:30.148Z] fcf976331f73: Verifying Checksum [2022-10-10T15:17:30.148Z] fcf976331f73: Download complete [2022-10-10T15:17:30.428Z] c0a3192eca97: Pull complete [2022-10-10T15:17:30.698Z] a050256f5b6f: Pull complete [2022-10-10T15:17:31.286Z] 4d572c569a2c: Verifying Checksum [2022-10-10T15:17:31.286Z] 4d572c569a2c: Download complete [2022-10-10T15:17:31.870Z] 656be50a0ddc: Verifying Checksum [2022-10-10T15:17:31.870Z] 656be50a0ddc: Download complete [2022-10-10T15:17:44.197Z] 656be50a0ddc: Pull complete [2022-10-10T15:17:44.197Z] 2bbca73fdf42: Pull complete [2022-10-10T15:17:44.197Z] f607e4fc86c3: Pull complete [2022-10-10T15:17:49.545Z] 4d572c569a2c: Pull complete [2022-10-10T15:17:50.957Z] fcf976331f73: Pull complete [2022-10-10T15:17:50.958Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T15:17:50.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T15:17:50.958Z] ---> 3970a7415f9e [2022-10-10T15:17:50.958Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T15:17:52.903Z] ---> Running in 462d6d567e00 [2022-10-10T15:17:53.170Z] Removing intermediate container 462d6d567e00 [2022-10-10T15:17:53.170Z] ---> 07ca26abf893 [2022-10-10T15:17:53.170Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T15:17:53.170Z] ---> Running in ef2c3b197bb2 [2022-10-10T15:17:53.435Z] Removing intermediate container ef2c3b197bb2 [2022-10-10T15:17:53.435Z] ---> 2ef09162d08f [2022-10-10T15:17:53.435Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T15:17:53.703Z] ---> Running in d05f883a8f25 [2022-10-10T15:17:53.969Z] Removing intermediate container d05f883a8f25 [2022-10-10T15:17:53.969Z] ---> 86e0f1d254ee [2022-10-10T15:17:53.969Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T15:17:53.969Z] ---> Running in 861c4cb92cc0 [2022-10-10T15:17:54.238Z] Removing intermediate container 861c4cb92cc0 [2022-10-10T15:17:54.238Z] ---> 033fb1ead24f [2022-10-10T15:17:54.238Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T15:17:54.238Z] ---> Running in 540a4ef74fa2 [2022-10-10T15:17:56.184Z] Removing intermediate container 540a4ef74fa2 [2022-10-10T15:17:56.184Z] ---> bdf61db34569 [2022-10-10T15:17:56.184Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T15:17:56.184Z] ---> Running in 56233e209c01 [2022-10-10T15:17:57.149Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T15:17:58.110Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T15:17:59.072Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T15:17:59.072Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T15:17:59.072Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T15:17:59.341Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T15:17:59.341Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T15:17:59.341Z] OK: 226 MiB in 55 packages [2022-10-10T15:18:00.755Z] Removing intermediate container 56233e209c01 [2022-10-10T15:18:00.755Z] ---> 16b3a8cbd9a7 [2022-10-10T15:18:00.755Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-10T15:18:00.755Z] ---> Running in b5551bbde7ed [2022-10-10T15:18:00.755Z] Removing intermediate container b5551bbde7ed [2022-10-10T15:18:00.755Z] ---> 0a1672412d7d [2022-10-10T15:18:00.755Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T15:18:01.340Z] ---> 9b0b84d23148 [2022-10-10T15:18:01.340Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T15:18:01.341Z] ---> Running in 2e735e69f158 [2022-10-10T15:18:48.194Z] Removing intermediate container 2e735e69f158 [2022-10-10T15:18:48.194Z] ---> d9451d214b09 [2022-10-10T15:18:48.194Z] Step 12/13 : COPY . . [2022-10-10T15:18:48.194Z] ---> 2e22e9e79fa1 [2022-10-10T15:18:48.194Z] Step 13/13 : RUN $MAKE [2022-10-10T15:18:48.194Z] ---> Running in 1c053ff8f382 [2022-10-10T15:18:49.161Z] noop [2022-10-10T15:18:49.749Z] Removing intermediate container 1c053ff8f382 [2022-10-10T15:18:49.749Z] ---> 8971b4da6e64 [2022-10-10T15:18:49.749Z] Successfully built 8971b4da6e64 [2022-10-10T15:18:49.749Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:18:50.101Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T15:18:50.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:18:50.277Z] prd-ubuntu20.04-docker-arm64-4c-16g-7530 does not seem to be running inside a container [2022-10-10T15:18:50.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T15:18:51.479Z] $ docker top 02a1a4be5af5359655c7647f5ea4618d76cf11e10e6eeafac0beb19778e3011f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:18:52.299Z] + go version [2022-10-10T15:18:52.299Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T15:18:52.319Z] $ docker stop --time=1 02a1a4be5af5359655c7647f5ea4618d76cf11e10e6eeafac0beb19778e3011f [2022-10-10T15:18:53.921Z] $ docker rm -f 02a1a4be5af5359655c7647f5ea4618d76cf11e10e6eeafac0beb19778e3011f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:18:54.440Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T15:18:54.440Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:18:54.607Z] prd-ubuntu20.04-docker-arm64-4c-16g-7530 does not seem to be running inside a container [2022-10-10T15:18:54.670Z] $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T15:18:55.823Z] $ docker top 907c9e97357fe09a7bfb242cdfe158d9748766a727b1ea27da9d34369a81fbe0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:18:56.646Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh [2022-10-10T15:18:56.975Z] + make test [2022-10-10T15:18:56.975Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T15:18:58.921Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-10T15:20:20.554Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-10T15:20:20.554Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements [2022-10-10T15:20:20.554Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-10T15:20:20.554Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T15:20:20.554Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T15:20:42.612Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T15:20:42.612Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T15:20:42.612Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T15:20:42.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T15:20:42.642Z] $ docker stop --time=1 907c9e97357fe09a7bfb242cdfe158d9748766a727b1ea27da9d34369a81fbe0 [2022-10-10T15:20:44.369Z] $ docker rm -f 907c9e97357fe09a7bfb242cdfe158d9748766a727b1ea27da9d34369a81fbe0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T15:20:45.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T15:20:45.301Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T15:20:45.675Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T15:20:46.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T15:20:46.379Z] + ls -al . [2022-10-10T15:20:46.379Z] total 180 [2022-10-10T15:20:46.379Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 15:18 . [2022-10-10T15:20:46.379Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:16 .. [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 15:17 .dockerignore [2022-10-10T15:20:46.379Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 15:17 .git [2022-10-10T15:20:46.379Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:17 .github [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 15:17 .gitignore [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 15:17 .golangci.yml [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 15:17 Attribution.txt [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 15:17 CHANGELOG.md [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 15:17 Dockerfile [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 15:17 GOVERNANCE.md [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 15:17 Jenkinsfile [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 15:17 LICENSE [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 15:17 Makefile [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 15:17 OWNERS.md [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 15:17 README.md [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 15:15 VERSION [2022-10-10T15:20:46.379Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:17 bin [2022-10-10T15:20:46.379Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:17 cmd [2022-10-10T15:20:46.379Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 15:20 coverage.out [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 15:17 go.mod [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 15:17 go.sum [2022-10-10T15:20:46.379Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:17 internal [2022-10-10T15:20:46.379Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:17 mock [2022-10-10T15:20:46.379Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:17 snap [2022-10-10T15:20:46.379Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 15:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:20:46.715Z] + 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=de52f11cb84c943c1ee8d7598cf261f4a4be872a --label arch=arm64 --label version=0.0.0 . [2022-10-10T15:20:46.984Z] Sending build context to Docker daemon 3.214MB [2022-10-10T15:20:46.984Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T15:20:46.984Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-10T15:20:46.984Z] ---> 8971b4da6e64 [2022-10-10T15:20:46.984Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-10T15:20:46.984Z] ---> Running in 260c24a942cd [2022-10-10T15:20:47.264Z] Removing intermediate container 260c24a942cd [2022-10-10T15:20:47.264Z] ---> 967c7b2145b5 [2022-10-10T15:20:47.264Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T15:20:47.535Z] ---> Running in 311645650c4d [2022-10-10T15:20:47.804Z] Removing intermediate container 311645650c4d [2022-10-10T15:20:47.804Z] ---> bfde14bbf83e [2022-10-10T15:20:47.804Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T15:20:47.804Z] ---> Running in e1c26db5ee5d [2022-10-10T15:20:48.072Z] Removing intermediate container e1c26db5ee5d [2022-10-10T15:20:48.072Z] ---> 9e00c3947897 [2022-10-10T15:20:48.072Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T15:20:48.072Z] ---> Running in bf4cd23ac09e [2022-10-10T15:20:48.343Z] Removing intermediate container bf4cd23ac09e [2022-10-10T15:20:48.343Z] ---> c420373123a3 [2022-10-10T15:20:48.343Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T15:20:48.343Z] ---> Running in 32f3192618f2 [2022-10-10T15:20:49.758Z] Removing intermediate container 32f3192618f2 [2022-10-10T15:20:49.758Z] ---> 59ea8a24586d [2022-10-10T15:20:49.758Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T15:20:50.026Z] ---> Running in 8d806b0a03f3 [2022-10-10T15:20:50.991Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T15:20:51.571Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T15:20:52.529Z] OK: 226 MiB in 55 packages [2022-10-10T15:20:53.490Z] Removing intermediate container 8d806b0a03f3 [2022-10-10T15:20:53.490Z] ---> 8b731daabee0 [2022-10-10T15:20:53.490Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-10T15:20:53.490Z] ---> Running in aa8f466ebeb4 [2022-10-10T15:20:53.762Z] Removing intermediate container aa8f466ebeb4 [2022-10-10T15:20:53.762Z] ---> c94d7e6e238a [2022-10-10T15:20:53.762Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-10T15:20:54.345Z] ---> 4606799a27ac [2022-10-10T15:20:54.345Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T15:20:54.345Z] ---> Running in 991476b0dc67 [2022-10-10T15:20:56.288Z] Removing intermediate container 991476b0dc67 [2022-10-10T15:20:56.288Z] ---> 5350ea87ebf2 [2022-10-10T15:20:56.288Z] Step 12/25 : COPY . . [2022-10-10T15:20:56.872Z] ---> 38b38798fc3e [2022-10-10T15:20:56.872Z] Step 13/25 : RUN $MAKE [2022-10-10T15:20:56.872Z] ---> Running in cc4d575e0e08 [2022-10-10T15:20:57.836Z] 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-10T15:23:34.863Z] Removing intermediate container cc4d575e0e08 [2022-10-10T15:23:34.863Z] ---> d156a241ccad [2022-10-10T15:23:34.863Z] Step 14/25 : FROM alpine:3.16 [2022-10-10T15:23:34.863Z] 3.16: Pulling from library/alpine [2022-10-10T15:23:34.863Z] 9b18e9b68314: Pulling fs layer [2022-10-10T15:23:34.863Z] 9b18e9b68314: Verifying Checksum [2022-10-10T15:23:34.863Z] 9b18e9b68314: Download complete [2022-10-10T15:23:34.863Z] 9b18e9b68314: Pull complete [2022-10-10T15:23:34.863Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T15:23:34.863Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T15:23:34.863Z] ---> a6215f271958 [2022-10-10T15:23:34.863Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-10T15:23:34.863Z] ---> Running in 720510f7d962 [2022-10-10T15:23:34.863Z] Removing intermediate container 720510f7d962 [2022-10-10T15:23:34.863Z] ---> 4f3d24100b8d [2022-10-10T15:23:34.863Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T15:23:34.863Z] ---> Running in d3277dd530af [2022-10-10T15:23:34.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T15:23:34.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T15:23:34.863Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T15:23:34.863Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T15:23:34.863Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T15:23:34.863Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T15:23:34.863Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T15:23:34.863Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T15:23:34.863Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T15:23:34.863Z] OK: 8 MiB in 20 packages [2022-10-10T15:23:34.863Z] Removing intermediate container d3277dd530af [2022-10-10T15:23:34.863Z] ---> 236305df0dff [2022-10-10T15:23:34.863Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-10T15:23:34.863Z] ---> 01715e716cac [2022-10-10T15:23:34.863Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-10T15:23:34.863Z] ---> 35d526e44e52 [2022-10-10T15:23:34.863Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-10T15:23:34.863Z] ---> d8c9ec1df834 [2022-10-10T15:23:34.863Z] Step 20/25 : EXPOSE 59982 [2022-10-10T15:23:34.863Z] ---> Running in b2a273ed4ab7 [2022-10-10T15:23:34.863Z] Removing intermediate container b2a273ed4ab7 [2022-10-10T15:23:34.863Z] ---> 9a06e07d56f3 [2022-10-10T15:23:34.863Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-10T15:23:34.863Z] ---> Running in 34221aadd57b [2022-10-10T15:23:34.863Z] Removing intermediate container 34221aadd57b [2022-10-10T15:23:34.863Z] ---> a821a35f7485 [2022-10-10T15:23:34.863Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T15:23:34.863Z] ---> Running in 2f1f3fd5b517 [2022-10-10T15:23:34.863Z] Removing intermediate container 2f1f3fd5b517 [2022-10-10T15:23:34.863Z] ---> 7b7e5e88a954 [2022-10-10T15:23:34.863Z] Step 23/25 : LABEL arch=arm64 [2022-10-10T15:23:34.863Z] ---> Running in 26579b6e3b76 [2022-10-10T15:23:34.863Z] Removing intermediate container 26579b6e3b76 [2022-10-10T15:23:34.863Z] ---> d391a6ba5a16 [2022-10-10T15:23:34.863Z] Step 24/25 : LABEL git_sha=de52f11cb84c943c1ee8d7598cf261f4a4be872a [2022-10-10T15:23:34.863Z] ---> Running in 568940102a05 [2022-10-10T15:23:34.863Z] Removing intermediate container 568940102a05 [2022-10-10T15:23:34.863Z] ---> 671ad21c122c [2022-10-10T15:23:34.863Z] Step 25/25 : LABEL version=0.0.0 [2022-10-10T15:23:34.863Z] ---> Running in 97e4db3c57b0 [2022-10-10T15:23:34.863Z] Removing intermediate container 97e4db3c57b0 [2022-10-10T15:23:34.863Z] ---> 5a94f4e9334e [2022-10-10T15:23:34.863Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T15:23:34.863Z] Successfully built 5a94f4e9334e [2022-10-10T15:23:34.863Z] 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-10T15:23:35.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T15:23:35.293Z] [2022-10-10T15:23:35.293Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:23:35.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T15:23:35.636Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T15:23:35.636Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T15:23:35.636Z] 04944245beec: Pulling fs layer [2022-10-10T15:23:35.636Z] 699f458cf7ca: Pulling fs layer [2022-10-10T15:23:35.636Z] 765212b225bb: Pulling fs layer [2022-10-10T15:23:35.636Z] f23df028b6ca: Pulling fs layer [2022-10-10T15:23:35.636Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T15:23:35.636Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T15:23:35.636Z] d65c8cfc05b1: Waiting [2022-10-10T15:23:35.636Z] 765212b225bb: Waiting [2022-10-10T15:23:35.636Z] f23df028b6ca: Waiting [2022-10-10T15:23:35.636Z] 2437ff75d9bd: Waiting [2022-10-10T15:23:35.905Z] 04944245beec: Verifying Checksum [2022-10-10T15:23:35.905Z] 04944245beec: Download complete [2022-10-10T15:23:35.905Z] 765212b225bb: Verifying Checksum [2022-10-10T15:23:35.905Z] 765212b225bb: Download complete [2022-10-10T15:23:35.905Z] f23df028b6ca: Verifying Checksum [2022-10-10T15:23:35.905Z] f23df028b6ca: Download complete [2022-10-10T15:23:35.905Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T15:23:35.905Z] d65c8cfc05b1: Download complete [2022-10-10T15:23:35.905Z] 699f458cf7ca: Verifying Checksum [2022-10-10T15:23:35.905Z] 699f458cf7ca: Download complete [2022-10-10T15:23:36.491Z] 8998bd30e6a1: Verifying Checksum [2022-10-10T15:23:36.491Z] 8998bd30e6a1: Download complete [2022-10-10T15:23:38.436Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T15:23:38.436Z] 2437ff75d9bd: Download complete [2022-10-10T15:23:40.380Z] 8998bd30e6a1: Pull complete [2022-10-10T15:23:40.647Z] 04944245beec: Pull complete [2022-10-10T15:23:42.055Z] 699f458cf7ca: Pull complete [2022-10-10T15:23:42.055Z] 765212b225bb: Pull complete [2022-10-10T15:23:43.016Z] f23df028b6ca: Pull complete [2022-10-10T15:23:43.016Z] d65c8cfc05b1: Pull complete [2022-10-10T15:23:57.993Z] 2437ff75d9bd: Pull complete [2022-10-10T15:23:57.993Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T15:23:57.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T15:23:57.993Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:23:58.162Z] prd-ubuntu20.04-docker-arm64-4c-16g-7530 does not seem to be running inside a container [2022-10-10T15:23:58.214Z] $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-10T15:24:00.733Z] $ docker top 9ffcc86200451e6b7717dc5f2d5b9d05cbbc6bc6bdb6b4296f6452963f1dbe65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:24:01.560Z] ---> job-cost.sh [2022-10-10T15:24:01.560Z] lf-activate-venv: SKIPPING [2022-10-10T15:24:01.560Z] INFO: No Stack... [2022-10-10T15:24:02.141Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T15:24:02.735Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T15:24:03.637Z] + cat /w/workspace/device-mqtt-go/4/archives/cost.csv [2022-10-10T15:24:03.637Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T15:24:03.697Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] [2022-10-10T15:24:03.703Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] did not exist. Created. [2022-10-10T15:24:03.703Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T15:24:04.034Z] /w/workspace/device-mqtt-go/4@tmp/durable-998615cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T15:24:04.371Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T15:24:04.395Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T15:24:04.432Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T15:24:04.442Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T15:24:04.455Z] $ docker stop --time=1 9ffcc86200451e6b7717dc5f2d5b9d05cbbc6bc6bdb6b4296f6452963f1dbe65 [2022-10-10T15:24:05.961Z] $ docker rm -f 9ffcc86200451e6b7717dc5f2d5b9d05cbbc6bc6bdb6b4296f6452963f1dbe65 [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-10T15:24:06.329Z] provisioning config files... [2022-10-10T15:24:06.335Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config4957916067865063079tmp [Pipeline] { [Pipeline] sh [2022-10-10T15:24:06.624Z] + set +x [2022-10-10T15:24:06.624Z] + curl -s https://codecov.io/bash [2022-10-10T15:24:06.624Z] + bash -s -- [2022-10-10T15:24:06.624Z] [2022-10-10T15:24:06.624Z] _____ _ [2022-10-10T15:24:06.624Z] / ____| | | [2022-10-10T15:24:06.624Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T15:24:06.624Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T15:24:06.624Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T15:24:06.624Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T15:24:06.624Z] Bash-1.0.6 [2022-10-10T15:24:06.624Z] [2022-10-10T15:24:06.624Z] [2022-10-10T15:24:06.624Z] ==> git version 2.25.1 found [2022-10-10T15:24:06.624Z] ==> 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-10T15:24:06.624Z] Release-Date: 2020-01-08 [2022-10-10T15:24:06.624Z] 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-10T15:24:06.624Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T15:24:06.624Z] ==> Jenkins CI detected. [2022-10-10T15:24:06.624Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-10T15:24:06.624Z] project root: . [2022-10-10T15:24:06.624Z] --> token set from env [2022-10-10T15:24:06.624Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T15:24:06.624Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T15:24:06.624Z] ==> Python coveragepy not found [2022-10-10T15:24:06.624Z] ==> Searching for coverage reports in: [2022-10-10T15:24:06.624Z] + . [2022-10-10T15:24:06.624Z] -> Found 1 reports [2022-10-10T15:24:06.624Z] ==> Detecting git/mercurial file structure [2022-10-10T15:24:06.624Z] ==> Reading reports [2022-10-10T15:24:06.624Z] + ./coverage.out bytes=17887 [2022-10-10T15:24:06.624Z] ==> Appending adjustments [2022-10-10T15:24:06.624Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T15:24:06.885Z] + Found adjustments [2022-10-10T15:24:06.885Z] ==> Gzipping contents [2022-10-10T15:24:06.885Z] 4.0K /tmp/codecov.xCjOD7.gz [2022-10-10T15:24:06.885Z] ==> Uploading reports [2022-10-10T15:24:06.885Z] url: https://codecov.io [2022-10-10T15:24:06.885Z] query: branch=PR-423&commit=de52f11cb84c943c1ee8d7598cf261f4a4be872a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2022-10-10T15:24:06.885Z] -> Pinging Codecov [2022-10-10T15:24:06.885Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-423&commit=de52f11cb84c943c1ee8d7598cf261f4a4be872a&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2022-10-10T15:24:07.144Z] -> Uploading to [2022-10-10T15:24:07.144Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/de52f11cb84c943c1ee8d7598cf261f4a4be872a/f0196fe2-4f1d-4474-93a8-26c9e5cf73a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T152407Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=836554570cdcab5bf8e947b5acd5564ed0945babedc39d0151ed0bdb612eb4fc [2022-10-10T15:24:07.144Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T15:24:07.144Z] Dload Upload Total Spent Left Speed [2022-10-10T15:24:07.403Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 13201 --:--:-- --:--:-- --:--:-- 13147 [2022-10-10T15:24:07.403Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/de52f11cb84c943c1ee8d7598cf261f4a4be872a [Pipeline] } [2022-10-10T15:24:07.410Z] 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-10T15:24:08.043Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives ] [2022-10-10T15:24:08.043Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T15:24:08.043Z] total 16 [2022-10-10T15:24:08.043Z] drwxr-xr-x 3 root root 4096 Oct 10 15:16 . [2022-10-10T15:24:08.043Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 15:16 .. [2022-10-10T15:24:08.043Z] drwxr-xr-x 2 root root 4096 Oct 10 15:16 cost [2022-10-10T15:24:08.043Z] -rw-r--r-- 1 root root 86 Oct 10 15:16 cost.csv [2022-10-10T15:24:08.043Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T15:24:08.043Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-10T15:24:08.043Z] total 16 [2022-10-10T15:24:08.043Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 15:16 . [2022-10-10T15:24:08.043Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 15:16 .. [2022-10-10T15:24:08.043Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 15:16 cost [2022-10-10T15:24:08.043Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 10 15:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:24:08.335Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:24:09.190Z] ---> package-listing.sh [2022-10-10T15:24:09.190Z] ++ facter osfamily [2022-10-10T15:24:09.190Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T15:24:09.450Z] + OS_FAMILY=debian [2022-10-10T15:24:09.450Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-10T15:24:09.450Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T15:24:09.450Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T15:24:09.450Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T15:24:09.450Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T15:24:09.450Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' [2022-10-10T15:24:09.450Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T15:24:09.450Z] + case "${OS_FAMILY}" in [2022-10-10T15:24:09.450Z] + dpkg -l [2022-10-10T15:24:09.450Z] + grep '^ii' [2022-10-10T15:24:09.450Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T15:24:09.450Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T15:24:09.450Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T15:24:09.450Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' [2022-10-10T15:24:09.450Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ [2022-10-10T15:24:09.450Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ [Pipeline] echo [2022-10-10T15:24:09.459Z] 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-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T15:24:09.733Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:24:10.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T15:24:10.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:24:10.350Z] prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container [2022-10-10T15:24:10.382Z] $ 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-423/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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T15:24:10.729Z] $ docker top 81ce87c1d368f34da2741d15b39bccf05375db11b0c59dddc795965d5a4ca532 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:24:11.071Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T15:24:11.360Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T15:24:11.647Z] + ls /var/log/sa-host [2022-10-10T15:24:11.647Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T15:24:11.705Z] provisioning config files... [2022-10-10T15:24:11.712Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config1038912708058732030tmp [Pipeline] { [Pipeline] echo [2022-10-10T15:24:11.727Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:24:12.006Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T15:24:12.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:24:12.323Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T15:24:12.330Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:24:12.613Z] ---> sudo-logs.sh [2022-10-10T15:24:12.613Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T15:24:12.643Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:24:12.923Z] ---> job-cost.sh [2022-10-10T15:24:12.923Z] lf-activate-venv: SKIPPING [2022-10-10T15:24:12.923Z] DEBUG: total: 0.2199999988079071 [2022-10-10T15:24:12.923Z] INFO: Retrieving Stack Cost... [2022-10-10T15:24:13.182Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T15:24:13.750Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T15:24:13.761Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:24:14.044Z] ---> logs-deploy.sh [2022-10-10T15:24:14.044Z] lf-activate-venv: SKIPPING [2022-10-10T15:24:14.044Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-423/4 [2022-10-10T15:24:14.044Z] INFO: archiving workspace using pattern(s): [2022-10-10T15:24:14.980Z] Archives upload complete. [2022-10-10T15:24:14.980Z] INFO: archiving logs to Nexus