Pull request #560 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 60aae21d6e0e4b000ee9a0ef5c72878c772e2933+bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 (1ec4b91dbe50d7332ed6558cc8af1e9c5e07c920) 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-ssh13220516897006816583.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh15753407393942207215.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-560/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-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11132575599403549101.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-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1664845010911095140.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh16191876178517894889.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-560/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-560/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh554040651380607335.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Could not update commit status. Message: 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-7627 in /w/workspace/gexfoundry_device-mqtt-go_PR-560 [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-560 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/560/head:refs/remotes/origin/PR-560 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 into PR head commit 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 Merge succeeded, producing 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 Checking out Revision 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 (PR-560) 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:01:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:01:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 # 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 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:01:44 ========================================================= 02:01:44 EdgeX Global Pipelines Version Info 02:01:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:01:45 ------------------- 02:01:45 stable info: 02:01:45 ------------------- 02:01:45 Commited By: Bill Mahoney bill.mahoney@intel.com 02:01:45 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:01:45 Message: update stable to v1.0.248 02:01:46 ------------------- 02:01:46 experimental info: 02:01:46 ------------------- 02:01:46 Commited By: **** collab-it+edgex@linuxfoundation.org 02:01:46 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:01:46 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:01:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:01:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:01:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:01:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:01:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:01:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:01:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:01:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:01:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:01:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:01:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:01:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-560 [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-560 [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-560 [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60aae21 [Pipeline] echo 02:01:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:47 provisioning config files... 02:01:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/config15954349302603775747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:48 ---> docker-login.sh 02:01:48 nexus3.edgexfoundry.org:10001 02:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:48 Configure a credential helper to remove this warning. See 02:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:48 02:01:48 Login Succeeded 02:01:48 nexus3.edgexfoundry.org:10002 02:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:48 Configure a credential helper to remove this warning. See 02:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:48 02:01:48 Login Succeeded 02:01:48 nexus3.edgexfoundry.org:10003 02:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:48 Configure a credential helper to remove this warning. See 02:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:48 02:01:48 Login Succeeded 02:01:48 nexus3.edgexfoundry.org:10004 02:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:49 Configure a credential helper to remove this warning. See 02:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:49 02:01:49 Login Succeeded 02:01:49 docker.io 02:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:49 Configure a credential helper to remove this warning. See 02:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:49 02:01:49 Login Succeeded 02:01:49 ---> docker-login.sh ends [Pipeline] } 02:01:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:01:50 + git rev-list -1 --merges 60aae21d6e0e4b000ee9a0ef5c72878c772e2933~1..60aae21d6e0e4b000ee9a0ef5c72878c772e2933 [Pipeline] echo 02:01:50 -----------> git rev-list -1 --merges 60aae21d6e0e4b000ee9a0ef5c72878c772e2933~1..60aae21d6e0e4b000ee9a0ef5c72878c772e2933 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 [false] [Pipeline] sh 02:01:50 + git log --format=format:%s -1 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 [Pipeline] echo 02:01:50 ========================================================= 02:01:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:01:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:50 + git log --format=format:%s -1 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 [Pipeline] echo 02:01:50 [semverPrep] GIT_COMMIT: 60aae21d6e0e4b000ee9a0ef5c72878c772e2933, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 02:01:50 [semverPrep] This is not a build commit. [Pipeline] sh 02:01:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:01:51 + grep -v github /etc/ssh/ssh_known_hosts 02:01:51 + [ -e /tmp/ssh_known_hosts ] 02:01:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:01:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:01:51 + sudo tee -a /etc/ssh/ssh_known_hosts 02:01:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:51 02:01:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:52 0.1.4: Pulling from edgex-devops/py-git-semver 02:01:52 b85a868b505f: Pulling fs layer 02:01:52 e2be974225ed: Pulling fs layer 02:01:52 339a4e72a1f5: Pulling fs layer 02:01:52 988bab9f4d93: Pulling fs layer 02:01:52 1469e6f7b9e6: Pulling fs layer 02:01:52 eaf3925da568: Pulling fs layer 02:01:52 bab4dde63d76: Pulling fs layer 02:01:52 bde34c3a00c8: Pulling fs layer 02:01:52 b352a97aabf1: Pulling fs layer 02:01:52 4872d77fe225: Pulling fs layer 02:01:52 5851b861e8e6: Pulling fs layer 02:01:52 988bab9f4d93: Waiting 02:01:52 1469e6f7b9e6: Waiting 02:01:52 b352a97aabf1: Waiting 02:01:52 eaf3925da568: Waiting 02:01:52 4872d77fe225: Waiting 02:01:52 bab4dde63d76: Waiting 02:01:52 bde34c3a00c8: Waiting 02:01:52 5851b861e8e6: Waiting 02:01:52 e2be974225ed: Download complete 02:01:52 988bab9f4d93: Download complete 02:01:52 1469e6f7b9e6: Verifying Checksum 02:01:52 1469e6f7b9e6: Download complete 02:01:52 339a4e72a1f5: Verifying Checksum 02:01:52 339a4e72a1f5: Download complete 02:01:52 eaf3925da568: Download complete 02:01:52 bde34c3a00c8: Download complete 02:01:52 b352a97aabf1: Verifying Checksum 02:01:52 b352a97aabf1: Download complete 02:01:52 4872d77fe225: Verifying Checksum 02:01:52 4872d77fe225: Download complete 02:01:52 5851b861e8e6: Verifying Checksum 02:01:52 5851b861e8e6: Download complete 02:01:52 b85a868b505f: Download complete 02:01:52 bab4dde63d76: Verifying Checksum 02:01:52 bab4dde63d76: Download complete 02:01:53 b85a868b505f: Pull complete 02:01:53 e2be974225ed: Pull complete 02:01:54 339a4e72a1f5: Pull complete 02:01:54 988bab9f4d93: Pull complete 02:01:54 1469e6f7b9e6: Pull complete 02:01:54 eaf3925da568: Pull complete 02:01:56 bab4dde63d76: Pull complete 02:01:56 bde34c3a00c8: Pull complete 02:01:56 b352a97aabf1: Pull complete 02:01:56 4872d77fe225: Pull complete 02:01:56 5851b861e8e6: Pull complete 02:01:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:01:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:56 prd-ubuntu20.04-docker-8c-8g-7627 does not seem to be running inside a container 02:01:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:01:58 $ docker top f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 -eo pid,comm 02:01:58 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:01:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:01:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:58 [ssh-agent] Looking for ssh-agent implementation... 02:01:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:58 $ docker exec f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 ssh-agent 02:01:58 SSH_AUTH_SOCK=/tmp/ssh-UNXyxp4rFcgf/agent.32 02:01:58 SSH_AGENT_PID=38 02:01:58 Running ssh-add (command line suppressed) 02:01:58 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/private_key_8574386866847627317.key (/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/private_key_8574386866847627317.key) 02:01:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:59 + git tag --points-at HEAD [Pipeline] } 02:01:59 $ docker exec --env ******** --env ******** f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 ssh-agent -k 02:01:59 unset SSH_AUTH_SOCK; 02:01:59 unset SSH_AGENT_PID; 02:01:59 echo Agent pid 38 killed; 02:01:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:01:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:59 [ssh-agent] Looking for ssh-agent implementation... 02:01:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:59 $ docker exec f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 ssh-agent 02:01:59 SSH_AUTH_SOCK=/tmp/ssh-BGQTdZ262VeL/agent.72 02:01:59 SSH_AGENT_PID=78 02:01:59 Running ssh-add (command line suppressed) 02:01:59 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/private_key_7416166301422869285.key (/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/private_key_7416166301422869285.key) 02:01:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:02:00 + git semver init 02:02:00 2023-04-13 02:02:00,408 [run_init] DEBUG init version:0.0.0 force:False 02:02:00 2023-04-13 02:02:00,409 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver 02:02:00 2023-04-13 02:02:00,409 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver 02:02:00 2023-04-13 02:02:00,410 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-560, universal_newlines=False, shell=None, istream=None) 02:02:01 2023-04-13 02:02:01,175 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560/.git/info/exclude 02:02:01 2023-04-13 02:02:01,175 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver/PR-560 with force:False 02:02:01 2023-04-13 02:02:01,176 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver/PR-560 02:02:01 2023-04-13 02:02:01,180 [execute] INFO git cat-file --batch-check 02:02:01 2023-04-13 02:02:01,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver, universal_newlines=False, shell=None, istream=) 02:02:01 2023-04-13 02:02:01,187 [execute] INFO git cat-file --batch 02:02:01 2023-04-13 02:02:01,187 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver, universal_newlines=False, shell=None, istream=) 02:02:01 2023-04-13 02:02:01,192 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver/PR-560 02:02:01 0.0.0 [Pipeline] } 02:02:01 $ docker exec --env ******** --env ******** f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 ssh-agent -k 02:02:01 unset SSH_AUTH_SOCK; 02:02:01 unset SSH_AGENT_PID; 02:02:01 echo Agent pid 78 killed; 02:02:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:02:01 + git semver [Pipeline] } 02:02:02 $ docker stop --time=1 f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 02:02:03 $ docker rm -f --volumes f8f1d46beea65ad8fb5af2b2e24d12a5a2c5213c3404be403931d6c7b652a550 [Pipeline] // withDockerContainer [Pipeline] sh 02:02:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:02:04 Stashed 1 file(s) [Pipeline] echo 02:02:04 [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:02:04 provisioning config files... 02:02:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/config17088305476014499141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:05 ---> docker-login.sh 02:02:05 nexus3.edgexfoundry.org:10001 02:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:05 Configure a credential helper to remove this warning. See 02:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:05 02:02:05 Login Succeeded 02:02:05 nexus3.edgexfoundry.org:10002 02:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:05 Configure a credential helper to remove this warning. See 02:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:05 02:02:05 Login Succeeded 02:02:05 nexus3.edgexfoundry.org:10003 02:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:05 Configure a credential helper to remove this warning. See 02:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:05 02:02:05 Login Succeeded 02:02:05 nexus3.edgexfoundry.org:10004 02:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:05 Configure a credential helper to remove this warning. See 02:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:05 02:02:05 Login Succeeded 02:02:05 docker.io 02:02:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:05 Configure a credential helper to remove this warning. See 02:02:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:05 02:02:05 Login Succeeded 02:02:05 ---> docker-login.sh ends [Pipeline] } 02:02:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:02:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:02:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:02:06 ========================================================= 02:02:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:02:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:06 + 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:02:06 Sending build context to Docker daemon 6.415MB 02:02:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:02:06 Step 2/12 : FROM ${BASE} AS builder 02:02:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:02:06 63b65145d645: Pulling fs layer 02:02:06 a2d21d5440eb: Pulling fs layer 02:02:06 935e6c44a52c: Pulling fs layer 02:02:06 94cc34f8dd06: Pulling fs layer 02:02:06 30dea6a524f1: Pulling fs layer 02:02:06 a2aff8979fd8: Pulling fs layer 02:02:06 6808be2612f2: Pulling fs layer 02:02:06 f25807f1079a: Pulling fs layer 02:02:06 94cc34f8dd06: Waiting 02:02:06 30dea6a524f1: Waiting 02:02:06 a2aff8979fd8: Waiting 02:02:06 f25807f1079a: Waiting 02:02:06 6808be2612f2: Waiting 02:02:06 a2d21d5440eb: Download complete 02:02:06 94cc34f8dd06: Verifying Checksum 02:02:06 94cc34f8dd06: Download complete 02:02:06 63b65145d645: Verifying Checksum 02:02:06 63b65145d645: Download complete 02:02:06 30dea6a524f1: Verifying Checksum 02:02:06 30dea6a524f1: Download complete 02:02:06 a2aff8979fd8: Verifying Checksum 02:02:06 a2aff8979fd8: Download complete 02:02:06 63b65145d645: Pull complete 02:02:07 a2d21d5440eb: Pull complete 02:02:07 f25807f1079a: Verifying Checksum 02:02:07 f25807f1079a: Download complete 02:02:07 935e6c44a52c: Verifying Checksum 02:02:07 935e6c44a52c: Download complete 02:02:07 6808be2612f2: Verifying Checksum 02:02:07 6808be2612f2: Download complete 02:02:10 935e6c44a52c: Pull complete 02:02:10 94cc34f8dd06: Pull complete 02:02:10 30dea6a524f1: Pull complete 02:02:10 a2aff8979fd8: Pull complete 02:02:13 6808be2612f2: Pull complete 02:02:14 f25807f1079a: Pull complete 02:02:14 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:02:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:02:14 ---> 3b553350e43f 02:02:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:02:15 ---> Running in c6db6ee3e558 02:02:16 Removing intermediate container c6db6ee3e558 02:02:16 ---> c967a6d4f186 02:02:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:02:16 ---> Running in f994b3617f9e 02:02:16 Removing intermediate container f994b3617f9e 02:02:16 ---> daf3845057e5 02:02:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:02:16 ---> Running in 9d5a9993a473 02:02:16 Removing intermediate container 9d5a9993a473 02:02:16 ---> afee3f7312ef 02:02:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:02:16 ---> Running in 6801cfbd29c3 02:02:16 Removing intermediate container 6801cfbd29c3 02:02:16 ---> 1b5809d70358 02:02:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:02:16 ---> Running in d485ce19e81f 02:02:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:02:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:02:17 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:02:17 (2/4) Installing libedit (20221030.3.1-r0) 02:02:17 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:02:17 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:02:17 Executing busybox-1.35.0-r29.trigger 02:02:17 OK: 269 MiB in 57 packages 02:02:17 Removing intermediate container d485ce19e81f 02:02:17 ---> 2cae2fc45811 02:02:17 Step 8/12 : WORKDIR /device-mqtt-go 02:02:17 ---> Running in 62b3fbfc6218 02:02:17 Removing intermediate container 62b3fbfc6218 02:02:17 ---> cb0cb8bd5acc 02:02:17 Step 9/12 : COPY go.mod vendor* ./ 02:02:17 ---> 026f04e3a0cf 02:02:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:02:17 ---> Running in 58e967bb650a 02:02:19 Still waiting to schedule task 02:02:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7626’ 02:02:50 Removing intermediate container 58e967bb650a 02:02:50 ---> 773a6ea01343 02:02:50 Step 11/12 : COPY . . 02:02:50 ---> 4f23b4553d29 02:02:50 Step 12/12 : RUN $MAKE 02:02:50 ---> Running in afa7565964f9 02:02:50 noop 02:02:50 Removing intermediate container afa7565964f9 02:02:50 ---> ee2ed3d0884e 02:02:50 Successfully built ee2ed3d0884e 02:02:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:50 + docker inspect -f . ci-base-image-x86_64 02:02:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:50 prd-ubuntu20.04-docker-8c-8g-7627 does not seem to be running inside a container 02:02:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@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 ******** ci-base-image-x86_64 cat 02:02:51 $ docker top d12512a43d2ea6f97cc4cb682c909223deaf7386717bcd3f580a32637b14d6a8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:51 + go version 02:02:51 go version go1.20.2 linux/amd64 [Pipeline] } 02:02:51 $ docker stop --time=1 d12512a43d2ea6f97cc4cb682c909223deaf7386717bcd3f580a32637b14d6a8 02:02:52 $ docker rm -f --volumes d12512a43d2ea6f97cc4cb682c909223deaf7386717bcd3f580a32637b14d6a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:53 + docker inspect -f . ci-base-image-x86_64 02:02:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:53 prd-ubuntu20.04-docker-8c-8g-7627 does not seem to be running inside a container 02:02:53 $ 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-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@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 ******** ci-base-image-x86_64 cat 02:02:54 $ docker top b35edea631182dab4c7e71d36cdc366f7fdde2024ade05870d4b6dffa7c28654 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:54 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-560 [Pipeline] fileExists [Pipeline] sh 02:02:54 + make test 02:02:54 go test ./... -coverprofile=coverage.out ./... 02:03:00 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:03:10 # github.com/edgexfoundry/device-mqtt-go/internal/driver 02:03:10 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) 02:03:10 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:03:10 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 02:03:10 FAIL 02:03:10 make: *** [Makefile:30: unittest] Error 1 [Pipeline] } 02:03:10 $ docker stop --time=1 b35edea631182dab4c7e71d36cdc366f7fdde2024ade05870d4b6dffa7c28654 02:03:12 $ docker rm -f --volumes b35edea631182dab4c7e71d36cdc366f7fdde2024ade05870d4b6dffa7c28654 [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 02:03:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:13 02:03:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:13 latest: Pulling from edgex-lftools-log-publisher 02:03:13 5eb5b503b376: Pulling fs layer 02:03:13 5c69ac0246d0: Pulling fs layer 02:03:13 ec43610c2a17: Pulling fs layer 02:03:13 3a2ae6a8a46f: Pulling fs layer 02:03:13 33b1e0a273af: Pulling fs layer 02:03:13 5d3b04190fa2: Pulling fs layer 02:03:13 2f39f015ded8: Pulling fs layer 02:03:13 3a2ae6a8a46f: Waiting 02:03:13 33b1e0a273af: Waiting 02:03:13 5d3b04190fa2: Waiting 02:03:13 2f39f015ded8: Waiting 02:03:13 5c69ac0246d0: Download complete 02:03:13 3a2ae6a8a46f: Verifying Checksum 02:03:13 3a2ae6a8a46f: Download complete 02:03:13 ec43610c2a17: Verifying Checksum 02:03:13 ec43610c2a17: Download complete 02:03:13 33b1e0a273af: Verifying Checksum 02:03:13 33b1e0a273af: Download complete 02:03:13 5d3b04190fa2: Download complete 02:03:13 5eb5b503b376: Verifying Checksum 02:03:13 5eb5b503b376: Download complete 02:03:14 2f39f015ded8: Download complete 02:03:15 5eb5b503b376: Pull complete 02:03:15 5c69ac0246d0: Pull complete 02:03:15 ec43610c2a17: Pull complete 02:03:15 3a2ae6a8a46f: Pull complete 02:03:15 33b1e0a273af: Pull complete 02:03:15 5d3b04190fa2: Pull complete 02:03:20 2f39f015ded8: Pull complete 02:03:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:03:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:20 prd-ubuntu20.04-docker-8c-8g-7627 does not seem to be running inside a container 02:03:20 $ 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-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@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:03:22 $ docker top 09e920cbdbb2f105147ebfccab589b32825fe323cacddb0d139ffc1ed7097213 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:22 ---> job-cost.sh 02:03:22 lf-activate-venv: SKIPPING 02:03:22 INFO: No Stack... 02:03:22 INFO: Retrieving Pricing Info for: v3-standard-8 02:03:23 INFO: Archiving Costs [Pipeline] sh 02:03:23 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives/cost.csv 02:03:23 + cut -d, -f6 [Pipeline] lock 02:03:23 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] 02:03:23 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] did not exist. Created. 02:03:23 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:03:24 + echo total: 0.2199999988079071 [Pipeline] stash 02:03:24 Stashed 1 file(s) [Pipeline] } 02:03:24 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:03:24 $ docker stop --time=1 09e920cbdbb2f105147ebfccab589b32825fe323cacddb0d139ffc1ed7097213 02:03:25 $ docker rm -f --volumes 09e920cbdbb2f105147ebfccab589b32825fe323cacddb0d139ffc1ed7097213 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:03:25 Failed in branch amd64 02:06:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7629 in /w/workspace/gexfoundry_device-mqtt-go_PR-560 [Pipeline] { [Pipeline] ws 02:06:06 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:06:06 Selected Git installation does not exist. Using Default 02:06:06 The recommended git tool is: NONE 02:06:16 using credential edgex-jenkins-ssh 02:06:16 Cloning the remote Git repository 02:06:16 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:06:16 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:06:17 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:06:17 > git --version # timeout=10 02:06:17 > git --version # 'git version 2.25.1' 02:06:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:06:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:06:18 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:06:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:06:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:06:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:06:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:06:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/560/head:refs/remotes/origin/PR-560 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:06:20 Merging remotes/origin/main commit bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 into PR head commit 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 02:06:21 Merge succeeded, producing 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 02:06:21 Checking out Revision 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 (PR-560) 02:06:21 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 02:06:21 > git --version # timeout=10 02:06:21 > git --version # 'git version 2.25.1' 02:06:21 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:06:20 > git config core.sparsecheckout # timeout=10 02:06:20 > git checkout -f 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 # timeout=10 02:06:20 > git remote # timeout=10 02:06:20 > git config --get remote.origin.url # timeout=10 02:06:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:06:21 > git merge bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 # timeout=10 02:06:21 > git rev-parse HEAD^{commit} # timeout=10 02:06:21 > git config core.sparsecheckout # timeout=10 02:06:21 > git checkout -f 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:06:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:06:22 % Total % Received % Xferd Average Speed Time Time Time Current 02:06:22 Dload Upload Total Spent Left Speed 02:06:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 02:06:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:06:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:06:23 + sudo tee /etc/docker/daemon.new 02:06:23 { 02:06:23 "registry-mirrors": [ 02:06:23 "https://nexus3.edgexfoundry.org:10001" 02:06:23 ], 02:06:23 "bip": "10.250.0.254/24", 02:06:23 "hosts": [ 02:06:23 "tcp://0.0.0.0:5555", 02:06:23 "unix:///var/run/docker.sock" 02:06:23 ], 02:06:23 "mtu": 1458, 02:06:23 "selinux-enabled": true, 02:06:23 "seccomp-profile": "/etc/docker/seccomp.json" 02:06:23 } [Pipeline] sh 02:06:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:06:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:06:42 provisioning config files... 02:06:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config14245206150977389735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:06:43 ---> docker-login.sh 02:06:43 nexus3.edgexfoundry.org:10001 02:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:44 Configure a credential helper to remove this warning. See 02:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:44 02:06:44 Login Succeeded 02:06:44 nexus3.edgexfoundry.org:10002 02:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:44 Configure a credential helper to remove this warning. See 02:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:44 02:06:44 Login Succeeded 02:06:44 nexus3.edgexfoundry.org:10003 02:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:44 Configure a credential helper to remove this warning. See 02:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:44 02:06:44 Login Succeeded 02:06:44 nexus3.edgexfoundry.org:10004 02:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:44 Configure a credential helper to remove this warning. See 02:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:44 02:06:44 Login Succeeded 02:06:44 docker.io 02:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:45 Configure a credential helper to remove this warning. See 02:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:45 02:06:45 Login Succeeded 02:06:45 ---> docker-login.sh ends [Pipeline] } 02:06:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:06:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:06:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:06:45 ========================================================= 02:06:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:06:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:46 + 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:06:46 Sending build context to Docker daemon 3.328MB 02:06:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:06:46 Step 2/12 : FROM ${BASE} AS builder 02:06:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:06:46 af6eaf76a39c: Pulling fs layer 02:06:46 55522c791124: Pulling fs layer 02:06:46 ce5c4a1c91eb: Pulling fs layer 02:06:46 169dfbe0d373: Pulling fs layer 02:06:46 e1ff8fa3b103: Pulling fs layer 02:06:46 52ebb69f0ebf: Pulling fs layer 02:06:46 5abe8eddf0d5: Pulling fs layer 02:06:46 52ebb69f0ebf: Waiting 02:06:46 169dfbe0d373: Waiting 02:06:46 e1ff8fa3b103: Waiting 02:06:46 5abe8eddf0d5: Waiting 02:06:46 55522c791124: Verifying Checksum 02:06:46 55522c791124: Download complete 02:06:46 169dfbe0d373: Verifying Checksum 02:06:46 169dfbe0d373: Download complete 02:06:46 e1ff8fa3b103: Verifying Checksum 02:06:46 e1ff8fa3b103: Download complete 02:06:46 af6eaf76a39c: Verifying Checksum 02:06:46 af6eaf76a39c: Download complete 02:06:47 af6eaf76a39c: Pull complete 02:06:47 5abe8eddf0d5: Verifying Checksum 02:06:47 5abe8eddf0d5: Download complete 02:06:48 55522c791124: Pull complete 02:06:49 52ebb69f0ebf: Verifying Checksum 02:06:49 ce5c4a1c91eb: Download complete 02:07:02 ce5c4a1c91eb: Pull complete 02:07:02 169dfbe0d373: Pull complete 02:07:02 e1ff8fa3b103: Pull complete 02:07:07 52ebb69f0ebf: Pull complete 02:07:08 5abe8eddf0d5: Pull complete 02:07:08 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:07:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:07:08 ---> 6cb57ee374ae 02:07:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:07:10 ---> Running in 6b3b29dcd309 02:07:10 Removing intermediate container 6b3b29dcd309 02:07:10 ---> 33fe9f480f7b 02:07:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:07:10 ---> Running in b9e5523ba1ac 02:07:10 Removing intermediate container b9e5523ba1ac 02:07:10 ---> f900e1a19e9e 02:07:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:07:10 ---> Running in 6f17ce626ec0 02:07:11 Removing intermediate container 6f17ce626ec0 02:07:11 ---> b11cb09f48e3 02:07:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:07:11 ---> Running in 885e3f740d05 02:07:11 Removing intermediate container 885e3f740d05 02:07:11 ---> aa09ab1e3bad 02:07:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:07:11 ---> Running in 25911ad18c0b 02:07:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:07:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:07:14 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:07:14 (2/4) Installing libedit (20221030.3.1-r0) 02:07:14 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:07:14 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:07:14 Executing busybox-1.35.0-r29.trigger 02:07:14 OK: 268 MiB in 57 packages 02:07:15 Removing intermediate container 25911ad18c0b 02:07:15 ---> 46529240c854 02:07:15 Step 8/12 : WORKDIR /device-mqtt-go 02:07:15 ---> Running in ccfb5addec15 02:07:15 Removing intermediate container ccfb5addec15 02:07:15 ---> 4a6f0343c6e0 02:07:15 Step 9/12 : COPY go.mod vendor* ./ 02:07:15 ---> 85c97f17eedf 02:07:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:07:16 ---> Running in e2f0ae627656 02:08:24 Removing intermediate container e2f0ae627656 02:08:24 ---> 3814a5d89f3d 02:08:24 Step 11/12 : COPY . . 02:08:24 ---> a15ef0b6411c 02:08:24 Step 12/12 : RUN $MAKE 02:08:24 ---> Running in e81a6ecd46bc 02:08:24 noop 02:08:24 Removing intermediate container e81a6ecd46bc 02:08:24 ---> 4df0c6fa7fe0 02:08:24 Successfully built 4df0c6fa7fe0 02:08:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:24 + docker inspect -f . ci-base-image-arm64 02:08:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:08:25 prd-ubuntu20.04-docker-arm64-4c-16g-7629 does not seem to be running inside a container 02:08:25 $ 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:08:26 $ docker top 2cce947db7fe77b1938e523522e1766029a108b1ed7a37ffefb7d4f0fd142971 -eo pid,comm [Pipeline] { [Pipeline] sh 02:08:27 + go version 02:08:27 go version go1.20.2 linux/arm64 [Pipeline] } 02:08:27 $ docker stop --time=1 2cce947db7fe77b1938e523522e1766029a108b1ed7a37ffefb7d4f0fd142971 02:08:28 $ docker rm -f --volumes 2cce947db7fe77b1938e523522e1766029a108b1ed7a37ffefb7d4f0fd142971 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:30 + docker inspect -f . ci-base-image-arm64 02:08:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:08:30 prd-ubuntu20.04-docker-arm64-4c-16g-7629 does not seem to be running inside a container 02:08:30 $ 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:08:34 $ docker top 9486ed154be7a772a684b84f995e5d115e4a0b894545fddcb24e26765a303034 -eo pid,comm [Pipeline] { [Pipeline] sh 02:08:34 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:08:35 + make test 02:08:35 go test ./... -coverprofile=coverage.out ./... 02:09:14 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:10:51 # github.com/edgexfoundry/device-mqtt-go/internal/driver 02:10:51 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) 02:11:09 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:11:09 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 02:11:09 FAIL 02:11:09 make: *** [Makefile:30: unittest] Error 1 [Pipeline] } 02:11:09 $ docker stop --time=1 9486ed154be7a772a684b84f995e5d115e4a0b894545fddcb24e26765a303034 02:11:11 $ docker rm -f --volumes 9486ed154be7a772a684b84f995e5d115e4a0b894545fddcb24e26765a303034 [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 02:11:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:11:13 02:11:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:11:13 arm64: Pulling from edgex-lftools-log-publisher 02:11:13 8998bd30e6a1: Pulling fs layer 02:11:13 04944245beec: Pulling fs layer 02:11:13 699f458cf7ca: Pulling fs layer 02:11:13 765212b225bb: Pulling fs layer 02:11:13 f23df028b6ca: Pulling fs layer 02:11:13 d65c8cfc05b1: Pulling fs layer 02:11:13 2437ff75d9bd: Pulling fs layer 02:11:13 765212b225bb: Waiting 02:11:13 f23df028b6ca: Waiting 02:11:13 d65c8cfc05b1: Waiting 02:11:13 2437ff75d9bd: Waiting 02:11:14 04944245beec: Verifying Checksum 02:11:14 04944245beec: Download complete 02:11:14 765212b225bb: Download complete 02:11:14 f23df028b6ca: Verifying Checksum 02:11:14 f23df028b6ca: Download complete 02:11:14 d65c8cfc05b1: Verifying Checksum 02:11:14 d65c8cfc05b1: Download complete 02:11:14 699f458cf7ca: Verifying Checksum 02:11:14 699f458cf7ca: Download complete 02:11:15 8998bd30e6a1: Verifying Checksum 02:11:15 8998bd30e6a1: Download complete 02:11:18 2437ff75d9bd: Verifying Checksum 02:11:18 2437ff75d9bd: Download complete 02:11:18 8998bd30e6a1: Pull complete 02:11:19 04944245beec: Pull complete 02:11:20 699f458cf7ca: Pull complete 02:11:20 765212b225bb: Pull complete 02:11:21 f23df028b6ca: Pull complete 02:11:21 d65c8cfc05b1: Pull complete 02:11:34 2437ff75d9bd: Pull complete 02:11:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:11:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:11:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:34 prd-ubuntu20.04-docker-arm64-4c-16g-7629 does not seem to be running inside a container 02:11:34 $ 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:11:37 $ docker top ccaf9f5c71f12913a2dea98e0af747fd4b6262147eef863ebfced92174170ded -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:38 ---> job-cost.sh 02:11:38 lf-activate-venv: SKIPPING 02:11:38 INFO: No Stack... 02:11:38 INFO: Retrieving Pricing Info for: v3-standard-4 02:11:39 INFO: Archiving Costs [Pipeline] sh 02:11:40 + cat+ /w/workspace/device-mqtt-go/1/archives/cost.csv 02:11:40 cut -d, -f6 [Pipeline] lock 02:11:40 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] 02:11:40 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] did not exist. Created. 02:11:40 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:11:41 /w/workspace/device-mqtt-go/1@tmp/durable-5dd935bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:11:41 + echo total: 0.10999999940395355 [Pipeline] stash 02:11:41 Warning: overwriting stash ‘stack-cost’ 02:11:42 Stashed 1 file(s) [Pipeline] } 02:11:42 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-560-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:11:42 $ docker stop --time=1 ccaf9f5c71f12913a2dea98e0af747fd4b6262147eef863ebfced92174170ded 02:11:44 $ docker rm -f --volumes ccaf9f5c71f12913a2dea98e0af747fd4b6262147eef863ebfced92174170ded [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:11:45 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 02:11:47 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives ] 02:11:47 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives 02:11:47 total 16 02:11:47 drwxr-xr-x 3 root root 4096 Apr 13 02:03 . 02:11:47 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 02:03 .. 02:11:47 drwxr-xr-x 2 root root 4096 Apr 13 02:03 cost 02:11:47 -rw-r--r-- 1 root root 86 Apr 13 02:03 cost.csv 02:11:47 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives 02:11:47 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives 02:11:47 total 16 02:11:47 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 02:03 . 02:11:47 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 02:03 .. 02:11:47 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 02:03 cost 02:11:47 -rw-r--r-- 1 jenkins jenkins 86 Apr 13 02:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:11:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:11:48 ---> package-listing.sh 02:11:48 ++ facter osfamily 02:11:48 ++ tr '[:upper:]' '[:lower:]' 02:11:48 + OS_FAMILY=debian 02:11:48 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-560 02:11:48 + START_PACKAGES=/tmp/packages_start.txt 02:11:48 + END_PACKAGES=/tmp/packages_end.txt 02:11:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:11:48 + PACKAGES=/tmp/packages_start.txt 02:11:48 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-560 ']' 02:11:48 + PACKAGES=/tmp/packages_end.txt 02:11:48 + case "${OS_FAMILY}" in 02:11:48 + dpkg -l 02:11:48 + grep '^ii' 02:11:48 + '[' -f /tmp/packages_start.txt ']' 02:11:48 + '[' -f /tmp/packages_end.txt ']' 02:11:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:11:48 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-560 ']' 02:11:48 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives/ 02:11:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives/ [Pipeline] echo 02:11:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-560/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:11:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:11:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:50 prd-ubuntu20.04-docker-8c-8g-7627 does not seem to be running inside a container 02:11:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-560/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-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:11:51 $ docker top 4804c912b0b9174d05a3df7e1cebb5e21323db800a245df9503d9b089b06aec8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:51 + touch /tmp/pre-build-complete [Pipeline] sh 02:11:51 + mkdir -p /var/log/sysstat [Pipeline] sh 02:11:52 + ls /var/log/sa-host 02:11:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:52 provisioning config files... 02:11:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/config14812907215522971066tmp [Pipeline] { [Pipeline] echo 02:11:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:11:52 ---> create-netrc.sh [Pipeline] } 02:11:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:11:53 ---> python-tools-install.sh [Pipeline] echo 02:11:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:11:53 ---> sudo-logs.sh 02:11:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:11:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:11:53 ---> job-cost.sh 02:11:53 lf-activate-venv: SKIPPING 02:11:53 DEBUG: total: 0.2199999988079071 02:11:53 INFO: Retrieving Stack Cost... 02:11:54 INFO: Retrieving Pricing Info for: v3-standard-8 02:11:54 INFO: Archiving Costs [Pipeline] echo 02:11:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:11:55 ---> logs-deploy.sh 02:11:55 lf-activate-venv: SKIPPING 02:11:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-560/1 02:11:55 INFO: archiving workspace using pattern(s): 02:11:56 Archives upload complete. 02:11:56 INFO: archiving logs to Nexus