Pull request #538 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e1f241060af4b37afe0cacf73d06f50db77b7067+c80097c4a9a507998513a772aabe6c68a90454ef (143caca71c235b1794f234a22fe180af7a2b394e) 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-ssh2788679354998034014.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-ssh3045332902598305961.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-538/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-538/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3939421098424307236.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-538/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15061982164304456566.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15262468510408467756.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-538/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-538/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7653855958326743284.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4698 in /w/workspace/gexfoundry_device-mqtt-go_PR-538 [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-538 # 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 Merging remotes/origin/main commit c80097c4a9a507998513a772aabe6c68a90454ef into PR head commit e1f241060af4b37afe0cacf73d06f50db77b7067 Merge succeeded, producing e1f241060af4b37afe0cacf73d06f50db77b7067 Checking out Revision e1f241060af4b37afe0cacf73d06f50db77b7067 (PR-538) > 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/538/head:refs/remotes/origin/PR-538 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e1f241060af4b37afe0cacf73d06f50db77b7067 # 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 c80097c4a9a507998513a772aabe6c68a90454ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:59:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:59:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:59:51 ========================================================= 01:59:51 EdgeX Global Pipelines Version Info 01:59:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f e1f241060af4b37afe0cacf73d06f50db77b7067 # timeout=10 01:59:52 ------------------- 01:59:52 stable info: 01:59:52 ------------------- 01:59:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:59:52 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 01:59:52 Message: update stable to v1.0.245 01:59:53 ------------------- 01:59:53 experimental info: 01:59:53 ------------------- 01:59:53 Commited By: **** collab-it+edgex@linuxfoundation.org 01:59:53 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 01:59:53 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:59:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-538 [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-538 [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-538 [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e1f241060af4b37afe0cacf73d06f50db77b7067 [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e1f2410 [Pipeline] echo 01:59:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:54 provisioning config files... 01:59:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp/config12970573137372394885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:55 ---> docker-login.sh 01:59:55 nexus3.edgexfoundry.org:10001 01:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:55 Configure a credential helper to remove this warning. See 01:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:55 01:59:55 Login Succeeded 01:59:55 nexus3.edgexfoundry.org:10002 01:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:55 Configure a credential helper to remove this warning. See 01:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:55 01:59:55 Login Succeeded 01:59:55 nexus3.edgexfoundry.org:10003 01:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:55 Configure a credential helper to remove this warning. See 01:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:55 01:59:55 Login Succeeded 01:59:55 nexus3.edgexfoundry.org:10004 01:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:55 Configure a credential helper to remove this warning. See 01:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:55 01:59:55 Login Succeeded 01:59:55 docker.io 01:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:55 Configure a credential helper to remove this warning. See 01:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:55 01:59:55 Login Succeeded 01:59:55 ---> docker-login.sh ends [Pipeline] } 01:59:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:59:56 + git rev-list -1 --merges e1f241060af4b37afe0cacf73d06f50db77b7067~1..e1f241060af4b37afe0cacf73d06f50db77b7067 [Pipeline] echo 01:59:56 -----------> git rev-list -1 --merges e1f241060af4b37afe0cacf73d06f50db77b7067~1..e1f241060af4b37afe0cacf73d06f50db77b7067 e1f241060af4b37afe0cacf73d06f50db77b7067 [false] [Pipeline] sh 01:59:56 + git log --format=format:%s -1 e1f241060af4b37afe0cacf73d06f50db77b7067 [Pipeline] echo 01:59:56 ========================================================= 01:59:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:59:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:59:57 + git log --format=format:%s -1 e1f241060af4b37afe0cacf73d06f50db77b7067 [Pipeline] echo 01:59:57 [semverPrep] GIT_COMMIT: e1f241060af4b37afe0cacf73d06f50db77b7067, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 01:59:57 [semverPrep] This is not a build commit. [Pipeline] sh 01:59:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:59:57 + grep -v github /etc/ssh/ssh_known_hosts 01:59:57 + [ -e /tmp/ssh_known_hosts ] 01:59:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:59:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:59:57 + sudo tee -a /etc/ssh/ssh_known_hosts 01:59:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:58 01:59:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:58 0.1.4: Pulling from edgex-devops/py-git-semver 01:59:58 b85a868b505f: Pulling fs layer 01:59:58 e2be974225ed: Pulling fs layer 01:59:58 339a4e72a1f5: Pulling fs layer 01:59:58 988bab9f4d93: Pulling fs layer 01:59:58 1469e6f7b9e6: Pulling fs layer 01:59:58 eaf3925da568: Pulling fs layer 01:59:58 bab4dde63d76: Pulling fs layer 01:59:58 bde34c3a00c8: Pulling fs layer 01:59:58 b352a97aabf1: Pulling fs layer 01:59:58 4872d77fe225: Pulling fs layer 01:59:58 5851b861e8e6: Pulling fs layer 01:59:58 bab4dde63d76: Waiting 01:59:58 b352a97aabf1: Waiting 01:59:58 eaf3925da568: Waiting 01:59:58 1469e6f7b9e6: Waiting 01:59:58 bde34c3a00c8: Waiting 01:59:58 4872d77fe225: Waiting 01:59:58 e2be974225ed: Verifying Checksum 01:59:58 e2be974225ed: Download complete 01:59:58 988bab9f4d93: Verifying Checksum 01:59:58 988bab9f4d93: Download complete 01:59:58 339a4e72a1f5: Verifying Checksum 01:59:58 339a4e72a1f5: Download complete 01:59:58 1469e6f7b9e6: Verifying Checksum 01:59:58 1469e6f7b9e6: Download complete 01:59:58 eaf3925da568: Verifying Checksum 01:59:58 eaf3925da568: Download complete 01:59:58 bde34c3a00c8: Download complete 01:59:58 4872d77fe225: Verifying Checksum 01:59:58 4872d77fe225: Download complete 01:59:58 5851b861e8e6: Verifying Checksum 01:59:58 5851b861e8e6: Download complete 01:59:58 b85a868b505f: Verifying Checksum 01:59:58 b85a868b505f: Download complete 01:59:59 bab4dde63d76: Verifying Checksum 01:59:59 bab4dde63d76: Download complete 02:00:00 b85a868b505f: Pull complete 02:00:00 e2be974225ed: Pull complete 02:00:00 339a4e72a1f5: Pull complete 02:00:00 988bab9f4d93: Pull complete 02:00:01 1469e6f7b9e6: Pull complete 02:00:01 eaf3925da568: Pull complete 02:00:02 bab4dde63d76: Pull complete 02:00:02 bde34c3a00c8: Pull complete 02:00:02 b352a97aabf1: Pull complete 02:00:02 4872d77fe225: Pull complete 02:00:02 5851b861e8e6: Pull complete 02:00:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:00:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:00:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:03 prd-ubuntu20.04-docker-8c-8g-4698 does not seem to be running inside a container 02:00:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-538 -v /w/workspace/gexfoundry_device-mqtt-go_PR-538:/w/workspace/gexfoundry_device-mqtt-go_PR-538:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-538@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:00:05 $ docker top 60333aecb57345ee9d6a362838231b90bc7d1b637092cdff54b263688666911a -eo pid,comm 02:00:05 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). 02:00:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:00:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:00:05 [ssh-agent] Looking for ssh-agent implementation... 02:00:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:00:05 $ docker exec 60333aecb57345ee9d6a362838231b90bc7d1b637092cdff54b263688666911a ssh-agent 02:00:06 SSH_AUTH_SOCK=/tmp/ssh-DcycsjizqoLk/agent.33 02:00:06 SSH_AGENT_PID=39 02:00:06 Running ssh-add (command line suppressed) 02:00:06 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp/private_key_3902639194897023429.key (/w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp/private_key_3902639194897023429.key) 02:00:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:00:06 + git tag --points-at HEAD [Pipeline] } 02:00:06 $ docker exec --env ******** --env ******** 60333aecb57345ee9d6a362838231b90bc7d1b637092cdff54b263688666911a ssh-agent -k 02:00:06 unset SSH_AUTH_SOCK; 02:00:06 unset SSH_AGENT_PID; 02:00:06 echo Agent pid 39 killed; 02:00:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:00:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:00:06 [ssh-agent] Looking for ssh-agent implementation... 02:00:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:00:06 $ docker exec 60333aecb57345ee9d6a362838231b90bc7d1b637092cdff54b263688666911a ssh-agent 02:00:06 SSH_AUTH_SOCK=/tmp/ssh-oflcHdeq2H7n/agent.72 02:00:06 SSH_AGENT_PID=78 02:00:06 Running ssh-add (command line suppressed) 02:00:07 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp/private_key_1566830442754219185.key (/w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp/private_key_1566830442754219185.key) 02:00:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:00:07 + git semver init 02:00:07 2023-03-21 02:00:07,565 [run_init] DEBUG init version:0.0.0 force:False 02:00:07 2023-03-21 02:00:07,567 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-538/.semver 02:00:07 2023-03-21 02:00:07,567 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-538/.semver 02:00:07 2023-03-21 02:00:07,567 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-538/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-538, universal_newlines=False, shell=None, istream=None) 02:00:08 2023-03-21 02:00:08,337 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-538/.git/info/exclude 02:00:08 2023-03-21 02:00:08,338 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-538/.semver/PR-538 with force:False 02:00:08 2023-03-21 02:00:08,338 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-538/.semver/PR-538 02:00:08 2023-03-21 02:00:08,342 [execute] INFO git cat-file --batch-check 02:00:08 2023-03-21 02:00:08,343 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-538/.semver, universal_newlines=False, shell=None, istream=) 02:00:08 2023-03-21 02:00:08,348 [execute] INFO git cat-file --batch 02:00:08 2023-03-21 02:00:08,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-538/.semver, universal_newlines=False, shell=None, istream=) 02:00:08 2023-03-21 02:00:08,352 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-538/.semver/PR-538 02:00:08 0.0.0 [Pipeline] } 02:00:08 $ docker exec --env ******** --env ******** 60333aecb57345ee9d6a362838231b90bc7d1b637092cdff54b263688666911a ssh-agent -k 02:00:08 unset SSH_AUTH_SOCK; 02:00:08 unset SSH_AGENT_PID; 02:00:08 echo Agent pid 78 killed; 02:00:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:00:09 + git semver [Pipeline] } 02:00:09 $ docker stop --time=1 60333aecb57345ee9d6a362838231b90bc7d1b637092cdff54b263688666911a 02:00:10 $ docker rm -f --volumes 60333aecb57345ee9d6a362838231b90bc7d1b637092cdff54b263688666911a [Pipeline] // withDockerContainer [Pipeline] sh 02:00:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:00:11 Stashed 1 file(s) [Pipeline] echo 02:00:11 [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 02:00:12 provisioning config files... 02:00:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp/config6899214958534748922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:12 ---> docker-login.sh 02:00:12 nexus3.edgexfoundry.org:10001 02:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:12 Configure a credential helper to remove this warning. See 02:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:12 02:00:12 Login Succeeded 02:00:12 nexus3.edgexfoundry.org:10002 02:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:12 Configure a credential helper to remove this warning. See 02:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:12 02:00:12 Login Succeeded 02:00:12 nexus3.edgexfoundry.org:10003 02:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:12 Configure a credential helper to remove this warning. See 02:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:12 02:00:12 Login Succeeded 02:00:12 nexus3.edgexfoundry.org:10004 02:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:12 Configure a credential helper to remove this warning. See 02:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:12 02:00:12 Login Succeeded 02:00:12 docker.io 02:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:14 Configure a credential helper to remove this warning. See 02:00:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:14 02:00:14 Login Succeeded 02:00:14 ---> docker-login.sh ends [Pipeline] } 02:00:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:00:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:00:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:00:14 ========================================================= 02:00:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:00:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:15 + 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 . 02:00:15 Sending build context to Docker daemon 6.401MB 02:00:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:00:15 Step 2/12 : FROM ${BASE} AS builder 02:00:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:00:15 63b65145d645: Pulling fs layer 02:00:15 a2d21d5440eb: Pulling fs layer 02:00:15 935e6c44a52c: Pulling fs layer 02:00:15 94cc34f8dd06: Pulling fs layer 02:00:15 30dea6a524f1: Pulling fs layer 02:00:15 a2aff8979fd8: Pulling fs layer 02:00:15 6808be2612f2: Pulling fs layer 02:00:15 f25807f1079a: Pulling fs layer 02:00:15 94cc34f8dd06: Waiting 02:00:15 30dea6a524f1: Waiting 02:00:15 a2aff8979fd8: Waiting 02:00:15 6808be2612f2: Waiting 02:00:15 f25807f1079a: Waiting 02:00:15 a2d21d5440eb: Verifying Checksum 02:00:15 a2d21d5440eb: Download complete 02:00:15 94cc34f8dd06: Verifying Checksum 02:00:15 94cc34f8dd06: Download complete 02:00:15 30dea6a524f1: Verifying Checksum 02:00:15 30dea6a524f1: Download complete 02:00:15 63b65145d645: Verifying Checksum 02:00:15 63b65145d645: Download complete 02:00:15 a2aff8979fd8: Verifying Checksum 02:00:15 a2aff8979fd8: Download complete 02:00:15 63b65145d645: Pull complete 02:00:15 a2d21d5440eb: Pull complete 02:00:16 f25807f1079a: Verifying Checksum 02:00:16 f25807f1079a: Download complete 02:00:16 935e6c44a52c: Verifying Checksum 02:00:16 935e6c44a52c: Download complete 02:00:16 6808be2612f2: Verifying Checksum 02:00:19 935e6c44a52c: Pull complete 02:00:19 94cc34f8dd06: Pull complete 02:00:19 30dea6a524f1: Pull complete 02:00:19 a2aff8979fd8: Pull complete 02:00:22 6808be2612f2: Pull complete 02:00:22 f25807f1079a: Pull complete 02:00:22 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:00:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:00:22 ---> 3b553350e43f 02:00:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:00:25 ---> Running in bcd462e6c1a9 02:00:25 Removing intermediate container bcd462e6c1a9 02:00:25 ---> 291f88e96e5e 02:00:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:00:25 ---> Running in 9389a6dac306 02:00:25 Removing intermediate container 9389a6dac306 02:00:25 ---> 3a6f8c786499 02:00:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:00:25 ---> Running in e77d1387d3ab 02:00:25 Removing intermediate container e77d1387d3ab 02:00:25 ---> 4b4f9247c0dd 02:00:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:00:25 ---> Running in 1187dfd5150e 02:00:26 Removing intermediate container 1187dfd5150e 02:00:26 ---> bb568400b38b 02:00:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:26 ---> Running in dde2a856617e 02:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:00:26 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:00:26 (2/4) Installing libedit (20221030.3.1-r0) 02:00:26 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:00:26 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:00:26 Executing busybox-1.35.0-r29.trigger 02:00:26 OK: 269 MiB in 57 packages 02:00:27 Still waiting to schedule task 02:00:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4691’ 02:00:27 Removing intermediate container dde2a856617e 02:00:27 ---> 6f3f74232fa0 02:00:27 Step 8/12 : WORKDIR /device-mqtt-go 02:00:27 ---> Running in a3d7db114e28 02:00:27 Removing intermediate container a3d7db114e28 02:00:27 ---> fe513607cbab 02:00:27 Step 9/12 : COPY go.mod vendor* ./ 02:00:27 ---> fc2533e57011 02:00:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:27 ---> Running in f21c7ae99e06 02:00:53 Removing intermediate container f21c7ae99e06 02:00:53 ---> 91aa512e4f1a 02:00:53 Step 11/12 : COPY . . 02:00:53 ---> b5b37681c19a 02:00:53 Step 12/12 : RUN $MAKE 02:00:53 ---> Running in 870d6a8918f5 02:00:53 noop 02:00:53 Removing intermediate container 870d6a8918f5 02:00:53 ---> eac3b7070e86 02:00:53 Successfully built eac3b7070e86 02:00:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:54 + docker inspect -f . ci-base-image-x86_64 02:00:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:54 prd-ubuntu20.04-docker-8c-8g-4698 does not seem to be running inside a container 02:00:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-538 -v /w/workspace/gexfoundry_device-mqtt-go_PR-538:/w/workspace/gexfoundry_device-mqtt-go_PR-538:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-538@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 ******** ci-base-image-x86_64 cat 02:00:54 $ docker top 0de696230ffd2a240d91441c28718f0a0f0b9b325d856200b9bec0b98d5b4669 -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:55 + go version 02:00:55 go version go1.20.2 linux/amd64 [Pipeline] } 02:00:55 $ docker stop --time=1 0de696230ffd2a240d91441c28718f0a0f0b9b325d856200b9bec0b98d5b4669 02:00:56 $ docker rm -f --volumes 0de696230ffd2a240d91441c28718f0a0f0b9b325d856200b9bec0b98d5b4669 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:57 + docker inspect -f . ci-base-image-x86_64 02:00:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:57 prd-ubuntu20.04-docker-8c-8g-4698 does not seem to be running inside a container 02:00:57 $ 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-538 -v /w/workspace/gexfoundry_device-mqtt-go_PR-538:/w/workspace/gexfoundry_device-mqtt-go_PR-538:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-538@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 ******** ci-base-image-x86_64 cat 02:00:57 $ docker top fc067501cc00c0f2486a43a2cd0ae7517a505e90c7f87cfdfdbea93ded35846b -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:58 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-538 [Pipeline] fileExists [Pipeline] sh 02:00:58 + make test 02:00:58 go test ./... -coverprofile=coverage.out ./... 02:01:02 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:01:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:01:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:01:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.2% of statements 02:01:16 go vet ./... 02:01:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:01:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:01:20 ./bin/test-attribution-txt.sh [Pipeline] echo 02:01:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:01:20 $ docker stop --time=1 fc067501cc00c0f2486a43a2cd0ae7517a505e90c7f87cfdfdbea93ded35846b 02:01:23 $ docker rm -f --volumes fc067501cc00c0f2486a43a2cd0ae7517a505e90c7f87cfdfdbea93ded35846b [Pipeline] // withDockerContainer [Pipeline] sh 02:01:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:01:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:01:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:01:24 + ls -al . 02:01:24 total 180 02:01:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 02:00 . 02:01:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 01:59 .. 02:01:24 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 01:59 .dockerignore 02:01:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 02:00 .git 02:01:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 01:59 .github 02:01:24 -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 01:59 .gitignore 02:01:24 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 01:59 .golangci.yml 02:01:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 02:00 .semver 02:01:24 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 21 01:59 Attribution.txt 02:01:24 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 21 01:59 CHANGELOG.md 02:01:24 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 21 01:59 Dockerfile 02:01:24 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 01:59 GOVERNANCE.md 02:01:24 -rw-rw-r-- 1 jenkins jenkins 678 Mar 21 01:59 Jenkinsfile 02:01:24 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 01:59 LICENSE 02:01:24 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 21 01:59 Makefile 02:01:24 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 01:59 OWNERS.md 02:01:24 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 21 01:59 README.md 02:01:24 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 02:00 VERSION 02:01:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 01:59 bin 02:01:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 01:59 cmd 02:01:24 -rw-r--r-- 1 jenkins jenkins 18047 Mar 21 02:01 coverage.out 02:01:24 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 21 01:59 go.mod 02:01:24 -rw-rw-r-- 1 jenkins jenkins 31324 Mar 21 01:59 go.sum 02:01:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 01:59 internal 02:01:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 01:59 mock 02:01:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 01:59 snap 02:01:24 -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:25 + 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=e1f241060af4b37afe0cacf73d06f50db77b7067 --label arch=amd64 --label version=0.0.0 . 02:01:25 Sending build context to Docker daemon 6.42MB 02:01:25 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:01:25 Step 2/24 : FROM ${BASE} AS builder 02:01:25 ---> eac3b7070e86 02:01:25 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:01:25 ---> Running in 6fff25c9222f 02:01:25 Removing intermediate container 6fff25c9222f 02:01:25 ---> 1a88f7342c69 02:01:25 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:01:25 ---> Running in 875a58bba8ca 02:01:25 Removing intermediate container 875a58bba8ca 02:01:25 ---> 582a8108f8fc 02:01:25 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:01:25 ---> Running in 0a3a0ecb2174 02:01:25 Removing intermediate container 0a3a0ecb2174 02:01:25 ---> ba7810c011ef 02:01:25 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:01:25 ---> Running in bfbe29f02cd5 02:01:25 Removing intermediate container bfbe29f02cd5 02:01:25 ---> eb851167fb65 02:01:25 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:01:25 ---> Running in f05608a6cdac 02:01:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:01:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:01:26 OK: 269 MiB in 57 packages 02:01:26 Removing intermediate container f05608a6cdac 02:01:26 ---> 78b80b3f44f6 02:01:26 Step 8/24 : WORKDIR /device-mqtt-go 02:01:26 ---> Running in a7630bc2bc30 02:01:26 Removing intermediate container a7630bc2bc30 02:01:26 ---> ec220f8365f3 02:01:26 Step 9/24 : COPY go.mod vendor* ./ 02:01:26 ---> 0ee8b4f7abf3 02:01:26 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:26 ---> Running in c543c311e6a3 02:01:27 Removing intermediate container c543c311e6a3 02:01:27 ---> e17ac89aa10b 02:01:27 Step 11/24 : COPY . . 02:01:27 ---> 9c6ad2cd347c 02:01:27 Step 12/24 : RUN $MAKE 02:01:27 ---> Running in d7220b777cca 02:01:28 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 02:01:46 Removing intermediate container d7220b777cca 02:01:46 ---> c42dffc7d12c 02:01:46 Step 13/24 : FROM alpine:3.17 02:01:46 3.17: Pulling from library/alpine 02:01:46 63b65145d645: Already exists 02:01:46 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 02:01:46 Status: Downloaded newer image for alpine:3.17 02:01:46 ---> b2aa39c304c2 02:01:46 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:01:46 ---> Running in 1f1f0ec93e32 02:01:46 Removing intermediate container 1f1f0ec93e32 02:01:46 ---> bb08f04f4bcb 02:01:46 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:01:46 ---> Running in c12d54414a6d 02:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:01:46 (1/1) Installing dumb-init (1.2.5-r2) 02:01:46 Executing busybox-1.35.0-r29.trigger 02:01:46 OK: 7 MiB in 16 packages 02:01:46 Removing intermediate container c12d54414a6d 02:01:46 ---> 2a063b6e17f5 02:01:46 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:01:47 ---> 851832b9194b 02:01:47 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:01:47 ---> c58e5899deb2 02:01:47 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:01:47 ---> 2b25636e4e16 02:01:47 Step 19/24 : EXPOSE 59982 02:01:47 ---> Running in 56e4d138618b 02:01:47 Removing intermediate container 56e4d138618b 02:01:47 ---> d517edccbb55 02:01:47 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:01:47 ---> Running in b4a5a01277e7 02:01:47 Removing intermediate container b4a5a01277e7 02:01:47 ---> 736eb5d7ee7e 02:01:47 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:01:47 ---> Running in 1c26684b028d 02:01:47 Removing intermediate container 1c26684b028d 02:01:47 ---> 5a6818d6abc8 02:01:47 Step 22/24 : LABEL arch=amd64 02:01:47 ---> Running in 134302f694ae 02:01:47 Removing intermediate container 134302f694ae 02:01:47 ---> 612359d182f4 02:01:47 Step 23/24 : LABEL git_sha=e1f241060af4b37afe0cacf73d06f50db77b7067 02:01:48 ---> Running in b9e79a9fbfdc 02:01:48 Removing intermediate container b9e79a9fbfdc 02:01:48 ---> e882cbb49b65 02:01:48 Step 24/24 : LABEL version=0.0.0 02:01:48 ---> Running in faf47817cfd2 02:01:48 Removing intermediate container faf47817cfd2 02:01:48 ---> 0eadb3c247d8 02:01:48 [Warning] One or more build-args [ARCH] were not consumed 02:01:48 Successfully built 0eadb3c247d8 02:01:48 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 02:01:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:48 02:01:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:49 latest: Pulling from edgex-lftools-log-publisher 02:01:49 5eb5b503b376: Pulling fs layer 02:01:49 5c69ac0246d0: Pulling fs layer 02:01:49 ec43610c2a17: Pulling fs layer 02:01:49 3a2ae6a8a46f: Pulling fs layer 02:01:49 33b1e0a273af: Pulling fs layer 02:01:49 5d3b04190fa2: Pulling fs layer 02:01:49 2f39f015ded8: Pulling fs layer 02:01:49 33b1e0a273af: Waiting 02:01:49 2f39f015ded8: Waiting 02:01:49 5d3b04190fa2: Waiting 02:01:49 3a2ae6a8a46f: Waiting 02:01:49 5c69ac0246d0: Verifying Checksum 02:01:49 5c69ac0246d0: Download complete 02:01:49 3a2ae6a8a46f: Verifying Checksum 02:01:49 3a2ae6a8a46f: Download complete 02:01:49 33b1e0a273af: Verifying Checksum 02:01:49 33b1e0a273af: Download complete 02:01:49 5d3b04190fa2: Verifying Checksum 02:01:49 5d3b04190fa2: Download complete 02:01:49 ec43610c2a17: Verifying Checksum 02:01:49 ec43610c2a17: Download complete 02:01:49 5eb5b503b376: Verifying Checksum 02:01:49 5eb5b503b376: Download complete 02:01:50 2f39f015ded8: Download complete 02:01:50 5eb5b503b376: Pull complete 02:01:50 5c69ac0246d0: Pull complete 02:01:51 ec43610c2a17: Pull complete 02:01:51 3a2ae6a8a46f: Pull complete 02:01:51 33b1e0a273af: Pull complete 02:01:51 5d3b04190fa2: Pull complete 02:01:55 2f39f015ded8: Pull complete 02:01:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:01:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:55 prd-ubuntu20.04-docker-8c-8g-4698 does not seem to be running inside a container 02:01:55 $ 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-538 -v /w/workspace/gexfoundry_device-mqtt-go_PR-538:/w/workspace/gexfoundry_device-mqtt-go_PR-538:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-538@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-lftools-log-publisher:latest cat 02:01:58 $ docker top 52fc48900e448064a903cf2b745dd742d94315d749d04a9ff82c132832449d8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:59 ---> job-cost.sh 02:01:59 lf-activate-venv: SKIPPING 02:01:59 INFO: No Stack... 02:01:59 INFO: Retrieving Pricing Info for: v3-standard-8 02:01:59 INFO: Archiving Costs [Pipeline] sh 02:02:00 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-538/archives/cost.csv 02:02:00 + cut -d, -f6 [Pipeline] lock 02:02:00 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-538-1-stack-cost] 02:02:00 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-538-1-stack-cost] did not exist. Created. 02:02:00 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-538-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:02:00 + echo total: 0.2199999988079071 [Pipeline] stash 02:02:00 Stashed 1 file(s) [Pipeline] } 02:02:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-538-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:02:00 $ docker stop --time=1 52fc48900e448064a903cf2b745dd742d94315d749d04a9ff82c132832449d8f 02:02:01 $ docker rm -f --volumes 52fc48900e448064a903cf2b745dd742d94315d749d04a9ff82c132832449d8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:03:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4700 in /w/workspace/gexfoundry_device-mqtt-go_PR-538 [Pipeline] { [Pipeline] ws 02:03:42 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:03:42 Selected Git installation does not exist. Using Default 02:03:42 The recommended git tool is: NONE 02:03:52 using credential edgex-jenkins-ssh 02:03:52 Cloning the remote Git repository 02:03:52 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:03:52 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:03:53 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:03:53 > git --version # timeout=10 02:03:53 > git --version # 'git version 2.25.1' 02:03:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:03:54 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:03:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:03:57 Merging remotes/origin/main commit c80097c4a9a507998513a772aabe6c68a90454ef into PR head commit e1f241060af4b37afe0cacf73d06f50db77b7067 02:03:56 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:03:56 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:03:56 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/538/head:refs/remotes/origin/PR-538 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:03:57 > git config core.sparsecheckout # timeout=10 02:03:57 > git checkout -f e1f241060af4b37afe0cacf73d06f50db77b7067 # timeout=10 02:04:02 Merge succeeded, producing e1f241060af4b37afe0cacf73d06f50db77b7067 02:04:02 Checking out Revision e1f241060af4b37afe0cacf73d06f50db77b7067 (PR-538) 02:04:02 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" 02:04:03 > git --version # timeout=10 02:04:03 > git --version # 'git version 2.25.1' 02:04:03 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 02:04:02 > git remote # timeout=10 02:04:02 > git config --get remote.origin.url # timeout=10 02:04:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:04:02 > git merge c80097c4a9a507998513a772aabe6c68a90454ef # timeout=10 02:04:02 > git rev-parse HEAD^{commit} # timeout=10 02:04:02 > git config core.sparsecheckout # timeout=10 02:04:02 > git checkout -f e1f241060af4b37afe0cacf73d06f50db77b7067 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:04:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:04:04 % Total % Received % Xferd Average Speed Time Time Time Current 02:04:04 Dload Upload Total Spent Left Speed 02:04:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 02:04:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:04:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:04:05 + sudo tee /etc/docker/daemon.new 02:04:05 { 02:04:05 "registry-mirrors": [ 02:04:05 "https://nexus3.edgexfoundry.org:10001" 02:04:05 ], 02:04:05 "bip": "10.250.0.254/24", 02:04:05 "hosts": [ 02:04:05 "tcp://0.0.0.0:5555", 02:04:05 "unix:///var/run/docker.sock" 02:04:05 ], 02:04:05 "mtu": 1458, 02:04:05 "selinux-enabled": true, 02:04:05 "seccomp-profile": "/etc/docker/seccomp.json" 02:04:05 } [Pipeline] sh 02:04:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:04:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:04:24 provisioning config files... 02:04:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7350445827520888026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:24 ---> docker-login.sh 02:04:24 nexus3.edgexfoundry.org:10001 02:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:25 Configure a credential helper to remove this warning. See 02:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:25 02:04:25 Login Succeeded 02:04:25 nexus3.edgexfoundry.org:10002 02:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:25 Configure a credential helper to remove this warning. See 02:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:25 02:04:25 Login Succeeded 02:04:25 nexus3.edgexfoundry.org:10003 02:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:26 Configure a credential helper to remove this warning. See 02:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:26 02:04:26 Login Succeeded 02:04:26 nexus3.edgexfoundry.org:10004 02:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:26 Configure a credential helper to remove this warning. See 02:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:26 02:04:26 Login Succeeded 02:04:26 docker.io 02:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:26 Configure a credential helper to remove this warning. See 02:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:26 02:04:26 Login Succeeded 02:04:26 ---> docker-login.sh ends [Pipeline] } 02:04:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:04:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:04:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:04:27 ========================================================= 02:04:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:04:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:27 + 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 . 02:04:28 Sending build context to Docker daemon 3.323MB 02:04:28 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:04:28 Step 2/12 : FROM ${BASE} AS builder 02:04:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:04:28 af6eaf76a39c: Pulling fs layer 02:04:28 55522c791124: Pulling fs layer 02:04:28 ce5c4a1c91eb: Pulling fs layer 02:04:28 169dfbe0d373: Pulling fs layer 02:04:28 e1ff8fa3b103: Pulling fs layer 02:04:28 52ebb69f0ebf: Pulling fs layer 02:04:28 5abe8eddf0d5: Pulling fs layer 02:04:28 e1ff8fa3b103: Waiting 02:04:28 52ebb69f0ebf: Waiting 02:04:28 5abe8eddf0d5: Waiting 02:04:28 169dfbe0d373: Waiting 02:04:28 55522c791124: Download complete 02:04:28 169dfbe0d373: Verifying Checksum 02:04:28 169dfbe0d373: Download complete 02:04:28 e1ff8fa3b103: Verifying Checksum 02:04:28 e1ff8fa3b103: Download complete 02:04:28 af6eaf76a39c: Verifying Checksum 02:04:28 af6eaf76a39c: Download complete 02:04:29 af6eaf76a39c: Pull complete 02:04:29 5abe8eddf0d5: Verifying Checksum 02:04:29 5abe8eddf0d5: Download complete 02:04:29 55522c791124: Pull complete 02:04:30 ce5c4a1c91eb: Verifying Checksum 02:04:30 ce5c4a1c91eb: Download complete 02:04:30 52ebb69f0ebf: Verifying Checksum 02:04:30 52ebb69f0ebf: Download complete 02:04:40 ce5c4a1c91eb: Pull complete 02:04:40 169dfbe0d373: Pull complete 02:04:40 e1ff8fa3b103: Pull complete 02:04:47 52ebb69f0ebf: Pull complete 02:04:49 5abe8eddf0d5: Pull complete 02:04:49 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:04:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:04:49 ---> 6cb57ee374ae 02:04:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:04:51 ---> Running in 7635099b1024 02:04:51 Removing intermediate container 7635099b1024 02:04:51 ---> f3ef59cb8310 02:04:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:04:51 ---> Running in 35b5fbb6c105 02:04:51 Removing intermediate container 35b5fbb6c105 02:04:51 ---> 4645dd5ebb88 02:04:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:04:51 ---> Running in a2b0dfb5168e 02:04:52 Removing intermediate container a2b0dfb5168e 02:04:52 ---> 989694bea66e 02:04:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:04:52 ---> Running in 177fe040c096 02:04:52 Removing intermediate container 177fe040c096 02:04:52 ---> 343abd19b771 02:04:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:04:52 ---> Running in d3c2ec47744c 02:04:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:04:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:04:55 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:04:55 (2/4) Installing libedit (20221030.3.1-r0) 02:04:55 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:04:56 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:04:56 Executing busybox-1.35.0-r29.trigger 02:04:56 OK: 268 MiB in 57 packages 02:04:57 Removing intermediate container d3c2ec47744c 02:04:57 ---> b35084453270 02:04:57 Step 8/12 : WORKDIR /device-mqtt-go 02:04:57 ---> Running in 5811e1d81eb0 02:04:57 Removing intermediate container 5811e1d81eb0 02:04:57 ---> f025fbc78e5a 02:04:57 Step 9/12 : COPY go.mod vendor* ./ 02:04:57 ---> 918c95cbdfe3 02:04:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:04:57 ---> Running in 7279d4369e36 02:06:05 Removing intermediate container 7279d4369e36 02:06:05 ---> a32042b8a233 02:06:05 Step 11/12 : COPY . . 02:06:05 ---> 92cfbbe7e3c2 02:06:05 Step 12/12 : RUN $MAKE 02:06:05 ---> Running in b517117251ca 02:06:05 noop 02:06:05 Removing intermediate container b517117251ca 02:06:05 ---> 8bb70818dc15 02:06:05 Successfully built 8bb70818dc15 02:06:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:06 + docker inspect -f . ci-base-image-arm64 02:06:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:06 prd-ubuntu20.04-docker-arm64-4c-16g-4700 does not seem to be running inside a container 02:06:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:06:08 $ docker top 0e3f7bdb3de5244cdda65ac1f1e99912a89eec7e960836ad81645782da4bc745 -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:08 + go version 02:06:08 go version go1.20.2 linux/arm64 [Pipeline] } 02:06:08 $ docker stop --time=1 0e3f7bdb3de5244cdda65ac1f1e99912a89eec7e960836ad81645782da4bc745 02:06:10 $ docker rm -f --volumes 0e3f7bdb3de5244cdda65ac1f1e99912a89eec7e960836ad81645782da4bc745 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:11 + docker inspect -f . ci-base-image-arm64 02:06:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:11 prd-ubuntu20.04-docker-arm64-4c-16g-4700 does not seem to be running inside a container 02:06:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:06:13 $ docker top e1312e89163dadc9e2017379a9605af4fc6e82f35251deaacdc6de9356652eb9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:13 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:06:14 + make test 02:06:14 go test ./... -coverprofile=coverage.out ./... 02:06:53 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:08:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:08:51 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:08:51 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 22.2% of statements 02:08:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:08:51 go vet ./... 02:09:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:09:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:09:24 ./bin/test-attribution-txt.sh [Pipeline] echo 02:09:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:09:24 $ docker stop --time=1 e1312e89163dadc9e2017379a9605af4fc6e82f35251deaacdc6de9356652eb9 02:09:26 $ docker rm -f --volumes e1312e89163dadc9e2017379a9605af4fc6e82f35251deaacdc6de9356652eb9 [Pipeline] // withDockerContainer [Pipeline] sh 02:09:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:09:27 Warning: overwriting stash ‘coverage-report’ 02:09:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:09:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:09:28 + ls -al . 02:09:28 total 176 02:09:28 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 02:06 . 02:09:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 02:03 .. 02:09:28 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 02:03 .dockerignore 02:09:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 02:04 .git 02:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 02:03 .github 02:09:28 -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 02:03 .gitignore 02:09:28 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 02:03 .golangci.yml 02:09:28 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 21 02:03 Attribution.txt 02:09:28 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 21 02:03 CHANGELOG.md 02:09:28 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 21 02:03 Dockerfile 02:09:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 02:03 GOVERNANCE.md 02:09:28 -rw-rw-r-- 1 jenkins jenkins 678 Mar 21 02:03 Jenkinsfile 02:09:28 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 02:03 LICENSE 02:09:28 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 21 02:03 Makefile 02:09:28 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 02:03 OWNERS.md 02:09:28 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 21 02:03 README.md 02:09:28 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 02:00 VERSION 02:09:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 02:03 bin 02:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 02:03 cmd 02:09:28 -rw-r--r-- 1 jenkins jenkins 18047 Mar 21 02:08 coverage.out 02:09:28 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 21 02:03 go.mod 02:09:28 -rw-rw-r-- 1 jenkins jenkins 31324 Mar 21 02:03 go.sum 02:09:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 02:03 internal 02:09:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 02:03 mock 02:09:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 02:03 snap 02:09:28 -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 02:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:29 + 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=e1f241060af4b37afe0cacf73d06f50db77b7067 --label arch=arm64 --label version=0.0.0 . 02:09:29 Sending build context to Docker daemon 3.342MB 02:09:29 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:09:29 Step 2/24 : FROM ${BASE} AS builder 02:09:29 ---> 8bb70818dc15 02:09:29 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:09:29 ---> Running in 2d84c11fc01e 02:09:30 Removing intermediate container 2d84c11fc01e 02:09:30 ---> 706bdd2b8155 02:09:30 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:09:30 ---> Running in 0a7af88270d0 02:09:30 Removing intermediate container 0a7af88270d0 02:09:30 ---> 402e291cc8ca 02:09:30 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:09:30 ---> Running in 1df16b6b7b18 02:09:30 Removing intermediate container 1df16b6b7b18 02:09:30 ---> f74587b6ca8f 02:09:30 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:09:30 ---> Running in d135057bc788 02:09:31 Removing intermediate container d135057bc788 02:09:31 ---> ea7b4561b60f 02:09:31 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:09:31 ---> Running in d07f85e25f61 02:09:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:09:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:09:34 OK: 268 MiB in 57 packages 02:09:35 Removing intermediate container d07f85e25f61 02:09:35 ---> e2a946802cfd 02:09:35 Step 8/24 : WORKDIR /device-mqtt-go 02:09:35 ---> Running in 2c05d040f918 02:09:36 Removing intermediate container 2c05d040f918 02:09:36 ---> 6bac66f21340 02:09:36 Step 9/24 : COPY go.mod vendor* ./ 02:09:36 ---> 216d6d97eefa 02:09:36 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:09:36 ---> Running in 9b93b0e921ae 02:09:39 Removing intermediate container 9b93b0e921ae 02:09:39 ---> b5978bf7900b 02:09:39 Step 11/24 : COPY . . 02:09:40 ---> 5326d941b740 02:09:40 Step 12/24 : RUN $MAKE 02:09:40 ---> Running in 34bd8e462156 02:09:41 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 02:12:03 Removing intermediate container 34bd8e462156 02:12:03 ---> d2a777f0baae 02:12:03 Step 13/24 : FROM alpine:3.17 02:12:03 3.17: Pulling from library/alpine 02:12:03 af6eaf76a39c: Already exists 02:12:03 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 02:12:03 Status: Downloaded newer image for alpine:3.17 02:12:03 ---> d74e625d9115 02:12:03 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:12:03 ---> Running in 4c1a96659df2 02:12:03 Removing intermediate container 4c1a96659df2 02:12:03 ---> 2420390e9701 02:12:03 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:12:03 ---> Running in c8c801d1ffb2 02:12:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:12:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:12:03 (1/1) Installing dumb-init (1.2.5-r2) 02:12:03 Executing busybox-1.35.0-r29.trigger 02:12:03 OK: 8 MiB in 16 packages 02:12:03 Removing intermediate container c8c801d1ffb2 02:12:03 ---> 1ec5ea97831a 02:12:03 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:12:05 ---> 51d53e65d801 02:12:05 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:12:05 ---> e1b3baeeb997 02:12:05 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:12:05 ---> 3b97b0d3da07 02:12:05 Step 19/24 : EXPOSE 59982 02:12:05 ---> Running in c38d4f25a27e 02:12:06 Removing intermediate container c38d4f25a27e 02:12:06 ---> 1b9159d84fee 02:12:06 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:12:06 ---> Running in be49e397a5e2 02:12:06 Removing intermediate container be49e397a5e2 02:12:06 ---> 026de63b3d36 02:12:06 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:12:06 ---> Running in da10c848bda7 02:12:06 Removing intermediate container da10c848bda7 02:12:06 ---> d17a77b632ae 02:12:06 Step 22/24 : LABEL arch=arm64 02:12:06 ---> Running in 816a634eb59e 02:12:07 Removing intermediate container 816a634eb59e 02:12:07 ---> abef0adb51b3 02:12:07 Step 23/24 : LABEL git_sha=e1f241060af4b37afe0cacf73d06f50db77b7067 02:12:07 ---> Running in 06c51fd3e56f 02:12:07 Removing intermediate container 06c51fd3e56f 02:12:07 ---> 53495a7e919c 02:12:07 Step 24/24 : LABEL version=0.0.0 02:12:07 ---> Running in 98ebbc7827fb 02:12:08 Removing intermediate container 98ebbc7827fb 02:12:08 ---> fd40fc15f11e 02:12:08 [Warning] One or more build-args [ARCH] were not consumed 02:12:08 Successfully built fd40fc15f11e 02:12:08 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 02:12:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:08 02:12:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:09 arm64: Pulling from edgex-lftools-log-publisher 02:12:09 8998bd30e6a1: Pulling fs layer 02:12:09 04944245beec: Pulling fs layer 02:12:09 699f458cf7ca: Pulling fs layer 02:12:09 765212b225bb: Pulling fs layer 02:12:09 f23df028b6ca: Pulling fs layer 02:12:09 d65c8cfc05b1: Pulling fs layer 02:12:09 2437ff75d9bd: Pulling fs layer 02:12:09 f23df028b6ca: Waiting 02:12:09 d65c8cfc05b1: Waiting 02:12:09 2437ff75d9bd: Waiting 02:12:09 765212b225bb: Waiting 02:12:09 04944245beec: Verifying Checksum 02:12:09 04944245beec: Download complete 02:12:09 765212b225bb: Verifying Checksum 02:12:09 765212b225bb: Download complete 02:12:09 f23df028b6ca: Verifying Checksum 02:12:09 f23df028b6ca: Download complete 02:12:09 d65c8cfc05b1: Download complete 02:12:09 699f458cf7ca: Verifying Checksum 02:12:09 699f458cf7ca: Download complete 02:12:10 8998bd30e6a1: Download complete 02:12:12 2437ff75d9bd: Verifying Checksum 02:12:12 2437ff75d9bd: Download complete 02:12:14 8998bd30e6a1: Pull complete 02:12:14 04944245beec: Pull complete 02:12:16 699f458cf7ca: Pull complete 02:12:16 765212b225bb: Pull complete 02:12:17 f23df028b6ca: Pull complete 02:12:17 d65c8cfc05b1: Pull complete 02:12:32 2437ff75d9bd: Pull complete 02:12:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:12:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:32 prd-ubuntu20.04-docker-arm64-4c-16g-4700 does not seem to be running inside a container 02:12:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:12:35 $ docker top 461424a2087a454860791127fefdf8f663a183b4ca49abca1d2824ebf7261a75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:36 ---> job-cost.sh 02:12:36 lf-activate-venv: SKIPPING 02:12:36 INFO: No Stack... 02:12:36 INFO: Retrieving Pricing Info for: v3-standard-4 02:12:37 INFO: Archiving Costs [Pipeline] sh 02:12:38 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:12:38 + cut -d, -f6 [Pipeline] lock 02:12:38 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-538-1-stack-cost] 02:12:38 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-538-1-stack-cost] did not exist. Created. 02:12:38 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-538-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:12:38 /w/workspace/device-mqtt-go/1@tmp/durable-9c82da32/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:12:39 + echo total: 0.10999999940395355 [Pipeline] stash 02:12:39 Warning: overwriting stash ‘stack-cost’ 02:12:39 Stashed 1 file(s) [Pipeline] } 02:12:39 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-538-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:12:39 $ docker stop --time=1 461424a2087a454860791127fefdf8f663a183b4ca49abca1d2824ebf7261a75 02:12:41 $ docker rm -f --volumes 461424a2087a454860791127fefdf8f663a183b4ca49abca1d2824ebf7261a75 [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 02:12:42 provisioning config files... 02:12:42 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp/config6668741780058006750tmp [Pipeline] { [Pipeline] sh 02:12:42 + set +x 02:12:42 + curl -s https://codecov.io/bash 02:12:42 + bash -s -- 02:12:42 02:12:42 _____ _ 02:12:42 / ____| | | 02:12:42 | | ___ __| | ___ ___ _____ __ 02:12:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:12:42 | |___| (_) | (_| | __/ (_| (_) \ V / 02:12:42 \_____\___/ \__,_|\___|\___\___/ \_/ 02:12:42 Bash-1.0.6 02:12:42 02:12:42 02:12:42 ==> git version 2.25.1 found 02:12:42 ==> 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 02:12:42 Release-Date: 2020-01-08 02:12:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:12:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:12:42 ==> Jenkins CI detected. 02:12:42 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-538 02:12:42 project root: . 02:12:42 --> token set from env 02:12:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:12:42 ==> Running gcov in . (disable via -X gcov) 02:12:42 ==> Python coveragepy not found 02:12:42 ==> Searching for coverage reports in: 02:12:42 + . 02:12:42 -> Found 1 reports 02:12:42 ==> Detecting git/mercurial file structure 02:12:42 ==> Reading reports 02:12:42 + ./coverage.out bytes=18047 02:12:42 ==> Appending adjustments 02:12:42 https://docs.codecov.io/docs/fixing-reports 02:12:43 + Found adjustments 02:12:43 ==> Gzipping contents 02:12:43 4.0K /tmp/codecov.pBlCXF.gz 02:12:43 ==> Uploading reports 02:12:43 url: https://codecov.io 02:12:43 query: branch=PR-538&commit=e1f241060af4b37afe0cacf73d06f50db77b7067&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-538%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=538&job=&cmd_args= 02:12:43 -> Pinging Codecov 02:12:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-538&commit=e1f241060af4b37afe0cacf73d06f50db77b7067&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-538%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=538&job=&cmd_args= 02:12:43 -> Uploading to 02:12:43 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/7D719EC7BBE17E464838252E33014C33/e1f241060af4b37afe0cacf73d06f50db77b7067/9ce8891e-8f80-43fe-b3bc-1a40750eb510.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T021242Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e94c36fbad72a54daeb10974311ca6793b516392d6d6e7352828ade22684fc5f 02:12:43 % Total % Received % Xferd Average Speed Time Time Time Current 02:12:43 Dload Upload Total Spent Left Speed 02:12:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3151 0 0 100 3151 0 12503 --:--:-- --:--:-- --:--:-- 12503 02:12:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/e1f241060af4b37afe0cacf73d06f50db77b7067 [Pipeline] } 02:12:43 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 02:12:44 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-538/archives ] 02:12:44 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-538/archives 02:12:44 total 16 02:12:44 drwxr-xr-x 3 root root 4096 Mar 21 02:01 . 02:12:44 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 02:02 .. 02:12:44 drwxr-xr-x 2 root root 4096 Mar 21 02:01 cost 02:12:44 -rw-r--r-- 1 root root 86 Mar 21 02:01 cost.csv 02:12:44 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-538/archives 02:12:44 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-538/archives 02:12:44 total 16 02:12:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 02:01 . 02:12:44 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 02:02 .. 02:12:44 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 02:01 cost 02:12:44 -rw-r--r-- 1 jenkins jenkins 86 Mar 21 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:12:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:12:46 ---> package-listing.sh 02:12:46 ++ facter osfamily 02:12:46 ++ tr '[:upper:]' '[:lower:]' 02:12:46 + OS_FAMILY=debian 02:12:46 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-538 02:12:46 + START_PACKAGES=/tmp/packages_start.txt 02:12:46 + END_PACKAGES=/tmp/packages_end.txt 02:12:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:12:46 + PACKAGES=/tmp/packages_start.txt 02:12:46 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-538 ']' 02:12:46 + PACKAGES=/tmp/packages_end.txt 02:12:46 + case "${OS_FAMILY}" in 02:12:46 + dpkg -l 02:12:46 + grep '^ii' 02:12:46 + '[' -f /tmp/packages_start.txt ']' 02:12:46 + '[' -f /tmp/packages_end.txt ']' 02:12:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:12:46 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-538 ']' 02:12:46 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-538/archives/ 02:12:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-538/archives/ [Pipeline] echo 02:12:46 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-538/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:12:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:47 prd-ubuntu20.04-docker-8c-8g-4698 does not seem to be running inside a container 02:12:47 $ 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-538/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-538 -v /w/workspace/gexfoundry_device-mqtt-go_PR-538:/w/workspace/gexfoundry_device-mqtt-go_PR-538:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:12:48 $ docker top 33dff06eff1d127ab650fe5671bf35914c3d829f2b3ee8c441070beb3cf07b3c -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:49 + touch /tmp/pre-build-complete [Pipeline] sh 02:12:49 + mkdir -p /var/log/sysstat [Pipeline] sh 02:12:49 + ls /var/log/sa-host 02:12:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:12:49 provisioning config files... 02:12:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-538@tmp/config6483651225510446940tmp [Pipeline] { [Pipeline] echo 02:12:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:12:50 ---> create-netrc.sh [Pipeline] } 02:12:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:12:50 ---> python-tools-install.sh [Pipeline] echo 02:12:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:12:50 ---> sudo-logs.sh 02:12:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:12:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:12:51 ---> job-cost.sh 02:12:51 lf-activate-venv: SKIPPING 02:12:51 DEBUG: total: 0.2199999988079071 02:12:51 INFO: Retrieving Stack Cost... 02:12:51 INFO: Retrieving Pricing Info for: v3-standard-8 02:12:52 INFO: Archiving Costs [Pipeline] echo 02:12:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:12:52 ---> logs-deploy.sh 02:12:52 lf-activate-venv: SKIPPING 02:12:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-538/1 02:12:52 INFO: archiving workspace using pattern(s): 02:12:53 Archives upload complete. 02:12:53 INFO: archiving logs to Nexus