Pull request #423 event 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 Obtained Jenkinsfile from de52f11cb84c943c1ee8d7598cf261f4a4be872a+7d55b05ab01bc20af024da7fbe574cccb5f70c8f (20ade3da273ff561ef50be4ff1411e81dcb6e7a0) 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-ssh16718074238720660975.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-ssh2816156447486194594.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-ssh10310826143138665926.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-ssh1953549300362618633.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-ssh15547228462835535651.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8051 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 7d55b05ab01bc20af024da7fbe574cccb5f70c8f into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a Merge succeeded, producing 0897854ee068baa8fe7bd73caf08c1f8e30db33a Checking out Revision 0897854ee068baa8fe7bd73caf08c1f8e30db33a (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 7d55b05ab01bc20af024da7fbe574cccb5f70c8f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0897854ee068baa8fe7bd73caf08c1f8e30db33a # timeout=10 Commit message: "Merge commit '7d55b05ab01bc20af024da7fbe574cccb5f70c8f' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 9e2d16dccc36d1bd39c779aacc0c524732d32e48 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T08:46:02.407Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T08:46:02.480Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T08:46:02.504Z] ========================================================= [2022-10-17T08:46:02.504Z] EdgeX Global Pipelines Version Info [2022-10-17T08:46:02.504Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-17T08:46:03.227Z] ------------------- [2022-10-17T08:46:03.227Z] stable info: [2022-10-17T08:46:03.227Z] ------------------- [2022-10-17T08:46:03.227Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T08:46:03.227Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T08:46:03.227Z] Message: update stable to v1.0.239 [2022-10-17T08:46:03.798Z] ------------------- [2022-10-17T08:46:03.798Z] experimental info: [2022-10-17T08:46:03.798Z] ------------------- [2022-10-17T08:46:03.798Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T08:46:03.798Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T08:46:03.798Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T08:46:03.989Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-17T08:46:04.001Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-17T08:46:04.011Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T08:46:04.027Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T08:46:04.037Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T08:46:04.050Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T08:46:04.061Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T08:46:04.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T08:46:04.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T08:46:04.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T08:46:04.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T08:46:04.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-17T08:46:04.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T08:46:04.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T08:46:04.162Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T08:46:04.173Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T08:46:04.185Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T08:46:04.196Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T08:46:04.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T08:46:04.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T08:46:04.234Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-17T08:46:04.245Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-17T08:46:04.259Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T08:46:04.271Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T08:46:04.283Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-17T08:46:04.298Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T08:46:04.310Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T08:46:04.324Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo [2022-10-17T08:46:04.345Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo [2022-10-17T08:46:04.365Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo [2022-10-17T08:46:04.385Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0897854ee068baa8fe7bd73caf08c1f8e30db33a [Pipeline] echo [2022-10-17T08:46:04.404Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0897854 [Pipeline] echo [2022-10-17T08:46:04.423Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T08:46:04.464Z] provisioning config files... [2022-10-17T08:46:04.477Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config10406746527214366659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T08:46:04.792Z] ---> docker-login.sh [2022-10-17T08:46:04.792Z] nexus3.edgexfoundry.org:10001 [2022-10-17T08:46:05.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:46:05.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:46:05.313Z] Configure a credential helper to remove this warning. See [2022-10-17T08:46:05.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:46:05.313Z] [2022-10-17T08:46:05.313Z] Login Succeeded [2022-10-17T08:46:05.313Z] nexus3.edgexfoundry.org:10002 [2022-10-17T08:46:05.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:46:05.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:46:05.313Z] Configure a credential helper to remove this warning. See [2022-10-17T08:46:05.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:46:05.313Z] [2022-10-17T08:46:05.313Z] Login Succeeded [2022-10-17T08:46:05.313Z] nexus3.edgexfoundry.org:10003 [2022-10-17T08:46:05.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:46:05.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:46:05.572Z] Configure a credential helper to remove this warning. See [2022-10-17T08:46:05.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:46:05.572Z] [2022-10-17T08:46:05.572Z] Login Succeeded [2022-10-17T08:46:05.572Z] nexus3.edgexfoundry.org:10004 [2022-10-17T08:46:05.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:46:05.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:46:05.572Z] Configure a credential helper to remove this warning. See [2022-10-17T08:46:05.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:46:05.572Z] [2022-10-17T08:46:05.572Z] Login Succeeded [2022-10-17T08:46:05.572Z] docker.io [2022-10-17T08:46:05.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:46:06.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:46:06.141Z] Configure a credential helper to remove this warning. See [2022-10-17T08:46:06.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:46:06.141Z] [2022-10-17T08:46:06.141Z] Login Succeeded [2022-10-17T08:46:06.141Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T08:46:06.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T08:46:06.527Z] + git rev-list -1 --merges 0897854ee068baa8fe7bd73caf08c1f8e30db33a~1..0897854ee068baa8fe7bd73caf08c1f8e30db33a [Pipeline] echo [2022-10-17T08:46:06.559Z] -----------> git rev-list -1 --merges 0897854ee068baa8fe7bd73caf08c1f8e30db33a~1..0897854ee068baa8fe7bd73caf08c1f8e30db33a 0897854ee068baa8fe7bd73caf08c1f8e30db33a [2022-10-17T08:46:06.559Z] 0897854ee068baa8fe7bd73caf08c1f8e30db33a [false] [Pipeline] sh [2022-10-17T08:46:06.895Z] + git log --format=format:%s -1 0897854ee068baa8fe7bd73caf08c1f8e30db33a [Pipeline] echo [2022-10-17T08:46:06.909Z] ========================================================= [2022-10-17T08:46:06.909Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T08:46:06.909Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T08:46:07.230Z] + git log --format=format:%s -1 0897854ee068baa8fe7bd73caf08c1f8e30db33a [Pipeline] echo [2022-10-17T08:46:07.241Z] [semverPrep] GIT_COMMIT: 0897854ee068baa8fe7bd73caf08c1f8e30db33a, Commit Message: Merge commit '7d55b05ab01bc20af024da7fbe574cccb5f70c8f' into HEAD [Pipeline] echo [2022-10-17T08:46:07.252Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T08:46:07.640Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T08:46:07.640Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T08:46:07.640Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T08:46:07.640Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T08:46:07.640Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T08:46:07.640Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T08:46:07.640Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T08:46:08.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T08:46:08.061Z] [2022-10-17T08:46:08.061Z] 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-17T08:46:08.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T08:46:08.360Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T08:46:08.360Z] b85a868b505f: Pulling fs layer [2022-10-17T08:46:08.360Z] e2be974225ed: Pulling fs layer [2022-10-17T08:46:08.360Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T08:46:08.360Z] 988bab9f4d93: Pulling fs layer [2022-10-17T08:46:08.360Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T08:46:08.360Z] 988bab9f4d93: Waiting [2022-10-17T08:46:08.360Z] eaf3925da568: Pulling fs layer [2022-10-17T08:46:08.360Z] bab4dde63d76: Pulling fs layer [2022-10-17T08:46:08.360Z] 1469e6f7b9e6: Waiting [2022-10-17T08:46:08.360Z] eaf3925da568: Waiting [2022-10-17T08:46:08.360Z] bab4dde63d76: Waiting [2022-10-17T08:46:08.360Z] bde34c3a00c8: Pulling fs layer [2022-10-17T08:46:08.360Z] b352a97aabf1: Pulling fs layer [2022-10-17T08:46:08.360Z] 4872d77fe225: Pulling fs layer [2022-10-17T08:46:08.360Z] b352a97aabf1: Waiting [2022-10-17T08:46:08.360Z] 5851b861e8e6: Pulling fs layer [2022-10-17T08:46:08.360Z] 4872d77fe225: Waiting [2022-10-17T08:46:08.360Z] 5851b861e8e6: Waiting [2022-10-17T08:46:08.360Z] e2be974225ed: Verifying Checksum [2022-10-17T08:46:08.360Z] e2be974225ed: Download complete [2022-10-17T08:46:08.360Z] 988bab9f4d93: Verifying Checksum [2022-10-17T08:46:08.360Z] 988bab9f4d93: Download complete [2022-10-17T08:46:08.620Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T08:46:08.620Z] 1469e6f7b9e6: Download complete [2022-10-17T08:46:08.620Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T08:46:08.620Z] 339a4e72a1f5: Download complete [2022-10-17T08:46:08.620Z] eaf3925da568: Verifying Checksum [2022-10-17T08:46:08.620Z] eaf3925da568: Download complete [2022-10-17T08:46:08.620Z] bde34c3a00c8: Verifying Checksum [2022-10-17T08:46:08.620Z] bde34c3a00c8: Download complete [2022-10-17T08:46:08.620Z] b352a97aabf1: Download complete [2022-10-17T08:46:08.620Z] 4872d77fe225: Verifying Checksum [2022-10-17T08:46:08.620Z] 4872d77fe225: Download complete [2022-10-17T08:46:08.620Z] 5851b861e8e6: Verifying Checksum [2022-10-17T08:46:08.620Z] 5851b861e8e6: Download complete [2022-10-17T08:46:08.620Z] b85a868b505f: Verifying Checksum [2022-10-17T08:46:08.620Z] b85a868b505f: Download complete [2022-10-17T08:46:08.880Z] bab4dde63d76: Verifying Checksum [2022-10-17T08:46:08.880Z] bab4dde63d76: Download complete [2022-10-17T08:46:09.819Z] b85a868b505f: Pull complete [2022-10-17T08:46:10.078Z] e2be974225ed: Pull complete [2022-10-17T08:46:10.337Z] 339a4e72a1f5: Pull complete [2022-10-17T08:46:10.597Z] 988bab9f4d93: Pull complete [2022-10-17T08:46:10.856Z] 1469e6f7b9e6: Pull complete [2022-10-17T08:46:10.856Z] eaf3925da568: Pull complete [2022-10-17T08:46:12.762Z] bab4dde63d76: Pull complete [2022-10-17T08:46:12.762Z] bde34c3a00c8: Pull complete [2022-10-17T08:46:13.022Z] b352a97aabf1: Pull complete [2022-10-17T08:46:13.022Z] 4872d77fe225: Pull complete [2022-10-17T08:46:13.022Z] 5851b861e8e6: Pull complete [2022-10-17T08:46:13.022Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T08:46:13.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T08:46:13.022Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T08:46:13.101Z] prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container [2022-10-17T08:46:13.137Z] $ 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-17T08:46:15.242Z] $ docker top 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf -eo pid,comm [2022-10-17T08:46:15.290Z] 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-17T08:46:15.290Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T08:46:15.330Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T08:46:15.330Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T08:46:15.439Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T08:46:15.445Z] $ docker exec 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf ssh-agent [2022-10-17T08:46:15.547Z] SSH_AUTH_SOCK=/tmp/ssh-Wd2rDnYzOx8I/agent.33 [2022-10-17T08:46:15.547Z] SSH_AGENT_PID=39 [2022-10-17T08:46:15.555Z] Running ssh-add (command line suppressed) [2022-10-17T08:46:15.645Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_5116995219765408918.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_5116995219765408918.key) [2022-10-17T08:46:15.656Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T08:46:15.942Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T08:46:15.959Z] $ docker exec --env ******** --env ******** 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf ssh-agent -k [2022-10-17T08:46:16.067Z] unset SSH_AUTH_SOCK; [2022-10-17T08:46:16.067Z] unset SSH_AGENT_PID; [2022-10-17T08:46:16.067Z] echo Agent pid 39 killed; [2022-10-17T08:46:16.074Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T08:46:16.096Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T08:46:16.096Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T08:46:16.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T08:46:16.212Z] $ docker exec 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf ssh-agent [2022-10-17T08:46:16.313Z] SSH_AUTH_SOCK=/tmp/ssh-yZqw0zlsqF5T/agent.71 [2022-10-17T08:46:16.314Z] SSH_AGENT_PID=77 [2022-10-17T08:46:16.318Z] Running ssh-add (command line suppressed) [2022-10-17T08:46:16.415Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_2682966743644947098.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_2682966743644947098.key) [2022-10-17T08:46:16.429Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T08:46:16.721Z] + git semver init [2022-10-17T08:46:16.981Z] 2022-10-17 08:46:16,930 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T08:46:16.981Z] 2022-10-17 08:46:16,932 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver [2022-10-17T08:46:16.981Z] 2022-10-17 08:46:16,933 [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-17T08:46:16.981Z] 2022-10-17 08:46:16,934 [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-17T08:46:18.361Z] 2022-10-17 08:46:17,954 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.git/info/exclude [2022-10-17T08:46:18.361Z] 2022-10-17 08:46:17,954 [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-17T08:46:18.361Z] 2022-10-17 08:46:17,955 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 [2022-10-17T08:46:18.361Z] 2022-10-17 08:46:17,959 [execute] INFO git cat-file --batch-check [2022-10-17T08:46:18.361Z] 2022-10-17 08:46:17,959 [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-17T08:46:18.361Z] 2022-10-17 08:46:17,965 [execute] INFO git cat-file --batch [2022-10-17T08:46:18.361Z] 2022-10-17 08:46:17,965 [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-17T08:46:18.361Z] 2022-10-17 08:46:17,970 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 [2022-10-17T08:46:18.361Z] 0.0.0 [Pipeline] } [2022-10-17T08:46:18.373Z] $ docker exec --env ******** --env ******** 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf ssh-agent -k [2022-10-17T08:46:18.475Z] unset SSH_AUTH_SOCK; [2022-10-17T08:46:18.475Z] unset SSH_AGENT_PID; [2022-10-17T08:46:18.476Z] echo Agent pid 77 killed; [2022-10-17T08:46:18.482Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T08:46:18.794Z] + git semver [Pipeline] } [2022-10-17T08:46:19.070Z] $ docker stop --time=1 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf [2022-10-17T08:46:20.368Z] $ docker rm -f 3950dcfe5a3844d3b87886e986c29bc6c8e367f39291a12db507dc4e4e521abf [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T08:46:20.707Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T08:46:20.876Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T08:46:20.878Z] [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-17T08:46:21.018Z] provisioning config files... [2022-10-17T08:46:21.027Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config17197310151354080444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T08:46:21.318Z] ---> docker-login.sh [2022-10-17T08:46:21.318Z] nexus3.edgexfoundry.org:10001 [2022-10-17T08:46:21.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:46:21.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:46:21.318Z] Configure a credential helper to remove this warning. See [2022-10-17T08:46:21.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:46:21.318Z] [2022-10-17T08:46:21.318Z] Login Succeeded [2022-10-17T08:46:21.318Z] nexus3.edgexfoundry.org:10002 [2022-10-17T08:46:21.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:46:21.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:46:21.318Z] Configure a credential helper to remove this warning. See [2022-10-17T08:46:21.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:46:21.318Z] [2022-10-17T08:46:21.318Z] Login Succeeded [2022-10-17T08:46:21.318Z] nexus3.edgexfoundry.org:10003 [2022-10-17T08:46:21.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:46:21.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:46:21.577Z] Configure a credential helper to remove this warning. See [2022-10-17T08:46:21.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:46:21.577Z] [2022-10-17T08:46:21.577Z] Login Succeeded [2022-10-17T08:46:21.577Z] nexus3.edgexfoundry.org:10004 [2022-10-17T08:46:21.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:46:21.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:46:21.577Z] Configure a credential helper to remove this warning. See [2022-10-17T08:46:21.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:46:21.577Z] [2022-10-17T08:46:21.577Z] Login Succeeded [2022-10-17T08:46:21.577Z] docker.io [2022-10-17T08:46:21.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:46:22.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:46:22.095Z] Configure a credential helper to remove this warning. See [2022-10-17T08:46:22.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:46:22.095Z] [2022-10-17T08:46:22.095Z] Login Succeeded [2022-10-17T08:46:22.095Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T08:46:22.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T08:46:22.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T08:46:22.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T08:46:22.187Z] ========================================================= [2022-10-17T08:46:22.187Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T08:46:22.187Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T08:46:22.496Z] + 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-17T08:46:22.496Z] Sending build context to Docker daemon 6.173MB [2022-10-17T08:46:22.496Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T08:46:22.496Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T08:46:22.496Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T08:46:22.496Z] 213ec9aee27d: Pulling fs layer [2022-10-17T08:46:22.496Z] 4583459ba037: Pulling fs layer [2022-10-17T08:46:22.496Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T08:46:22.496Z] 53926ce57604: Pulling fs layer [2022-10-17T08:46:22.496Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T08:46:22.496Z] 30f14e443154: Pulling fs layer [2022-10-17T08:46:22.496Z] 801331c1e519: Pulling fs layer [2022-10-17T08:46:22.496Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T08:46:22.496Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T08:46:22.496Z] 53926ce57604: Waiting [2022-10-17T08:46:22.496Z] 21b2b0c7a3f4: Waiting [2022-10-17T08:46:22.496Z] 30f14e443154: Waiting [2022-10-17T08:46:22.496Z] 801331c1e519: Waiting [2022-10-17T08:46:22.496Z] 99cc6dd402b0: Waiting [2022-10-17T08:46:22.496Z] 7d9ed39f4882: Waiting [2022-10-17T08:46:22.496Z] 93c1e223e6f2: Verifying Checksum [2022-10-17T08:46:22.496Z] 93c1e223e6f2: Download complete [2022-10-17T08:46:22.757Z] 4583459ba037: Download complete [2022-10-17T08:46:22.757Z] 21b2b0c7a3f4: Download complete [2022-10-17T08:46:22.757Z] 30f14e443154: Verifying Checksum [2022-10-17T08:46:22.757Z] 30f14e443154: Download complete [2022-10-17T08:46:22.757Z] 213ec9aee27d: Verifying Checksum [2022-10-17T08:46:22.757Z] 801331c1e519: Download complete [2022-10-17T08:46:22.757Z] 213ec9aee27d: Pull complete [2022-10-17T08:46:23.024Z] 4583459ba037: Pull complete [2022-10-17T08:46:23.024Z] 93c1e223e6f2: Pull complete [2022-10-17T08:46:23.024Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T08:46:23.024Z] 7d9ed39f4882: Download complete [2022-10-17T08:46:23.286Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T08:46:23.286Z] 99cc6dd402b0: Download complete [2022-10-17T08:46:23.544Z] 53926ce57604: Download complete [2022-10-17T08:46:26.828Z] 53926ce57604: Pull complete [2022-10-17T08:46:27.087Z] 21b2b0c7a3f4: Pull complete [2022-10-17T08:46:27.087Z] 30f14e443154: Pull complete [2022-10-17T08:46:27.087Z] 801331c1e519: Pull complete [2022-10-17T08:46:28.990Z] 99cc6dd402b0: Pull complete [2022-10-17T08:46:29.925Z] 7d9ed39f4882: Pull complete [2022-10-17T08:46:29.925Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T08:46:29.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T08:46:29.925Z] ---> 1dedd983c030 [2022-10-17T08:46:29.925Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T08:46:33.221Z] ---> Running in 9b31bf8d385a [2022-10-17T08:46:33.221Z] Removing intermediate container 9b31bf8d385a [2022-10-17T08:46:33.221Z] ---> 52cc63f251b4 [2022-10-17T08:46:33.221Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T08:46:33.221Z] ---> Running in cca2b3edae32 [2022-10-17T08:46:33.481Z] Removing intermediate container cca2b3edae32 [2022-10-17T08:46:33.481Z] ---> 480ecaaf8d17 [2022-10-17T08:46:33.481Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T08:46:33.481Z] ---> Running in 6009307a3e68 [2022-10-17T08:46:33.481Z] Removing intermediate container 6009307a3e68 [2022-10-17T08:46:33.481Z] ---> cfd61c2e4c46 [2022-10-17T08:46:33.481Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T08:46:33.481Z] ---> Running in 55a3a7768845 [2022-10-17T08:46:33.742Z] Removing intermediate container 55a3a7768845 [2022-10-17T08:46:33.742Z] ---> 29eb982f436d [2022-10-17T08:46:33.742Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T08:46:33.742Z] ---> Running in 65ba920c6066 [2022-10-17T08:46:34.308Z] Removing intermediate container 65ba920c6066 [2022-10-17T08:46:34.308Z] ---> 127276fd459b [2022-10-17T08:46:34.308Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T08:46:34.308Z] ---> Running in a4b847ea7126 [2022-10-17T08:46:34.568Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T08:46:35.505Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T08:46:35.764Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T08:46:35.975Z] Still waiting to schedule task [2022-10-17T08:46:35.975Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-17T08:46:36.025Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T08:46:36.025Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T08:46:36.025Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T08:46:36.284Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T08:46:36.284Z] OK: 216 MiB in 55 packages [2022-10-17T08:46:36.851Z] Removing intermediate container a4b847ea7126 [2022-10-17T08:46:36.851Z] ---> 8cc1f4cb30c9 [2022-10-17T08:46:36.851Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-17T08:46:36.851Z] ---> Running in f5f30fa0e96a [2022-10-17T08:46:36.851Z] Removing intermediate container f5f30fa0e96a [2022-10-17T08:46:36.851Z] ---> 6598b08b77c8 [2022-10-17T08:46:36.851Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T08:46:37.110Z] ---> 0e9f5ed02d8c [2022-10-17T08:46:37.110Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T08:46:37.110Z] ---> Running in e2dbc1c86240 [2022-10-17T08:46:59.532Z] Removing intermediate container e2dbc1c86240 [2022-10-17T08:46:59.532Z] ---> 3a345fb77382 [2022-10-17T08:46:59.532Z] Step 12/13 : COPY . . [2022-10-17T08:46:59.532Z] ---> 04e21bbac8b1 [2022-10-17T08:46:59.532Z] Step 13/13 : RUN $MAKE [2022-10-17T08:46:59.532Z] ---> Running in 8c155841077e [2022-10-17T08:46:59.532Z] noop [2022-10-17T08:46:59.532Z] Removing intermediate container 8c155841077e [2022-10-17T08:46:59.532Z] ---> f0c2a21f61d0 [2022-10-17T08:46:59.532Z] Successfully built f0c2a21f61d0 [2022-10-17T08:46:59.532Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T08:46:59.832Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T08:46:59.832Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T08:46:59.897Z] prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container [2022-10-17T08:46:59.927Z] $ 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-17T08:47:00.238Z] $ docker top 97be1481e7ee3fcd5f4d1f9c4bb900f16c530b2fed85fe5bdf49394d4e6717fd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T08:47:00.583Z] + go version [2022-10-17T08:47:00.583Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T08:47:00.595Z] $ docker stop --time=1 97be1481e7ee3fcd5f4d1f9c4bb900f16c530b2fed85fe5bdf49394d4e6717fd [2022-10-17T08:47:01.848Z] $ docker rm -f 97be1481e7ee3fcd5f4d1f9c4bb900f16c530b2fed85fe5bdf49394d4e6717fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T08:47:02.260Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T08:47:02.260Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T08:47:02.329Z] prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container [2022-10-17T08:47:02.361Z] $ 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-17T08:47:02.685Z] $ docker top 1572e2ed18d7220c8bfb69dffcdc0e3dece498918a43cd09012487f94057415a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T08:47:03.035Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] fileExists [Pipeline] sh [2022-10-17T08:47:03.333Z] + make test [2022-10-17T08:47:03.333Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T08:47:03.591Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-17T08:47:11.704Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-17T08:47:12.271Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-10-17T08:47:12.271Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-17T08:47:18.828Z] 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-17T08:47:18.828Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T08:47:21.354Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T08:47:21.354Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T08:47:21.354Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T08:47:21.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T08:47:21.380Z] $ docker stop --time=1 1572e2ed18d7220c8bfb69dffcdc0e3dece498918a43cd09012487f94057415a [2022-10-17T08:47:23.688Z] $ docker rm -f 1572e2ed18d7220c8bfb69dffcdc0e3dece498918a43cd09012487f94057415a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T08:47:24.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T08:47:24.176Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-17T08:47:24.686Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T08:47:24.969Z] + ls -al . [2022-10-17T08:47:24.969Z] total 184 [2022-10-17T08:47:24.969Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 08:47 . [2022-10-17T08:47:24.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 08:45 .. [2022-10-17T08:47:24.969Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 08:45 .dockerignore [2022-10-17T08:47:24.969Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 08:47 .git [2022-10-17T08:47:24.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 08:45 .github [2022-10-17T08:47:24.969Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 08:45 .gitignore [2022-10-17T08:47:24.969Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 08:45 .golangci.yml [2022-10-17T08:47:24.969Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 08:46 .semver [2022-10-17T08:47:24.969Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 17 08:45 Attribution.txt [2022-10-17T08:47:24.969Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 17 08:45 CHANGELOG.md [2022-10-17T08:47:24.969Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 17 08:45 Dockerfile [2022-10-17T08:47:24.969Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 08:45 GOVERNANCE.md [2022-10-17T08:47:24.969Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 08:45 Jenkinsfile [2022-10-17T08:47:24.969Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 08:45 LICENSE [2022-10-17T08:47:24.969Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 17 08:45 Makefile [2022-10-17T08:47:24.970Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 08:45 OWNERS.md [2022-10-17T08:47:24.970Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 17 08:45 README.md [2022-10-17T08:47:24.970Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 08:46 VERSION [2022-10-17T08:47:24.970Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 08:45 bin [2022-10-17T08:47:24.970Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 08:45 cmd [2022-10-17T08:47:24.970Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 17 08:47 coverage.out [2022-10-17T08:47:24.970Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 17 08:45 go.mod [2022-10-17T08:47:24.970Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 08:45 go.sum [2022-10-17T08:47:24.970Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 08:45 internal [2022-10-17T08:47:24.970Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 08:45 mock [2022-10-17T08:47:24.970Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 08:45 snap [2022-10-17T08:47:24.970Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 17 08:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T08:47:25.279Z] + 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=0897854ee068baa8fe7bd73caf08c1f8e30db33a --label arch=amd64 --label version=0.0.0 . [2022-10-17T08:47:25.279Z] Sending build context to Docker daemon 6.191MB [2022-10-17T08:47:25.279Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T08:47:25.279Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-17T08:47:25.279Z] ---> f0c2a21f61d0 [2022-10-17T08:47:25.279Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-17T08:47:25.279Z] ---> Running in f1986d2954e6 [2022-10-17T08:47:25.538Z] Removing intermediate container f1986d2954e6 [2022-10-17T08:47:25.538Z] ---> 44c1469b1615 [2022-10-17T08:47:25.538Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T08:47:25.538Z] ---> Running in 85c0bff06e8f [2022-10-17T08:47:25.538Z] Removing intermediate container 85c0bff06e8f [2022-10-17T08:47:25.538Z] ---> 41341ff0f4e8 [2022-10-17T08:47:25.538Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T08:47:25.538Z] ---> Running in d5b3f797a856 [2022-10-17T08:47:25.538Z] Removing intermediate container d5b3f797a856 [2022-10-17T08:47:25.538Z] ---> ebfa99bd19bb [2022-10-17T08:47:25.538Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T08:47:25.538Z] ---> Running in 922f12b46fe5 [2022-10-17T08:47:25.796Z] Removing intermediate container 922f12b46fe5 [2022-10-17T08:47:25.796Z] ---> 55d8d1bbe22a [2022-10-17T08:47:25.796Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T08:47:25.796Z] ---> Running in 6b5a040c7144 [2022-10-17T08:47:26.365Z] Removing intermediate container 6b5a040c7144 [2022-10-17T08:47:26.365Z] ---> d807f408a2c3 [2022-10-17T08:47:26.365Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T08:47:26.365Z] ---> Running in d2c107b8fb69 [2022-10-17T08:47:26.624Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T08:47:27.559Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T08:47:27.559Z] OK: 216 MiB in 55 packages [2022-10-17T08:47:28.127Z] Removing intermediate container d2c107b8fb69 [2022-10-17T08:47:28.127Z] ---> d834e33a5ecc [2022-10-17T08:47:28.127Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-17T08:47:28.127Z] ---> Running in 1943a264b005 [2022-10-17T08:47:28.127Z] Removing intermediate container 1943a264b005 [2022-10-17T08:47:28.127Z] ---> bf8d5801a6af [2022-10-17T08:47:28.127Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-17T08:47:28.127Z] ---> 9317250541e5 [2022-10-17T08:47:28.127Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T08:47:28.127Z] ---> Running in 72070506492c [2022-10-17T08:47:29.080Z] Removing intermediate container 72070506492c [2022-10-17T08:47:29.080Z] ---> 4e2038b9285a [2022-10-17T08:47:29.080Z] Step 12/25 : COPY . . [2022-10-17T08:47:29.342Z] ---> 46f06ddd48fd [2022-10-17T08:47:29.342Z] Step 13/25 : RUN $MAKE [2022-10-17T08:47:29.600Z] ---> Running in 55d21d8f86dc [2022-10-17T08:47:29.858Z] 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-17T08:47:51.782Z] Removing intermediate container 55d21d8f86dc [2022-10-17T08:47:51.782Z] ---> 0584bbde30b6 [2022-10-17T08:47:51.782Z] Step 14/25 : FROM alpine:3.16 [2022-10-17T08:47:51.782Z] 3.16: Pulling from library/alpine [2022-10-17T08:47:51.782Z] 213ec9aee27d: Already exists [2022-10-17T08:47:51.782Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T08:47:51.782Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T08:47:51.782Z] ---> 9c6f07244728 [2022-10-17T08:47:51.782Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-17T08:47:51.782Z] ---> Running in 8ab7bf82369c [2022-10-17T08:47:51.782Z] Removing intermediate container 8ab7bf82369c [2022-10-17T08:47:51.782Z] ---> ac518c75b6ab [2022-10-17T08:47:51.782Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T08:47:51.782Z] ---> Running in 770ac9ad6d33 [2022-10-17T08:47:51.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T08:47:51.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T08:47:51.782Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T08:47:51.782Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T08:47:51.782Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T08:47:51.782Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T08:47:51.782Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T08:47:51.782Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T08:47:51.782Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T08:47:51.782Z] OK: 8 MiB in 20 packages [2022-10-17T08:47:51.782Z] Removing intermediate container 770ac9ad6d33 [2022-10-17T08:47:51.782Z] ---> a2d67f46574e [2022-10-17T08:47:51.782Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-17T08:47:52.040Z] ---> b1eb00584840 [2022-10-17T08:47:52.040Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-17T08:47:52.040Z] ---> 7d6426574c71 [2022-10-17T08:47:52.040Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-17T08:47:52.301Z] ---> 72d7b17941b7 [2022-10-17T08:47:52.301Z] Step 20/25 : EXPOSE 59982 [2022-10-17T08:47:52.301Z] ---> Running in f86aa493aceb [2022-10-17T08:47:52.301Z] Removing intermediate container f86aa493aceb [2022-10-17T08:47:52.301Z] ---> d13797c8779a [2022-10-17T08:47:52.301Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-17T08:47:52.301Z] ---> Running in 086057a850d3 [2022-10-17T08:47:52.558Z] Removing intermediate container 086057a850d3 [2022-10-17T08:47:52.558Z] ---> ce0c0a989d55 [2022-10-17T08:47:52.558Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T08:47:52.558Z] ---> Running in 88866769a3a3 [2022-10-17T08:47:52.558Z] Removing intermediate container 88866769a3a3 [2022-10-17T08:47:52.558Z] ---> a04cd0025328 [2022-10-17T08:47:52.558Z] Step 23/25 : LABEL arch=amd64 [2022-10-17T08:47:52.558Z] ---> Running in b44b1964e8d3 [2022-10-17T08:47:52.558Z] Removing intermediate container b44b1964e8d3 [2022-10-17T08:47:52.558Z] ---> 275959b0c3a6 [2022-10-17T08:47:52.558Z] Step 24/25 : LABEL git_sha=0897854ee068baa8fe7bd73caf08c1f8e30db33a [2022-10-17T08:47:52.558Z] ---> Running in 83d6187c5f83 [2022-10-17T08:47:52.816Z] Removing intermediate container 83d6187c5f83 [2022-10-17T08:47:52.816Z] ---> 9a7fa3e9d6cf [2022-10-17T08:47:52.816Z] Step 25/25 : LABEL version=0.0.0 [2022-10-17T08:47:52.816Z] ---> Running in 1af1b6d8ec69 [2022-10-17T08:47:52.816Z] Removing intermediate container 1af1b6d8ec69 [2022-10-17T08:47:52.816Z] ---> 9a90a0a5200e [2022-10-17T08:47:52.816Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T08:47:52.816Z] Successfully built 9a90a0a5200e [2022-10-17T08:47:52.816Z] 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-17T08:47:53.235Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T08:47:53.235Z] [2022-10-17T08:47:53.235Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T08:47:53.529Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T08:47:53.529Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T08:47:53.529Z] 5eb5b503b376: Pulling fs layer [2022-10-17T08:47:53.529Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T08:47:53.529Z] ec43610c2a17: Pulling fs layer [2022-10-17T08:47:53.529Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T08:47:53.529Z] 33b1e0a273af: Pulling fs layer [2022-10-17T08:47:53.529Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T08:47:53.529Z] 2f39f015ded8: Pulling fs layer [2022-10-17T08:47:53.529Z] 33b1e0a273af: Waiting [2022-10-17T08:47:53.529Z] 5d3b04190fa2: Waiting [2022-10-17T08:47:53.529Z] 2f39f015ded8: Waiting [2022-10-17T08:47:53.529Z] 3a2ae6a8a46f: Waiting [2022-10-17T08:47:53.529Z] 5c69ac0246d0: Verifying Checksum [2022-10-17T08:47:53.529Z] 5c69ac0246d0: Download complete [2022-10-17T08:47:53.529Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T08:47:53.529Z] 3a2ae6a8a46f: Download complete [2022-10-17T08:47:53.529Z] 33b1e0a273af: Verifying Checksum [2022-10-17T08:47:53.529Z] 33b1e0a273af: Download complete [2022-10-17T08:47:53.529Z] ec43610c2a17: Verifying Checksum [2022-10-17T08:47:53.529Z] ec43610c2a17: Download complete [2022-10-17T08:47:53.529Z] 5d3b04190fa2: Download complete [2022-10-17T08:47:53.787Z] 5eb5b503b376: Verifying Checksum [2022-10-17T08:47:53.787Z] 5eb5b503b376: Download complete [2022-10-17T08:47:54.352Z] 2f39f015ded8: Verifying Checksum [2022-10-17T08:47:54.352Z] 2f39f015ded8: Download complete [2022-10-17T08:47:54.918Z] 5eb5b503b376: Pull complete [2022-10-17T08:47:55.177Z] 5c69ac0246d0: Pull complete [2022-10-17T08:47:55.437Z] ec43610c2a17: Pull complete [2022-10-17T08:47:55.696Z] 3a2ae6a8a46f: Pull complete [2022-10-17T08:47:55.955Z] 33b1e0a273af: Pull complete [2022-10-17T08:47:55.955Z] 5d3b04190fa2: Pull complete [2022-10-17T08:48:00.143Z] 2f39f015ded8: Pull complete [2022-10-17T08:48:00.143Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T08:48:00.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T08:48:00.143Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T08:48:00.229Z] prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container [2022-10-17T08:48:00.256Z] $ 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-17T08:48:03.203Z] $ docker top 3a0bb7466632a286656df6c4c530ccd5404d4ec9443dc5fb8441836d10f5289d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T08:48:03.581Z] ---> job-cost.sh [2022-10-17T08:48:03.581Z] lf-activate-venv: SKIPPING [2022-10-17T08:48:03.581Z] INFO: No Stack... [2022-10-17T08:48:03.840Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T08:48:04.098Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T08:48:04.387Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/cost.csv [2022-10-17T08:48:04.387Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T08:48:04.473Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] [2022-10-17T08:48:04.482Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] did not exist. Created. [2022-10-17T08:48:04.482Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T08:48:04.778Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T08:48:04.808Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T08:48:04.814Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T08:48:04.833Z] $ docker stop --time=1 3a0bb7466632a286656df6c4c530ccd5404d4ec9443dc5fb8441836d10f5289d [2022-10-17T08:48:05.650Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8052 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-17T08:48:06.123Z] $ docker rm -f 3a0bb7466632a286656df6c4c530ccd5404d4ec9443dc5fb8441836d10f5289d [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-10-17T08:48:06.220Z] Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2022-10-17T08:48:06.252Z] Selected Git installation does not exist. Using Default [2022-10-17T08:48:06.252Z] The recommended git tool is: NONE [Pipeline] // stage [Pipeline] } [2022-10-17T08:48:11.093Z] using credential edgex-jenkins-ssh [2022-10-17T08:48:11.117Z] Cloning the remote Git repository [2022-10-17T08:48:11.164Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-17T08:48:11.237Z] > git init /w/workspace/device-mqtt-go/6 # timeout=10 [2022-10-17T08:48:11.384Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-17T08:48:11.385Z] > git --version # timeout=10 [2022-10-17T08:48:11.409Z] > git --version # 'git version 2.25.1' [2022-10-17T08:48:11.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T08:48:11.462Z] Verifying host key using known hosts file [2022-10-17T08:48:11.654Z] 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-17T08:48:11.668Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T08:48:12.786Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-17T08:48:12.804Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T08:48:13.622Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-17T08:48:14.310Z] Merging remotes/origin/main commit 7d55b05ab01bc20af024da7fbe574cccb5f70c8f into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a [2022-10-17T08:48:14.545Z] Merge succeeded, producing b74824706d9f6e80093b801f72e0f3b2631ae0f1 [2022-10-17T08:48:14.546Z] Checking out Revision b74824706d9f6e80093b801f72e0f3b2631ae0f1 (PR-423) [2022-10-17T08:48:13.665Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-17T08:48:13.666Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T08:48:13.672Z] Verifying host key using known hosts file [2022-10-17T08:48:13.678Z] 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-17T08:48:13.690Z] > 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-17T08:48:14.331Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T08:48:14.348Z] > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 [2022-10-17T08:48:14.424Z] > git remote # timeout=10 [2022-10-17T08:48:14.440Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T08:48:14.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T08:48:14.461Z] Verifying host key using known hosts file [2022-10-17T08:48:14.466Z] 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-17T08:48:14.474Z] > git merge 7d55b05ab01bc20af024da7fbe574cccb5f70c8f # timeout=10 [2022-10-17T08:48:14.530Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T08:48:14.554Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T08:48:14.571Z] > git checkout -f b74824706d9f6e80093b801f72e0f3b2631ae0f1 # timeout=10 [2022-10-17T08:48:18.042Z] Commit message: "Merge commit '7d55b05ab01bc20af024da7fbe574cccb5f70c8f' into HEAD" [2022-10-17T08:48:18.068Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T08:48:18.958Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T08:48:18.958Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T08:48:18.958Z] Dload Upload Total Spent Left Speed [2022-10-17T08:48:18.958Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh [2022-10-17T08:48:18.052Z] > git rev-list --no-walk 9e2d16dccc36d1bd39c779aacc0c524732d32e48 # timeout=10 [2022-10-17T08:48:19.633Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T08:48:19.956Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T08:48:19.956Z] + sudo tee /etc/docker/daemon.new [2022-10-17T08:48:19.956Z] { [2022-10-17T08:48:19.956Z] "registry-mirrors": [ [2022-10-17T08:48:19.956Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T08:48:19.956Z] ], [2022-10-17T08:48:19.956Z] "bip": "10.250.0.254/24", [2022-10-17T08:48:19.956Z] "hosts": [ [2022-10-17T08:48:19.956Z] "tcp://0.0.0.0:5555", [2022-10-17T08:48:19.956Z] "unix:///var/run/docker.sock" [2022-10-17T08:48:19.956Z] ], [2022-10-17T08:48:19.956Z] "mtu": 1458, [2022-10-17T08:48:19.956Z] "selinux-enabled": true, [2022-10-17T08:48:19.956Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T08:48:19.956Z] } [Pipeline] sh [2022-10-17T08:48:20.278Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-17T08:48:20.610Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T08:48:38.860Z] provisioning config files... [2022-10-17T08:48:38.885Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config6784277992570338194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T08:48:39.235Z] ---> docker-login.sh [2022-10-17T08:48:39.235Z] nexus3.edgexfoundry.org:10001 [2022-10-17T08:48:39.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:48:39.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:48:39.773Z] Configure a credential helper to remove this warning. See [2022-10-17T08:48:39.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:48:39.773Z] [2022-10-17T08:48:39.773Z] Login Succeeded [2022-10-17T08:48:39.773Z] nexus3.edgexfoundry.org:10002 [2022-10-17T08:48:40.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:48:40.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:48:40.319Z] Configure a credential helper to remove this warning. See [2022-10-17T08:48:40.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:48:40.319Z] [2022-10-17T08:48:40.319Z] Login Succeeded [2022-10-17T08:48:40.319Z] nexus3.edgexfoundry.org:10003 [2022-10-17T08:48:40.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:48:40.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:48:40.587Z] Configure a credential helper to remove this warning. See [2022-10-17T08:48:40.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:48:40.587Z] [2022-10-17T08:48:42.002Z] Login Succeeded [2022-10-17T08:48:42.002Z] nexus3.edgexfoundry.org:10004 [2022-10-17T08:48:42.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:48:42.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:48:42.273Z] Configure a credential helper to remove this warning. See [2022-10-17T08:48:42.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:48:42.273Z] [2022-10-17T08:48:42.273Z] Login Succeeded [2022-10-17T08:48:42.273Z] docker.io [2022-10-17T08:48:42.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T08:48:43.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T08:48:43.126Z] Configure a credential helper to remove this warning. See [2022-10-17T08:48:43.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T08:48:43.126Z] [2022-10-17T08:48:43.126Z] Login Succeeded [2022-10-17T08:48:43.126Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T08:48:43.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T08:48:43.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T08:48:43.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T08:48:43.298Z] ========================================================= [2022-10-17T08:48:43.298Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T08:48:43.298Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T08:48:43.626Z] + 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-17T08:48:43.898Z] Sending build context to Docker daemon 3.197MB [2022-10-17T08:48:43.898Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T08:48:43.898Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T08:48:44.176Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T08:48:44.176Z] 9b18e9b68314: Pulling fs layer [2022-10-17T08:48:44.176Z] d32db5db7311: Pulling fs layer [2022-10-17T08:48:44.176Z] d0c4b47475fc: Pulling fs layer [2022-10-17T08:48:44.176Z] 5831b945b038: Pulling fs layer [2022-10-17T08:48:44.176Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T08:48:44.176Z] e10730c5d714: Pulling fs layer [2022-10-17T08:48:44.176Z] 5831b945b038: Waiting [2022-10-17T08:48:44.176Z] 86bbec2aaacd: Waiting [2022-10-17T08:48:44.176Z] 5dd5c2283517: Pulling fs layer [2022-10-17T08:48:44.176Z] d5ac0230b979: Pulling fs layer [2022-10-17T08:48:44.176Z] e10730c5d714: Waiting [2022-10-17T08:48:44.176Z] 5dd5c2283517: Waiting [2022-10-17T08:48:44.176Z] d5ac0230b979: Waiting [2022-10-17T08:48:44.176Z] d0c4b47475fc: Download complete [2022-10-17T08:48:44.176Z] d32db5db7311: Verifying Checksum [2022-10-17T08:48:44.176Z] d32db5db7311: Download complete [2022-10-17T08:48:44.176Z] 86bbec2aaacd: Download complete [2022-10-17T08:48:44.176Z] e10730c5d714: Download complete [2022-10-17T08:48:44.176Z] 9b18e9b68314: Verifying Checksum [2022-10-17T08:48:44.176Z] 9b18e9b68314: Download complete [2022-10-17T08:48:45.150Z] 9b18e9b68314: Pull complete [2022-10-17T08:48:45.150Z] d5ac0230b979: Verifying Checksum [2022-10-17T08:48:45.150Z] d5ac0230b979: Download complete [2022-10-17T08:48:45.749Z] d32db5db7311: Pull complete [2022-10-17T08:48:46.020Z] d0c4b47475fc: Pull complete [2022-10-17T08:48:46.288Z] 5dd5c2283517: Verifying Checksum [2022-10-17T08:48:46.288Z] 5dd5c2283517: Download complete [2022-10-17T08:48:47.250Z] 5831b945b038: Verifying Checksum [2022-10-17T08:48:47.250Z] 5831b945b038: Download complete [2022-10-17T08:48:59.574Z] 5831b945b038: Pull complete [2022-10-17T08:48:59.574Z] 86bbec2aaacd: Pull complete [2022-10-17T08:48:59.574Z] e10730c5d714: Pull complete [2022-10-17T08:49:06.265Z] 5dd5c2283517: Pull complete [2022-10-17T08:49:08.218Z] d5ac0230b979: Pull complete [2022-10-17T08:49:08.218Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T08:49:08.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T08:49:08.219Z] ---> 59b3b1a385d4 [2022-10-17T08:49:08.219Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T08:49:08.808Z] ---> Running in cd8280f2e1e9 [2022-10-17T08:49:09.079Z] Removing intermediate container cd8280f2e1e9 [2022-10-17T08:49:09.079Z] ---> eaecf964b940 [2022-10-17T08:49:09.079Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T08:49:09.349Z] ---> Running in 4f8ed3ec99e3 [2022-10-17T08:49:09.618Z] Removing intermediate container 4f8ed3ec99e3 [2022-10-17T08:49:09.618Z] ---> b3ca19dc4be1 [2022-10-17T08:49:09.618Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T08:49:09.618Z] ---> Running in be3cadbd14cb [2022-10-17T08:49:09.887Z] Removing intermediate container be3cadbd14cb [2022-10-17T08:49:09.887Z] ---> 90b84ca42b11 [2022-10-17T08:49:09.887Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T08:49:09.887Z] ---> Running in 3396bf5d0b41 [2022-10-17T08:49:10.156Z] Removing intermediate container 3396bf5d0b41 [2022-10-17T08:49:10.156Z] ---> 06e65fb51211 [2022-10-17T08:49:10.156Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T08:49:10.426Z] ---> Running in 5133c1e83cfd [2022-10-17T08:49:12.374Z] Removing intermediate container 5133c1e83cfd [2022-10-17T08:49:12.374Z] ---> bff2b851a598 [2022-10-17T08:49:12.374Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T08:49:12.374Z] ---> Running in 60915449d0b0 [2022-10-17T08:49:12.960Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T08:49:13.917Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T08:49:14.878Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T08:49:14.878Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T08:49:15.144Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T08:49:15.144Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T08:49:15.414Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T08:49:15.414Z] OK: 226 MiB in 55 packages [2022-10-17T08:49:16.377Z] Removing intermediate container 60915449d0b0 [2022-10-17T08:49:16.377Z] ---> 48d3913d43f1 [2022-10-17T08:49:16.377Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-17T08:49:16.377Z] ---> Running in f8f73f06141e [2022-10-17T08:49:16.963Z] Removing intermediate container f8f73f06141e [2022-10-17T08:49:16.963Z] ---> 0a666c4a6832 [2022-10-17T08:49:16.964Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T08:49:17.232Z] ---> bb69e7e71e8f [2022-10-17T08:49:17.232Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T08:49:17.502Z] ---> Running in b56edc8b3e1f [2022-10-17T08:50:04.381Z] Removing intermediate container b56edc8b3e1f [2022-10-17T08:50:04.381Z] ---> 63f20e285074 [2022-10-17T08:50:04.381Z] Step 12/13 : COPY . . [2022-10-17T08:50:04.381Z] ---> 2367f5398807 [2022-10-17T08:50:04.381Z] Step 13/13 : RUN $MAKE [2022-10-17T08:50:04.381Z] ---> Running in 46aa22dc13c1 [2022-10-17T08:50:05.344Z] noop [2022-10-17T08:50:05.931Z] Removing intermediate container 46aa22dc13c1 [2022-10-17T08:50:05.931Z] ---> 8e12510f890c [2022-10-17T08:50:05.931Z] Successfully built 8e12510f890c [2022-10-17T08:50:05.931Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T08:50:06.285Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T08:50:06.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T08:50:06.461Z] prd-ubuntu20.04-docker-arm64-4c-16g-8052 does not seem to be running inside a container [2022-10-17T08:50:06.523Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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-17T08:50:07.690Z] $ docker top ba2f42a9d022b986672818bb5ece81fef390a9631776c17fd82d365689528edc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T08:50:08.513Z] + go version [2022-10-17T08:50:08.513Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T08:50:08.530Z] $ docker stop --time=1 ba2f42a9d022b986672818bb5ece81fef390a9631776c17fd82d365689528edc [2022-10-17T08:50:10.127Z] $ docker rm -f ba2f42a9d022b986672818bb5ece81fef390a9631776c17fd82d365689528edc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T08:50:10.635Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T08:50:10.635Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T08:50:10.806Z] prd-ubuntu20.04-docker-arm64-4c-16g-8052 does not seem to be running inside a container [2022-10-17T08:50:10.863Z] $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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-17T08:50:11.981Z] $ docker top 4ba4d9ca091544755e250a0e4ffcc4059b5cb242db94a5a14c9688b3123e58f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T08:50:12.803Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/6 [Pipeline] fileExists [Pipeline] sh [2022-10-17T08:50:13.452Z] + make test [2022-10-17T08:50:13.452Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T08:50:14.866Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-17T08:51:36.527Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-17T08:51:36.527Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements [2022-10-17T08:51:36.527Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-17T08:51:36.527Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T08:51:36.527Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T08:51:58.601Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T08:51:58.601Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T08:51:58.601Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T08:51:58.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T08:51:58.628Z] $ docker stop --time=1 4ba4d9ca091544755e250a0e4ffcc4059b5cb242db94a5a14c9688b3123e58f6 [2022-10-17T08:52:00.370Z] $ docker rm -f 4ba4d9ca091544755e250a0e4ffcc4059b5cb242db94a5a14c9688b3123e58f6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T08:52:01.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T08:52:01.280Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T08:52:01.679Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T08:52:02.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T08:52:02.370Z] + ls -al . [2022-10-17T08:52:02.371Z] total 180 [2022-10-17T08:52:02.371Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 08:50 . [2022-10-17T08:52:02.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 08:48 .. [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 08:48 .dockerignore [2022-10-17T08:52:02.371Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 08:48 .git [2022-10-17T08:52:02.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 08:48 .github [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 08:48 .gitignore [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 08:48 .golangci.yml [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 17 08:48 Attribution.txt [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 17 08:48 CHANGELOG.md [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 17 08:48 Dockerfile [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 08:48 GOVERNANCE.md [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 08:48 Jenkinsfile [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 08:48 LICENSE [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 17 08:48 Makefile [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 08:48 OWNERS.md [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 17 08:48 README.md [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 08:46 VERSION [2022-10-17T08:52:02.371Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 08:48 bin [2022-10-17T08:52:02.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 08:48 cmd [2022-10-17T08:52:02.371Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 17 08:51 coverage.out [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 17 08:48 go.mod [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 08:48 go.sum [2022-10-17T08:52:02.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 08:48 internal [2022-10-17T08:52:02.371Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 08:48 mock [2022-10-17T08:52:02.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 08:48 snap [2022-10-17T08:52:02.371Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 17 08:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T08:52:02.718Z] + 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=b74824706d9f6e80093b801f72e0f3b2631ae0f1 --label arch=arm64 --label version=0.0.0 . [2022-10-17T08:52:02.985Z] Sending build context to Docker daemon 3.215MB [2022-10-17T08:52:02.985Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T08:52:02.985Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-17T08:52:02.985Z] ---> 8e12510f890c [2022-10-17T08:52:02.985Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-17T08:52:02.985Z] ---> Running in 4d230c3163b7 [2022-10-17T08:52:03.253Z] Removing intermediate container 4d230c3163b7 [2022-10-17T08:52:03.253Z] ---> c1a75c47aac7 [2022-10-17T08:52:03.253Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T08:52:03.519Z] ---> Running in 9e709e52389b [2022-10-17T08:52:03.785Z] Removing intermediate container 9e709e52389b [2022-10-17T08:52:03.785Z] ---> 18c6224489b2 [2022-10-17T08:52:03.785Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T08:52:03.785Z] ---> Running in 788b00833321 [2022-10-17T08:52:04.052Z] Removing intermediate container 788b00833321 [2022-10-17T08:52:04.052Z] ---> 493e398e5077 [2022-10-17T08:52:04.052Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T08:52:04.052Z] ---> Running in 97b41a60ddf1 [2022-10-17T08:52:04.319Z] Removing intermediate container 97b41a60ddf1 [2022-10-17T08:52:04.319Z] ---> b1c470113930 [2022-10-17T08:52:04.319Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T08:52:04.586Z] ---> Running in 1b4536afe7fd [2022-10-17T08:52:06.003Z] Removing intermediate container 1b4536afe7fd [2022-10-17T08:52:06.003Z] ---> 3401ad3d307e [2022-10-17T08:52:06.003Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T08:52:06.003Z] ---> Running in 8bd528e907d4 [2022-10-17T08:52:06.961Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T08:52:07.918Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T08:52:08.883Z] OK: 226 MiB in 55 packages [2022-10-17T08:52:09.467Z] Removing intermediate container 8bd528e907d4 [2022-10-17T08:52:09.467Z] ---> 9def4b5d158b [2022-10-17T08:52:09.467Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-17T08:52:09.734Z] ---> Running in d6232cf9f27d [2022-10-17T08:52:10.000Z] Removing intermediate container d6232cf9f27d [2022-10-17T08:52:10.000Z] ---> 55ed1b8f23a9 [2022-10-17T08:52:10.000Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-17T08:52:10.273Z] ---> 5326f2bdb680 [2022-10-17T08:52:10.273Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T08:52:10.539Z] ---> Running in e53bcf44a6b7 [2022-10-17T08:52:13.885Z] Removing intermediate container e53bcf44a6b7 [2022-10-17T08:52:13.885Z] ---> c65c21483b23 [2022-10-17T08:52:13.885Z] Step 12/25 : COPY . . [2022-10-17T08:52:14.968Z] ---> a2e21ae642c8 [2022-10-17T08:52:14.968Z] Step 13/25 : RUN $MAKE [2022-10-17T08:52:14.968Z] ---> Running in e8740aebce49 [2022-10-17T08:52:15.951Z] 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-17T08:54:52.805Z] Removing intermediate container e8740aebce49 [2022-10-17T08:54:52.805Z] ---> b8f3dc42c141 [2022-10-17T08:54:52.805Z] Step 14/25 : FROM alpine:3.16 [2022-10-17T08:54:52.805Z] 3.16: Pulling from library/alpine [2022-10-17T08:54:52.805Z] 9b18e9b68314: Already exists [2022-10-17T08:54:52.805Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T08:54:52.805Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T08:54:52.805Z] ---> a6215f271958 [2022-10-17T08:54:52.805Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-17T08:54:52.805Z] ---> Running in 33c707a2bb91 [2022-10-17T08:54:52.805Z] Removing intermediate container 33c707a2bb91 [2022-10-17T08:54:52.805Z] ---> 0d55ec58387b [2022-10-17T08:54:52.805Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T08:54:52.805Z] ---> Running in 8c70f9424d18 [2022-10-17T08:54:52.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T08:54:52.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T08:54:52.805Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T08:54:52.805Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T08:54:52.805Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T08:54:52.805Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T08:54:52.805Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T08:54:52.805Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T08:54:52.805Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T08:54:52.805Z] OK: 8 MiB in 20 packages [2022-10-17T08:54:52.805Z] Removing intermediate container 8c70f9424d18 [2022-10-17T08:54:52.805Z] ---> c6a2b0ef4e63 [2022-10-17T08:54:52.805Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-17T08:54:52.805Z] ---> 688c692e9b50 [2022-10-17T08:54:52.805Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-17T08:54:52.805Z] ---> fb7d8ddf9c0d [2022-10-17T08:54:52.805Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-17T08:54:52.805Z] ---> 1ecd4085cce8 [2022-10-17T08:54:52.805Z] Step 20/25 : EXPOSE 59982 [2022-10-17T08:54:52.805Z] ---> Running in 81e5686bae97 [2022-10-17T08:54:52.805Z] Removing intermediate container 81e5686bae97 [2022-10-17T08:54:52.805Z] ---> a45a1edea11f [2022-10-17T08:54:52.805Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-17T08:54:52.805Z] ---> Running in aa5b648d0973 [2022-10-17T08:54:52.805Z] Removing intermediate container aa5b648d0973 [2022-10-17T08:54:52.805Z] ---> dfb2bc31afcb [2022-10-17T08:54:52.805Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T08:54:52.805Z] ---> Running in 15b0908abbbf [2022-10-17T08:54:52.805Z] Removing intermediate container 15b0908abbbf [2022-10-17T08:54:52.805Z] ---> 9fe201a82794 [2022-10-17T08:54:52.805Z] Step 23/25 : LABEL arch=arm64 [2022-10-17T08:54:52.805Z] ---> Running in 77dfc47a08aa [2022-10-17T08:54:52.805Z] Removing intermediate container 77dfc47a08aa [2022-10-17T08:54:52.805Z] ---> 2d10e188db5c [2022-10-17T08:54:52.805Z] Step 24/25 : LABEL git_sha=b74824706d9f6e80093b801f72e0f3b2631ae0f1 [2022-10-17T08:54:52.805Z] ---> Running in 9279801374ee [2022-10-17T08:54:52.805Z] Removing intermediate container 9279801374ee [2022-10-17T08:54:52.805Z] ---> 028de8434239 [2022-10-17T08:54:52.805Z] Step 25/25 : LABEL version=0.0.0 [2022-10-17T08:54:52.805Z] ---> Running in 3b1b67787194 [2022-10-17T08:54:52.805Z] Removing intermediate container 3b1b67787194 [2022-10-17T08:54:52.805Z] ---> 460fe0ac3c81 [2022-10-17T08:54:52.805Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T08:54:52.805Z] Successfully built 460fe0ac3c81 [2022-10-17T08:54:52.805Z] 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-17T08:54:53.210Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T08:54:53.210Z] [2022-10-17T08:54:53.210Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T08:54:53.544Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T08:54:53.545Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T08:54:53.545Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T08:54:53.545Z] 04944245beec: Pulling fs layer [2022-10-17T08:54:53.545Z] 699f458cf7ca: Pulling fs layer [2022-10-17T08:54:53.545Z] 765212b225bb: Pulling fs layer [2022-10-17T08:54:53.545Z] f23df028b6ca: Pulling fs layer [2022-10-17T08:54:53.545Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T08:54:53.545Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T08:54:53.545Z] 765212b225bb: Waiting [2022-10-17T08:54:53.545Z] f23df028b6ca: Waiting [2022-10-17T08:54:53.545Z] d65c8cfc05b1: Waiting [2022-10-17T08:54:53.545Z] 2437ff75d9bd: Waiting [2022-10-17T08:54:53.812Z] 04944245beec: Verifying Checksum [2022-10-17T08:54:53.812Z] 04944245beec: Download complete [2022-10-17T08:54:53.812Z] 765212b225bb: Verifying Checksum [2022-10-17T08:54:53.812Z] 765212b225bb: Download complete [2022-10-17T08:54:53.812Z] f23df028b6ca: Verifying Checksum [2022-10-17T08:54:53.812Z] f23df028b6ca: Download complete [2022-10-17T08:54:53.812Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T08:54:53.812Z] d65c8cfc05b1: Download complete [2022-10-17T08:54:53.812Z] 699f458cf7ca: Verifying Checksum [2022-10-17T08:54:53.812Z] 699f458cf7ca: Download complete [2022-10-17T08:54:54.397Z] 8998bd30e6a1: Verifying Checksum [2022-10-17T08:54:54.397Z] 8998bd30e6a1: Download complete [2022-10-17T08:54:56.340Z] 2437ff75d9bd: Verifying Checksum [2022-10-17T08:54:56.341Z] 2437ff75d9bd: Download complete [2022-10-17T08:54:58.284Z] 8998bd30e6a1: Pull complete [2022-10-17T08:54:58.551Z] 04944245beec: Pull complete [2022-10-17T08:54:59.960Z] 699f458cf7ca: Pull complete [2022-10-17T08:55:00.227Z] 765212b225bb: Pull complete [2022-10-17T08:55:00.810Z] f23df028b6ca: Pull complete [2022-10-17T08:55:01.076Z] d65c8cfc05b1: Pull complete [2022-10-17T08:55:16.063Z] 2437ff75d9bd: Pull complete [2022-10-17T08:55:16.063Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T08:55:16.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T08:55:16.063Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T08:55:16.248Z] prd-ubuntu20.04-docker-arm64-4c-16g-8052 does not seem to be running inside a container [2022-10-17T08:55:16.303Z] $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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-17T08:55:18.873Z] $ docker top 24cfd28c108bd4a7be82668006efe0bab94efb8e5c303cac35eda04764350577 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T08:55:19.679Z] ---> job-cost.sh [2022-10-17T08:55:19.679Z] lf-activate-venv: SKIPPING [2022-10-17T08:55:19.679Z] INFO: No Stack... [2022-10-17T08:55:19.944Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T08:55:20.893Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T08:55:21.207Z] + cat /w/workspace/device-mqtt-go/6/archives/cost.csv [2022-10-17T08:55:21.207Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T08:55:21.262Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] [2022-10-17T08:55:21.271Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] did not exist. Created. [2022-10-17T08:55:21.271Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T08:55:21.915Z] /w/workspace/device-mqtt-go/6@tmp/durable-11bf59f2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T08:55:22.244Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T08:55:22.271Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T08:55:22.308Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T08:55:22.315Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T08:55:22.327Z] $ docker stop --time=1 24cfd28c108bd4a7be82668006efe0bab94efb8e5c303cac35eda04764350577 [2022-10-17T08:55:23.774Z] $ docker rm -f 24cfd28c108bd4a7be82668006efe0bab94efb8e5c303cac35eda04764350577 [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-17T08:55:24.237Z] provisioning config files... [2022-10-17T08:55:24.244Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config9729996263882108081tmp [Pipeline] { [Pipeline] sh [2022-10-17T08:55:24.532Z] + set +x [2022-10-17T08:55:24.533Z] + curl -s https://codecov.io/bash [2022-10-17T08:55:24.533Z] + bash -s -- [2022-10-17T08:55:24.533Z] [2022-10-17T08:55:24.533Z] _____ _ [2022-10-17T08:55:24.533Z] / ____| | | [2022-10-17T08:55:24.533Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T08:55:24.533Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T08:55:24.533Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T08:55:24.533Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T08:55:24.533Z] Bash-1.0.6 [2022-10-17T08:55:24.533Z] [2022-10-17T08:55:24.533Z] [2022-10-17T08:55:24.533Z] ==> git version 2.25.1 found [2022-10-17T08:55:24.533Z] ==> 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-17T08:55:24.533Z] Release-Date: 2020-01-08 [2022-10-17T08:55:24.533Z] 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-17T08:55:24.533Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T08:55:24.533Z] ==> Jenkins CI detected. [2022-10-17T08:55:24.533Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-17T08:55:24.533Z] project root: . [2022-10-17T08:55:24.533Z] --> token set from env [2022-10-17T08:55:24.533Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T08:55:24.533Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T08:55:24.533Z] ==> Python coveragepy not found [2022-10-17T08:55:24.533Z] ==> Searching for coverage reports in: [2022-10-17T08:55:24.533Z] + . [2022-10-17T08:55:24.792Z] -> Found 1 reports [2022-10-17T08:55:24.792Z] ==> Detecting git/mercurial file structure [2022-10-17T08:55:24.792Z] ==> Reading reports [2022-10-17T08:55:24.792Z] + ./coverage.out bytes=17887 [2022-10-17T08:55:24.792Z] ==> Appending adjustments [2022-10-17T08:55:24.792Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T08:55:24.792Z] + Found adjustments [2022-10-17T08:55:24.792Z] ==> Gzipping contents [2022-10-17T08:55:24.792Z] 4.0K /tmp/codecov.5PTgsI.gz [2022-10-17T08:55:24.793Z] ==> Uploading reports [2022-10-17T08:55:24.793Z] url: https://codecov.io [2022-10-17T08:55:24.793Z] query: branch=PR-423&commit=0897854ee068baa8fe7bd73caf08c1f8e30db33a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2022-10-17T08:55:24.793Z] -> Pinging Codecov [2022-10-17T08:55:24.793Z] 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=0897854ee068baa8fe7bd73caf08c1f8e30db33a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= [2022-10-17T08:55:25.053Z] -> Uploading to [2022-10-17T08:55:25.053Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/7D719EC7BBE17E464838252E33014C33/0897854ee068baa8fe7bd73caf08c1f8e30db33a/7ea552bd-e0e1-4134-90ea-a5e75f174a71.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T085524Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f97d7d9330dc59a5bd9f0a6e971e9300c1089066f9105a66bc82469923d42c0 [2022-10-17T08:55:25.053Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T08:55:25.053Z] Dload Upload Total Spent Left Speed [2022-10-17T08:55:25.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 14398 --:--:-- --:--:-- --:--:-- 14333 100 3182 0 0 100 3182 0 12053 --:--:-- --:--:-- --:--:-- 12007 [2022-10-17T08:55:25.312Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/0897854ee068baa8fe7bd73caf08c1f8e30db33a [Pipeline] } [2022-10-17T08:55:25.320Z] 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-17T08:55:25.998Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives ] [2022-10-17T08:55:25.998Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-17T08:55:25.998Z] total 16 [2022-10-17T08:55:25.998Z] drwxr-xr-x 3 root root 4096 Oct 17 08:48 . [2022-10-17T08:55:25.998Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 08:48 .. [2022-10-17T08:55:25.998Z] drwxr-xr-x 2 root root 4096 Oct 17 08:48 cost [2022-10-17T08:55:25.998Z] -rw-r--r-- 1 root root 86 Oct 17 08:48 cost.csv [2022-10-17T08:55:25.998Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-17T08:55:25.998Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives [2022-10-17T08:55:25.998Z] total 16 [2022-10-17T08:55:25.998Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 08:48 . [2022-10-17T08:55:25.998Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 08:48 .. [2022-10-17T08:55:25.998Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 08:48 cost [2022-10-17T08:55:25.998Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 17 08:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T08:55:26.289Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T08:55:27.158Z] ---> package-listing.sh [2022-10-17T08:55:27.158Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T08:55:27.158Z] ++ facter osfamily [2022-10-17T08:55:27.417Z] + OS_FAMILY=debian [2022-10-17T08:55:27.417Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-423 [2022-10-17T08:55:27.417Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T08:55:27.417Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T08:55:27.417Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T08:55:27.417Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T08:55:27.417Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' [2022-10-17T08:55:27.417Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T08:55:27.417Z] + case "${OS_FAMILY}" in [2022-10-17T08:55:27.417Z] + dpkg -l [2022-10-17T08:55:27.417Z] + grep '^ii' [2022-10-17T08:55:27.417Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T08:55:27.417Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T08:55:27.417Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T08:55:27.417Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' [2022-10-17T08:55:27.417Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ [2022-10-17T08:55:27.417Z] + 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-17T08:55:27.429Z] 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-17T08:55:27.706Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T08:55:28.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T08:55:28.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T08:55:28.326Z] prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container [2022-10-17T08:55:28.355Z] $ 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-17T08:55:28.571Z] $ docker top cf8facd561c998e1a53adb4c220c9a175cc6ac470c33a44a0df314ffc4884044 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T08:55:28.916Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T08:55:29.201Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T08:55:29.482Z] + ls /var/log/sa-host [2022-10-17T08:55:29.482Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T08:55:29.631Z] provisioning config files... [2022-10-17T08:55:29.639Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config15691599785567999144tmp [Pipeline] { [Pipeline] echo [2022-10-17T08:55:29.653Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T08:55:29.949Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T08:55:29.967Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T08:55:30.324Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T08:55:30.332Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T08:55:30.615Z] ---> sudo-logs.sh [2022-10-17T08:55:30.615Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T08:55:30.643Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T08:55:30.924Z] ---> job-cost.sh [2022-10-17T08:55:30.924Z] lf-activate-venv: SKIPPING [2022-10-17T08:55:30.924Z] DEBUG: total: 0.2199999988079071 [2022-10-17T08:55:30.924Z] INFO: Retrieving Stack Cost... [2022-10-17T08:55:31.184Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T08:55:31.751Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T08:55:31.762Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T08:55:32.043Z] ---> logs-deploy.sh [2022-10-17T08:55:32.043Z] lf-activate-venv: SKIPPING [2022-10-17T08:55:32.043Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-423/6 [2022-10-17T08:55:32.043Z] INFO: archiving workspace using pattern(s): [2022-10-17T08:55:32.979Z] Archives upload complete. [2022-10-17T08:55:32.979Z] INFO: archiving logs to Nexus