Pull request #558 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 36012d8c573baabaf6f40840f25973b1023a9a78+bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 (907f803c9cedb1ca37fab30d54cbac89c6fd16ee) 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-ssh9442494000382832903.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-ssh2432440567594791725.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-558/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-558/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8289551574971278765.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-558/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17558143988866904581.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-ssh9558728910454573821.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-558/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-558/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5234450731181345682.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 ‘prd-ubuntu20.04-docker-8c-8g-7102’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7107 in /w/workspace/gexfoundry_device-mqtt-go_PR-558 [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-558 # 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 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 into PR head commit 36012d8c573baabaf6f40840f25973b1023a9a78 > 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/558/head:refs/remotes/origin/PR-558 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 36012d8c573baabaf6f40840f25973b1023a9a78 # 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 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 # timeout=10 Merge succeeded, producing 36012d8c573baabaf6f40840f25973b1023a9a78 Checking out Revision 36012d8c573baabaf6f40840f25973b1023a9a78 (PR-558) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/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 07:46:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:46:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:46:53 ========================================================= 07:46:53 EdgeX Global Pipelines Version Info 07:46:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 36012d8c573baabaf6f40840f25973b1023a9a78 # timeout=10 07:46:54 ------------------- 07:46:54 stable info: 07:46:54 ------------------- 07:46:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:46:54 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 07:46:54 Message: update stable to v1.0.245 07:46:54 ------------------- 07:46:54 experimental info: 07:46:54 ------------------- 07:46:54 Commited By: **** collab-it+edgex@linuxfoundation.org 07:46:54 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 07:46:54 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:46:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 07:46:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 07:46:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-558 [Pipeline] echo 07:46:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-558 [Pipeline] echo 07:46:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-558 [Pipeline] echo 07:46:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 36012d8c573baabaf6f40840f25973b1023a9a78 [Pipeline] echo 07:46:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 36012d8 [Pipeline] echo 07:46:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:46:56 provisioning config files... 07:46:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-558@tmp/config4415019417826614137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:46:56 ---> docker-login.sh 07:46:56 nexus3.edgexfoundry.org:10001 07:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:56 Configure a credential helper to remove this warning. See 07:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:56 07:46:56 Login Succeeded 07:46:56 nexus3.edgexfoundry.org:10002 07:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:57 Configure a credential helper to remove this warning. See 07:46:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:57 07:46:57 Login Succeeded 07:46:57 nexus3.edgexfoundry.org:10003 07:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:57 Configure a credential helper to remove this warning. See 07:46:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:57 07:46:57 Login Succeeded 07:46:57 nexus3.edgexfoundry.org:10004 07:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:57 Configure a credential helper to remove this warning. See 07:46:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:57 07:46:57 Login Succeeded 07:46:57 docker.io 07:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:57 Configure a credential helper to remove this warning. See 07:46:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:57 07:46:57 Login Succeeded 07:46:57 ---> docker-login.sh ends [Pipeline] } 07:46:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:46:58 + git rev-list -1 --merges 36012d8c573baabaf6f40840f25973b1023a9a78~1..36012d8c573baabaf6f40840f25973b1023a9a78 [Pipeline] echo 07:46:58 -----------> git rev-list -1 --merges 36012d8c573baabaf6f40840f25973b1023a9a78~1..36012d8c573baabaf6f40840f25973b1023a9a78 36012d8c573baabaf6f40840f25973b1023a9a78 [false] [Pipeline] sh 07:46:58 + git log --format=format:%s -1 36012d8c573baabaf6f40840f25973b1023a9a78 [Pipeline] echo 07:46:58 ========================================================= 07:46:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:46:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:46:59 + git log --format=format:%s -1 36012d8c573baabaf6f40840f25973b1023a9a78 [Pipeline] echo 07:46:59 [semverPrep] GIT_COMMIT: 36012d8c573baabaf6f40840f25973b1023a9a78, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 07:46:59 [semverPrep] This is not a build commit. [Pipeline] sh 07:46:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:46:59 + grep -v github /etc/ssh/ssh_known_hosts 07:46:59 + [ -e /tmp/ssh_known_hosts ] 07:46:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:46:59 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 07:46:59 tee -a /etc/ssh/ssh_known_hosts 07:46:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:46:59 07:46:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:47:00 0.1.4: Pulling from edgex-devops/py-git-semver 07:47:00 b85a868b505f: Pulling fs layer 07:47:00 e2be974225ed: Pulling fs layer 07:47:00 339a4e72a1f5: Pulling fs layer 07:47:00 988bab9f4d93: Pulling fs layer 07:47:00 1469e6f7b9e6: Pulling fs layer 07:47:00 eaf3925da568: Pulling fs layer 07:47:00 bab4dde63d76: Pulling fs layer 07:47:00 bde34c3a00c8: Pulling fs layer 07:47:00 b352a97aabf1: Pulling fs layer 07:47:00 4872d77fe225: Pulling fs layer 07:47:00 5851b861e8e6: Pulling fs layer 07:47:00 bab4dde63d76: Waiting 07:47:00 bde34c3a00c8: Waiting 07:47:00 b352a97aabf1: Waiting 07:47:00 4872d77fe225: Waiting 07:47:00 5851b861e8e6: Waiting 07:47:00 1469e6f7b9e6: Waiting 07:47:00 eaf3925da568: Waiting 07:47:00 988bab9f4d93: Waiting 07:47:00 e2be974225ed: Verifying Checksum 07:47:00 e2be974225ed: Download complete 07:47:00 988bab9f4d93: Verifying Checksum 07:47:00 988bab9f4d93: Download complete 07:47:00 1469e6f7b9e6: Verifying Checksum 07:47:00 1469e6f7b9e6: Download complete 07:47:00 339a4e72a1f5: Verifying Checksum 07:47:00 339a4e72a1f5: Download complete 07:47:00 eaf3925da568: Verifying Checksum 07:47:00 eaf3925da568: Download complete 07:47:00 bde34c3a00c8: Verifying Checksum 07:47:00 bde34c3a00c8: Download complete 07:47:00 b352a97aabf1: Verifying Checksum 07:47:00 b352a97aabf1: Download complete 07:47:00 4872d77fe225: Verifying Checksum 07:47:00 4872d77fe225: Download complete 07:47:00 5851b861e8e6: Verifying Checksum 07:47:00 5851b861e8e6: Download complete 07:47:00 b85a868b505f: Verifying Checksum 07:47:00 b85a868b505f: Download complete 07:47:00 bab4dde63d76: Verifying Checksum 07:47:00 bab4dde63d76: Download complete 07:47:01 b85a868b505f: Pull complete 07:47:02 e2be974225ed: Pull complete 07:47:02 339a4e72a1f5: Pull complete 07:47:02 988bab9f4d93: Pull complete 07:47:02 1469e6f7b9e6: Pull complete 07:47:02 eaf3925da568: Pull complete 07:47:04 bab4dde63d76: Pull complete 07:47:04 bde34c3a00c8: Pull complete 07:47:04 b352a97aabf1: Pull complete 07:47:05 4872d77fe225: Pull complete 07:47:05 5851b861e8e6: Pull complete 07:47:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:47:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:47:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:05 prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container 07:47:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-558 -v /w/workspace/gexfoundry_device-mqtt-go_PR-558:/w/workspace/gexfoundry_device-mqtt-go_PR-558:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-558@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-558@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 07:47:07 $ docker top 0e542a64638676268a78a31fe00f53d85dd39f87cc41669cb0698bfeb0c2f255 -eo pid,comm 07:47:07 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). 07:47:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:47:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:47:07 [ssh-agent] Looking for ssh-agent implementation... 07:47:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:47:08 $ docker exec 0e542a64638676268a78a31fe00f53d85dd39f87cc41669cb0698bfeb0c2f255 ssh-agent 07:47:08 SSH_AUTH_SOCK=/tmp/ssh-GBUfTAhokMJS/agent.32 07:47:08 SSH_AGENT_PID=38 07:47:08 Running ssh-add (command line suppressed) 07:47:08 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-558@tmp/private_key_4332861257842666123.key (/w/workspace/gexfoundry_device-mqtt-go_PR-558@tmp/private_key_4332861257842666123.key) 07:47:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:47:08 + git tag --points-at HEAD [Pipeline] } 07:47:08 $ docker exec --env ******** --env ******** 0e542a64638676268a78a31fe00f53d85dd39f87cc41669cb0698bfeb0c2f255 ssh-agent -k 07:47:08 unset SSH_AUTH_SOCK; 07:47:08 unset SSH_AGENT_PID; 07:47:08 echo Agent pid 38 killed; 07:47:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:47:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:47:08 [ssh-agent] Looking for ssh-agent implementation... 07:47:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:47:08 $ docker exec 0e542a64638676268a78a31fe00f53d85dd39f87cc41669cb0698bfeb0c2f255 ssh-agent 07:47:09 SSH_AUTH_SOCK=/tmp/ssh-vc5dbsZlh6G2/agent.71 07:47:09 SSH_AGENT_PID=77 07:47:09 Running ssh-add (command line suppressed) 07:47:09 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-558@tmp/private_key_168276686759601526.key (/w/workspace/gexfoundry_device-mqtt-go_PR-558@tmp/private_key_168276686759601526.key) 07:47:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:47:09 + git semver init 07:47:09 2023-04-07 07:47:09,685 [run_init] DEBUG init version:0.0.0 force:False 07:47:09 2023-04-07 07:47:09,686 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-558/.semver 07:47:09 2023-04-07 07:47:09,686 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-558/.semver 07:47:09 2023-04-07 07:47:09,686 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-558/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-558, universal_newlines=False, shell=None, istream=None) 07:47:10 2023-04-07 07:47:10,486 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-558/.git/info/exclude 07:47:10 2023-04-07 07:47:10,487 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-558/.semver/PR-558 with force:False 07:47:10 2023-04-07 07:47:10,487 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-558/.semver/PR-558 07:47:10 2023-04-07 07:47:10,492 [execute] INFO git cat-file --batch-check 07:47:10 2023-04-07 07:47:10,492 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-558/.semver, universal_newlines=False, shell=None, istream=) 07:47:10 2023-04-07 07:47:10,498 [execute] INFO git cat-file --batch 07:47:10 2023-04-07 07:47:10,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-558/.semver, universal_newlines=False, shell=None, istream=) 07:47:10 2023-04-07 07:47:10,503 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-558/.semver/PR-558 07:47:10 0.0.0 [Pipeline] } 07:47:10 $ docker exec --env ******** --env ******** 0e542a64638676268a78a31fe00f53d85dd39f87cc41669cb0698bfeb0c2f255 ssh-agent -k 07:47:10 unset SSH_AUTH_SOCK; 07:47:10 unset SSH_AGENT_PID; 07:47:10 echo Agent pid 77 killed; 07:47:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:47:11 + git semver [Pipeline] } 07:47:11 $ docker stop --time=1 0e542a64638676268a78a31fe00f53d85dd39f87cc41669cb0698bfeb0c2f255 07:47:12 $ docker rm -f --volumes 0e542a64638676268a78a31fe00f53d85dd39f87cc41669cb0698bfeb0c2f255 [Pipeline] // withDockerContainer [Pipeline] sh 07:47:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:47:13 Stashed 1 file(s) [Pipeline] echo 07:47:13 [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 07:47:14 provisioning config files... 07:47:14 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-558@tmp/config12706200460879391490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:14 ---> docker-login.sh 07:47:14 nexus3.edgexfoundry.org:10001 07:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:14 Configure a credential helper to remove this warning. See 07:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:14 07:47:14 Login Succeeded 07:47:14 nexus3.edgexfoundry.org:10002 07:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:14 Configure a credential helper to remove this warning. See 07:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:14 07:47:14 Login Succeeded 07:47:14 nexus3.edgexfoundry.org:10003 07:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:14 Configure a credential helper to remove this warning. See 07:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:14 07:47:14 Login Succeeded 07:47:14 nexus3.edgexfoundry.org:10004 07:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:14 Configure a credential helper to remove this warning. See 07:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:14 07:47:14 Login Succeeded 07:47:14 docker.io 07:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:14 Configure a credential helper to remove this warning. See 07:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:14 07:47:14 Login Succeeded 07:47:14 ---> docker-login.sh ends [Pipeline] } 07:47:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:47:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:47:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:47:15 ========================================================= 07:47:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:47:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47: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 . 07:47:15 Sending build context to Docker daemon 6.414MB 07:47:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:47:15 Step 2/12 : FROM ${BASE} AS builder 07:47:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:47:15 63b65145d645: Pulling fs layer 07:47:15 a2d21d5440eb: Pulling fs layer 07:47:15 935e6c44a52c: Pulling fs layer 07:47:15 94cc34f8dd06: Pulling fs layer 07:47:15 30dea6a524f1: Pulling fs layer 07:47:15 a2aff8979fd8: Pulling fs layer 07:47:15 6808be2612f2: Pulling fs layer 07:47:15 f25807f1079a: Pulling fs layer 07:47:15 94cc34f8dd06: Waiting 07:47:15 30dea6a524f1: Waiting 07:47:15 a2aff8979fd8: Waiting 07:47:15 6808be2612f2: Waiting 07:47:15 f25807f1079a: Waiting 07:47:15 a2d21d5440eb: Verifying Checksum 07:47:15 a2d21d5440eb: Download complete 07:47:15 94cc34f8dd06: Verifying Checksum 07:47:15 94cc34f8dd06: Download complete 07:47:15 30dea6a524f1: Verifying Checksum 07:47:15 30dea6a524f1: Download complete 07:47:15 63b65145d645: Verifying Checksum 07:47:15 63b65145d645: Download complete 07:47:15 a2aff8979fd8: Verifying Checksum 07:47:15 a2aff8979fd8: Download complete 07:47:15 63b65145d645: Pull complete 07:47:16 a2d21d5440eb: Pull complete 07:47:16 f25807f1079a: Verifying Checksum 07:47:16 f25807f1079a: Download complete 07:47:16 935e6c44a52c: Verifying Checksum 07:47:16 935e6c44a52c: Download complete 07:47:16 6808be2612f2: Verifying Checksum 07:47:16 6808be2612f2: Download complete 07:47:20 935e6c44a52c: Pull complete 07:47:20 94cc34f8dd06: Pull complete 07:47:20 30dea6a524f1: Pull complete 07:47:20 a2aff8979fd8: Pull complete 07:47:21 6808be2612f2: Pull complete 07:47:22 f25807f1079a: Pull complete 07:47:22 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:47:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:47:22 ---> 3b553350e43f 07:47:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:47:26 ---> Running in 510e643e76a1 07:47:26 Removing intermediate container 510e643e76a1 07:47:26 ---> 51ec4bee4ac3 07:47:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:47:26 ---> Running in 14d4596d4119 07:47:26 Removing intermediate container 14d4596d4119 07:47:26 ---> 9001bdffb192 07:47:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:47:26 ---> Running in b8891e355839 07:47:26 Removing intermediate container b8891e355839 07:47:26 ---> 90d654a5c4af 07:47:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:47:26 ---> Running in a17eb3c74329 07:47:26 Removing intermediate container a17eb3c74329 07:47:26 ---> a9fb7a53443a 07:47:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:47:26 ---> Running in 4c716678337e 07:47:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:47:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:47:26 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:47:26 (2/4) Installing libedit (20221030.3.1-r0) 07:47:26 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:47:26 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:47:26 Executing busybox-1.35.0-r29.trigger 07:47:26 OK: 269 MiB in 57 packages 07:47:27 Removing intermediate container 4c716678337e 07:47:27 ---> eb1960e308be 07:47:27 Step 8/12 : WORKDIR /device-mqtt-go 07:47:27 ---> Running in d49872048ba4 07:47:27 Removing intermediate container d49872048ba4 07:47:27 ---> bd7068a103ff 07:47:27 Step 9/12 : COPY go.mod vendor* ./ 07:47:27 ---> 9721d0562b27 07:47:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:47:27 ---> Running in 45a6224b74b7 07:47:28 Still waiting to schedule task 07:47:28 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7106’ 07:47:54 Removing intermediate container 45a6224b74b7 07:47:54 ---> 7990ba830f90 07:47:54 Step 11/12 : COPY . . 07:47:54 ---> e4ba2c5aa793 07:47:54 Step 12/12 : RUN $MAKE 07:47:54 ---> Running in ab0eebe557b0 07:47:54 noop 07:47:54 Removing intermediate container ab0eebe557b0 07:47:54 ---> 4da1a2dd77f9 07:47:54 Successfully built 4da1a2dd77f9 07:47:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:54 + docker inspect -f . ci-base-image-x86_64 07:47:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:54 prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container 07:47:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-558 -v /w/workspace/gexfoundry_device-mqtt-go_PR-558:/w/workspace/gexfoundry_device-mqtt-go_PR-558:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-558@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-558@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 07:47:55 $ docker top 3d74361fc2197eb1e6e130ff3f2ff592395ee4db1d8da4a0e8edadca4adb989a -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:55 + go version 07:47:55 go version go1.20.2 linux/amd64 [Pipeline] } 07:47:55 $ docker stop --time=1 3d74361fc2197eb1e6e130ff3f2ff592395ee4db1d8da4a0e8edadca4adb989a 07:47:56 $ docker rm -f --volumes 3d74361fc2197eb1e6e130ff3f2ff592395ee4db1d8da4a0e8edadca4adb989a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:57 + docker inspect -f . ci-base-image-x86_64 07:47:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:57 prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container 07:47: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-558 -v /w/workspace/gexfoundry_device-mqtt-go_PR-558:/w/workspace/gexfoundry_device-mqtt-go_PR-558:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-558@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-558@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 07:47:58 $ docker top be928e078a5650fa703d25551ec1593e45e53b0cbd8da396d761e3fd62911fe4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:58 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-558 [Pipeline] fileExists [Pipeline] sh 07:47:58 + make test 07:47:58 go test ./... -coverprofile=coverage.out ./... 07:48:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:48:11 # github.com/edgexfoundry/device-mqtt-go/internal/driver 07:48:11 internal/driver/driver.go:44:9: cannot use driver (variable of type *Driver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in return statement: *Driver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (missing method Discover) 07:48:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:48:11 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 07:48:11 FAIL 07:48:11 make: *** [Makefile:30: unittest] Error 1 [Pipeline] } 07:48:11 $ docker stop --time=1 be928e078a5650fa703d25551ec1593e45e53b0cbd8da396d761e3fd62911fe4 07:48:14 $ docker rm -f --volumes be928e078a5650fa703d25551ec1593e45e53b0cbd8da396d761e3fd62911fe4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:15 07:48:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:15 latest: Pulling from edgex-lftools-log-publisher 07:48:15 5eb5b503b376: Pulling fs layer 07:48:15 5c69ac0246d0: Pulling fs layer 07:48:15 ec43610c2a17: Pulling fs layer 07:48:15 3a2ae6a8a46f: Pulling fs layer 07:48:15 33b1e0a273af: Pulling fs layer 07:48:15 5d3b04190fa2: Pulling fs layer 07:48:15 2f39f015ded8: Pulling fs layer 07:48:15 33b1e0a273af: Waiting 07:48:15 5d3b04190fa2: Waiting 07:48:15 2f39f015ded8: Waiting 07:48:15 3a2ae6a8a46f: Waiting 07:48:15 5c69ac0246d0: Download complete 07:48:15 3a2ae6a8a46f: Verifying Checksum 07:48:15 3a2ae6a8a46f: Download complete 07:48:15 33b1e0a273af: Verifying Checksum 07:48:15 33b1e0a273af: Download complete 07:48:15 5d3b04190fa2: Verifying Checksum 07:48:15 5d3b04190fa2: Download complete 07:48:15 ec43610c2a17: Verifying Checksum 07:48:15 ec43610c2a17: Download complete 07:48:16 5eb5b503b376: Verifying Checksum 07:48:16 5eb5b503b376: Download complete 07:48:16 2f39f015ded8: Download complete 07:48:17 5eb5b503b376: Pull complete 07:48:17 5c69ac0246d0: Pull complete 07:48:17 ec43610c2a17: Pull complete 07:48:17 3a2ae6a8a46f: Pull complete 07:48:18 33b1e0a273af: Pull complete 07:48:18 5d3b04190fa2: Pull complete 07:48:22 2f39f015ded8: Pull complete 07:48:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:48:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:22 prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container 07:48:22 $ 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-558 -v /w/workspace/gexfoundry_device-mqtt-go_PR-558:/w/workspace/gexfoundry_device-mqtt-go_PR-558:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-558@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-558@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 07:48:25 $ docker top 8f2b45ab66ea30f9d856ac36b2ac5a1e22bb0d0029e102e2999e917f5ba46fd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:25 ---> job-cost.sh 07:48:25 lf-activate-venv: SKIPPING 07:48:25 INFO: No Stack... 07:48:26 INFO: Retrieving Pricing Info for: v3-standard-8 07:48:26 INFO: Archiving Costs [Pipeline] sh 07:48:26 + cut -d, -f6 07:48:26 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-558/archives/cost.csv [Pipeline] lock 07:48:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-558-1-stack-cost] 07:48:26 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-558-1-stack-cost] did not exist. Created. 07:48:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-558-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:48:27 + echo total: 0.2199999988079071 [Pipeline] stash 07:48:27 Stashed 1 file(s) [Pipeline] } 07:48:27 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-558-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:48:27 $ docker stop --time=1 8f2b45ab66ea30f9d856ac36b2ac5a1e22bb0d0029e102e2999e917f5ba46fd8 07:48:28 $ docker rm -f --volumes 8f2b45ab66ea30f9d856ac36b2ac5a1e22bb0d0029e102e2999e917f5ba46fd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:48:28 Failed in branch amd64 07:50:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7109 in /w/workspace/gexfoundry_device-mqtt-go_PR-558 [Pipeline] { [Pipeline] ws 07:50:21 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 07:50:21 Selected Git installation does not exist. Using Default 07:50:21 The recommended git tool is: NONE 07:50:31 using credential edgex-jenkins-ssh 07:50:31 Cloning the remote Git repository 07:50:32 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 07:50:32 > git init /w/workspace/device-mqtt-go/1 # timeout=10 07:50:32 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:50:32 > git --version # timeout=10 07:50:32 > git --version # 'git version 2.25.1' 07:50:32 using GIT_SSH to set credentials SSH Credentials for GitHub 07:50:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:50:33 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:50:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:50:35 Merging remotes/origin/main commit bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 into PR head commit 36012d8c573baabaf6f40840f25973b1023a9a78 07:50:34 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:50:34 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:50:34 using GIT_SSH to set credentials SSH Credentials for GitHub 07:50:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/558/head:refs/remotes/origin/PR-558 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:50:35 > git config core.sparsecheckout # timeout=10 07:50:35 > git checkout -f 36012d8c573baabaf6f40840f25973b1023a9a78 # timeout=10 07:50:35 Merge succeeded, producing 36012d8c573baabaf6f40840f25973b1023a9a78 07:50:35 Checking out Revision 36012d8c573baabaf6f40840f25973b1023a9a78 (PR-558) 07:50:36 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 07:50:36 > git --version # timeout=10 07:50:36 > git --version # 'git version 2.25.1' 07:50:36 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:50:35 > git remote # timeout=10 07:50:35 > git config --get remote.origin.url # timeout=10 07:50:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:50:35 > git merge bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 # timeout=10 07:50:35 > git rev-parse HEAD^{commit} # timeout=10 07:50:35 > git config core.sparsecheckout # timeout=10 07:50:35 > git checkout -f 36012d8c573baabaf6f40840f25973b1023a9a78 # timeout=10 07:50:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:50:37 % Total % Received % Xferd Average Speed Time Time Time Current 07:50:37 Dload Upload Total Spent Left Speed 07:50:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh 07:50:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:50:38 + sudo tee /etc/docker/daemon.new 07:50:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:50:38 { 07:50:38 "registry-mirrors": [ 07:50:38 "https://nexus3.edgexfoundry.org:10001" 07:50:38 ], 07:50:38 "bip": "10.250.0.254/24", 07:50:38 "hosts": [ 07:50:38 "tcp://0.0.0.0:5555", 07:50:38 "unix:///var/run/docker.sock" 07:50:38 ], 07:50:38 "mtu": 1458, 07:50:38 "selinux-enabled": true, 07:50:38 "seccomp-profile": "/etc/docker/seccomp.json" 07:50:38 } [Pipeline] sh 07:50:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:50:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:50:57 provisioning config files... 07:50:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6086595317906355227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:58 ---> docker-login.sh 07:50:58 nexus3.edgexfoundry.org:10001 07:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:59 Configure a credential helper to remove this warning. See 07:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:59 07:50:59 Login Succeeded 07:50:59 nexus3.edgexfoundry.org:10002 07:50:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:59 Configure a credential helper to remove this warning. See 07:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:59 07:50:59 Login Succeeded 07:50:59 nexus3.edgexfoundry.org:10003 07:50:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:59 Configure a credential helper to remove this warning. See 07:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:59 07:50:59 Login Succeeded 07:50:59 nexus3.edgexfoundry.org:10004 07:50:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:00 Configure a credential helper to remove this warning. See 07:51:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:00 07:51:00 Login Succeeded 07:51:00 docker.io 07:51:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:51:00 Configure a credential helper to remove this warning. See 07:51:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:51:00 07:51:00 Login Succeeded 07:51:00 ---> docker-login.sh ends [Pipeline] } 07:51:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:51:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:51:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:51:01 ========================================================= 07:51:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:51:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:01 + 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 . 07:51:01 Sending build context to Docker daemon 3.328MB 07:51:01 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:51:01 Step 2/12 : FROM ${BASE} AS builder 07:51:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:51:02 af6eaf76a39c: Pulling fs layer 07:51:02 55522c791124: Pulling fs layer 07:51:02 ce5c4a1c91eb: Pulling fs layer 07:51:02 169dfbe0d373: Pulling fs layer 07:51:02 e1ff8fa3b103: Pulling fs layer 07:51:02 52ebb69f0ebf: Pulling fs layer 07:51:02 5abe8eddf0d5: Pulling fs layer 07:51:02 169dfbe0d373: Waiting 07:51:02 e1ff8fa3b103: Waiting 07:51:02 52ebb69f0ebf: Waiting 07:51:02 5abe8eddf0d5: Waiting 07:51:02 55522c791124: Verifying Checksum 07:51:02 55522c791124: Download complete 07:51:02 169dfbe0d373: Verifying Checksum 07:51:02 169dfbe0d373: Download complete 07:51:02 e1ff8fa3b103: Verifying Checksum 07:51:02 e1ff8fa3b103: Download complete 07:51:02 af6eaf76a39c: Verifying Checksum 07:51:02 af6eaf76a39c: Download complete 07:51:03 af6eaf76a39c: Pull complete 07:51:03 5abe8eddf0d5: Verifying Checksum 07:51:03 5abe8eddf0d5: Download complete 07:51:04 55522c791124: Pull complete 07:51:05 52ebb69f0ebf: Verifying Checksum 07:51:05 52ebb69f0ebf: Download complete 07:51:05 ce5c4a1c91eb: Verifying Checksum 07:51:05 ce5c4a1c91eb: Download complete 07:51:17 ce5c4a1c91eb: Pull complete 07:51:17 169dfbe0d373: Pull complete 07:51:17 e1ff8fa3b103: Pull complete 07:51:23 52ebb69f0ebf: Pull complete 07:51:25 5abe8eddf0d5: Pull complete 07:51:25 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:51:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:51:25 ---> 6cb57ee374ae 07:51:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:51:27 ---> Running in 6316ec01fbec 07:51:27 Removing intermediate container 6316ec01fbec 07:51:27 ---> d5b7e59f09e6 07:51:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:51:27 ---> Running in ed559b3e7324 07:51:28 Removing intermediate container ed559b3e7324 07:51:28 ---> 7225d40c93f7 07:51:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:51:28 ---> Running in 87d306f8c1e7 07:51:28 Removing intermediate container 87d306f8c1e7 07:51:28 ---> d7f24fc312f4 07:51:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:51:28 ---> Running in c01067aad9c5 07:51:28 Removing intermediate container c01067aad9c5 07:51:28 ---> 15141a7534ec 07:51:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:51:28 ---> Running in 18bdbe9ce7f7 07:51:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:51:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:51:31 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:51:31 (2/4) Installing libedit (20221030.3.1-r0) 07:51:31 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:51:31 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:51:31 Executing busybox-1.35.0-r29.trigger 07:51:31 OK: 268 MiB in 57 packages 07:51:33 Removing intermediate container 18bdbe9ce7f7 07:51:33 ---> c3e0450ec50a 07:51:33 Step 8/12 : WORKDIR /device-mqtt-go 07:51:33 ---> Running in 4d315f7a1846 07:51:34 Removing intermediate container 4d315f7a1846 07:51:34 ---> af309e4cef21 07:51:34 Step 9/12 : COPY go.mod vendor* ./ 07:51:34 ---> 89bbe4492a98 07:51:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:51:35 ---> Running in 2c2315a65660 07:52:43 Removing intermediate container 2c2315a65660 07:52:43 ---> 3bab739fc2dc 07:52:43 Step 11/12 : COPY . . 07:52:43 ---> 31181a49c6db 07:52:43 Step 12/12 : RUN $MAKE 07:52:43 ---> Running in 1e1ef1c1b1ca 07:52:43 noop 07:52:43 Removing intermediate container 1e1ef1c1b1ca 07:52:43 ---> 00009fd85579 07:52:43 Successfully built 00009fd85579 07:52:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:43 + docker inspect -f . ci-base-image-arm64 07:52:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:44 prd-ubuntu20.04-docker-arm64-4c-16g-7109 does not seem to be running inside a container 07:52:44 $ 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 07:52:46 $ docker top bbc760abd64515f50895f177d2917b6ee6717ed1b20df2a4d24d305aaa370692 -eo pid,comm [Pipeline] { [Pipeline] sh 07:52:47 + go version 07:52:47 go version go1.20.2 linux/arm64 [Pipeline] } 07:52:47 $ docker stop --time=1 bbc760abd64515f50895f177d2917b6ee6717ed1b20df2a4d24d305aaa370692 07:52:49 $ docker rm -f --volumes bbc760abd64515f50895f177d2917b6ee6717ed1b20df2a4d24d305aaa370692 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:50 + docker inspect -f . ci-base-image-arm64 07:52:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:50 prd-ubuntu20.04-docker-arm64-4c-16g-7109 does not seem to be running inside a container 07:52:50 $ 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 07:52:51 $ docker top 5108ed2886a4ffc4c0aa9167b1eaf7546d6ec3070715df342e8946758a1a2c24 -eo pid,comm [Pipeline] { [Pipeline] sh 07:52:52 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 07:52:53 + make test 07:52:53 go test ./... -coverprofile=coverage.out ./... 07:53:32 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:55:08 # github.com/edgexfoundry/device-mqtt-go/internal/driver 07:55:08 internal/driver/driver.go:44:9: cannot use driver (variable of type *Driver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in return statement: *Driver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (missing method Discover) 07:55:21 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:55:21 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 07:55:21 FAIL 07:55:21 make: *** [Makefile:30: unittest] Error 1 [Pipeline] } 07:55:21 $ docker stop --time=1 5108ed2886a4ffc4c0aa9167b1eaf7546d6ec3070715df342e8946758a1a2c24 07:55:23 $ docker rm -f --volumes 5108ed2886a4ffc4c0aa9167b1eaf7546d6ec3070715df342e8946758a1a2c24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:55:25 07:55:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:55:25 arm64: Pulling from edgex-lftools-log-publisher 07:55:25 8998bd30e6a1: Pulling fs layer 07:55:25 04944245beec: Pulling fs layer 07:55:25 699f458cf7ca: Pulling fs layer 07:55:25 765212b225bb: Pulling fs layer 07:55:25 f23df028b6ca: Pulling fs layer 07:55:25 d65c8cfc05b1: Pulling fs layer 07:55:25 2437ff75d9bd: Pulling fs layer 07:55:25 765212b225bb: Waiting 07:55:25 f23df028b6ca: Waiting 07:55:25 2437ff75d9bd: Waiting 07:55:25 d65c8cfc05b1: Waiting 07:55:26 04944245beec: Verifying Checksum 07:55:26 04944245beec: Download complete 07:55:26 765212b225bb: Download complete 07:55:26 f23df028b6ca: Verifying Checksum 07:55:26 f23df028b6ca: Download complete 07:55:26 d65c8cfc05b1: Verifying Checksum 07:55:26 d65c8cfc05b1: Download complete 07:55:26 699f458cf7ca: Verifying Checksum 07:55:26 699f458cf7ca: Download complete 07:55:26 8998bd30e6a1: Verifying Checksum 07:55:26 8998bd30e6a1: Download complete 07:55:28 2437ff75d9bd: Download complete 07:55:30 8998bd30e6a1: Pull complete 07:55:31 04944245beec: Pull complete 07:55:32 699f458cf7ca: Pull complete 07:55:32 765212b225bb: Pull complete 07:55:33 f23df028b6ca: Pull complete 07:55:33 d65c8cfc05b1: Pull complete 07:55:48 2437ff75d9bd: Pull complete 07:55:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:55:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:55:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:48 prd-ubuntu20.04-docker-arm64-4c-16g-7109 does not seem to be running inside a container 07:55:48 $ 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 07:55:51 $ docker top 317401d8518c5fb3768773acb6648f47712fc81bf7e3957f426b8bb3a06df250 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:52 ---> job-cost.sh 07:55:52 lf-activate-venv: SKIPPING 07:55:52 INFO: No Stack... 07:55:53 INFO: Retrieving Pricing Info for: v3-standard-4 07:55:53 INFO: Archiving Costs [Pipeline] sh 07:55:54 + + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 07:55:54 cut -d, -f6 [Pipeline] lock 07:55:54 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-558-1-stack-cost] 07:55:54 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-558-1-stack-cost] did not exist. Created. 07:55:54 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-558-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:55:55 /w/workspace/device-mqtt-go/1@tmp/durable-dd970de7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:55:56 + echo total: 0.10999999940395355 [Pipeline] stash 07:55:56 Warning: overwriting stash ‘stack-cost’ 07:55:56 Stashed 1 file(s) [Pipeline] } 07:55:56 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-558-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:55:56 $ docker stop --time=1 317401d8518c5fb3768773acb6648f47712fc81bf7e3957f426b8bb3a06df250 07:55:58 $ docker rm -f --volumes 317401d8518c5fb3768773acb6648f47712fc81bf7e3957f426b8bb3a06df250 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:55:59 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:56:00 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-558/archives ] 07:56:00 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-558/archives 07:56:00 total 16 07:56:00 drwxr-xr-x 3 root root 4096 Apr 7 07:48 . 07:56:00 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 07:48 .. 07:56:00 drwxr-xr-x 2 root root 4096 Apr 7 07:48 cost 07:56:00 -rw-r--r-- 1 root root 86 Apr 7 07:48 cost.csv 07:56:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-558/archives 07:56:00 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-558/archives 07:56:00 total 16 07:56:00 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 07:48 . 07:56:00 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 07:48 .. 07:56:00 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 07:48 cost 07:56:00 -rw-r--r-- 1 jenkins jenkins 86 Apr 7 07:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:56:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:56:02 ---> package-listing.sh 07:56:02 ++ facter osfamily 07:56:02 ++ tr '[:upper:]' '[:lower:]' 07:56:02 + OS_FAMILY=debian 07:56:02 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-558 07:56:02 + START_PACKAGES=/tmp/packages_start.txt 07:56:02 + END_PACKAGES=/tmp/packages_end.txt 07:56:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:56:02 + PACKAGES=/tmp/packages_start.txt 07:56:02 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-558 ']' 07:56:02 + PACKAGES=/tmp/packages_end.txt 07:56:02 + case "${OS_FAMILY}" in 07:56:02 + dpkg -l 07:56:02 + grep '^ii' 07:56:02 + '[' -f /tmp/packages_start.txt ']' 07:56:02 + '[' -f /tmp/packages_end.txt ']' 07:56:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:56:02 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-558 ']' 07:56:02 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-558/archives/ 07:56:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-558/archives/ [Pipeline] echo 07:56:02 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-558/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:56:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:56:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:03 prd-ubuntu20.04-docker-8c-8g-7107 does not seem to be running inside a container 07:56:03 $ 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-558/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-558 -v /w/workspace/gexfoundry_device-mqtt-go_PR-558:/w/workspace/gexfoundry_device-mqtt-go_PR-558:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-558@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-558@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 07:56:03 $ docker top 6f326e957dc0fbe259eec20d40860233eaab0614eb6d00873f9f7785baa9c0db -eo pid,comm [Pipeline] { [Pipeline] sh 07:56:04 + touch /tmp/pre-build-complete [Pipeline] sh 07:56:04 + mkdir -p /var/log/sysstat [Pipeline] sh 07:56:04 + ls /var/log/sa-host 07:56:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:56:04 provisioning config files... 07:56:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-558@tmp/config6381026453255841740tmp [Pipeline] { [Pipeline] echo 07:56:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:56:05 ---> create-netrc.sh [Pipeline] } 07:56:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:56:05 ---> python-tools-install.sh [Pipeline] echo 07:56:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:56:06 ---> sudo-logs.sh 07:56:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:56:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:56:06 ---> job-cost.sh 07:56:06 lf-activate-venv: SKIPPING 07:56:06 DEBUG: total: 0.2199999988079071 07:56:06 INFO: Retrieving Stack Cost... 07:56:07 INFO: Retrieving Pricing Info for: v3-standard-8 07:56:07 INFO: Archiving Costs [Pipeline] echo 07:56:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:56:07 ---> logs-deploy.sh 07:56:07 lf-activate-venv: SKIPPING 07:56:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-558/1 07:56:07 INFO: archiving workspace using pattern(s): 07:56:08 Archives upload complete. 07:56:08 INFO: archiving logs to Nexus