Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 94b69f940749067bc0513cff547016ef153353e6+4a35f1d313b93b1afef0ede40251cd94a3668512 (85b8eafbe1a8b832ae14acff3db33b80c2311605) 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-ssh291439890837760531.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9855451842348520714.key > 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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-528/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-528/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7515346139067865307.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh8086993969490620293.key > 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-528/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-528/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6401383942439937633.key > 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2306’ Running on prd-ubuntu20.04-docker-8c-8g-2309 in /w/workspace/gexfoundry_device-mqtt-go_PR-528 [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-528 # 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 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/528/head:refs/remotes/origin/PR-528 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a35f1d313b93b1afef0ede40251cd94a3668512 into PR head commit 94b69f940749067bc0513cff547016ef153353e6 Merge succeeded, producing 8de3ac5dfa8f6f53e695e175a4b896aa94790ef2 Checking out Revision 8de3ac5dfa8f6f53e695e175a4b896aa94790ef2 (PR-528) > git config core.sparsecheckout # timeout=10 > git checkout -f 94b69f940749067bc0513cff547016ef153353e6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8de3ac5dfa8f6f53e695e175a4b896aa94790ef2 # timeout=10 Commit message: "Merge commit '4a35f1d313b93b1afef0ede40251cd94a3668512' into HEAD" > git rev-list --no-walk 94b69f940749067bc0513cff547016ef153353e6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:18:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:18:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:18:45 ========================================================= 23:18:45 EdgeX Global Pipelines Version Info 23:18:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:18:45 ------------------- 23:18:45 stable info: 23:18:45 ------------------- 23:18:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:18:45 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:18:45 Message: update stable to v1.0.245 23:18:46 ------------------- 23:18:46 experimental info: 23:18:46 ------------------- 23:18:46 Commited By: **** collab-it+edgex@linuxfoundation.org 23:18:46 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 23:18:46 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:18:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:18:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:18:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:18:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:18:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:18:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:18:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:18:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:18:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-528 [Pipeline] echo 23:18:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-528 [Pipeline] echo 23:18:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-528 [Pipeline] echo 23:18:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8de3ac5dfa8f6f53e695e175a4b896aa94790ef2 [Pipeline] echo 23:18:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8de3ac5 [Pipeline] echo 23:18:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:18:47 provisioning config files... 23:18:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/config5907630785618599650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:47 ---> docker-login.sh 23:18:47 nexus3.edgexfoundry.org:10001 23:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:47 Configure a credential helper to remove this warning. See 23:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:47 23:18:47 Login Succeeded 23:18:47 nexus3.edgexfoundry.org:10002 23:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:47 Configure a credential helper to remove this warning. See 23:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:47 23:18:47 Login Succeeded 23:18:47 nexus3.edgexfoundry.org:10003 23:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:48 Configure a credential helper to remove this warning. See 23:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:48 23:18:48 Login Succeeded 23:18:48 nexus3.edgexfoundry.org:10004 23:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:48 Configure a credential helper to remove this warning. See 23:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:48 23:18:48 Login Succeeded 23:18:48 docker.io 23:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:48 Configure a credential helper to remove this warning. See 23:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:48 23:18:48 Login Succeeded 23:18:48 ---> docker-login.sh ends [Pipeline] } 23:18:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:18:48 + git rev-list -1 --merges 8de3ac5dfa8f6f53e695e175a4b896aa94790ef2~1..8de3ac5dfa8f6f53e695e175a4b896aa94790ef2 [Pipeline] echo 23:18:48 -----------> git rev-list -1 --merges 8de3ac5dfa8f6f53e695e175a4b896aa94790ef2~1..8de3ac5dfa8f6f53e695e175a4b896aa94790ef2 8de3ac5dfa8f6f53e695e175a4b896aa94790ef2 23:18:48 8de3ac5dfa8f6f53e695e175a4b896aa94790ef2 [false] [Pipeline] sh 23:18:49 + git log --format=format:%s -1 8de3ac5dfa8f6f53e695e175a4b896aa94790ef2 [Pipeline] echo 23:18:49 ========================================================= 23:18:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:18:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:18:49 + git log --format=format:%s -1 8de3ac5dfa8f6f53e695e175a4b896aa94790ef2 [Pipeline] echo 23:18:49 [semverPrep] GIT_COMMIT: 8de3ac5dfa8f6f53e695e175a4b896aa94790ef2, Commit Message: Merge commit '4a35f1d313b93b1afef0ede40251cd94a3668512' into HEAD [Pipeline] echo 23:18:49 [semverPrep] This is not a build commit. [Pipeline] sh 23:18:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:18:49 + grep -v github /etc/ssh/ssh_known_hosts 23:18:49 + [ -e /tmp/ssh_known_hosts ] 23:18:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:18:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:18:49 + sudo tee -a /etc/ssh/ssh_known_hosts 23:18:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:50 23:18:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:50 0.1.4: Pulling from edgex-devops/py-git-semver 23:18:50 b85a868b505f: Pulling fs layer 23:18:50 e2be974225ed: Pulling fs layer 23:18:50 339a4e72a1f5: Pulling fs layer 23:18:50 988bab9f4d93: Pulling fs layer 23:18:50 1469e6f7b9e6: Pulling fs layer 23:18:50 eaf3925da568: Pulling fs layer 23:18:50 bab4dde63d76: Pulling fs layer 23:18:50 bde34c3a00c8: Pulling fs layer 23:18:50 b352a97aabf1: Pulling fs layer 23:18:50 4872d77fe225: Pulling fs layer 23:18:50 5851b861e8e6: Pulling fs layer 23:18:50 bab4dde63d76: Waiting 23:18:50 bde34c3a00c8: Waiting 23:18:50 b352a97aabf1: Waiting 23:18:50 eaf3925da568: Waiting 23:18:50 1469e6f7b9e6: Waiting 23:18:50 4872d77fe225: Waiting 23:18:50 5851b861e8e6: Waiting 23:18:50 988bab9f4d93: Waiting 23:18:50 e2be974225ed: Verifying Checksum 23:18:50 e2be974225ed: Download complete 23:18:50 988bab9f4d93: Verifying Checksum 23:18:50 988bab9f4d93: Download complete 23:18:50 1469e6f7b9e6: Verifying Checksum 23:18:50 1469e6f7b9e6: Download complete 23:18:50 339a4e72a1f5: Verifying Checksum 23:18:50 339a4e72a1f5: Download complete 23:18:50 eaf3925da568: Verifying Checksum 23:18:50 eaf3925da568: Download complete 23:18:50 bde34c3a00c8: Verifying Checksum 23:18:50 bde34c3a00c8: Download complete 23:18:50 b352a97aabf1: Verifying Checksum 23:18:50 b352a97aabf1: Download complete 23:18:50 4872d77fe225: Verifying Checksum 23:18:50 4872d77fe225: Download complete 23:18:50 5851b861e8e6: Verifying Checksum 23:18:50 5851b861e8e6: Download complete 23:18:50 b85a868b505f: Verifying Checksum 23:18:50 b85a868b505f: Download complete 23:18:51 bab4dde63d76: Verifying Checksum 23:18:51 bab4dde63d76: Download complete 23:18:52 b85a868b505f: Pull complete 23:18:52 e2be974225ed: Pull complete 23:18:52 339a4e72a1f5: Pull complete 23:18:52 988bab9f4d93: Pull complete 23:18:53 1469e6f7b9e6: Pull complete 23:18:53 eaf3925da568: Pull complete 23:18:54 bab4dde63d76: Pull complete 23:18:54 bde34c3a00c8: Pull complete 23:18:54 b352a97aabf1: Pull complete 23:18:55 4872d77fe225: Pull complete 23:18:55 5851b861e8e6: Pull complete 23:18:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:18:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:55 prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container 23:18:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-528 -v /w/workspace/gexfoundry_device-mqtt-go_PR-528:/w/workspace/gexfoundry_device-mqtt-go_PR-528:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:18:56 $ docker top fa170aced1518db0c02d3d0a7b6d2a1c09ad5ef58502dd455c3474f1d9e5d35c -eo pid,comm 23:18:56 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). 23:18:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:18:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:56 [ssh-agent] Looking for ssh-agent implementation... 23:18:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:57 $ docker exec fa170aced1518db0c02d3d0a7b6d2a1c09ad5ef58502dd455c3474f1d9e5d35c ssh-agent 23:18:57 SSH_AUTH_SOCK=/tmp/ssh-cKJoY1lM4lC5/agent.32 23:18:57 SSH_AGENT_PID=38 23:18:57 Running ssh-add (command line suppressed) 23:18:57 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/private_key_12899362338446651841.key (/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/private_key_12899362338446651841.key) 23:18:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:57 + git tag --points-at HEAD [Pipeline] } 23:18:57 $ docker exec --env ******** --env ******** fa170aced1518db0c02d3d0a7b6d2a1c09ad5ef58502dd455c3474f1d9e5d35c ssh-agent -k 23:18:57 unset SSH_AUTH_SOCK; 23:18:57 unset SSH_AGENT_PID; 23:18:57 echo Agent pid 38 killed; 23:18:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:18:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:57 [ssh-agent] Looking for ssh-agent implementation... 23:18:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:57 $ docker exec fa170aced1518db0c02d3d0a7b6d2a1c09ad5ef58502dd455c3474f1d9e5d35c ssh-agent 23:18:57 SSH_AUTH_SOCK=/tmp/ssh-giEwNOqXGOlz/agent.71 23:18:57 SSH_AGENT_PID=77 23:18:58 Running ssh-add (command line suppressed) 23:18:58 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/private_key_1854483048176481940.key (/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/private_key_1854483048176481940.key) 23:18:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:58 + git semver init 23:18:58 2023-03-15 23:18:58,594 [run_init] DEBUG init version:0.0.0 force:False 23:18:58 2023-03-15 23:18:58,595 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver 23:18:58 2023-03-15 23:18:58,596 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver 23:18:58 2023-03-15 23:18:58,596 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-528, universal_newlines=False, shell=None, istream=None) 23:18:59 2023-03-15 23:18:59,355 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-528/.git/info/exclude 23:18:59 2023-03-15 23:18:59,355 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver/PR-528 with force:False 23:18:59 2023-03-15 23:18:59,356 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver/PR-528 23:18:59 2023-03-15 23:18:59,360 [execute] INFO git cat-file --batch-check 23:18:59 2023-03-15 23:18:59,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver, universal_newlines=False, shell=None, istream=) 23:18:59 2023-03-15 23:18:59,366 [execute] INFO git cat-file --batch 23:18:59 2023-03-15 23:18:59,367 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver, universal_newlines=False, shell=None, istream=) 23:18:59 2023-03-15 23:18:59,372 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-528/.semver/PR-528 23:18:59 0.0.0 [Pipeline] } 23:18:59 $ docker exec --env ******** --env ******** fa170aced1518db0c02d3d0a7b6d2a1c09ad5ef58502dd455c3474f1d9e5d35c ssh-agent -k 23:18:59 unset SSH_AUTH_SOCK; 23:18:59 unset SSH_AGENT_PID; 23:18:59 echo Agent pid 77 killed; 23:18:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:19:00 + git semver [Pipeline] } 23:19:00 $ docker stop --time=1 fa170aced1518db0c02d3d0a7b6d2a1c09ad5ef58502dd455c3474f1d9e5d35c 23:19:01 $ docker rm -f --volumes fa170aced1518db0c02d3d0a7b6d2a1c09ad5ef58502dd455c3474f1d9e5d35c [Pipeline] // withDockerContainer [Pipeline] sh 23:19:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:19:02 Stashed 1 file(s) [Pipeline] echo 23:19:02 [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 23:19:02 provisioning config files... 23:19:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/config1630067446694230623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:02 ---> docker-login.sh 23:19:02 nexus3.edgexfoundry.org:10001 23:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:02 Configure a credential helper to remove this warning. See 23:19:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:02 23:19:02 Login Succeeded 23:19:02 nexus3.edgexfoundry.org:10002 23:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:02 Configure a credential helper to remove this warning. See 23:19:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:02 23:19:02 Login Succeeded 23:19:02 nexus3.edgexfoundry.org:10003 23:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:02 Configure a credential helper to remove this warning. See 23:19:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:02 23:19:02 Login Succeeded 23:19:02 nexus3.edgexfoundry.org:10004 23:19:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:02 Configure a credential helper to remove this warning. See 23:19:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:02 23:19:02 Login Succeeded 23:19:02 docker.io 23:19:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:03 Configure a credential helper to remove this warning. See 23:19:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:03 23:19:03 Login Succeeded 23:19:03 ---> docker-login.sh ends [Pipeline] } 23:19:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:19:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:19:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:19:03 ========================================================= 23:19:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:19:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:19:03 Sending build context to Docker daemon 6.385MB 23:19:03 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:19:03 Step 2/12 : FROM ${BASE} AS builder 23:19:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:19:03 63b65145d645: Pulling fs layer 23:19:03 a2d21d5440eb: Pulling fs layer 23:19:03 935e6c44a52c: Pulling fs layer 23:19:03 94cc34f8dd06: Pulling fs layer 23:19:03 30dea6a524f1: Pulling fs layer 23:19:03 a2aff8979fd8: Pulling fs layer 23:19:03 6808be2612f2: Pulling fs layer 23:19:03 f25807f1079a: Pulling fs layer 23:19:03 94cc34f8dd06: Waiting 23:19:03 30dea6a524f1: Waiting 23:19:03 a2aff8979fd8: Waiting 23:19:03 6808be2612f2: Waiting 23:19:03 f25807f1079a: Waiting 23:19:03 a2d21d5440eb: Verifying Checksum 23:19:03 a2d21d5440eb: Download complete 23:19:03 94cc34f8dd06: Verifying Checksum 23:19:03 94cc34f8dd06: Download complete 23:19:04 30dea6a524f1: Verifying Checksum 23:19:04 30dea6a524f1: Download complete 23:19:04 63b65145d645: Download complete 23:19:04 a2aff8979fd8: Verifying Checksum 23:19:04 a2aff8979fd8: Download complete 23:19:04 63b65145d645: Pull complete 23:19:04 a2d21d5440eb: Pull complete 23:19:04 f25807f1079a: Verifying Checksum 23:19:04 f25807f1079a: Download complete 23:19:04 935e6c44a52c: Download complete 23:19:04 6808be2612f2: Verifying Checksum 23:19:04 6808be2612f2: Download complete 23:19:08 935e6c44a52c: Pull complete 23:19:08 94cc34f8dd06: Pull complete 23:19:08 30dea6a524f1: Pull complete 23:19:08 a2aff8979fd8: Pull complete 23:19:10 6808be2612f2: Pull complete 23:19:11 f25807f1079a: Pull complete 23:19:11 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:19:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:19:11 ---> 3b553350e43f 23:19:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:19:13 ---> Running in c8eb59b6cea9 23:19:13 Removing intermediate container c8eb59b6cea9 23:19:13 ---> c48dd4892b2e 23:19:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:13 ---> Running in 64a7b60f9576 23:19:13 Removing intermediate container 64a7b60f9576 23:19:13 ---> d055d61cad05 23:19:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:19:13 ---> Running in 84832325625e 23:19:13 Removing intermediate container 84832325625e 23:19:13 ---> 57ae71cdd1b0 23:19:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:19:13 ---> Running in 7d54827fe8cf 23:19:13 Removing intermediate container 7d54827fe8cf 23:19:13 ---> ec9d4107b09f 23:19:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:13 ---> Running in 7608995f5808 23:19:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:19:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:19:14 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:19:14 (2/4) Installing libedit (20221030.3.1-r0) 23:19:14 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:19:14 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:19:14 Executing busybox-1.35.0-r29.trigger 23:19:14 OK: 269 MiB in 57 packages 23:19:14 Removing intermediate container 7608995f5808 23:19:14 ---> 4fb684ad1559 23:19:14 Step 8/12 : WORKDIR /device-mqtt-go 23:19:14 ---> Running in bbf46b2e5d28 23:19:14 Removing intermediate container bbf46b2e5d28 23:19:14 ---> 9bb0872befb1 23:19:14 Step 9/12 : COPY go.mod vendor* ./ 23:19:15 ---> 5ce1eab34c07 23:19:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:15 ---> Running in 4137797795f5 23:19:17 Still waiting to schedule task 23:19:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2305’ 23:19:37 Removing intermediate container 4137797795f5 23:19:37 ---> 25c37d6d3d1b 23:19:37 Step 11/12 : COPY . . 23:19:37 ---> 294a43119f2d 23:19:37 Step 12/12 : RUN $MAKE 23:19:37 ---> Running in cdc40f41ba82 23:19:37 noop 23:19:37 Removing intermediate container cdc40f41ba82 23:19:37 ---> 220fa70daab4 23:19:37 Successfully built 220fa70daab4 23:19:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:37 + docker inspect -f . ci-base-image-x86_64 23:19:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:37 prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container 23:19:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-528 -v /w/workspace/gexfoundry_device-mqtt-go_PR-528:/w/workspace/gexfoundry_device-mqtt-go_PR-528:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:19:37 $ docker top ab7fc1f9bf288b29e0dd154d6a8ae9ca2b2e25f2d255fce786bf5ccadd7d755a -eo pid,comm [Pipeline] { [Pipeline] sh 23:19:38 + go version 23:19:38 go version go1.20.2 linux/amd64 [Pipeline] } 23:19:38 $ docker stop --time=1 ab7fc1f9bf288b29e0dd154d6a8ae9ca2b2e25f2d255fce786bf5ccadd7d755a 23:19:39 $ docker rm -f --volumes ab7fc1f9bf288b29e0dd154d6a8ae9ca2b2e25f2d255fce786bf5ccadd7d755a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:40 + docker inspect -f . ci-base-image-x86_64 23:19:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:40 prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container 23:19:40 $ 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-528 -v /w/workspace/gexfoundry_device-mqtt-go_PR-528:/w/workspace/gexfoundry_device-mqtt-go_PR-528:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:19:40 $ docker top d13b760424885a3d0c92522e040271d25dfedb22078bf8a93cb2716bb67e1319 -eo pid,comm [Pipeline] { [Pipeline] sh 23:19:40 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-528 [Pipeline] fileExists [Pipeline] sh 23:19:41 + make test 23:19:41 go test ./... -coverprofile=coverage.out ./... 23:19:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:19:56 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:19:56 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:19:56 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.2% of statements 23:20:01 go vet ./... 23:20:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:20:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:20:05 ./bin/test-attribution-txt.sh [Pipeline] echo 23:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:20:05 $ docker stop --time=1 d13b760424885a3d0c92522e040271d25dfedb22078bf8a93cb2716bb67e1319 23:20:08 $ docker rm -f --volumes d13b760424885a3d0c92522e040271d25dfedb22078bf8a93cb2716bb67e1319 [Pipeline] // withDockerContainer [Pipeline] sh 23:20:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:20:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:20:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:20:09 + ls -al . 23:20:09 total 180 23:20:09 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 23:19 . 23:20:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 23:18 .. 23:20:09 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 23:18 .dockerignore 23:20:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 23:19 .git 23:20:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 23:18 .github 23:20:09 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 23:18 .gitignore 23:20:09 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 23:18 .golangci.yml 23:20:09 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 23:18 .semver 23:20:09 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 23:18 Attribution.txt 23:20:09 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 23:18 CHANGELOG.md 23:20:09 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 23:18 Dockerfile 23:20:09 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 23:18 GOVERNANCE.md 23:20:09 -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 23:18 Jenkinsfile 23:20:09 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 23:18 LICENSE 23:20:09 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 15 23:18 Makefile 23:20:09 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 23:18 OWNERS.md 23:20:09 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 23:18 README.md 23:20:09 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 23:19 VERSION 23:20:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 23:18 bin 23:20:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 23:18 cmd 23:20:09 -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 23:19 coverage.out 23:20:09 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 23:18 go.mod 23:20:09 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 23:18 go.sum 23:20:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 23:18 internal 23:20:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 23:18 mock 23:20:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 23:18 snap 23:20:09 -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 23:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:09 + 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=8de3ac5dfa8f6f53e695e175a4b896aa94790ef2 --label arch=amd64 --label version=0.0.0 . 23:20:09 Sending build context to Docker daemon 6.404MB 23:20:09 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:20:09 Step 2/24 : FROM ${BASE} AS builder 23:20:09 ---> 220fa70daab4 23:20:09 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:20:09 ---> Running in dab6bad1d698 23:20:09 Removing intermediate container dab6bad1d698 23:20:09 ---> 8f1c9ef23fdb 23:20:09 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:20:09 ---> Running in 3db9ad47974e 23:20:09 Removing intermediate container 3db9ad47974e 23:20:09 ---> fceae1935dce 23:20:09 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:20:09 ---> Running in 73da1ac0b45d 23:20:10 Removing intermediate container 73da1ac0b45d 23:20:10 ---> 6174958c089b 23:20:10 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:20:10 ---> Running in ecdb9bb4913f 23:20:10 Removing intermediate container ecdb9bb4913f 23:20:10 ---> 758d5d2dba2d 23:20:10 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:20:10 ---> Running in 74cce94164d4 23:20:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:20:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:20:11 OK: 269 MiB in 57 packages 23:20:11 Removing intermediate container 74cce94164d4 23:20:11 ---> 36a5638b488c 23:20:11 Step 8/24 : WORKDIR /device-mqtt-go 23:20:11 ---> Running in 6349640095dc 23:20:11 Removing intermediate container 6349640095dc 23:20:11 ---> 5193c9cb30da 23:20:11 Step 9/24 : COPY go.mod vendor* ./ 23:20:11 ---> 997c2e6337bd 23:20:11 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:20:11 ---> Running in 7a3878b5792c 23:20:12 Removing intermediate container 7a3878b5792c 23:20:12 ---> 281266f85baf 23:20:12 Step 11/24 : COPY . . 23:20:12 ---> 64e9b86fd92e 23:20:12 Step 12/24 : RUN $MAKE 23:20:12 ---> Running in 85020cf8aa98 23:20:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:20:31 Removing intermediate container 85020cf8aa98 23:20:31 ---> b1a04fb42865 23:20:31 Step 13/24 : FROM alpine:3.17 23:20:31 3.17: Pulling from library/alpine 23:20:31 63b65145d645: Already exists 23:20:31 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 23:20:31 Status: Downloaded newer image for alpine:3.17 23:20:31 ---> b2aa39c304c2 23:20:31 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:20:31 ---> Running in 8ed322a87375 23:20:31 Removing intermediate container 8ed322a87375 23:20:31 ---> c7d60fc7b462 23:20:31 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:20:31 ---> Running in f61f3d728930 23:20:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:20:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:20:31 (1/1) Installing dumb-init (1.2.5-r2) 23:20:31 Executing busybox-1.35.0-r29.trigger 23:20:31 OK: 7 MiB in 16 packages 23:20:31 Removing intermediate container f61f3d728930 23:20:31 ---> 75b526015969 23:20:31 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:20:31 ---> 32270f6be6bc 23:20:31 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:20:32 ---> 229606eccf6b 23:20:32 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:20:32 ---> 413648190292 23:20:32 Step 19/24 : EXPOSE 59982 23:20:32 ---> Running in b3769c09ac3a 23:20:32 Removing intermediate container b3769c09ac3a 23:20:32 ---> 88225bb1bb86 23:20:32 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:20:32 ---> Running in 91e23ff65492 23:20:32 Removing intermediate container 91e23ff65492 23:20:32 ---> d0ec6da86020 23:20:32 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:20:32 ---> Running in 5c7c7c37c6b5 23:20:32 Removing intermediate container 5c7c7c37c6b5 23:20:32 ---> f24cedccfe8f 23:20:32 Step 22/24 : LABEL arch=amd64 23:20:32 ---> Running in 24e915776845 23:20:32 Removing intermediate container 24e915776845 23:20:32 ---> d83d97d8c0bf 23:20:32 Step 23/24 : LABEL git_sha=8de3ac5dfa8f6f53e695e175a4b896aa94790ef2 23:20:32 ---> Running in bc686f63e332 23:20:32 Removing intermediate container bc686f63e332 23:20:32 ---> aaad923d8dd0 23:20:32 Step 24/24 : LABEL version=0.0.0 23:20:32 ---> Running in bd35862bcfb4 23:20:33 Removing intermediate container bd35862bcfb4 23:20:33 ---> 1c8b2860d985 23:20:33 [Warning] One or more build-args [ARCH] were not consumed 23:20:33 Successfully built 1c8b2860d985 23:20:33 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 23:20:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:33 23:20:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:33 latest: Pulling from edgex-lftools-log-publisher 23:20:33 5eb5b503b376: Pulling fs layer 23:20:33 5c69ac0246d0: Pulling fs layer 23:20:33 ec43610c2a17: Pulling fs layer 23:20:33 3a2ae6a8a46f: Pulling fs layer 23:20:33 33b1e0a273af: Pulling fs layer 23:20:33 5d3b04190fa2: Pulling fs layer 23:20:33 2f39f015ded8: Pulling fs layer 23:20:33 3a2ae6a8a46f: Waiting 23:20:33 33b1e0a273af: Waiting 23:20:33 5d3b04190fa2: Waiting 23:20:33 2f39f015ded8: Waiting 23:20:33 5c69ac0246d0: Verifying Checksum 23:20:33 5c69ac0246d0: Download complete 23:20:33 3a2ae6a8a46f: Verifying Checksum 23:20:33 3a2ae6a8a46f: Download complete 23:20:34 33b1e0a273af: Verifying Checksum 23:20:34 33b1e0a273af: Download complete 23:20:34 5d3b04190fa2: Verifying Checksum 23:20:34 5d3b04190fa2: Download complete 23:20:34 ec43610c2a17: Download complete 23:20:34 5eb5b503b376: Verifying Checksum 23:20:34 5eb5b503b376: Download complete 23:20:35 2f39f015ded8: Download complete 23:20:35 5eb5b503b376: Pull complete 23:20:35 5c69ac0246d0: Pull complete 23:20:36 ec43610c2a17: Pull complete 23:20:36 3a2ae6a8a46f: Pull complete 23:20:36 33b1e0a273af: Pull complete 23:20:36 5d3b04190fa2: Pull complete 23:20:40 2f39f015ded8: Pull complete 23:20:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:20:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:40 prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container 23:20:40 $ 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-528 -v /w/workspace/gexfoundry_device-mqtt-go_PR-528:/w/workspace/gexfoundry_device-mqtt-go_PR-528:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:20:42 $ docker top a14d4a4f7a5b8a966cce5101cf5c5606bddd34d049360c5f50c41410740c676d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:43 ---> job-cost.sh 23:20:43 lf-activate-venv: SKIPPING 23:20:43 INFO: No Stack... 23:20:43 INFO: Retrieving Pricing Info for: v3-standard-8 23:20:43 INFO: Archiving Costs [Pipeline] sh 23:20:44 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives/cost.csv 23:20:44 + cut -d, -f6 [Pipeline] lock 23:20:44 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-528-2-stack-cost] 23:20:44 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-528-2-stack-cost] did not exist. Created. 23:20:44 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-528-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:20:44 + echo total: 0.2199999988079071 [Pipeline] stash 23:20:44 Stashed 1 file(s) [Pipeline] } 23:20:44 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-528-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:20:44 $ docker stop --time=1 a14d4a4f7a5b8a966cce5101cf5c5606bddd34d049360c5f50c41410740c676d 23:20:45 $ docker rm -f --volumes a14d4a4f7a5b8a966cce5101cf5c5606bddd34d049360c5f50c41410740c676d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:22:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2312 in /w/workspace/gexfoundry_device-mqtt-go_PR-528 [Pipeline] { [Pipeline] ws 23:22:24 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 23:22:24 Selected Git installation does not exist. Using Default 23:22:24 The recommended git tool is: NONE 23:22:30 using credential edgex-jenkins-ssh 23:22:30 Cloning the remote Git repository 23:22:30 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:22:30 > git init /w/workspace/device-mqtt-go/2 # timeout=10 23:22:30 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:22:30 > git --version # timeout=10 23:22:30 > git --version # 'git version 2.25.1' 23:22:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:22:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:32 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:22:32 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:22:32 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/528/head:refs/remotes/origin/PR-528 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:22:33 Merging remotes/origin/main commit 4a35f1d313b93b1afef0ede40251cd94a3668512 into PR head commit 94b69f940749067bc0513cff547016ef153353e6 23:22:33 Merge succeeded, producing 65cb44f33fd461c3701873b22097a97a825a5347 23:22:33 Checking out Revision 65cb44f33fd461c3701873b22097a97a825a5347 (PR-528) 23:22:33 > git config core.sparsecheckout # timeout=10 23:22:33 > git checkout -f 94b69f940749067bc0513cff547016ef153353e6 # timeout=10 23:22:33 > git remote # timeout=10 23:22:33 > git config --get remote.origin.url # timeout=10 23:22:33 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:33 > git merge 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 23:22:33 > git rev-parse HEAD^{commit} # timeout=10 23:22:33 > git config core.sparsecheckout # timeout=10 23:22:33 > git checkout -f 65cb44f33fd461c3701873b22097a97a825a5347 # timeout=10 23:22:37 Commit message: "Merge commit '4a35f1d313b93b1afef0ede40251cd94a3668512' into HEAD" 23:22:37 > git rev-list --no-walk 94b69f940749067bc0513cff547016ef153353e6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:22:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:22:37 % Total % Received % Xferd Average Speed Time Time Time Current 23:22:37 Dload Upload Total Spent Left Speed 23:22:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 23:22:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:22:39 + sudo tee /etc/docker/daemon.new 23:22:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:22:39 { 23:22:39 "registry-mirrors": [ 23:22:39 "https://nexus3.edgexfoundry.org:10001" 23:22:39 ], 23:22:39 "bip": "10.250.0.254/24", 23:22:39 "hosts": [ 23:22:39 "tcp://0.0.0.0:5555", 23:22:39 "unix:///var/run/docker.sock" 23:22:39 ], 23:22:39 "mtu": 1458, 23:22:39 "selinux-enabled": true, 23:22:39 "seccomp-profile": "/etc/docker/seccomp.json" 23:22:39 } [Pipeline] sh 23:22:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:22:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:01 provisioning config files... 23:23:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config7323371505334923637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:02 ---> docker-login.sh 23:23:02 nexus3.edgexfoundry.org:10001 23:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:02 Configure a credential helper to remove this warning. See 23:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:02 23:23:02 Login Succeeded 23:23:02 nexus3.edgexfoundry.org:10002 23:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:03 Configure a credential helper to remove this warning. See 23:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:03 23:23:03 Login Succeeded 23:23:03 nexus3.edgexfoundry.org:10003 23:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:03 Configure a credential helper to remove this warning. See 23:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:03 23:23:03 Login Succeeded 23:23:03 nexus3.edgexfoundry.org:10004 23:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:04 Configure a credential helper to remove this warning. See 23:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:04 23:23:04 Login Succeeded 23:23:04 docker.io 23:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:04 Configure a credential helper to remove this warning. See 23:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:04 23:23:04 Login Succeeded 23:23:04 ---> docker-login.sh ends [Pipeline] } 23:23:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:23:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:23:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:23:05 ========================================================= 23:23:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:23:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:23:05 Sending build context to Docker daemon 3.314MB 23:23:05 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:23:05 Step 2/12 : FROM ${BASE} AS builder 23:23:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:23:06 af6eaf76a39c: Pulling fs layer 23:23:06 55522c791124: Pulling fs layer 23:23:06 ce5c4a1c91eb: Pulling fs layer 23:23:06 169dfbe0d373: Pulling fs layer 23:23:06 e1ff8fa3b103: Pulling fs layer 23:23:06 52ebb69f0ebf: Pulling fs layer 23:23:06 5abe8eddf0d5: Pulling fs layer 23:23:06 e1ff8fa3b103: Waiting 23:23:06 169dfbe0d373: Waiting 23:23:06 52ebb69f0ebf: Waiting 23:23:06 5abe8eddf0d5: Waiting 23:23:06 55522c791124: Verifying Checksum 23:23:06 55522c791124: Download complete 23:23:06 169dfbe0d373: Verifying Checksum 23:23:06 169dfbe0d373: Download complete 23:23:06 e1ff8fa3b103: Download complete 23:23:06 af6eaf76a39c: Verifying Checksum 23:23:06 af6eaf76a39c: Download complete 23:23:07 af6eaf76a39c: Pull complete 23:23:07 5abe8eddf0d5: Verifying Checksum 23:23:07 5abe8eddf0d5: Download complete 23:23:07 55522c791124: Pull complete 23:23:08 ce5c4a1c91eb: Verifying Checksum 23:23:08 ce5c4a1c91eb: Download complete 23:23:08 52ebb69f0ebf: Verifying Checksum 23:23:08 52ebb69f0ebf: Download complete 23:23:21 ce5c4a1c91eb: Pull complete 23:23:21 169dfbe0d373: Pull complete 23:23:21 e1ff8fa3b103: Pull complete 23:23:27 52ebb69f0ebf: Pull complete 23:23:30 5abe8eddf0d5: Pull complete 23:23:30 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:23:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:23:30 ---> 6cb57ee374ae 23:23:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:23:32 ---> Running in 3bd73250c3e9 23:23:32 Removing intermediate container 3bd73250c3e9 23:23:32 ---> 3938cab969af 23:23:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:23:32 ---> Running in b6c3afc1e44c 23:23:33 Removing intermediate container b6c3afc1e44c 23:23:33 ---> 491b289b7f68 23:23:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:23:33 ---> Running in d66878057719 23:23:33 Removing intermediate container d66878057719 23:23:33 ---> 348445d8eacc 23:23:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:23:33 ---> Running in e98dba9df8fb 23:23:33 Removing intermediate container e98dba9df8fb 23:23:33 ---> 3ee6812e7e59 23:23:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:23:33 ---> Running in ee08a9a050f3 23:23:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:23:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:23:36 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:23:36 (2/4) Installing libedit (20221030.3.1-r0) 23:23:37 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:23:37 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:23:37 Executing busybox-1.35.0-r29.trigger 23:23:37 OK: 268 MiB in 57 packages 23:23:38 Removing intermediate container ee08a9a050f3 23:23:38 ---> fbd0ed436eb1 23:23:38 Step 8/12 : WORKDIR /device-mqtt-go 23:23:38 ---> Running in 3ef477bdacc9 23:23:38 Removing intermediate container 3ef477bdacc9 23:23:38 ---> 104a870f9cc4 23:23:38 Step 9/12 : COPY go.mod vendor* ./ 23:23:39 ---> 46467144be08 23:23:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:23:39 ---> Running in 3bcdb81b201f 23:24:47 Removing intermediate container 3bcdb81b201f 23:24:47 ---> 70ce5b4a232a 23:24:47 Step 11/12 : COPY . . 23:24:47 ---> c21e3e660611 23:24:47 Step 12/12 : RUN $MAKE 23:24:47 ---> Running in bb14160eb5d9 23:24:47 noop 23:24:47 Removing intermediate container bb14160eb5d9 23:24:47 ---> 8b3b2cb42b90 23:24:47 Successfully built 8b3b2cb42b90 23:24:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:47 + docker inspect -f . ci-base-image-arm64 23:24:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:47 prd-ubuntu20.04-docker-arm64-4c-16g-2312 does not seem to be running inside a container 23:24:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:24:49 $ docker top d7ac27bb3486df893428d98b55919c809796828ebd54c302f25f36e0cced86af -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:49 + go version 23:24:49 go version go1.20.2 linux/arm64 [Pipeline] } 23:24:49 $ docker stop --time=1 d7ac27bb3486df893428d98b55919c809796828ebd54c302f25f36e0cced86af 23:24:51 $ docker rm -f --volumes d7ac27bb3486df893428d98b55919c809796828ebd54c302f25f36e0cced86af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:52 + docker inspect -f . ci-base-image-arm64 23:24:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:52 prd-ubuntu20.04-docker-arm64-4c-16g-2312 does not seem to be running inside a container 23:24:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:24:53 $ docker top 274ccfc08d70a9202c15ac624596d43262b40a55f8054a15fb7a0786a2d6cb48 -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:54 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 23:24:56 + make test 23:24:56 go test ./... -coverprofile=coverage.out ./... 23:25:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:28:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:28:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:28:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 22.2% of statements 23:28:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:28:12 go vet ./... 23:28:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:28:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:28:30 ./bin/test-attribution-txt.sh [Pipeline] echo 23:28:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:28:31 $ docker stop --time=1 274ccfc08d70a9202c15ac624596d43262b40a55f8054a15fb7a0786a2d6cb48 23:28:33 $ docker rm -f --volumes 274ccfc08d70a9202c15ac624596d43262b40a55f8054a15fb7a0786a2d6cb48 [Pipeline] // withDockerContainer [Pipeline] sh 23:28:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:28:34 Warning: overwriting stash ‘coverage-report’ 23:28:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:28:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:28:35 + ls -al . 23:28:35 total 176 23:28:35 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 23:24 . 23:28:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 23:22 .. 23:28:35 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 23:22 .dockerignore 23:28:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 23:22 .git 23:28:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 23:22 .github 23:28:35 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 23:22 .gitignore 23:28:35 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 23:22 .golangci.yml 23:28:35 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 23:22 Attribution.txt 23:28:35 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 23:22 CHANGELOG.md 23:28:35 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 23:22 Dockerfile 23:28:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 23:22 GOVERNANCE.md 23:28:35 -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 23:22 Jenkinsfile 23:28:35 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 23:22 LICENSE 23:28:35 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 15 23:22 Makefile 23:28:35 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 23:22 OWNERS.md 23:28:35 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 23:22 README.md 23:28:35 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 23:19 VERSION 23:28:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 23:22 bin 23:28:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 23:22 cmd 23:28:35 -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 23:28 coverage.out 23:28:35 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 23:22 go.mod 23:28:35 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 23:22 go.sum 23:28:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 23:22 internal 23:28:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 23:22 mock 23:28:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 23:22 snap 23:28:35 -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 23:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:36 + 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=65cb44f33fd461c3701873b22097a97a825a5347 --label arch=arm64 --label version=0.0.0 . 23:28:36 Sending build context to Docker daemon 3.333MB 23:28:36 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:28:36 Step 2/24 : FROM ${BASE} AS builder 23:28:36 ---> 8b3b2cb42b90 23:28:36 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:28:36 ---> Running in 07d4bd8a686f 23:28:36 Removing intermediate container 07d4bd8a686f 23:28:36 ---> 2e5b8badf5bb 23:28:36 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:28:36 ---> Running in f73d1a38ba1c 23:28:37 Removing intermediate container f73d1a38ba1c 23:28:37 ---> 07bb09c789cc 23:28:37 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:28:37 ---> Running in 93c73d8d16b8 23:28:37 Removing intermediate container 93c73d8d16b8 23:28:37 ---> fe5bf4276d85 23:28:37 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:28:37 ---> Running in d45ec855ea12 23:28:38 Removing intermediate container d45ec855ea12 23:28:38 ---> d7306abfbddd 23:28:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:28:38 ---> Running in 232be7aa12ca 23:28:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:28:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:28:40 OK: 268 MiB in 57 packages 23:28:42 Removing intermediate container 232be7aa12ca 23:28:42 ---> ff96c6c8ebd9 23:28:42 Step 8/24 : WORKDIR /device-mqtt-go 23:28:42 ---> Running in a6204dc10a0e 23:28:42 Removing intermediate container a6204dc10a0e 23:28:42 ---> f7c050eb22e7 23:28:42 Step 9/24 : COPY go.mod vendor* ./ 23:28:43 ---> e86053b0b15a 23:28:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:28:43 ---> Running in d3d48862d0ac 23:28:45 Removing intermediate container d3d48862d0ac 23:28:45 ---> b1387f2076ec 23:28:45 Step 11/24 : COPY . . 23:28:46 ---> ac457cd79cca 23:28:46 Step 12/24 : RUN $MAKE 23:28:46 ---> Running in e76da47322e9 23:28:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:31:09 Removing intermediate container e76da47322e9 23:31:09 ---> 569759c420ac 23:31:09 Step 13/24 : FROM alpine:3.17 23:31:09 3.17: Pulling from library/alpine 23:31:09 af6eaf76a39c: Already exists 23:31:09 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 23:31:09 Status: Downloaded newer image for alpine:3.17 23:31:09 ---> d74e625d9115 23:31:09 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:31:09 ---> Running in 5ecc291c3310 23:31:09 Removing intermediate container 5ecc291c3310 23:31:09 ---> 9ef8a55eb0cc 23:31:09 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:31:09 ---> Running in 82818bcdf0a2 23:31:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:31:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:31:09 (1/1) Installing dumb-init (1.2.5-r2) 23:31:09 Executing busybox-1.35.0-r29.trigger 23:31:09 OK: 8 MiB in 16 packages 23:31:09 Removing intermediate container 82818bcdf0a2 23:31:09 ---> ea87adc5e842 23:31:09 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:31:10 ---> d38fef9f5c3c 23:31:10 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:31:10 ---> 96c709098dfd 23:31:10 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:31:11 ---> 50079ed20125 23:31:11 Step 19/24 : EXPOSE 59982 23:31:11 ---> Running in e4ef6baeb085 23:31:11 Removing intermediate container e4ef6baeb085 23:31:11 ---> 220a3633146e 23:31:11 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:31:11 ---> Running in 0e00b998b476 23:31:12 Removing intermediate container 0e00b998b476 23:31:12 ---> 25b79f141e32 23:31:12 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:31:12 ---> Running in e448418f9dd8 23:31:12 Removing intermediate container e448418f9dd8 23:31:12 ---> 2d8dec39e522 23:31:12 Step 22/24 : LABEL arch=arm64 23:31:12 ---> Running in 6b389b4d0dcb 23:31:13 Removing intermediate container 6b389b4d0dcb 23:31:13 ---> 3df6336cbdd1 23:31:13 Step 23/24 : LABEL git_sha=65cb44f33fd461c3701873b22097a97a825a5347 23:31:13 ---> Running in 24903faf4e33 23:31:13 Removing intermediate container 24903faf4e33 23:31:13 ---> 3ed3f6fbee58 23:31:13 Step 24/24 : LABEL version=0.0.0 23:31:13 ---> Running in 87424c51d4a2 23:31:13 Removing intermediate container 87424c51d4a2 23:31:13 ---> fcdde28e9727 23:31:13 [Warning] One or more build-args [ARCH] were not consumed 23:31:13 Successfully built fcdde28e9727 23:31:13 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 23:31:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:31:14 23:31:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:31:14 arm64: Pulling from edgex-lftools-log-publisher 23:31:14 8998bd30e6a1: Pulling fs layer 23:31:14 04944245beec: Pulling fs layer 23:31:14 699f458cf7ca: Pulling fs layer 23:31:14 765212b225bb: Pulling fs layer 23:31:14 f23df028b6ca: Pulling fs layer 23:31:14 d65c8cfc05b1: Pulling fs layer 23:31:14 2437ff75d9bd: Pulling fs layer 23:31:14 765212b225bb: Waiting 23:31:14 f23df028b6ca: Waiting 23:31:14 2437ff75d9bd: Waiting 23:31:14 d65c8cfc05b1: Waiting 23:31:14 04944245beec: Verifying Checksum 23:31:14 04944245beec: Download complete 23:31:14 765212b225bb: Verifying Checksum 23:31:14 765212b225bb: Download complete 23:31:14 f23df028b6ca: Verifying Checksum 23:31:14 f23df028b6ca: Download complete 23:31:14 d65c8cfc05b1: Verifying Checksum 23:31:14 d65c8cfc05b1: Download complete 23:31:15 699f458cf7ca: Download complete 23:31:15 8998bd30e6a1: Verifying Checksum 23:31:15 8998bd30e6a1: Download complete 23:31:18 2437ff75d9bd: Verifying Checksum 23:31:18 2437ff75d9bd: Download complete 23:31:19 8998bd30e6a1: Pull complete 23:31:20 04944245beec: Pull complete 23:31:21 699f458cf7ca: Pull complete 23:31:21 765212b225bb: Pull complete 23:31:22 f23df028b6ca: Pull complete 23:31:22 d65c8cfc05b1: Pull complete 23:31:37 2437ff75d9bd: Pull complete 23:31:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:31:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:31:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:37 prd-ubuntu20.04-docker-arm64-4c-16g-2312 does not seem to be running inside a container 23:31:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:31:40 $ docker top 8b64a522b34c3cc4cdda4a2d5601355d63b56e80cca91a619ffa09be2c57d28a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:31:41 ---> job-cost.sh 23:31:41 lf-activate-venv: SKIPPING 23:31:41 INFO: No Stack... 23:31:41 INFO: Retrieving Pricing Info for: v3-standard-4 23:31:42 INFO: Archiving Costs [Pipeline] sh 23:31:43 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 23:31:43 + cut -d, -f6 [Pipeline] lock 23:31:43 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-528-2-stack-cost] 23:31:43 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-528-2-stack-cost] did not exist. Created. 23:31:43 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-528-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:31:44 /w/workspace/device-mqtt-go/2@tmp/durable-d9533cec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:31:44 + echo total: 0.10999999940395355 [Pipeline] stash 23:31:44 Warning: overwriting stash ‘stack-cost’ 23:31:44 Stashed 1 file(s) [Pipeline] } 23:31:44 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-528-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:31:44 $ docker stop --time=1 8b64a522b34c3cc4cdda4a2d5601355d63b56e80cca91a619ffa09be2c57d28a 23:31:46 $ docker rm -f --volumes 8b64a522b34c3cc4cdda4a2d5601355d63b56e80cca91a619ffa09be2c57d28a [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 23:31:46 provisioning config files... 23:31:46 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/config2044071839530003425tmp [Pipeline] { [Pipeline] sh 23:31:47 + set +x 23:31:47 + curl -s https://codecov.io/bash 23:31:47 + bash -s -- 23:31:47 23:31:47 _____ _ 23:31:47 / ____| | | 23:31:47 | | ___ __| | ___ ___ _____ __ 23:31:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:31:47 | |___| (_) | (_| | __/ (_| (_) \ V / 23:31:47 \_____\___/ \__,_|\___|\___\___/ \_/ 23:31:47 Bash-1.0.6 23:31:47 23:31:47 23:31:47 ==> git version 2.25.1 found 23:31:47 ==> 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 23:31:47 Release-Date: 2020-01-08 23:31:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:31:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:31:47 ==> Jenkins CI detected. 23:31:47 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-528 23:31:47 project root: . 23:31:47 --> token set from env 23:31:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:31:47 ==> Running gcov in . (disable via -X gcov) 23:31:47 ==> Python coveragepy not found 23:31:47 ==> Searching for coverage reports in: 23:31:47 + . 23:31:47 -> Found 1 reports 23:31:47 ==> Detecting git/mercurial file structure 23:31:47 ==> Reading reports 23:31:47 + ./coverage.out bytes=18047 23:31:47 ==> Appending adjustments 23:31:47 https://docs.codecov.io/docs/fixing-reports 23:31:47 + Found adjustments 23:31:47 ==> Gzipping contents 23:31:47 4.0K /tmp/codecov.34Gg02.gz 23:31:47 ==> Uploading reports 23:31:47 url: https://codecov.io 23:31:47 query: branch=PR-528&commit=8de3ac5dfa8f6f53e695e175a4b896aa94790ef2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-528%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=528&job=&cmd_args= 23:31:47 -> Pinging Codecov 23:31:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-528&commit=8de3ac5dfa8f6f53e695e175a4b896aa94790ef2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-528%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=528&job=&cmd_args= 23:31:47 -> Uploading to 23:31:47 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7D719EC7BBE17E464838252E33014C33/8de3ac5dfa8f6f53e695e175a4b896aa94790ef2/52dd7b4c-b41e-4f38-a419-bc8beca93439.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T233147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f5abfd1e7319f9cf4c0a85466cfaea0ef82228fc1af4dea011d917344b139753 23:31:47 % Total % Received % Xferd Average Speed Time Time Time Current 23:31:47 Dload Upload Total Spent Left Speed 23:31:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 13286 --:--:-- --:--:-- --:--:-- 13286 23:31:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/8de3ac5dfa8f6f53e695e175a4b896aa94790ef2 [Pipeline] } 23:31:47 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 23:31:48 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives ] 23:31:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives 23:31:48 total 16 23:31:48 drwxr-xr-x 3 root root 4096 Mar 15 23:20 . 23:31:48 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 23:20 .. 23:31:48 drwxr-xr-x 2 root root 4096 Mar 15 23:20 cost 23:31:48 -rw-r--r-- 1 root root 86 Mar 15 23:20 cost.csv 23:31:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives 23:31:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives 23:31:48 total 16 23:31:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 23:20 . 23:31:48 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 23:20 .. 23:31:48 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 23:20 cost 23:31:48 -rw-r--r-- 1 jenkins jenkins 86 Mar 15 23:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:31:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:31:49 ---> package-listing.sh 23:31:49 ++ facter osfamily 23:31:49 ++ tr '[:upper:]' '[:lower:]' 23:31:49 + OS_FAMILY=debian 23:31:49 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-528 23:31:49 + START_PACKAGES=/tmp/packages_start.txt 23:31:49 + END_PACKAGES=/tmp/packages_end.txt 23:31:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:31:49 + PACKAGES=/tmp/packages_start.txt 23:31:49 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-528 ']' 23:31:49 + PACKAGES=/tmp/packages_end.txt 23:31:49 + case "${OS_FAMILY}" in 23:31:49 + dpkg -l 23:31:49 + grep '^ii' 23:31:49 + '[' -f /tmp/packages_start.txt ']' 23:31:49 + '[' -f /tmp/packages_end.txt ']' 23:31:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:31:49 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-528 ']' 23:31:49 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives/ 23:31:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-528/archives/ [Pipeline] echo 23:31:49 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-528/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:31:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:31:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:50 prd-ubuntu20.04-docker-8c-8g-2309 does not seem to be running inside a container 23:31:50 $ 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-528/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-528 -v /w/workspace/gexfoundry_device-mqtt-go_PR-528:/w/workspace/gexfoundry_device-mqtt-go_PR-528:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:31:50 $ docker top 4ae992bef7d20c3f7f991783ced4093d8bdf264da5c06b9395b12fbafd3157f1 -eo pid,comm [Pipeline] { [Pipeline] sh 23:31:51 + touch /tmp/pre-build-complete [Pipeline] sh 23:31:51 + mkdir -p /var/log/sysstat [Pipeline] sh 23:31:51 + ls /var/log/sa-host 23:31:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:31:51 provisioning config files... 23:31:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-528@tmp/config4132477378320191320tmp [Pipeline] { [Pipeline] echo 23:31:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:31:52 ---> create-netrc.sh [Pipeline] } 23:31:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:31:52 ---> python-tools-install.sh [Pipeline] echo 23:31:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:31:52 ---> sudo-logs.sh 23:31:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:31:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:31:53 ---> job-cost.sh 23:31:53 lf-activate-venv: SKIPPING 23:31:53 DEBUG: total: 0.2199999988079071 23:31:53 INFO: Retrieving Stack Cost... 23:31:53 INFO: Retrieving Pricing Info for: v3-standard-8 23:31:53 INFO: Archiving Costs [Pipeline] echo 23:31:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:31:54 ---> logs-deploy.sh 23:31:54 lf-activate-venv: SKIPPING 23:31:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-528/2 23:31:54 INFO: archiving workspace using pattern(s): 23:31:55 Archives upload complete. 23:31:55 INFO: archiving logs to Nexus